/* Tevi Player - tanitim sayfalari ortak stili.
 *
 * NEDEN AYRI DOSYA: bu kurallar index.html icine gomuluydu. Ozellikler
 * ayri bir sayfaya tasininca ayni gorunumu iki yerde tutmak gerekti;
 * kopyalamak yerine ortak dosyaya alindi. Tarayici bir kez indirir,
 * ikinci sayfada onbellekten okur.
 *
 * Yasal/rehber sayfalari bunu DEGIL, yazi.css'i kullanir - onlar
 * bilerek daha sade bir metin duzeni.
 */

    /* -------------------------------------------------------------------------
       DESIGN TOKENS & SYSTEM VARIABLES
       ------------------------------------------------------------------------- */
    :root {
      color-scheme: dark;
      --bg: #07080B;
      --bg-elevated: #0C0E15;
      --surface: #121520;
      --surface-hover: #181D2B;
      --surface-glass: rgba(18, 21, 32, 0.75);
      --surface-card: rgba(18, 21, 32, 0.6);
      
      --border: rgba(255, 255, 255, 0.08);
      --border-bright: rgba(255, 255, 255, 0.16);
      --border-accent: rgba(61, 123, 255, 0.35);

      --accent: #3D7BFF;
      --accent-hover: #548DFF;
      --accent-cyan: #00D2FF;
      --accent-glow: rgba(61, 123, 255, 0.28);
      --accent-soft: rgba(61, 123, 255, 0.12);

      --text: #F8FAFC;
      --text-muted: #94A3B8;
      --text-dim: #64748B;
      --ok: #10B981;
      --warning: #F59E0B;
      --live-red: #EF4444;

      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-xl: 28px;
      --radius-full: 9999px;

      --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    }

    /* -------------------------------------------------------------------------
       BASE RESET & UTILITIES
       ------------------------------------------------------------------------- */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      /* MOBIL: yatay tasmayi html DE kirpmali.
         Asagida body'de `overflow-x: hidden` vardi ama YALNIZCA body'de;
         iOS Safari ve bazi Android tarayicilarinda bu tek basina belgenin
         yatay kaymasini engellemiyor - sayfa saga dogru kaydirilabiliyor ve
         tarayici icerigi kucultup "sikismis" gosteriyor. */
      overflow-x: hidden;
      max-width: 100%;
      scroll-behavior: smooth;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      overflow-x: hidden;
      background-color: var(--bg);
      background-image: 
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(61, 123, 255, 0.15), transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 30%, rgba(0, 210, 255, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 0% 70%, rgba(99, 102, 241, 0.06), transparent);
      /* `fixed` masaustunde derinlik veriyor ama mobilde sorunlu: iOS bu
         degeri yok sayiyor, bazi Android tarayicilarinda ise her kaydirmada
         yeniden boyama yapip takilmaya yol aciyor. Dokunmatikte `scroll`a
         dusuyoruz (asagidaki medya sorgusu). */
      background-attachment: fixed;
    }

    @media (hover: none) and (pointer: coarse) {
      body {
        background-attachment: scroll;
      }
    }

    .wrap {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: none;
    }

    /* -------------------------------------------------------------------------
       TYPOGRAPHY & ACCENTS
       ------------------------------------------------------------------------- */
    .gradient-text {
      background: linear-gradient(135deg, #FFFFFF 20%, #9DC0FF 70%, #00D2FF 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: inline-block;
      /* ALT UZANTILI HARFLER KIRPILMASIN (y, g, c, p).
         KULLANICI SIKAYETI: "bu yazinin y'si yok."
         SEBEP: background-clip:text, gradyani ogenin arka plan ALANINA
         boyayip harf bicimine kirpiyor. Oge inline-block ve basligin
         line-height'i 1.1 oldugu icin bu alan yazi tipinin alt
         uzantilarina ULASMIYORDU - harf duruyor ama boyanmiyordu.
         Alt dolgu alani asagi uzatiyor; negatif alt kenar bosluguyla
         yerlesim hic degismiyor. */
      padding-bottom: 0.16em;
      margin-bottom: -0.16em;
    }

    .gradient-gold {
      background: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      font-size: 13px;
      font-weight: 600;
      background: rgba(61, 123, 255, 0.1);
      color: #9DC0FF;
      border: 1px solid rgba(61, 123, 255, 0.25);
      backdrop-filter: blur(8px);
    }

    .pulsing-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent-cyan);
      box-shadow: 0 0 10px var(--accent-cyan);
      animation: pulse 2s infinite ease-in-out;
    }

    @keyframes pulse {
      0%, 100% { opacity: 0.3; transform: scale(0.9); }
      50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 14px var(--accent-cyan); }
    }

    /* -------------------------------------------------------------------------
       BUTTONS & INTERACTIONS
       ------------------------------------------------------------------------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: var(--radius-md);
      font-weight: 700;
      font-size: 15px;
      letter-spacing: -0.01em;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
      white-space: nowrap;
    }

    .btn::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
      transform: skewX(-20deg);
      transition: left 0.6s ease;
    }

    .btn:hover::after {
      left: 150%;
    }

    .btn-primary {
      background: linear-gradient(135deg, #3D7BFF 0%, #2563EB 100%);
      color: #FFFFFF;
      box-shadow: 0 4px 24px rgba(61, 123, 255, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #508BFF 0%, #3B82F6 100%);
      box-shadow: 0 8px 32px rgba(61, 123, 255, 0.55);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text);
      border: 1px solid var(--border-bright);
      backdrop-filter: blur(12px);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.3);
      transform: translateY(-2px);
    }

    .btn-sm {
      padding: 9px 18px;
      font-size: 13.5px;
      border-radius: var(--radius-sm);
    }

    .btn-icon {
      width: 44px;
      height: 44px;
      padding: 0;
      border-radius: var(--radius-md);
      display: inline-grid;
      place-items: center;
    }

    /* -------------------------------------------------------------------------
       NAVBAR
       ------------------------------------------------------------------------- */
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      transition: all 0.3s ease;
      background: rgba(7, 8, 11, 0.65);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid transparent;
    }

    header.scrolled {
      background: rgba(11, 13, 20, 0.88);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 74px;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
    }

    .brand img {
      height: 40px;
      width: auto;
      max-width: 180px;
      object-fit: contain;
      filter: none;
      box-shadow: none;
      border-radius: 0;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .nav-link {
      font-size: 14.5px;
      font-weight: 500;
      color: var(--text-muted);
      position: relative;
    }

    .nav-link:hover {
      color: var(--text);
    }

    .nav-link.active {
      color: var(--text);
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -6px; left: 0;
      width: 0; height: 2px;
      background: var(--accent);
      border-radius: 2px;
      transition: width 0.25s ease;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      width: 32px;
      height: 32px;
      justify-content: center;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      border: 1px solid var(--border);
    }

    .menu-toggle span {
      width: 18px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* -------------------------------------------------------------------------
       MOBILE NAV DRAWER
       ------------------------------------------------------------------------- */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 74px; left: 0; right: 0;
      background: rgba(11, 13, 20, 0.96);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      padding: 24px;
      flex-direction: column;
      gap: 16px;
      z-index: 99;
      transform: translateY(-20px);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu.open {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .mobile-menu a {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-muted);
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .mobile-menu a:hover {
      color: var(--text);
      padding-left: 6px;
    }

    /* -------------------------------------------------------------------------
       HERO SECTION
       ------------------------------------------------------------------------- */
    .hero {
      padding: 56px 0 56px;
      text-align: center;
      position: relative;
    }

    .hero-glow-sphere {
      position: absolute;
      /* 700px sabit genislik 390px'lik bir telefonda her iki yandan ~155px
         tasiyordu. Dekoratif bir parilti oldugu icin ekrani asmasinin bir
         faydasi yok; viewport'a sigacak sekilde sinirlandi. */
      width: min(700px, 100%);
      max-width: 100%;
      height: 450px;
      top: 20%;
      left: 50%;
      transform: translate(-50%, -30%);
      background: radial-gradient(circle, rgba(61, 123, 255, 0.2) 0%, rgba(0, 210, 255, 0.05) 50%, transparent 70%);
      filter: blur(70px);
      z-index: -1;
      pointer-events: none;
    }

    .hero-badge-wrap {
      margin-bottom: 24px;
    }

    h1.hero-title {
      font-size: clamp(34px, 5.5vw, 68px);
      line-height: 1.1;
      font-weight: 800;
      letter-spacing: -0.035em;
      margin-bottom: 22px;
      max-width: 950px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-desc {
      font-size: clamp(16px, 2.2vw, 20px);
      color: var(--text-muted);
      max-width: 720px;
      margin: 0 auto 36px;
      font-weight: 400;
      line-height: 1.6;
    }

    .hero-cta-group {
      display: flex;
      gap: 14px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .hero-subtext {
      font-size: 13.5px;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }

    .hero-subtext span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* -------------------------------------------------------------------------
       HERO CINEMATIC UI MOCKUP (The Showstopper)
       ------------------------------------------------------------------------- */
    .mockup-container {
      position: relative;
      max-width: 1080px;
      margin: 0 auto;
      perspective: 1400px;
    }

    .mockup-tv-frame {
      background: #090B10;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-xl);
      padding: 10px;
      box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.8),
        0 0 100px -20px rgba(61, 123, 255, 0.35);
      position: relative;
      overflow: hidden;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .mockup-tv-frame:hover {
      transform: translateY(-4px);
      box-shadow: 
        0 40px 90px -15px rgba(0, 0, 0, 0.85),
        0 0 120px -15px rgba(61, 123, 255, 0.45);
    }

    .mockup-screen {
      background: #0B0E17;
      border-radius: calc(var(--radius-xl) - 6px);
      overflow: hidden;
      display: grid;
      grid-template-columns: 80px 1fr;
      min-height: 520px;
      position: relative;
      text-align: left;
    }

    /* Mockup Left Sidebar */
    .mockup-sidebar {
      background: rgba(8, 10, 16, 0.85);
      border-right: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 24px 0;
      gap: 22px;
    }

    .sidebar-avatar {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      margin-bottom: 8px;
    }

    .sidebar-avatar img {
      width: 36px;
      height: 36px;
      object-fit: contain;
    }

    .sidebar-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: #64748B;
      transition: all 0.2s;
    }

    .sidebar-icon.active {
      color: #FFFFFF;
      background: rgba(61, 123, 255, 0.2);
      border: 1px solid rgba(61, 123, 255, 0.4);
      box-shadow: 0 0 14px rgba(61, 123, 255, 0.3);
    }

    /* Mockup Main Canvas */
    .mockup-main {
      padding: 24px 30px;
      display: flex;
      flex-direction: column;
      gap: 24px;
      background: linear-gradient(180deg, rgba(16, 21, 35, 0.5) 0%, rgba(9, 11, 16, 0.95) 100%);
      position: relative;
      overflow: hidden;
    }

    /* Mockup Hero Banner Inside TV */
    .tv-hero-banner {
      background: linear-gradient(90deg, rgba(8, 10, 16, 0.95) 25%, rgba(8, 10, 16, 0.4) 70%, transparent 100%),
                  url('https://images.unsplash.com/photo-1534447677768-be436bb09401?q=80&w=1200&auto=format&fit=crop') center/cover;
      border-radius: 16px;
      padding: 32px 36px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
    }

    .tv-hero-badges {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }

    /* ---------------------------------------------------------------------
       IKON SISTEMI
       Sayfadaki ikonlar eskiden EMOJI karakterleriydi. Emoji her isletim
       sisteminde baska bir cizimle geliyor (Windows'ta duz, Android'de
       renkli, Apple'da bambaska), kalinligi ve optik agirligi tipografiyle
       uyusmuyor ve renk veremiyorsunuz - bu yuzden "cok basit" duruyordu.
       Yerlerine 24x24 kafes uzerine cizilmis, yalnizca KONTURDAN olusan
       satir ici SVG'ler kondu.

       Olcu `1em` oldugu icin ikonun buyuklugu kapsayicinin `font-size`
       degerinden, rengi ise `currentColor` sayesinde `color` degerinden
       geliyor. Boylece ikon basligin yaninda da, kutunun icinde de dogru
       boyda cikiyor; ayri bir sinif gerekmiyor.
       --------------------------------------------------------------------- */
    .ico {
      width: 1em;
      height: 1em;
      display: block;
      flex-shrink: 0;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.65;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Yildiz gibi dolu gosterilmesi gereken birkac ikon icin. */
    .ico-fill {
      fill: currentColor;
      stroke: none;
    }

    /* Metnin icinde gecen ikonlar (ornegin madde basi) satira oturmali. */
    .ico-inline {
      display: inline-block;
      vertical-align: -0.14em;
      margin-right: 2px;
    }

    .tech-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 5px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(4px);
      letter-spacing: 0.02em;
    }

    .tech-chip.highlight {
      background: var(--accent);
      color: #FFF;
    }

    .tv-hero-title {
      font-size: 28px;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }

    .tv-hero-info {
      font-size: 13px;
      color: #94A3B8;
      max-width: 440px;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .tv-hero-actions {
      display: flex;
      gap: 12px;
    }

    .tv-btn-play {
      background: #FFFFFF;
      color: #07080B;
      padding: 8px 18px;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    }

    .tv-btn-info {
      background: rgba(255, 255, 255, 0.12);
      color: #FFF;
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 600;
      backdrop-filter: blur(8px);
    }

    /* Mockup Continue Watching Rail */
    .tv-rail-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

    .tv-rail-title {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.01em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tv-rail-title span {
      color: var(--accent);
      font-size: 12px;
    }

    .tv-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

    .tv-card {
      background: rgba(25, 30, 45, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      overflow: hidden;
      position: relative;
    }

    .tv-card-thumb {
      height: 95px;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .tv-card-1 {
      background-image: url('/img/poster/p01.webp'); background-position: center 30%;
    }

    .tv-card-2 {
      background-image: url('/img/poster/p06.webp'); background-position: center 30%;
    }

    .tv-card-3 {
      background-image: url('/img/poster/p09.webp'); background-position: center 30%;
    }

    .tv-card-progress {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 4px;
      background: rgba(255, 255, 255, 0.2);
    }

    .tv-card-fill {
      height: 100%;
      background: var(--accent);
      box-shadow: 0 0 8px var(--accent);
    }

    .tv-card-body {
      padding: 10px 12px;
    }

    .tv-card-name {
      font-size: 12.5px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 2px;
    }

    .tv-card-sub {
      font-size: 11px;
      color: #94A3B8;
      display: flex;
      justify-content: space-between;
    }

    /* Floating Badges on Mockup Frame */
    .floating-badge {
      position: absolute;
      background: rgba(14, 18, 28, 0.88);
      border: 1px solid rgba(255, 255, 255, 0.15);
      padding: 10px 18px;
      border-radius: var(--radius-md);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(14px);
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 5;
    }

    .floating-badge-1 {
      top: 30px;
      right: -25px;
      animation: floatSlow 5s ease-in-out infinite;
    }

    .floating-badge-2 {
      bottom: 30px;
      left: -25px;
      animation: floatSlow 6s ease-in-out infinite reverse;
    }

    @keyframes floatSlow {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    .floating-badge strong {
      display: block;
      font-size: 13.5px;
      color: #FFF;
    }

    .floating-badge span {
      display: block;
      font-size: 11.5px;
      color: #94A3B8;
    }

    /* -------------------------------------------------------------------------
       TRUST / SOCIAL PROOF PILLARS
       ------------------------------------------------------------------------- */
    .trust-section {
      padding: 0 0 60px;
      border-bottom: 1px solid var(--border);
      position: relative;
    }

    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .trust-card {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 22px 24px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      transition: all 0.3s;
    }

    .trust-card:hover {
      border-color: var(--border-bright);
      background: var(--surface-hover);
      transform: translateY(-2px);
    }

    .trust-icon {
      width: 1em;
      height: 1em;
      color: var(--accent);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      font-size: 26px;
      /* Kutu kalkinca ikon, yanindaki basligin ustune hizalanmali. */
      margin-top: 2px;
      filter: drop-shadow(0 0 12px rgba(61, 123, 255, 0.22));
    }

    .trust-card h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 4px;
      letter-spacing: -0.01em;
    }

    .trust-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.45;
    }

    /* -------------------------------------------------------------------------
       SECTION HEADER REUSABLE
       ------------------------------------------------------------------------- */
    .section-head {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 44px;
    }

    /* Birlestirilmis bolumlerin ara basligi: ayni bolumun ikinci
       yarisini acar, yeni bir bolum kadar bagirmaz. */
    .section-head.ara {
      margin-top: 84px;
    }

    .section-head.ara .section-title {
      font-size: clamp(25px, 3.1vw, 34px);
    }

    .section-tag {
      font-size: 12.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent);
      margin-bottom: 10px;
      display: block;
    }

    .section-title {
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.025em;
      margin-bottom: 16px;
    }

    .section-desc {
      font-size: 16.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* -------------------------------------------------------------------------
       LIVING PRODUCT SHOWCASE (İzlemek İstediğiniz Her Şey)
       ------------------------------------------------------------------------- */
    .showcase-section {
      padding: 72px 0;
      position: relative;
    }

    .showcase-features {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .feature-card {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px 28px;
      position: relative;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
    }

    .feature-card:hover {
      border-color: var(--border-accent);
      background: var(--surface-hover);
      box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px -10px var(--accent-glow);
      transform: translateY(-4px);
    }

    .feature-icon-box {
      width: 1em;
      height: 1em;
      display: grid;
      place-items: center;
      color: var(--accent);
      font-size: 34px;
      margin-bottom: 20px;
      filter: drop-shadow(0 0 12px rgba(61, 123, 255, 0.22));
    }

    .feature-card h3 {
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 10px;
      letter-spacing: -0.015em;
    }

    .feature-card p {
      font-size: 14.5px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 18px;
      flex-grow: 1;
    }

    .feature-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .feature-tag {
      font-size: 11.5px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.05);
      color: #CBD5E1;
    }

    /* -------------------------------------------------------------------------
       BENTO GRID & EDITORIAL DEEP-DIVES
       ------------------------------------------------------------------------- */
    .bento-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 24px;
    }

    .bento-col-8 {
      grid-column: span 8;
    }

    .bento-col-4 {
      grid-column: span 4;
    }

    .bento-col-6 {
      grid-column: span 6;
    }

    .bento-card {
      background: linear-gradient(180deg, rgba(20, 24, 38, 0.6) 0%, rgba(12, 15, 24, 0.9) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 40px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 380px;
      transition: all 0.3s;
    }

    .bento-card:hover {
      border-color: var(--border-bright);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .bento-card-header {
      margin-bottom: 24px;
      position: relative;
      z-index: 2;
    }

    .bento-card-header h3 {
      font-size: 24px;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 10px;
    }

    .bento-card-header p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.6;
      max-width: 500px;
    }

    /* Visual inside Bento Sync */
    .bento-sync-visual {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 30px;
      margin-top: 20px;
      padding: 24px;
      background: rgba(0, 0, 0, 0.35);
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sync-device-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .sync-device-icon {
      width: 1em;
      height: 1em;
      display: grid;
      place-items: center;
      color: var(--accent);
      font-size: 36px;
      filter: drop-shadow(0 0 12px rgba(61, 123, 255, 0.22));
    }

    .sync-animation-arrow {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      color: var(--text);
      font-size: 12.5px;
      font-weight: 700;
      text-align: center;
    }

    /* Alt satir ("Sifir Gecikme") bir aciklama, baslik degil - geri cekildi. */
    .sync-animation-arrow span:last-child {
      color: var(--text-dim);
      font-size: 11px;
      font-weight: 500;
    }

    .dpad-trio {
      background: rgba(0, 0, 0, 0.3);
      border-radius: 14px;
      padding: 18px;
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-around;
      gap: 10px;
    }

    .sync-line {
      width: 80px;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent));
      background-size: 200% 100%;
      animation: moveGradient 2s linear infinite;
    }

    @keyframes moveGradient {
      0% { background-position: 100% 0; }
      100% { background-position: -100% 0; }
    }

    /* -------------------------------------------------------------------------
       DEVICES SECTION
       ------------------------------------------------------------------------- */
    .devices-section {
      padding: 72px 0;
      position: relative;
      border-top: 1px solid var(--border);
    }

    .devices-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .device-box {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px 24px;
      text-align: center;
      transition: all 0.3s;
    }

    .device-box:hover {
      border-color: var(--border-accent);
      background: var(--surface-hover);
      transform: translateY(-4px);
    }

    .device-box-icon {
      width: 1em;
      height: 1em;
      margin: 0 auto 18px;
      display: grid;
      place-items: center;
      font-size: 40px;
      color: var(--accent);
      filter: drop-shadow(0 0 12px rgba(61, 123, 255, 0.22));
    }

    .device-box h4 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .device-box p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .device-badge {
      display: inline-block;
      font-size: 11.5px;
      font-weight: 700;
      color: #9DC0FF;
      background: rgba(61, 123, 255, 0.1);
      padding: 4px 10px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(61, 123, 255, 0.2);
    }

    /* -------------------------------------------------------------------------
       HOW IT WORKS (TIMELINE)
       ------------------------------------------------------------------------- */
    .steps-timeline {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      position: relative;
    }

    .step-item {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 34px 30px;
      position: relative;
      display: flex;
      flex-direction: column;
      transition: all 0.3s;
    }

    .step-item:hover {
      border-color: var(--border-bright);
      transform: translateY(-3px);
    }

    .step-number {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 100%);
      color: #FFF;
      font-size: 18px;
      font-weight: 800;
      display: grid;
      place-items: center;
      box-shadow: 0 6px 18px rgba(61, 123, 255, 0.4);
      margin-bottom: 22px;
    }

    .step-item h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      letter-spacing: -0.015em;
    }

    .step-item p {
      font-size: 14.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .step-downloads-pills {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .download-pill-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      transition: all 0.2s;
    }

    .download-pill-btn:hover {
      background: rgba(61, 123, 255, 0.15);
      border-color: var(--accent);
      color: #FFF;
    }

    .download-pill-btn span em {
      display: block;
      font-style: normal;
      font-size: 11px;
      color: var(--text-dim);
    }

    /* -------------------------------------------------------------------------
       PRICING SECTION
       ------------------------------------------------------------------------- */
    .pricing-section {
      padding: 72px 0;
      border-top: 1px solid var(--border);
      position: relative;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      align-items: stretch;
      max-width: 1120px;
      margin: 0 auto;
    }

    .pricing-card {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 38px 32px;
      position: relative;
      display: flex;
      flex-direction: column;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .pricing-card:hover {
      border-color: var(--border-bright);
      transform: translateY(-4px);
    }

    .pricing-card.featured {
      background: linear-gradient(180deg, rgba(22, 28, 48, 0.9) 0%, rgba(13, 17, 28, 0.98) 100%);
      border-color: rgba(61, 123, 255, 0.55);
      box-shadow: 0 20px 60px -15px rgba(61, 123, 255, 0.25), 0 0 0 1px rgba(61, 123, 255, 0.25);
      transform: scale(1.02);
    }

    .pricing-card.featured:hover {
      transform: scale(1.02) translateY(-4px);
    }

    .pricing-badge {
      position: absolute;
      top: -13px;
      left: 32px;
      background: linear-gradient(135deg, #3D7BFF 0%, #00D2FF 100%);
      color: #FFF;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 4px 14px;
      border-radius: var(--radius-full);
      box-shadow: 0 4px 14px rgba(61, 123, 255, 0.4);
    }

    .plan-name {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .plan-price-wrap {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-bottom: 6px;
    }

    .plan-price {
      font-size: 46px;
      font-weight: 800;
      letter-spacing: -0.04em;
      color: #FFF;
      line-height: 1;
    }

    .plan-currency {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-muted);
    }

    .plan-period {
      font-size: 13.5px;
      color: var(--text-dim);
      margin-bottom: 26px;
    }

    .plan-features {
      list-style: none;
      padding: 0;
      margin: 0 0 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex-grow: 1;
    }

    .plan-features li {
      font-size: 14px;
      color: #D1D5DB;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.45;
    }

    .check-icon {
      color: var(--ok);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .pricing-footer-note {
      text-align: center;
      margin-top: 36px;
      font-size: 14.5px;
      color: var(--text-muted);
    }

    .pricing-footer-note strong {
      color: #FFF;
    }

    /* -------------------------------------------------------------------------
       FAQ SECTION (ACCORDION)
       ------------------------------------------------------------------------- */
    .faq-section {
      padding: 72px 0;
      border-top: 1px solid var(--border);
    }

    .faq-accordion {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: all 0.25s ease;
    }

    .faq-item:hover {
      border-color: var(--border-bright);
    }

    .faq-item[open] {
      border-color: var(--border-accent);
      background: var(--surface-hover);
    }

    .faq-question {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      user-select: none;
    }

    .faq-question::-webkit-details-marker {
      display: none;
    }

    .faq-toggle-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.06);
      display: grid;
      place-items: center;
      color: var(--text-muted);
      transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
      flex-shrink: 0;
    }

    .faq-item[open] .faq-toggle-icon {
      transform: rotate(180deg);
      background: var(--accent);
      color: #FFF;
    }

    .faq-answer {
      padding: 0 24px 22px;
      font-size: 14.5px;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* -------------------------------------------------------------------------
       FINAL CTA BANNER
       ------------------------------------------------------------------------- */
    .final-cta-section {
      padding: 56px 0 72px;
    }

    .cta-card {
      background: linear-gradient(135deg, rgba(20, 26, 44, 0.95) 0%, rgba(10, 13, 22, 0.95) 100%);
      border: 1px solid rgba(61, 123, 255, 0.4);
      border-radius: var(--radius-xl);
      padding: 60px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 20px 80px -20px rgba(61, 123, 255, 0.3);
    }

    .cta-card-glow {
      position: absolute;
      /* Ayni gerekce: bkz. .hero-glow-sphere */
      width: min(500px, 100%);
      max-width: 100%;
      height: 300px;
      background: radial-gradient(circle, rgba(61, 123, 255, 0.3) 0%, transparent 70%);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      filter: blur(60px);
      z-index: 0;
      pointer-events: none;
    }

    .cta-content {
      position: relative;
      z-index: 1;
      max-width: 640px;
      margin: 0 auto;
    }

    .cta-content h2 {
      font-size: clamp(30px, 4vw, 46px);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .cta-content p {
      font-size: 17px;
      color: var(--text-muted);
      margin-bottom: 32px;
    }

    /* -------------------------------------------------------------------------
       FOOTER
       ------------------------------------------------------------------------- */
    footer {
      border-top: 1px solid var(--border);
      padding: 70px 0 40px;
      background: #050608;
      color: var(--text-muted);
      font-size: 14px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer-brand p {
      margin-top: 14px;
      color: var(--text-dim);
      max-width: 320px;
      font-size: 13.5px;
      line-height: 1.6;
    }

    .footer-col h5 {
      font-size: 14px;
      font-weight: 700;
      color: #FFF;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 18px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col a:hover {
      color: #FFF;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 13px;
      color: var(--text-dim);
    }

    .footer-legal {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-legal-links {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 18px;
    }

    .footer-legal-links a {
      color: var(--text-dim);
      text-decoration: none;
    }

    .footer-legal-links a:hover { color: var(--text-muted); }

    /* -------------------------------------------------------------------------
       RESPONSIVE BREAKPOINTS
       ------------------------------------------------------------------------- */
    @media (max-width: 1024px) {
      .trust-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .showcase-features {
        grid-template-columns: repeat(2, 1fr);
      }
      .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
      }
      .bento-card {
        /* Kart artik icerigi kadar yuksek; genis ama kisa icerikli kartta
           baslik ile gorsel arasinda bos alan acilmasin. */
        min-height: 0;
      }
      .devices-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .steps-timeline {
        grid-template-columns: 1fr;
      }
      .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
      }
      .pricing-card.featured {
        transform: none;
      }
      .pricing-card.featured:hover {
        transform: translateY(-4px);
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      .floating-badge {
        display: none;
      }
    }

    @media (max-width: 768px) {
      /* BENTO - dar ekran.
         40px'lik kart dolgusu 390px'lik bir ekranda iceriye 310px
         birakiyordu; .bento-sync-visual ise yatay bir serit (telefon ->
         cizgi -> TV) ve 30px bosluk + 80px cizgi + 36px ikonlarla o
         genislige sigmiyordu. Serit yatay KALMALI - "telefondan TV'ye"
         anlatisi dikey yigilinca kayboluyor - o yuzden yigmak yerine
         her parcasi kuculduruldu. */
      .bento-card {
        padding: 28px 24px;
      }
      .bento-card-header {
        margin-bottom: 20px;
      }
      .bento-card-header h3 {
        font-size: 21px;
      }
      .bento-sync-visual {
        gap: 16px;
        padding: 20px 14px;
      }
      .sync-line {
        width: 56px;
      }
      .nav-links, .nav-actions .btn-secondary {
        display: none;
      }
      .menu-toggle {
        display: flex;
      }
      .mobile-menu {
        display: flex;
      }
      .mockup-screen {
        grid-template-columns: 1fr;
      }
      .mockup-sidebar {
        display: none;
      }
      /* "Izlemeye Devam Et" kartlari eskiden tek kolona YIGILIYORDU: her
         kart tam genislik aliyor ama kucuk resmi 95px yuksekliginde kaldigi
         icin basik, yanlis oranli bir seride donusuyor ve maket upuzun
         oluyordu. Gercek uygulamada bu bir YATAY SERIT; maket de oyle
         davraniyor. Boylece hem dogru gorunuyor hem de maketin anlatmak
         istedigi sey korunuyor. */
      .tv-cards-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 46%;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: 2px;
      }
      .tv-cards-grid::-webkit-scrollbar {
        display: none;
      }
      .tv-card {
        scroll-snap-align: start;
      }
      .trust-grid {
        grid-template-columns: 1fr;
      }
      .showcase-features {
        grid-template-columns: 1fr;
      }
      .devices-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .cta-card {
        padding: 40px 20px;
      }
    }

    /* TELEFON (<=480px).
       Eskiden en kucuk kirilma noktasi 768px'di; 360-400px'lik telefonlar
       tablet olculeriyle cizilyordu. Burada yalnizca BOSLUK ve PUNTO
       kuculuyor - duzen (izgaralarin tek kolona dusmesi) 768'de zaten
       hallediliyor. */
    @media (max-width: 480px) {
      .wrap {
        padding: 0 16px;
      }
      .hero {
        padding: 40px 0 64px;
      }
      .plan-price {
        font-size: 38px;
      }
      .tv-hero-title {
        font-size: 24px;
      }
      .cta-card {
        padding: 32px 16px;
      }
      /* MAKETIN IC OLCULERI.
         Telefonda dis cerceve (10px) + .mockup-main (30px) + hero kartinin
         kendi dolgusu (36px) ust uste binince 390px'lik bir ekranda metne
         ~238px kaliyordu - yazilar sikisip kirilyor, kart "berbat"
         gorunuyordu. Bu dolgular ic ice oldugu icin her birini ayri ayri
         kucultmek gerekiyor. */
      .mockup-screen {
        min-height: 0;
      }
      .mockup-tv-frame {
        padding: 6px;
      }
      .mockup-main {
        padding: 14px 14px;
        gap: 16px;
      }
      .tv-hero-banner {
        padding: 18px 16px;
        border-radius: 12px;
      }
      .tv-hero-title {
        font-size: 19px;
        margin-bottom: 6px;
      }
      .tv-hero-info {
        font-size: 11.5px;
        max-width: none;
      }
      .tv-btn-play,
      .tv-btn-info {
        padding: 7px 12px;
        font-size: 12px;
      }
      .tv-card-thumb {
        height: 76px;
      }
      .tv-cards-grid {
        grid-auto-columns: 58%;
        gap: 10px;
      }

      /* BENTO - telefon. */
      .bento-grid {
        gap: 16px;
      }
      .bento-card {
        padding: 22px 18px;
        border-radius: var(--radius-lg);
      }
      .bento-card-header h3 {
        font-size: 19px;
      }
      .bento-card-header p {
        font-size: 14px;
      }
      .bento-sync-visual {
        gap: 8px;
        padding: 16px 10px;
      }
      .sync-device-icon {
        font-size: 28px;
      }
      .sync-device-item strong {
        font-size: 12px;
      }
      .sync-animation-arrow {
        font-size: 11px;
      }
      .sync-line {
        width: 38px;
      }
      .dpad-trio {
        padding: 14px 8px;
        gap: 6px;
      }
    }

/* Ana sayfadaki "Tum ozellikleri gor" baglantisi.
   Ozellik kartlari 14'ten 6'ya indirildi; geri kalani /ozellikler
   sayfasinda. Bu blok iki sayfayi birbirine bagliyor. */
.ozellik-devami {
  margin-top: 44px;
  text-align: center;
}

.ozellik-devami p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 18px;
}

/* ===========================================================================
   CANLI TANITIM (anasayfa hero)
   KULLANICI ISTEGI: "anasayfaya animasyonlu videolu birseyler yapsak, guncel
   profesyonel olsa."
   Video dosyasi YOK: TV maketi canlaniyor (vitrin gecisi, kumanda odagi,
   dolan izleme cubuklari) ve arkada hareketli bir isima var. Video yerine
   bu: telif hakli afis/ekran kaydi gerekmiyor, sayfa hafif kaliyor ve her
   cozunurlukte keskin. Yalnizca transform/opacity canlaniyor (GPU).
   =========================================================================== */
.hero { overflow: hidden; isolation: isolate; }

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cfe0ff;
  background: rgba(61, 123, 255, 0.10);
  border: 1px solid rgba(61, 123, 255, 0.28);
}

.hero-aurora {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 760px;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-aurora span {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}
.hero-aurora span:nth-child(1) {
  left: 4%; top: 6%;
  background: radial-gradient(circle, rgba(61, 123, 255, 0.55), transparent 65%);
  animation: auroraA 22s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(2) {
  right: 2%; top: 0;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.40), transparent 65%);
  animation: auroraB 26s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(3) {
  left: 30%; top: 34%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%);
  animation: auroraC 30s ease-in-out infinite alternate;
}
@keyframes auroraA { to { transform: translate(18%, 12%) scale(1.15); } }
@keyframes auroraB { to { transform: translate(-22%, 16%) scale(0.9); } }
@keyframes auroraC { to { transform: translate(10%, -18%) scale(1.2); } }

/* Maketin ekrana girisi: hafif egik geliyor, yerine oturuyor. */
.mockup-container { perspective: 1600px; }
.mockup-tv-frame {
  animation: tvRise 1.1s cubic-bezier(.2, .8, .2, 1) both 0.15s;
  transform-origin: 50% 100%;
}
@keyframes tvRise {
  from { opacity: 0; transform: rotateX(14deg) translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* Vitrin: arka plan katmanlari + sahneler */
.tv-hero-banner { background: none !important; overflow: hidden; isolation: isolate; }
.tv-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.95) 25%, rgba(8, 10, 16, 0.4) 70%, transparent 100%),
    var(--bg) center/cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.tv-hero-bg.is-active {
  opacity: 1;
  animation: kenBurns 7s ease-out both;
}
@keyframes kenBurns { from { transform: scale(1.12); } to { transform: scale(1); } }

.tv-hero-slides { display: grid; }
.tv-hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
  pointer-events: none;
}
.tv-hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tv-hero-dots {
  position: absolute; right: 22px; bottom: 18px;
  display: flex; gap: 6px;
}
.tv-hero-dots i {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width .4s ease, background .4s ease;
}
.tv-hero-dots i.is-active { width: 22px; background: #fff; }

/* Kumanda odagi: hedefler arasinda kayan cerceve */
.tv-focus-ring {
  position: absolute; left: 0; top: 0; z-index: 7;   /* demo katmanlarinin (6) ustunde */
  width: 0; height: 0;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(61, 123, 255, 0.35), 0 0 28px rgba(61, 123, 255, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), width .55s cubic-bezier(.2, .8, .2, 1),
              height .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
}
.tv-focus-ring.is-on { opacity: 1; }
.tv-card { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease; }
.tv-card.is-focus { transform: translateY(-4px) scale(1.035); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.sidebar-icon { transition: color .3s ease, background .3s ease; }

/* Izleme cubuklari: gorunur olunca dolar */
.tv-card-fill { transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }

/* Kaydirinca belirme (JS .reveal ekler; JS yoksa her sey zaten gorunur) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .tv-focus-ring { display: none; }
  .hero-aurora { height: 520px; }
}

/* Hareket azaltma tercihi: tum dekoratif animasyonlar durur. */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora span, .mockup-tv-frame, .tv-hero-bg.is-active { animation: none !important; }
  .tv-hero-bg, .tv-hero-slide, .tv-card, .tv-card-fill, .tv-focus-ring, .reveal { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tv-focus-ring { display: none; }
}

/* ===========================================================================
   PREMIUM ANASAYFA (v2)
   KULLANICI ISTEGI: "web sitesi cok basit olmus, animasyon sira sira; karisik,
   daha profesyonel bir sey istiyorum." Secilen yon: 3D afis duvari + tum
   sayfada ayni dil (isik takip eden kartlar, akan bant, sayaclar, kaydirmaya
   bagli vitrin). Yalnizca transform/opacity/filter canlaniyor.
   =========================================================================== */

/* --- 1) Acilis: 3D afis duvari ------------------------------------------- */
.hx {
  position: relative;
  min-height: min(100vh, 1000px);
  display: grid;
  place-items: center;
  padding: 130px 0 110px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hx-wall {
  position: absolute; inset: 0; z-index: -2;
  perspective: 1400px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.hx-tilt {
  position: absolute; left: 50%; top: 50%;
  display: flex; gap: 20px;
  transform: translate(-50%, -50%) rotateX(32deg) rotateZ(-15deg)
             translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.18);
  transform-style: preserve-3d;
  will-change: transform;
  animation: hxIn 1.6s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes hxIn {
  from { opacity: 0; filter: blur(12px); }
  to   { opacity: 1; filter: none; }
}
.hx-col { flex: 0 0 clamp(120px, 11.5vw, 196px); }
.hx-track {
  display: flex; flex-direction: column;
  animation: hxUp var(--d, 60s) linear infinite;
  will-change: transform;
}
.hx-col:nth-child(even) .hx-track { animation-name: hxDown; }
@keyframes hxUp   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes hxDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hx-track img {
  display: block;
  width: 100%; height: auto; aspect-ratio: 2 / 3;
  margin-bottom: 20px;        /* bosluk margin ile: iki yari TAM esit olsun, dongude sicrama olmasin */
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hx-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 64% 60% at 50% 54%, rgba(7, 8, 11, 0.97) 0%, rgba(7, 8, 11, 0.91) 46%,
                    rgba(7, 8, 11, 0.58) 76%, rgba(7, 8, 11, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.9) 0%, transparent 16%, transparent 72%, var(--bg) 100%);
}
.hx-content { position: relative; }
.hx-title { margin-top: 6px; }
.hx-line { display: block; animation: hxRise 1s cubic-bezier(.2, .8, .2, 1) both; }
.hx-line + .hx-line { animation-delay: .14s; }
.hx-content .hero-eyebrow { animation: hxRise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hx-content .hero-desc { animation: hxRise 1s cubic-bezier(.2, .8, .2, 1) .26s both; }
.hx-content .hero-cta-group { animation: hxRise 1s cubic-bezier(.2, .8, .2, 1) .36s both; }
.hx-content .hero-subtext { animation: hxRise 1s cubic-bezier(.2, .8, .2, 1) .46s both; }
@keyframes hxRise {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hx-shine {
  background-image: linear-gradient(100deg, #8fb4ff 0%, #ffffff 22%, #7dd3fc 45%, #a78bfa 70%, #8fb4ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hxShine 7s linear infinite;
}
@keyframes hxShine { to { background-position: -220% 0; } }
.hx-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.hx-scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff;
  animation: hxDot 1.8s ease-in-out infinite;
}
@keyframes hxDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* --- 2) Akan bant -------------------------------------------------------- */
.marquee {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 22px;
  padding-right: 22px;
  font-size: 15px; font-weight: 600; color: var(--text-muted); white-space: nowrap;
}
.marquee-track span::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
}
@keyframes marq { to { transform: translateX(-50%); } }

/* --- 3) Uygulama vitrini: kaydirmaya bagli egim -------------------------- */
.showcase-tv { padding: 96px 0 40px; position: relative; }
.showcase-tv .mockup-container { margin-top: 46px; perspective: 1800px; }
.showcase-tv .mockup-tv-frame {
  animation: none;
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--p, 0) * 26deg)) scale(calc(1 - var(--p, 0) * 0.10));
  opacity: calc(1 - var(--p, 0) * 0.35);
  will-change: transform;
}
.showcase-tv::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: min(1100px, 100%); height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(61, 123, 255, 0.22), transparent 65%);
  filter: blur(60px); z-index: -1; pointer-events: none;
}

/* --- 4) Sayaclar --------------------------------------------------------- */
.stats { padding: 30px 0 70px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 28px 16px;
  border-radius: 20px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  position: relative; overflow: hidden;
}
.stat b {
  display: block;
  font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #8fb4ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { display: block; margin-top: 10px; color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- 5) Isik takip eden kartlar (JS .spot katmani ekler) ------------------ */
.has-spot { position: relative; isolation: isolate; }
.has-spot > .spot {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%),
              rgba(61, 123, 255, 0.16), transparent 42%);
}
.has-spot:hover > .spot { opacity: 1; }
.has-spot:hover { border-color: var(--border-bright); }

/* --- 6) One cikan plan: donen isikli kenarlik ---------------------------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pricing-card.featured { position: relative; }
.pricing-card.featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), transparent 0deg, var(--accent) 60deg,
              var(--accent-cyan) 120deg, transparent 180deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinAng 5s linear infinite; pointer-events: none;
}
@keyframes spinAng { to { --ang: 360deg; } }

/* --- 7) Bolumler bulaniktan netlesir; ince film greni -------------------- */
.reveal { filter: blur(8px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease; }
.reveal.is-in { filter: none; }
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9999; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.2s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); }
}

@media (max-width: 720px) {
  .hx { padding: 110px 0 90px; min-height: auto; }
  .hx-tilt { gap: 12px; transform: translate(-50%, -50%) rotateX(28deg) rotateZ(-14deg) scale(1.3); }
  .hx-track img { margin-bottom: 12px; border-radius: 10px; }
  .hx-scroll { display: none; }
  .showcase-tv { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-tilt, .hx-track, .hx-line, .hx-content > *, .hx-shine, .hx-scroll span,
  .marquee-track, .pricing-card.featured::before, body::after { animation: none !important; }
  .showcase-tv .mockup-tv-frame { transform: none; opacity: 1; }
  .reveal { filter: none; }
}

/* ===========================================================================
   DIL SECICI + COK DILLI SAYFALAR
   KULLANICI ISTEGI: "web sitesine de dil lazim; sistem dili ne ise o dille
   acilsin." Her dilin kendi adresi var (/en/, /de/...), bkz. i18n/build_site.py.
   =========================================================================== */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); color: var(--text-muted);
  border: 1px solid var(--border); cursor: pointer;
  font: 600 13px/1 inherit; font-family: inherit; letter-spacing: 0.04em;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.lang-btn:hover, .lang-switch.open .lang-btn { color: var(--text); border-color: var(--border-bright); background: rgba(255, 255, 255, 0.07); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60;
  min-width: 190px; padding: 8px;
  display: grid; gap: 2px;
  background: rgba(14, 17, 26, 0.96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--border-bright); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.lang-switch.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--text-muted); font-size: 14.5px; font-weight: 500; text-decoration: none;
}
.lang-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang-menu a[aria-current="true"] { color: #fff; background: rgba(61, 123, 255, 0.18); }

/* Sagdan sola (Arapca): metin akisi aynalanir; afis duvari ve uygulama
   maketi dir="ltr" ile oldugu gibi kalir (bir uygulama ekrani, aynalanmaz). */
[dir="rtl"] .hero-subtext, [dir="rtl"] .hero-cta-group { direction: rtl; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .faq-question { text-align: right; }
@media (max-width: 720px) {
  .lang-btn { height: 38px; padding: 0 10px; }
  .lang-btn .lang-current { display: none; }
}

/* ===========================================================================
   TV DEMO (uygulama maketi, v3)
   KULLANICI ISTEGI: "buranin animasyonlari cok basit." Maket artik senaryolu
   bir demo oynatiyor (bkz. index.html "TV DEMO MOTORU"): sinematik vitrin
   gecisi, kayan kart rayi, "Hemen Izle"ye basilinca acilan tam ekran
   oynatici ve kenar menusunden girilen Canli TV. Yalnizca transform /
   opacity / clip-path / filter canlaniyor.
   =========================================================================== */

/* Rozet karta binmesin: maketin alt kenarindan sarkar. */
.floating-badge-2 { bottom: -26px; left: 40px; }

/* Ekran uzerinde hafif cam yansimasi */
.mockup-tv-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 48%,
              rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: tvGlare 11s ease-in-out infinite 2s;
}
@keyframes tvGlare { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* --- Vitrin: sinematik gecis ------------------------------------------- */
.tv-hero-bg {
  transform: scale(1.18); filter: blur(8px) saturate(0.6);
  transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.2, .8, .2, 1), filter 1.2s ease;
}
.tv-hero-bg.is-active { filter: none; }
.tv-hero-slide .tech-chip, .tv-hero-slide .tv-hero-info, .tv-hero-slide .tv-hero-actions {
  opacity: 0; transform: translateY(12px);
}
.tv-hero-slide.is-active .tech-chip,
.tv-hero-slide.is-active .tv-hero-info,
.tv-hero-slide.is-active .tv-hero-actions {
  animation: tvUp .7s cubic-bezier(.2, .8, .2, 1) both;
}
.tv-hero-slide.is-active .tech-chip:nth-child(1) { animation-delay: .10s; }
.tv-hero-slide.is-active .tech-chip:nth-child(2) { animation-delay: .17s; }
.tv-hero-slide.is-active .tech-chip:nth-child(3) { animation-delay: .24s; }
.tv-hero-slide.is-active .tech-chip:nth-child(4) { animation-delay: .31s; }
.tv-hero-slide.is-active .tv-hero-info { animation-delay: .55s; }
.tv-hero-slide.is-active .tv-hero-actions { animation-delay: .7s; }
@keyframes tvUp { to { opacity: 1; transform: none; } }
/* Baslik harf harf (JS harfleri .tvl icine sarar) */
.tvw { display: inline-block; white-space: nowrap; }
.tvl {
  display: inline-block; opacity: 0; transform: translateY(16px) rotateX(-40deg); filter: blur(5px);
  animation: tvLetter .65s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(.18s + var(--i) * 24ms);
}
@keyframes tvLetter { to { opacity: 1; transform: none; filter: none; } }
/* Noktalar: aktif nokta sahne suresince dolan bir cubuk */
.tv-hero-dots i { position: relative; overflow: hidden; }
.tv-hero-dots i.is-active { width: 30px; background: rgba(255, 255, 255, 0.28); }
.tv-hero-dots i.is-active::after {
  content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left;
  animation: tvDot var(--slide-ms, 6000ms) linear both;
}
@keyframes tvDot { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Dugmeye basma */
.tv-btn-play { transition: transform .2s ease, box-shadow .3s ease; }
.tv-btn-play.is-press { animation: tvPress .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes tvPress {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  35% { transform: scale(0.9); }
  100% { transform: scale(1); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
}
.sidebar-icon.is-press { animation: tvPress .5s cubic-bezier(.2, .8, .2, 1); }

/* --- Kart rayi: kayan serit ---------------------------------------------- */
.tv-rail-viewport { overflow: hidden; margin: -14px -12px; padding: 14px 12px; } /* yan bosluk < kart araligi (14px): komsu kart kenari gorunmesin */
.tv-cards-grid.tv-rail-track {
  display: flex !important; gap: 14px; overflow: visible !important;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1); will-change: transform;
}
.tv-rail-track .tv-card { flex: 0 0 calc((100% - 28px) / 3); }
.tv-card-thumb { transition: transform 3.5s ease-out; }
.tv-card.is-focus { transform: scale(1.06); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 28px rgba(61, 123, 255, 0.55); z-index: 2; }
.tv-card.is-focus .tv-card-thumb { transform: scale(1.1); }
.tv-card.is-focus .tv-card-fill { box-shadow: 0 0 10px rgba(96, 165, 250, 0.9); }
@media (max-width: 768px) { .tv-rail-track .tv-card { flex-basis: 46%; } }

/* --- Ortak katman -------------------------------------------------------- */
.tvx-player, .tvx-live {
  position: absolute; z-index: 6; visibility: hidden; pointer-events: none; opacity: 0;
}

/* --- Tam ekran oynatici -------------------------------------------------- */
.tvx-player {
  inset: 0; background: #000; overflow: hidden;
  clip-path: inset(var(--ct, 45%) var(--cr, 45%) var(--cb, 45%) var(--cl, 45%) round 14px);
  transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), opacity .25s ease .5s, visibility 0s .75s;
}
.tvx-player.is-open {
  visibility: visible; opacity: 1; clip-path: inset(0 0 0 0 round 0);
  transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), opacity .15s ease;
}
.tvx-player-bg {
  position: absolute; inset: -6%;
  background: var(--bg) center/cover;
  animation: tvPan 16s linear infinite alternate;
}
@keyframes tvPan { from { transform: scale(1.05) translate3d(-2%, 0, 0); } to { transform: scale(1.12) translate3d(2%, -1%, 0); } }
.tvx-player::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 22%, transparent 62%, rgba(0, 0, 0, 0.85) 100%);
}
.tvx-player-top, .tvx-player-bar { position: absolute; left: 30px; right: 30px; z-index: 2; transition: opacity .6s ease, transform .6s ease; }
.tvx-player-top { top: 24px; display: flex; align-items: baseline; gap: 14px; }
.tvx-player-title { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.tvx-player-meta { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.tvx-player-bar { bottom: 26px; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }
.tvx-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); position: relative; }
.tvx-track i {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--pp, 38%); border-radius: 4px;
  background: linear-gradient(90deg, #3d7bff, #60a5fa); box-shadow: 0 0 12px rgba(61, 123, 255, 0.8);
  transition: width 1s linear;
}
.tvx-track i::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
.tvx-player.is-idle .tvx-player-top { opacity: 0; transform: translateY(-10px); }
.tvx-player.is-idle .tvx-player-bar { opacity: 0; transform: translateY(10px); }
.tvx-pp {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; z-index: 2;
  border-radius: 50%; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px);
  opacity: 0; transform: scale(0.6);
}
.tvx-pp::before, .tvx-pp::after { content: ""; position: absolute; top: 25px; width: 7px; height: 24px; border-radius: 2px; background: #fff; }
.tvx-pp::before { left: 27px; } .tvx-pp::after { right: 27px; }
.tvx-player.is-open .tvx-pp { animation: tvPop 1.1s cubic-bezier(.2, .8, .2, 1) .55s both; }
@keyframes tvPop { 0% { opacity: 0; transform: scale(0.6); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.tvx-sub { position: absolute; left: 0; right: 0; bottom: 74px; z-index: 2; margin: 0; text-align: center; }
.tvx-sub span {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap;
  padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.45);
  font-size: 16px; font-weight: 600; color: #fff; opacity: 0; transition: opacity .35s ease;
}
.tvx-sub span.is-on { opacity: 1; }

/* --- Canli TV ------------------------------------------------------------ */
.tvx-live {
  top: 0; bottom: 0; right: 0; left: 80px;
  display: grid; grid-template-columns: minmax(230px, 34%) 1fr;
  background: linear-gradient(180deg, #0d111c, #080a11);
  transform: translateX(26px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s .6s;
}
.tvx-live.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.tvx-live-list { padding: 22px 12px 18px 16px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid rgba(255, 255, 255, 0.06); min-width: 0; }
.tvx-live-head { color: #fff; font-weight: 800; font-size: 16px; margin: 0 8px 10px; }
.tvx-ch {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.tvx-ch.is-sel { background: rgba(61, 123, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.55); transform: scale(1.02); }
.tvx-logo {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.tvx-ch-txt { flex: 1; min-width: 0; }
.tvx-ch-txt b { display: block; font-size: 13px; color: #fff; }
.tvx-ch-txt small { display: block; font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvx-ch-txt i { display: block; height: 3px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.tvx-ch-txt i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: linear-gradient(90deg, #3d7bff, #22d3ee); border-radius: 3px; transition: width 1s linear; }
.tvx-live-preview { position: relative; margin: 20px; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.tvx-live-img { position: absolute; inset: -4%; background: var(--img) center/cover; animation: tvPan 12s linear infinite alternate; }
.tvx-live-preview.is-zap .tvx-live-img { animation: tvZap .5s ease, tvPan 12s linear infinite alternate; }
@keyframes tvZap { 0% { filter: brightness(2.2) blur(6px) contrast(1.4); opacity: 0.4; } 100% { filter: none; opacity: 1; } }
.tvx-live-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85)); }
.tvx-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  background: rgba(220, 38, 38, 0.92); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
}
.tvx-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tvBlink 1.2s ease-in-out infinite; }
@keyframes tvBlink { 50% { opacity: 0.25; } }
.tvx-live-info { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.tvx-live-info b { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.tvx-live-info small { display: block; color: rgba(255, 255, 255, 0.75); font-size: 13px; margin-top: 2px; }
@media (max-width: 768px) {
  .tvx-live { left: 0; grid-template-columns: 1fr; }
  .tvx-live-preview { display: none; }
  .tvx-sub span { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .mockup-tv-frame::after, .tvl, .tv-hero-dots i.is-active::after, .tvx-player-bg, .tvx-live-img { animation: none !important; }
  .tvl, .tv-hero-slide .tech-chip, .tv-hero-slide .tv-hero-info, .tv-hero-slide .tv-hero-actions { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Arapca: maket LTR yerlesimde kalir (bkz. index.html dir="ltr"), ama metin
   sirasi kendi yonunu bulsun. Baslik kelime kelime span'lere bolundugu icin
   kelime sirasi ancak baslik RTL olunca dogru dizilir. */
html[lang^="ar"] #tv-screen :is(p, b, small, span, div, h1, h2, h3, h4) { unicode-bidi: plaintext; }
html[lang^="ar"] #tv-screen .tv-hero-title { direction: rtl; text-align: left; unicode-bidi: isolate; }

/* --- TV DEMO odak (v4) ---------------------------------------------------
   Odak artik ogenin kendi uzerinde cizilir (ayri cerceve katmani yok), bu
   yuzden hedeften asla kaymaz. Cerceve disaridan "oturur", mavi isik nabiz
   gibi atar, oge hafifce one cikar: Android TV / Google TV hissi. */
.tv-focus-ring { display: none !important; }
#tv-screen [data-focus], #tv-screen .tvx-ch {
  outline: 2px solid transparent; outline-offset: 10px;
  transition: outline-offset .45s cubic-bezier(.2, .8, .2, 1), outline-color .3s ease,
              transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease, background .3s ease, color .3s ease;
}
#tv-screen .is-focus { outline-color: rgba(255, 255, 255, 0.95); outline-offset: 3px; animation: tvFocusGlow 2.2s ease-in-out .45s infinite; }
@keyframes tvFocusGlow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(61, 123, 255, 0.28), 0 0 22px rgba(61, 123, 255, 0.45); }
  50%      { box-shadow: 0 0 0 7px rgba(61, 123, 255, 0.18), 0 0 34px rgba(96, 165, 250, 0.7); }
}
#tv-screen .tv-btn-play.is-focus { transform: scale(1.07); }
#tv-screen .sidebar-icon.is-focus { transform: scale(1.12); color: #fff; }
#tv-screen .tvx-ch.is-focus { transform: scale(1.02); outline-offset: 2px; }
/* Kart: one cikma + golge korunur, halka ve isik ayni nabizla */
#tv-screen .tv-card.is-focus { transform: scale(1.04); z-index: 2; outline-offset: 3px;
  animation: tvFocusGlowCard 2.2s ease-in-out .45s infinite;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 26px rgba(61, 123, 255, 0.5); }
@keyframes tvFocusGlowCard {
  0%, 100% { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 22px rgba(61, 123, 255, 0.45); }
  50%      { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 36px rgba(96, 165, 250, 0.75); }
}
/* Odakli kartta isik suzulmesi */
#tv-screen .tv-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
}
#tv-screen .tv-card.is-focus::after { transition: transform .9s ease .15s; transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) {
  #tv-screen .is-focus, #tv-screen .tv-card.is-focus { animation: none; }
  #tv-screen .tv-card::after { display: none; }
}

/* -------------------------------------------------------------------------
   OZELLIK TURU (#bildirim) - GERCEK UYGULAMA EKRANLARI
   Gorseller uygulamanin kendisinden alindi (img/app/); icerik sitenin hayali
   afisleriyle dolu bir demo sunucusundan geliyor, telifli icerik yok.
   Tek hareket: yeni bolum bildirim kartinin gercek ana sayfanin ustune
   kayarak inmesi.
   ------------------------------------------------------------------------- */
.nx-section { padding: 72px 0; position: relative; }
.nx-section .section-head.ara { margin-top: 110px; }
.nx-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.nx-row + .nx-row { margin-top: 96px; }
.nx-visual { position: relative; display: flex; justify-content: center; }

/* Telefon cercevesi */
.nx-dev {
  position: relative; margin: 0;
  width: 270px; max-width: 100%;
  padding: 9px; border-radius: 42px;
  background: linear-gradient(160deg, #2a2f3d, #0d0f15 55%, #23283a);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08) inset, 0 30px 90px -40px var(--accent-glow);
}
.nx-dev img { display: block; width: 100%; height: auto; border-radius: 33px; }
.nx-dev .nx-drop {
  position: absolute; left: calc(9px + 2.83%); top: calc(9px + 6.06%);
  width: calc((100% - 18px) * .9483); height: auto; border-radius: 0;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.55));
  animation: nx-drop 6s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes nx-drop {
  0%, 10% { transform: translateY(-160%); opacity: 0; }
  18%, 80% { transform: translateY(0); opacity: 1; }
  90%, 100% { transform: translateY(-160%); opacity: 0; }
}

/* Iki ekran: one cikan + arkada, hafif kaydirilmis ikinci ekran */
.nx-duo { position: relative; width: 430px; max-width: 100%; aspect-ratio: 430 / 640; }
.nx-duo .nx-dev { position: absolute; width: 62.8%; }
.nx-duo .nx-dev-front { left: 0; bottom: 0; z-index: 2; }
.nx-duo .nx-dev-back { right: 0; top: 0; z-index: 1; transform: scale(.94); transform-origin: top right; opacity: .9; }

/* Metin tarafi */
.nx-steps { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.nx-steps li { display: flex; gap: 16px; align-items: flex-start; }
.nx-step-ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--border-accent);
}
.nx-step-ico svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nx-steps h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.nx-steps p, .nx-sub-desc { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.nx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.nx-compare-col {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--surface-card); border: 1px solid var(--border); font-size: 13.5px;
}
.nx-compare-us { border-color: var(--border-accent); background: linear-gradient(160deg, rgba(61,123,255,.14), rgba(18,21,32,.6)); }
.nx-compare-head { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.nx-compare-us .nx-compare-head { color: var(--accent); }
.nx-no, .nx-yes { padding-inline-start: 22px; position: relative; line-height: 1.45; }
.nx-no { color: var(--text-muted); }
.nx-no::before, .nx-yes::before { position: absolute; inset-inline-start: 0; top: 0; font-weight: 800; }
.nx-no::before { content: "\2715"; color: #F87171; }
.nx-yes::before { content: "\2713"; color: var(--ok); }
.nx-sub-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 12px 0; }
.nx-points { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.nx-points li { padding-inline-start: 26px; position: relative; font-size: 15px; }
.nx-points li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .nx-dev .nx-drop { animation: none; }
}
@media (max-width: 900px) {
  .nx-row { grid-template-columns: 1fr; gap: 36px; }
  .nx-row-rev .nx-visual { order: -1; }
  .nx-row + .nx-row { margin-top: 64px; }
}
@media (max-width: 520px) {
  .nx-section { padding: 52px 0; }
  .nx-section .section-head.ara { margin-top: 80px; }
  .nx-duo { width: 330px; }
  .nx-dev { padding: 7px; border-radius: 32px; }
  .nx-dev img { border-radius: 26px; }
  .nx-dev .nx-drop { left: calc(7px + 2.83%); top: calc(7px + 6.06%); width: calc((100% - 14px) * .9483); }
  .nx-dev-solo { width: 230px; }
  .nx-compare { grid-template-columns: 1fr; }
}
/* Tek ekranli satirlar (indirme, arama): ekranin alt yarisi bos oldugu icin
   cerceve yalnizca dolu ust kismi gosterir ve asagi dogru soluklasir. */
.nx-dev-solo { width: 300px; aspect-ratio: 300 / 400; overflow: hidden; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.nx-dev-solo img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* Arama: sonuclar tek satir, cerceve sonuclarin hemen altinda biter. */
.nx-dev-solo.nx-dev-short { aspect-ratio: 300 / 300; }
@media (max-width: 520px) { .nx-dev-solo { width: 260px; padding-bottom: 0; } }
/* Telefon + Windows penceresi (izleme gecmisi satiri) */
.nx-cross { position: relative; width: 560px; max-width: 100%; aspect-ratio: 560 / 440; }
.nx-win {
  position: absolute; left: 0; top: 0; width: 90%; margin: 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 30px 90px -40px var(--accent-glow);
}
.nx-win img { display: block; width: 100%; height: auto; }
.nx-cross .nx-dev-front { position: absolute; right: 0; left: auto; bottom: 0; width: 34%; padding: 6px; border-radius: 26px; z-index: 2; }
.nx-cross .nx-dev-front img { border-radius: 21px; }
/* Ucgen: telefon + Windows + TV ayni bolumu ayni dakikada gosterir */
.nx-tri { position: relative; width: 600px; max-width: 100%; aspect-ratio: 600 / 560; }
.nx-tri figure { margin: 0; }
.nx-tri-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.nx-tri-lines path { fill: rgba(61,123,255,.05); stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 10; opacity: .7; animation: nx-tri-dash 1.6s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes nx-tri-dash { to { stroke-dashoffset: -36; } }
.nx-tri-tv { position: absolute; left: 14%; top: 0; width: 72%; z-index: 1; }
.nx-tri-tv img { display: block; width: 100%; height: auto; border-radius: 10px; border: 6px solid #12141b; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.nx-tri-stand { display: block; width: 26%; height: 9px; margin: 0 auto; background: linear-gradient(#1b1e27, #0d0f15); border-radius: 0 0 9px 9px; }
.nx-tri-win { left: 0; top: auto; bottom: 0; width: 60%; z-index: 2; }
.nx-tri .nx-tri-phone { position: absolute; right: 0; bottom: 0; width: 24%; padding: 5px; border-radius: 22px; z-index: 3; }
.nx-tri .nx-tri-phone img { border-radius: 18px; }
@media (prefers-reduced-motion: reduce) { .nx-tri-lines path { animation: none; } }
@media (max-width: 520px) { .nx-tri .nx-tri-phone { border-radius: 16px; padding: 4px; } .nx-tri .nx-tri-phone img { border-radius: 13px; } }

