/* Textream animation components. Copyright (c) 2026 Fatih Kadir Akin. MIT, see textream-license.txt. Adapted for local Runline concept. */

    

    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg: #0A0A0C;
      --surface: #1C1C1E;
      --surface2: #2A2A2C;
      --text: #F5F5F7;
      --text2: #86868B;
      --text3: #48484A;
      --accent1: #7C6AFF;
      --accent2: #4F8BFF;
      --radius: 20px;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .bg-glow {
      position: fixed;
      top: -40%;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 900px;
      background: radial-gradient(circle, rgba(124, 106, 255, 0.1) 0%, rgba(79, 139, 255, 0.05) 40%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    .container {
      max-width: 960px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }

    /* Nav */
    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
    }

    .nav-leading {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text);
    }

    .logo svg { width: 36px; height: 36px; }

    .logo span {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .nav-tag {
      font-size: 12px;
      font-weight: 600;
      color: var(--accent2);
      background: rgba(79, 139, 255, 0.1);
      border: 1px solid rgba(79, 139, 255, 0.2);
      padding: 4px 12px;
      border-radius: 20px;
    }

    /* Hero */
    .hero {
      text-align: center;
      padding: 80px 0 40px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent2);
      background: rgba(79, 139, 255, 0.08);
      border: 1px solid rgba(79, 139, 255, 0.15);
      padding: 6px 16px;
      border-radius: 20px;
      margin-bottom: 24px;
    }

    .hero h1 {
      font-size: clamp(38px, 7vw, 68px);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.08;
      margin-bottom: 24px;
    }

    .hero h1 .gradient {
      background: linear-gradient(135deg, var(--accent1), var(--accent2));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero .subtitle {
      font-size: 19px;
      color: var(--text2);
      max-width: 580px;
      margin: 0 auto 16px;
      line-height: 1.7;
    }

    .hero .use-cases {
      font-size: 15px;
      color: var(--text3);
      margin-bottom: 40px;
    }

    .hero .use-cases span {
      color: var(--text2);
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--accent1), var(--accent2));
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      padding: 16px 36px;
      border-radius: 14px;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 24px rgba(124, 106, 255, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(124, 106, 255, 0.4);
    }

    [hidden] { display: none !important; }

    .dl-meta {
      font-size: 13px;
      color: var(--text3);
    }

    .download-requirements { margin-top: 12px; }

    .hero-brew {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
      padding: 9px 14px;
      background: rgba(255,255,255,0.035);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      font-size: 12px;
      color: var(--text3);
    }

    .hero-brew code {
      font-family: 'SF Mono', 'Fira Code', monospace;
      color: var(--accent2);
      font-size: 12px;
      user-select: all;
    }

    /* App icon showcase */
    .icon-showcase {
      display: flex;
      justify-content: center;
      padding: 50px 0 80px;
    }

    .icon-showcase svg {
      width: 180px;
      height: 180px;
      filter: drop-shadow(0 20px 60px rgba(124, 106, 255, 0.25));
    }

    /* Tagline */
    .tagline {
      text-align: center;
      padding: 0 0 80px;
    }

    .tagline p {
      font-size: 17px;
      color: var(--text2);
      max-width: 620px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* Features */
    .features {
      padding: 40px 0 80px;
    }

    .features h2 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .features .section-sub {
      text-align: center;
      font-size: 16px;
      color: var(--text2);
      margin-bottom: 48px;
    }

    .features-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
    }

    .feat-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 20px 24px;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .feat-item:nth-child(odd) {
      border-right: 1px solid rgba(255,255,255,0.04);
    }

    .feat-item:nth-last-child(-n+2) {
      border-bottom: none;
    }

    .feat-dot {
      width: 32px;
      height: 32px;
      min-width: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: rgba(124, 106, 255, 0.08);
      margin-top: 2px;
    }

    .feat-dot svg {
      width: 16px;
      height: 16px;
      stroke: var(--accent2);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .feat-text h3 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 3px;
      letter-spacing: -0.01em;
    }

    .feat-text p {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.5;
    }

    /* Use cases */
    .use-case-section {
      padding: 40px 0 80px;
    }

    .use-case-section h2 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .use-case-section .section-sub {
      text-align: center;
      font-size: 16px;
      color: var(--text2);
      margin-bottom: 48px;
    }

    .use-case-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
    }

    .use-case-item {
      background: var(--surface);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 16px;
      padding: 24px;
      text-align: center;
      transition: transform 0.2s;
    }

    .use-case-item:hover { transform: translateY(-3px); }

    .use-case-item .uc-icon {
      width: 48px;
      height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      background: rgba(124, 106, 255, 0.08);
      margin-bottom: 12px;
    }

    .use-case-item .uc-icon svg {
      width: 22px;
      height: 22px;
      stroke: var(--accent2);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .use-case-item h3 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .use-case-item p {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.5;
    }

    /* How it works */
    .how-it-works {
      padding: 40px 0 80px;
    }

    .how-it-works h2 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 48px;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 24px;
      counter-reset: step;
    }

    .step {
      text-align: center;
      counter-increment: step;
    }

    .step::before {
      content: counter(step);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--accent1), var(--accent2));
      color: #fff;
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .step h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 6px;
    }

    .step p {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.6;
    }

    /* Install note */
    .install-note {
      background: var(--surface);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius);
      padding: 28px 32px;
      margin: 0 auto 80px;
      max-width: 640px;
    }

    .install-note h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .install-note p {
      font-size: 14px;
      color: var(--text2);
      margin-bottom: 12px;
    }

    .install-note code {
      display: block;
      background: var(--bg);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      padding: 14px 18px;
      font-family: 'SF Mono', 'Fira Code', monospace;
      font-size: 13px;
      color: var(--accent2);
      overflow-x: auto;
    }

    /* CTA */
    .cta {
      text-align: center;
      padding: 40px 0 80px;
    }

    .cta h2 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .cta p {
      color: var(--text2);
      font-size: 16px;
      margin-bottom: 28px;
    }

    /* Donate top bar */
    .donate-bar {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 8px 16px;
      background: var(--surface);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      position: relative;
      z-index: 2;
    }

    .donate-bar p {
      font-size: 13px;
      color: var(--text2);
    }

    .donate-bar strong {
      color: var(--text);
    }

    .donate-source-link {
      color: var(--text);
      font-weight: 700;
      text-decoration: underline;
    }

    .btn-donate {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255, 255, 255, 0.08);
      color: var(--text);
      font-size: 12px;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 6px;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.2s;
    }

    .btn-donate:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    /* Footer */
    footer {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 32px 0;
      text-align: center;
    }

    footer p {
      font-size: 13px;
      color: var(--text3);
    }

    footer a {
      color: var(--text2);
      text-decoration: none;
      transition: color 0.2s;
    }

    footer a:hover { color: var(--text); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--surface);
      color: var(--text);
      font-size: 16px;
      font-weight: 600;
      padding: 16px 36px;
      border-radius: 14px;
      text-decoration: none;
      border: 1px solid rgba(255,255,255,0.08);
      transition: transform 0.2s, background 0.2s;
    }

    .btn-secondary:hover {
      transform: translateY(-2px);
      background: var(--surface2);
    }

    nav .docs-link,
    nav .github-link {
      color: var(--text2);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 44px;
      border-radius: 10px;
      transition: color 0.2s, background 0.2s;
    }

    nav .docs-link {
      padding: 0 2px;
    }

    nav .github-link {
      justify-content: center;
      padding: 0 8px;
    }

    nav .docs-link:hover {
      color: var(--text);
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    nav .github-link:hover {
      color: var(--text);
      background: rgba(255,255,255,0.08);
    }

    nav .docs-link:focus-visible,
    nav .github-link:focus-visible,
    nav .logo:focus-visible {
      outline: 2px solid var(--accent2);
      outline-offset: 3px;
    }

    nav .docs-link svg,
    nav .github-link svg { width: 18px; height: 18px; }

    /* Demo animation */
    .demo {
      padding: 20px 0 80px;
      text-align: center;
    }

    .demo h2 {
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .demo .section-sub {
      font-size: 16px;
      color: var(--text2);
      margin-bottom: 40px;
    }

    .screen-frame {
      position: relative;
      width: 100%;
      max-width: 640px;
      aspect-ratio: 16 / 10;
      margin: 0 auto;
      background: linear-gradient(180deg, #1a1a1e 0%, #111113 100%);
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,0.08);
      overflow: hidden;
      box-shadow: 0 20px 80px rgba(0,0,0,0.5);
      display: flex;
      flex-direction: column;
    }


    /* Camera lens + green dot */
    .demo-camera {
      position: absolute;
      top: 6px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 20;
    }

    .demo-camera .lens {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #3a3a3e 0%, #1a1a1c 60%, #0a0a0c 100%);
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: inset 0 0.5px 1px rgba(255,255,255,0.1);
    }

    .demo-camera .green-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #32d74b;
      box-shadow: 0 0 4px rgba(50, 215, 75, 0.6);
      position: absolute;
      top: 1.5px;
      left: calc(100% + 5px);
    }

    /* Notch overlay - uses SVG shape for concave top corners */
    .demo-notch {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
    }

    .demo-notch svg.notch-shape {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .demo-notch-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      height: 100%;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .demo-notch.expanded .demo-notch-content {
      opacity: 1;
      transition-delay: 0.3s;
    }

    .demo-words {
      flex: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 5px 6px;
      align-content: flex-start;
      padding: 34px 24px 10px;
      overflow: hidden;
      position: relative;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    }

    .demo-words-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 5px 6px;
      transition: transform 0.3s ease-out;
    }

    .demo-words span {
      font-size: 13px;
      font-weight: 600;
      color: rgba(255,255,255,1);
      transition: color 0.15s ease;
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    }

    .demo-words span.highlighted {
      color: rgba(255,255,255,0.3);
    }

    .demo-words span.current {
      color: rgba(255,255,255,0.6);
      text-decoration: underline;
    }

    .demo-words span.annotation {
      font-style: italic;
      color: rgba(255,255,255,0.2);
    }

    .demo-words span.annotation.highlighted {
      color: rgba(255,255,255,0.5);
    }

    .demo-words span.annotation.current {
      color: rgba(255,255,255,0.4);
    }

    /* Bottom toolbar */
    .demo-toolbar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 24px 14px;
      height: 36px;
      flex-shrink: 0;
    }

    .demo-waveform {
      display: flex;
      align-items: center;
      gap: 2px;
      height: 16px;
      flex-shrink: 0;
    }

    .demo-waveform .bar {
      width: 3px;
      border-radius: 1.5px;
      background: rgba(255,255,255,0.15);
      transition: height 0.08s ease-out;
      min-height: 4px;
    }

    .demo-waveform .bar.lit {
      background: rgba(255, 214, 10, 0.9);
    }

    .demo-spoken {
      font-size: 11px;
      font-weight: 500;
      color: rgba(255,255,255,0.45);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      min-width: 0;
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1;
    }

    .demo-btn {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .demo-btn svg {
      width: 10px;
      height: 10px;
      stroke: rgba(255,255,255,0.6);
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .demo-btn.mic svg {
      stroke: none;
      fill: #ffd60a;
      opacity: 0.85;
    }

    .demo-done {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 6px;
      flex: 1;
      padding-top: 16px;
    }

    .demo-done svg {
      width: 16px;
      height: 16px;
    }

    .demo-done span {
      font-size: 13px;
      font-weight: 700;
      color: #fff;
    }

    /* Fake desktop: Google Meet style */
    .screen-desktop {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: #202124;
      position: relative;
    }

    .meet-grid {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px;
      padding: 28px 8px 8px;
    }

    .meet-tile {
      background: #2d2e30;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .meet-tile .silhouette {
      width: 50%;
      height: 70%;
      opacity: 0.25;
    }

    .meet-tile .silhouette circle { fill: rgba(255,255,255,0.6); }
    .meet-tile .silhouette ellipse { fill: rgba(255,255,255,0.4); }

    .meet-tile.self-tile { background: #1a3a2a; }
    .meet-tile.self-tile .silhouette circle { fill: rgba(100,255,150,0.5); }
    .meet-tile.self-tile .silhouette ellipse { fill: rgba(100,255,150,0.3); }

    .meet-tile .tile-name {
      position: absolute;
      bottom: 4px;
      left: 6px;
      font-size: 7px;
      font-weight: 500;
      color: rgba(255,255,255,0.5);
      font-family: -apple-system, sans-serif;
    }

    .meet-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 6px 0;
      flex-shrink: 0;
    }

    .meet-bar-btn {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .meet-bar-btn svg {
      width: 10px;
      height: 10px;
      stroke: rgba(255,255,255,0.6);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
    }

    .meet-bar-btn.mic-on { background: #3c4043; }
    .meet-bar-btn.cam-on { background: #3c4043; }
    .meet-bar-btn.end-call { background: #ea4335; }

    /* Scene switching */
    .screen-desktop .scene {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      opacity: 0;
      transition: opacity 0.6s ease;
      pointer-events: none;
    }

    .screen-desktop .scene.active { opacity: 1; pointer-events: auto; }

    /* Scene: Presentation (Meet screen-share) */
    .scene-presentation {
      background: #202124;
      padding: 0;
    }

    .pres-layout {
      position: absolute;
      inset: 24px 0 28px 0;
      display: flex;
      gap: 4px;
      padding: 0 6px;
    }

    /* Large shared screen area */
    .pres-shared {
      flex: 1;
      background: #1a1a1e;
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      padding: 10px 14px;
      gap: 6px;
      overflow: hidden;
      position: relative;
    }

    .pres-shared-title {
      width: 50%;
      height: 7px;
      border-radius: 3px;
      background: rgba(255,255,255,0.1);
    }

    .pres-shared-sub {
      width: 30%;
      height: 5px;
      border-radius: 2px;
      background: rgba(79,139,255,0.2);
      margin-bottom: 4px;
    }

    .pres-shared-lines {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .pres-shared-lines div {
      height: 4px;
      border-radius: 2px;
      background: rgba(255,255,255,0.05);
    }

    .pres-shared-lines div:nth-child(1) { width: 90%; }
    .pres-shared-lines div:nth-child(2) { width: 70%; }
    .pres-shared-lines div:nth-child(3) { width: 80%; }

    .pres-shared-chart {
      margin-top: auto;
      display: flex;
      align-items: flex-end;
      gap: 4px;
      height: 36px;
    }

    .pres-shared-chart div {
      flex: 1;
      border-radius: 2px 2px 0 0;
    }

    .pres-shared-chart div:nth-child(1) { height: 35%; background: rgba(66,133,244,0.3); }
    .pres-shared-chart div:nth-child(2) { height: 60%; background: rgba(66,133,244,0.35); }
    .pres-shared-chart div:nth-child(3) { height: 90%; background: rgba(66,133,244,0.45); }
    .pres-shared-chart div:nth-child(4) { height: 50%; background: rgba(66,133,244,0.3); }
    .pres-shared-chart div:nth-child(5) { height: 75%; background: rgba(66,133,244,0.4); }
    .pres-shared-chart div:nth-child(6) { height: 45%; background: rgba(66,133,244,0.3); }
    .pres-shared-chart div:nth-child(7) { height: 85%; background: rgba(52,168,83,0.35); }

    .pres-shared-pie {
      position: absolute;
      bottom: 38px;
      right: 14px;
      width: 28px;
      height: 28px;
    }

    .pres-shared-pie circle { fill: none; stroke-width: 6; opacity: 0.3; }

    /* Small participant strip on right */
    .pres-people {
      display: flex;
      flex-direction: column;
      gap: 3px;
      width: 56px;
      flex-shrink: 0;
    }

    .pres-person {
      flex: 1;
      background: #2d2e30;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .pres-person svg {
      width: 50%;
      height: 60%;
      opacity: 0.25;
    }

    .pres-person svg circle { fill: rgba(255,255,255,0.6); }
    .pres-person svg ellipse { fill: rgba(255,255,255,0.4); }

    .pres-person.speaking { border: 1px solid rgba(66,133,244,0.5); }

    .pres-person .pp-name {
      position: absolute;
      bottom: 2px;
      left: 4px;
      font-size: 5px;
      font-weight: 500;
      color: rgba(255,255,255,0.4);
    }

    /* Meet bottom bar reused */
    .pres-meet-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 4px 0;
      background: #202124;
    }

    /* Scene: Recording / vertical video */
    .scene-recording {
      background: #1a1a1a;
      justify-content: center;
      align-items: center;
      padding: 28px 0 8px;
    }

    .rec-viewfinder {
      width: 55%;
      flex: 1;
      max-height: 85%;
      background: #111;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .rec-viewfinder svg {
      width: 40%;
      height: 50%;
      opacity: 0.2;
    }

    .rec-viewfinder svg circle { fill: rgba(255,255,255,0.5); }
    .rec-viewfinder svg ellipse { fill: rgba(255,255,255,0.35); }

    .rec-dot {
      position: absolute;
      top: 6px;
      left: 8px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #ff3b30;
      box-shadow: 0 0 6px rgba(255, 59, 48, 0.6);
      animation: recBlink 1.2s infinite;
    }

    @keyframes recBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .rec-time {
      position: absolute;
      top: 5px;
      left: 18px;
      font-size: 7px;
      font-weight: 600;
      color: rgba(255,255,255,0.4);
      font-family: 'SF Mono', monospace;
    }

    .rec-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 6px 0;
      flex-shrink: 0;
    }

    .rec-btn {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 2px solid rgba(255,255,255,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .rec-btn .rec-inner {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ff3b30;
    }

    /* Sidecar iPad demo */
    .sidecar-wrapper {
      position: relative;
      width: 100%;
      max-width: 640px;
      margin: 12px auto 0;
    }

    .sidecar-label {
      display: flex;
      align-items: center;
      gap: 6px;
      opacity: 0;
      transition: opacity 0.5s ease;
      position: absolute;
      z-index: 21;
    }

    .sidecar-label.visible { opacity: 1; }

    .sidecar-label span {
      font-size: 11px;
      font-weight: 600;
      color: var(--text2);
    }

    .sidecar-label .dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #32d74b;
      box-shadow: 0 0 6px rgba(50, 215, 75, 0.5);
    }

    #sidecarLabelIPad {
      bottom: -50px;
      right: -30px;
    }

    #sidecarLabelMac {
      bottom: -24px;
      left: 0;
    }

    .ipad-frame {
      position: absolute;
      bottom: -30px;
      right: -30px;
      width: 220px;
      aspect-ratio: 4 / 3;
      background: linear-gradient(180deg, #111113 0%, #0a0a0c 100%);
      border-radius: 14px;
      border: 2px solid rgba(255,255,255,0.12);
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0,0,0,0.6);
      opacity: 0;
      transform: translateY(-10px) scale(0.95);
      transition: opacity 0.5s ease, transform 0.5s ease;
      z-index: 20;
    }

    .ipad-frame.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .ipad-frame .home-bar {
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      width: 48px;
      height: 4px;
      border-radius: 2px;
      background: rgba(255,255,255,0.2);
      z-index: 5;
    }

    .ipad-prompter {
      padding: 24px 16px 20px;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .ipad-prompter-words {
      flex: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 4px 5px;
      align-content: flex-start;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
      mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
    }

    .ipad-prompter-words-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 5px;
      transition: transform 0.3s ease-out;
    }

    .ipad-prompter-words span {
      font-size: 11px;
      font-weight: 600;
      color: rgba(255,255,255,1);
      transition: color 0.15s ease;
    }

    .ipad-prompter-words span.highlighted {
      color: rgba(255,255,255,0.3);
    }

    .ipad-prompter-words span.current {
      color: rgba(255,255,255,0.6);
      text-decoration: underline;
    }

    .ipad-prompter-words span.annotation {
      font-style: italic;
      color: rgba(255,255,255,0.15);
    }

    .ipad-toolbar {
      display: flex;
      align-items: center;
      gap: 6px;
      padding-top: 8px;
      flex-shrink: 0;
    }

    .ipad-toolbar .bar {
      width: 2px;
      height: 4px;
      border-radius: 1px;
      background: rgba(255,214,10,0.6);
    }

    .ipad-toolbar .ipad-mic {
      width: 10px;
      height: 10px;
      margin-left: auto;
    }

    .ipad-done {
      display: none;
      flex: 1;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .ipad-done svg { width: 20px; height: 20px; }
    .ipad-done span { font-size: 11px; font-weight: 700; color: #fff; }

    /* Floating notch mode */
    .demo-notch.floating {
      position: absolute;
      left: auto;
      transform: none;
      transition: top 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                  left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                  right 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .demo-mode-label {
      position: absolute;
      bottom: -28px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 12px;
      font-weight: 600;
      color: var(--accent2);
      background: rgba(79, 139, 255, 0.1);
      border: 1px solid rgba(79, 139, 255, 0.15);
      padding: 3px 10px;
      border-radius: 6px;
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .demo-mode-label.visible { opacity: 1; }

    /* Mirror mode label */
    .mirror-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      font-size: 9px;
      font-weight: 700;
      color: var(--accent2);
      background: rgba(79, 139, 255, 0.15);
      border: 1px solid rgba(79, 139, 255, 0.2);
      padding: 2px 6px;
      border-radius: 4px;
      z-index: 5;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .ipad-frame.mirror .mirror-badge { opacity: 1; }

    .ipad-frame.mirror .ipad-prompter-words-inner {
      transform-origin: center;
    }

    /* Guidance Modes */
    .modes-section {
      padding: 40px 0 80px;
    }

    .modes-section h2 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .modes-section .section-sub {
      text-align: center;
      font-size: 16px;
      color: var(--text2);
      margin-bottom: 48px;
    }

    .modes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .mode-card {
      background: var(--surface);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius);
      padding: 0;
      overflow: hidden;
      transition: transform 0.2s, border-color 0.2s;
    }

    .mode-card:hover {
      transform: translateY(-4px);
      border-color: rgba(124, 106, 255, 0.2);
    }

    .mode-visual {
      height: 120px;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.3);
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .mode-visual-lines {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 16px 24px;
      width: 100%;
    }

    .mode-visual-line {
      height: 6px;
      border-radius: 3px;
      background: rgba(255,255,255,0.08);
      position: relative;
    }

    .mode-visual-line .fill {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      border-radius: 3px;
    }

    /* Word Tracking animation */
    .mode-card.word-tracking .mode-visual-line:nth-child(1) .fill {
      width: 100%;
      background: rgba(124, 106, 255, 0.35);
    }
    .mode-card.word-tracking .mode-visual-line:nth-child(2) .fill {
      width: 100%;
      background: rgba(124, 106, 255, 0.35);
    }
    .mode-card.word-tracking .mode-visual-line:nth-child(3) .fill {
      width: 0%;
      background: rgba(124, 106, 255, 0.5);
      animation: wordTrackFill 3s ease-in-out infinite;
    }
    .mode-card.word-tracking .mode-visual-line:nth-child(4) .fill,
    .mode-card.word-tracking .mode-visual-line:nth-child(5) .fill {
      width: 0%;
      background: rgba(255,255,255,0.08);
    }

    .mode-card.word-tracking .mode-visual-line:nth-child(3) {
      position: relative;
    }

    .mode-card.word-tracking .mode-visual-line:nth-child(3)::after {
      content: '';
      position: absolute;
      top: -2px;
      width: 2px;
      height: 10px;
      background: #7C6AFF;
      border-radius: 1px;
      animation: wordTrackCursor 3s ease-in-out infinite;
      box-shadow: 0 0 6px rgba(124, 106, 255, 0.6);
    }

    @keyframes wordTrackFill {
      0% { width: 0%; }
      100% { width: 100%; }
    }

    @keyframes wordTrackCursor {
      0% { left: 0%; }
      100% { left: 100%; }
    }

    /* Classic animation — smooth endless scroll */
    .mode-card.classic .mode-visual-lines {
      animation: classicScroll 6s linear infinite;
    }

    .mode-card.classic .mode-visual-line .fill {
      width: 100%;
      background: rgba(79, 139, 255, 0.3);
    }

    @keyframes classicScroll {
      0% { transform: translateY(0); }
      100% { transform: translateY(-98px); }
    }

    /* Voice-Activated animation — speak/pause bursts, endless */
    .mode-card.voice-activated .mode-visual-lines {
      animation: voiceScroll 8s ease-in-out infinite;
    }

    .mode-card.voice-activated .mode-visual-line .fill {
      width: 100%;
      background: rgba(50, 215, 75, 0.3);
    }

    @keyframes voiceScroll {
      0%   { transform: translateY(0); }
      12%  { transform: translateY(-28px); }
      20%  { transform: translateY(-28px); }
      32%  { transform: translateY(-56px); }
      45%  { transform: translateY(-56px); }
      57%  { transform: translateY(-70px); }
      68%  { transform: translateY(-70px); }
      85%  { transform: translateY(-98px); }
      100% { transform: translateY(-98px); }
    }

    .mode-visual-indicator {
      position: absolute;
      bottom: 8px;
      right: 10px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .mode-visual-indicator .dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
    }

    .mode-visual-indicator span {
      font-size: 9px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .mode-card.word-tracking .mode-visual-indicator .dot { background: #7C6AFF; box-shadow: 0 0 4px rgba(124,106,255,0.5); }
    .mode-card.word-tracking .mode-visual-indicator span { color: rgba(124,106,255,0.7); }

    .mode-card.classic .mode-visual-indicator .dot { background: #4F8BFF; box-shadow: 0 0 4px rgba(79,139,255,0.5); }
    .mode-card.classic .mode-visual-indicator span { color: rgba(79,139,255,0.7); }

    .mode-card.voice-activated .mode-visual-indicator .dot { background: #32d74b; box-shadow: 0 0 4px rgba(50,215,75,0.5); }
    .mode-card.voice-activated .mode-visual-indicator span { color: rgba(50,215,75,0.7); }

    .mode-voice-bars {
      display: flex;
      align-items: center;
      gap: 2px;
      height: 10px;
    }

    .mode-voice-bars .bar {
      width: 2px;
      border-radius: 1px;
      background: rgba(50, 215, 75, 0.5);
      animation: voiceBar 0.4s ease-in-out infinite alternate;
    }

    .mode-voice-bars .bar:nth-child(1) { height: 4px; animation-delay: 0s; }
    .mode-voice-bars .bar:nth-child(2) { height: 7px; animation-delay: 0.1s; }
    .mode-voice-bars .bar:nth-child(3) { height: 10px; animation-delay: 0.05s; }
    .mode-voice-bars .bar:nth-child(4) { height: 6px; animation-delay: 0.15s; }
    .mode-voice-bars .bar:nth-child(5) { height: 3px; animation-delay: 0.08s; }

    @keyframes voiceBar {
      0% { transform: scaleY(0.5); }
      100% { transform: scaleY(1.2); }
    }

    .mode-info {
      padding: 24px;
    }

    .mode-info h3 {
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 6px;
      letter-spacing: -0.01em;
    }

    .mode-info .mode-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 4px;
      margin-bottom: 10px;
    }

    .mode-card.word-tracking .mode-info .mode-tag {
      color: #7C6AFF;
      background: rgba(124, 106, 255, 0.1);
    }

    .mode-card.classic .mode-info .mode-tag {
      color: #4F8BFF;
      background: rgba(79, 139, 255, 0.1);
    }

    .mode-card.voice-activated .mode-info .mode-tag {
      color: #32d74b;
      background: rgba(50, 215, 75, 0.1);
    }

    .mode-info p {
      font-size: 14px;
      color: var(--text2);
      line-height: 1.6;
    }

    /* Font Showcase */
    .font-showcase {
      padding: 40px 0 80px;
    }

    .font-showcase h2 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .font-showcase .section-sub {
      text-align: center;
      font-size: 16px;
      color: var(--text2);
      margin-bottom: 48px;
    }

    .font-showcase-stage {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
    }

    .fs-screen {
      position: relative;
      width: 100%;
      max-width: 340px;
      aspect-ratio: 16 / 10;
      background: linear-gradient(180deg, #1a1a1e 0%, #111113 100%);
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.08);
      overflow: hidden;
      box-shadow: 0 16px 60px rgba(0,0,0,0.5);
    }

    .fs-camera {
      position: absolute;
      top: 6px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 20;
    }

    .fs-camera .lens {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #3a3a3e 0%, #1a1a1c 60%, #0a0a0c 100%);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .fs-desktop {
      position: absolute;
      inset: 0;
      background: #202124;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .fs-desktop-content {
      width: 80%;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 40px 0;
    }

    .fs-desktop-line {
      height: 5px;
      border-radius: 2px;
      background: rgba(255,255,255,0.06);
    }

    .fs-desktop-line:nth-child(1) { width: 55%; }
    .fs-desktop-line:nth-child(2) { width: 80%; }
    .fs-desktop-line:nth-child(3) { width: 65%; }
    .fs-desktop-line:nth-child(4) { width: 45%; }
    .fs-desktop-line:nth-child(5) { width: 70%; }

    .fs-notch {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      width: 280px;
      height: 140px;
    }

    .fs-notch svg.fs-notch-shape {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .fs-notch-words {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      gap: 3px 5px;
      padding: 22px 18px 8px;
      height: 100%;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 75%, transparent 100%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 75%, transparent 100%);
    }

    .fs-notch-words span {
      font-weight: 600;
      white-space: nowrap;
      transition: font-size 0.35s cubic-bezier(0.4,0,0.2,1), line-height 0.35s cubic-bezier(0.4,0,0.2,1), color 0.35s ease;
    }

    .fs-notch-words span.fn-dim {
      opacity: 0.3;
    }

    .fs-notch-words span.fn-current {
      opacity: 0.6;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .fs-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text3);
      transition: color 0.5s ease;
      min-height: 20px;
    }

    .fs-a11y-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      color: #32d74b;
      background: rgba(50, 215, 75, 0.08);
      border: 1px solid rgba(50, 215, 75, 0.15);
      padding: 5px 12px;
      border-radius: 8px;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.4s ease, transform 0.4s ease;
      min-height: 28px;
    }

    .fs-a11y-tag.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .fs-a11y-tag svg {
      width: 13px;
      height: 13px;
      stroke: #32d74b;
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .font-showcase-footer {
      text-align: center;
      margin-top: 36px;
    }

    .font-showcase-footer p {
      font-size: 14px;
      color: var(--text3);
      line-height: 1.7;
    }

    .font-showcase-footer strong {
      color: var(--text2);
    }

    /* Director Mode Section */
    .director-section {
      padding: 40px 0 80px;
    }

    .director-section h2 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .director-section .section-sub {
      text-align: center;
      font-size: 16px;
      color: var(--text2);
      margin-bottom: 48px;
    }

    .director-demo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 48px;
      max-width: 760px;
      margin: 0 auto;
    }

    .director-demo-arrow {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .director-demo-arrow svg {
      width: 48px;
      height: 24px;
      stroke: var(--accent2);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.5;
    }

    .director-demo-arrow span {
      font-size: 11px;
      font-weight: 600;
      color: var(--text3);
      white-space: nowrap;
    }

    /* Phone frame */
    .director-phone {
      width: 200px;
      min-width: 200px;
      aspect-ratio: 9 / 16;
      background: linear-gradient(180deg, #1a1a1e 0%, #111113 100%);
      border-radius: 28px;
      border: 2px solid rgba(255,255,255,0.12);
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .director-phone .phone-notch {
      width: 60px;
      height: 20px;
      background: #000;
      border-radius: 0 0 14px 14px;
      margin: 0 auto;
      position: relative;
      z-index: 5;
    }

    .director-phone .phone-home {
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      width: 48px;
      height: 4px;
      border-radius: 2px;
      background: rgba(255,255,255,0.2);
      z-index: 5;
    }

    .director-phone-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 4px 10px 16px;
      overflow: hidden;
    }

    .dp-header {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 4px 0 6px;
      flex-shrink: 0;
    }

    .dp-header .dp-icon {
      width: 14px;
      height: 14px;
      border-radius: 3px;
      background: linear-gradient(135deg, var(--accent1), var(--accent2));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dp-header .dp-icon svg {
      width: 8px;
      height: 8px;
      fill: #fff;
      stroke: none;
    }

    .dp-header span {
      font-size: 9px;
      font-weight: 700;
      color: rgba(255,255,255,0.6);
      letter-spacing: 0.02em;
    }

    .dp-editor {
      flex: 1;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 8px;
      padding: 8px;
      overflow: hidden;
      position: relative;
    }

    .dp-line {
      height: 5px;
      border-radius: 2px;
      margin-bottom: 5px;
      transition: background 0.3s ease, width 0.4s ease;
    }

    .dp-line.typing {
      animation: dpType 0.6s ease-out forwards;
    }

    @keyframes dpType {
      0% { width: 0; }
      100% { width: var(--tw); }
    }

    .dp-line.read {
      background: rgba(250, 204, 21, 0.25) !important;
    }

    .dp-line.current {
      position: relative;
    }

    .dp-line.current::after {
      content: '';
      position: absolute;
      top: -1px;
      right: -1px;
      width: 2px;
      height: 7px;
      background: #facc15;
      border-radius: 1px;
      animation: dpBlink 0.8s step-end infinite;
    }

    @keyframes dpBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    .dp-divider {
      height: 1px;
      background: linear-gradient(to right, #facc15, transparent);
      margin: 2px 0 4px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .dp-divider.visible { opacity: 1; }

    .dp-controls {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 0 0;
      flex-shrink: 0;
    }

    .dp-go-btn {
      height: 22px;
      border-radius: 6px;
      padding: 0 12px;
      font-size: 8px;
      font-weight: 700;
      color: #fff;
      background: #22c55e;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s ease;
    }

    .dp-go-btn.stop { background: #ef4444; }

    .dp-waveform {
      display: flex;
      align-items: center;
      gap: 1px;
      height: 14px;
      flex: 1;
      justify-content: flex-end;
    }

    .dp-waveform .dp-bar {
      width: 2px;
      border-radius: 1px;
      min-height: 2px;
      background: rgba(255,255,255,0.08);
      transition: height 0.08s ease, background 0.15s ease;
      align-self: center;
    }

    .dp-waveform .dp-bar.active {
      background: rgba(250, 204, 21, 0.6);
    }

    .dp-mic {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .dp-mic.on { background: rgba(250, 204, 21, 0.15); }

    .dp-mic svg {
      width: 7px;
      height: 7px;
      fill: rgba(255, 214, 10, 0.7);
    }

    /* Mac mini frame for director */
    .director-mac {
      width: 280px;
      min-width: 240px;
      aspect-ratio: 16 / 10;
      background: linear-gradient(180deg, #1a1a1e 0%, #111113 100%);
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.08);
      overflow: hidden;
      box-shadow: 0 16px 50px rgba(0,0,0,0.4);
      position: relative;
    }

    .dm-camera {
      position: absolute;
      top: 5px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 20;
    }

    .dm-camera .lens {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #3a3a3e 0%, #1a1a1c 60%, #0a0a0c 100%);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .dm-desktop {
      position: absolute;
      inset: 0;
      background: #202124;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dm-desktop-lines {
      width: 70%;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .dm-desktop-lines div {
      height: 4px;
      border-radius: 2px;
      background: rgba(255,255,255,0.05);
    }

    .dm-desktop-lines div:nth-child(1) { width: 60%; }
    .dm-desktop-lines div:nth-child(2) { width: 80%; }
    .dm-desktop-lines div:nth-child(3) { width: 50%; }
    .dm-desktop-lines div:nth-child(4) { width: 70%; }

    .dm-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 5;
    }

    .dm-overlay.visible { opacity: 1; }

    .dm-overlay .dm-qr {
      width: 48px;
      height: 48px;
      background: #fff;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dm-overlay .dm-qr svg {
      width: 36px;
      height: 36px;
      fill: #000;
    }

    .dm-overlay span {
      font-size: 7px;
      font-weight: 600;
      color: rgba(255,255,255,0.4);
    }

    /* Notch on the director mac */
    .dm-notch {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      overflow: hidden;
      transition: width 0.5s cubic-bezier(0.4,0,0.2,1), height 0.5s cubic-bezier(0.4,0,0.2,1);
    }

    .dm-notch svg.dm-notch-shape {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .dm-notch-words {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      gap: 2px 3px;
      padding: 14px 10px 4px;
      height: 100%;
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 78%, transparent 100%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .dm-notch-words.visible { opacity: 1; }

    .dm-notch-words span {
      font-size: 7px;
      font-weight: 600;
      color: rgba(255,255,255,1);
      transition: color 0.15s ease;
      white-space: nowrap;
    }

    .dm-notch-words span.dm-read { color: rgba(255,255,255,0.3); }
    .dm-notch-words span.dm-current { color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 2px; }

    .director-labels {
      display: flex;
      justify-content: center;
      gap: 48px;
      margin-top: 20px;
    }

    .director-labels .dl-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .director-labels .dl-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
    }

    .director-labels .dl-item span {
      font-size: 12px;
      font-weight: 600;
    }

    .dl-dot-phone {
      background: var(--accent2);
      box-shadow: 0 0 4px rgba(79, 139, 255, 0.5);
    }

    .dl-label-phone { color: var(--accent2); }

    .dl-dot-mac {
      background: #facc15;
      box-shadow: 0 0 4px rgba(250, 204, 21, 0.5);
    }

    .dl-label-mac { color: rgba(250, 204, 21, 0.7); }

    .director-footer {
      text-align: center;
      margin-top: 32px;
    }

    .director-footer p {
      font-size: 14px;
      color: var(--text3);
      line-height: 1.7;
    }

    .director-footer strong {
      color: var(--text2);
    }

    /* Responsive */
    @media (max-width: 600px) {
      .container { padding: 0 18px; }
      .nav-leading { gap: 8px; }
      nav .docs-link { padding: 0 2px; }
      nav .github-link { width: 44px; padding: 0; }
      nav .github-link span { display: none; }
      .hero { padding: 60px 0 30px; }
      .hero .subtitle { font-size: 16px; }
      .icon-showcase svg { width: 120px; height: 120px; }
      .features h2, .how-it-works h2, .use-case-section h2, .modes-section h2 { font-size: 26px; }
      .modes-grid { grid-template-columns: 1fr; }
      .ipad-frame { width: 160px; bottom: -20px; right: -10px; }
      #sidecarLabelIPad { bottom: -40px; right: -10px; }
      .font-showcase h2 { font-size: 26px; }
      .fs-screen { max-width: 100%; }
      .fs-notch { width: 260px; height: 120px; }
      .fs-notch-words { padding: 20px 18px 8px; gap: 3px 5px; }
      .features-list { grid-template-columns: 1fr; }
      .feat-item:nth-child(odd) { border-right: none; }
      .director-section h2 { font-size: 26px; }
      .director-demo { flex-direction: column; gap: 24px; }
      .director-demo-arrow { transform: rotate(90deg); }
      .director-phone { width: 180px; min-width: 180px; }
      .director-mac { width: 100%; min-width: unset; }
    }
  