:root {
    --ink: #0b0f1a;
    --ink2: #1c2438;
    --sky: #0ea5e9;
    --sky2: #38bdf8;
    --violet: #818cf8;
    --surface: #131929;
    --surface2: #1a2438;
    --border: rgba(255,255,255,0.07);
    --text: #e2e8f0;
    --muted: #64748b;
    --glow: rgba(14,165,233,0.15);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body {
    background: var(--ink);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    /* Prevents long words from breaking the layout */
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
  h1,h2,h3,h4,h5 { 
    font-family: 'Syne', sans-serif; 
    line-height: 1.15; 
    overflow-wrap: break-word;
  }

  /* --- NOISE TEXTURE OVERLAY --- */
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0; opacity: 0.4;
  }

  /* --- NAV --- */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(11,15,26,0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 22px; font-weight: 800;
    background: linear-gradient(90deg, var(--sky2), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
  }
  .nav-links { display: flex; gap: 36px; align-items: center; }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 14px; font-weight: 400; letter-spacing: 0.01em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }
  .btn-pill {
    background: linear-gradient(135deg, var(--sky), var(--violet));
    color: #fff; border: none; cursor: pointer;
    padding: 10px 24px; border-radius: 100px;
    font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
    letter-spacing: 0.03em; text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn-pill:hover { opacity: 0.88; transform: translateY(-1px); }

  .hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
  }

  /* --- HERO --- */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
  }
  .hero-glow {
    position: absolute; top: 20%; left: 50%;
    transform: translateX(-50%);
    width: 100%; max-width: 700px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(14,165,233,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.25);
    color: var(--sky2);
    padding: 6px 16px; border-radius: 100px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
    margin-bottom: 28px;
    animation: fadeUp 0.6s ease both;
    max-width: 100%;
  }
  .badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--sky2);
    animation: pulse 2s infinite;
    flex-shrink: 0;
  }
  @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
  .hero h1 {
    font-size: clamp(32px, 6vw, 76px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    max-width: 880px;
    margin-bottom: 24px;
    animation: fadeUp 0.7s 0.1s ease both;
    word-break: break-word;
  }
  .hero h1 .hl {
    background: linear-gradient(90deg, var(--sky2) 0%, var(--violet) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-size: 18px; color: var(--muted); font-weight: 300;
    max-width: 560px; line-height: 1.65;
    margin-bottom: 40px;
    animation: fadeUp 0.7s 0.2s ease both;
  }
  .hero-cta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 72px;
    animation: fadeUp 0.7s 0.3s ease both;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--sky), var(--violet));
    color: #fff; border: none; cursor: pointer;
    padding: 14px 32px; border-radius: 100px;
    font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
    letter-spacing: 0.02em; text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 0 32px rgba(14,165,233,0.35);
    display: inline-flex; align-items: center; gap: 8px;
    max-width: 100%;
    justify-content: center;
  }
  .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 40px rgba(14,165,233,0.4); }
  .btn-ghost {
    color: var(--muted); text-decoration: none;
    font-size: 14px; font-weight: 400;
    display: inline-flex; align-items: center; gap: 6px;
    transition: color 0.2s;
    max-width: 100%;
  }
  .btn-ghost:hover { color: var(--text); }

  /* --- SCREENSHOT MOCKUP --- */
  .hero-visual {
    width: 100%; 
    max-width: 900px;
    position: relative;
    animation: fadeUp 0.9s 0.45s ease both;
    margin: 0 auto;
  }
  .browser-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    width: 100%;
    max-width: 100%;
  }
  .browser-bar {
    background: var(--surface2);
    padding: 12px 18px;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid var(--border);
  }
  .dot-row { display: flex; gap: 7px; flex-shrink: 0; }
  .dot { width: 11px; height: 11px; border-radius: 50%; }
  .dot.r { background: #ff5f57; }
  .dot.y { background: #febc2e; }
  .dot.g { background: #28c840; }
  .url-bar {
    flex: 1; background: rgba(255,255,255,0.05);
    border-radius: 6px; padding: 5px 14px;
    font-size: 12px; color: var(--muted); font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .browser-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 440px;
    width: 100%;
  }
  .page-area {
    padding: 28px;
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, #141e2e 0%, #0f1826 100%);
    min-width: 0; /* Important for grid item wrapping */
  }
  .page-article-title {
    font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700;
    color: #e2e8f0; margin-bottom: 12px;
    word-break: break-word;
  }
  .page-line {
    height: 9px; border-radius: 4px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 8px;
    max-width: 100%;
  }
  .page-line.w90 { width: 90%; }
  .page-line.w75 { width: 75%; }
  .page-line.w60 { width: 60%; }
  .page-line.w85 { width: 85%; }
  .highlight-zone {
    background: rgba(56,189,248,0.12);
    border: 1px solid rgba(56,189,248,0.3);
    border-radius: 4px;
    padding: 8px 12px;
    margin: 14px 0;
    position: relative;
    font-size: 12px; color: #7dd3fc; font-style: italic; line-height: 1.5;
    word-break: break-word;
  }
  .add-btn {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    background: linear-gradient(135deg, var(--sky), var(--violet));
    color: #fff; border: none; cursor: pointer;
    width: 26px; height: 26px; border-radius: 50%;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 12px rgba(14,165,233,0.5);
    animation: glow-pulse 2s infinite;
  }
  @keyframes glow-pulse { 0%,100%{box-shadow:0 0 12px rgba(14,165,233,0.5)} 50%{box-shadow:0 0 20px rgba(14,165,233,0.8)} }
  .panel-area {
    background: #0d1622;
    display: flex; flex-direction: column;
    min-width: 0;
  }
  .panel-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
  }
  .panel-title {
    font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .panel-badges { display: flex; gap: 6px; flex-shrink: 0; }
  .chip {
    font-size: 10px; padding: 3px 9px; border-radius: 100px; font-weight: 500;
    background: rgba(56,189,248,0.12); color: var(--sky2);
    border: 1px solid rgba(56,189,248,0.2);
  }
  .panel-content { flex: 1; padding: 16px; overflow: hidden; }
  .note-block {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 11.5px; color: #94a3b8; line-height: 1.6;
    position: relative;
    word-break: break-word;
  }
  .note-block::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; border-radius: 8px 0 0 8px;
    background: linear-gradient(180deg, var(--sky2), var(--violet));
  }
  .note-typed {
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 11.5px; color: var(--muted);
    font-style: italic; line-height: 1.5;
    word-break: break-word;
  }
  .panel-toolbar {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex; gap: 8px;
    flex-wrap: wrap;
  }
  .toolbar-btn {
    flex: 1; padding: 7px 4px; border-radius: 6px;
    font-size: 11px; font-weight: 600; font-family: 'Syne', sans-serif;
    border: 1px solid var(--border); cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    transition: all 0.15s;
    min-width: 60px;
  }
  .toolbar-btn.docx { background: rgba(14,165,233,0.1); color: var(--sky2); border-color: rgba(14,165,233,0.2); }
  .toolbar-btn.pdf { background: rgba(129,140,248,0.1); color: var(--violet); border-color: rgba(129,140,248,0.2); }
  .toolbar-btn.txt { background: rgba(100,116,139,0.1); color: var(--muted); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* --- VIDEO DEMO SECTION --- */
  .video-section {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }
  .section-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
    color: var(--sky2); text-transform: uppercase;
    margin-bottom: 16px;
    word-break: break-word;
  }
  .section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800; letter-spacing: -1px;
    margin-bottom: 16px;
    word-break: break-word;
  }
  .section-sub {
    color: var(--muted); font-size: 17px; max-width: 500px;
    margin: 0 auto 48px;
    word-break: break-word;
  }
 .video-wrapper {
    width: 100%;
    max-width: 1000px; /* Matches your section max-width */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--surface);
}

/* Force the video to stay inside the wrapper */
#demoVideo {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block; /* Removes bottom whitespace */
}

/* Ensure the placeholder fills the same space as the video */
.video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px; /* Reduced for mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
  .play-btn {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--sky), var(--violet));
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 48px rgba(14,165,233,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    flex-shrink: 0;
  }
  .play-btn:hover { transform: scale(1.08); box-shadow: 0 0 64px rgba(14,165,233,0.55); }
  .play-triangle {
    width: 0; height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 22px solid #fff;
    margin-left: 4px;
  }
  .video-label {
    font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 600;
    color: var(--muted); letter-spacing: 0.02em;
    word-break: break-word;
  }
  .video-upload-hint {
    background: rgba(14,165,233,0.07);
    border: 1px dashed rgba(14,165,233,0.25);
    border-radius: 10px;
    padding: 12px 24px;
    margin-top: 8px;
    font-size: 13px; color: var(--muted);
    word-break: break-word;
  }

  /* --- HOW IT WORKS --- */
  .steps-section {
    padding: 100px 24px;
    max-width: 1100px; margin: 0 auto;
  }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-top: 56px;
  }
  .step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 32px 28px;
    position: relative; overflow: hidden;
    transition: border-color 0.25s, transform 0.2s;
    min-width: 0;
  }
  .step-card:hover { border-color: rgba(56,189,248,0.25); transform: translateY(-3px); }
  .step-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top left, rgba(14,165,233,0.05) 0%, transparent 60%);
    pointer-events: none;
  }
  .step-num {
    font-family: 'Syne', sans-serif; font-size: 56px; font-weight: 800;
    background: linear-gradient(135deg, var(--sky2), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    opacity: 0.25; line-height: 1; margin-bottom: 16px;
  }
  .step-icon {
    font-size: 30px; margin-bottom: 16px; display: block;
    filter: drop-shadow(0 0 8px rgba(56,189,248,0.4));
  }
  .step-card h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text);
    word-break: break-word;
  }
  .step-card p { font-size: 14px; color: var(--muted); line-height: 1.65; word-break: break-word; }

  /* --- FEATURES DEEP --- */
  .features-section {
    padding: 100px 24px;
    max-width: 1100px; margin: 0 auto;
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 56px;
    border: 1px solid var(--border);
  }
  .feature-tile {
    background: var(--surface);
    padding: 36px 32px;
    transition: background 0.25s;
    position: relative;
    min-width: 0;
  }
  .feature-tile:hover { background: var(--surface2); }
  .feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(129,140,248,0.15));
    border: 1px solid rgba(56,189,248,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 20px;
    flex-shrink: 0;
  }
  .feature-tile h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; word-break: break-word; }
  .feature-tile p { font-size: 13.5px; color: var(--muted); line-height: 1.65; word-break: break-word; }
  .feature-tag {
    display: inline-block; margin-top: 14px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
    color: var(--sky2);
    padding: 3px 10px; border-radius: 100px;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.2);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* --- PRICING --- */
  .pricing-section {
    padding: 100px 24px;
    max-width: 960px; margin: 0 auto;
    text-align: center;
  }
  .pricing-card {
    background: var(--surface);
    border: 1px solid rgba(56,189,248,0.3);
    border-radius: 24px; padding: 56px 48px;
    max-width: 440px; margin: 56px auto 0;
    position: relative; overflow: hidden;
    box-shadow: 0 0 80px rgba(14,165,233,0.1);
  }
  .pricing-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sky), var(--violet));
  }
  .price-amount {
    font-family: 'Syne', sans-serif;
    font-size: clamp(48px, 10vw, 72px); font-weight: 800;
    background: linear-gradient(90deg, var(--sky2), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
  }
  .price-label { color: var(--muted); font-size: 15px; margin-top: 4px; margin-bottom: 36px; word-break: break-word; }
  .pricing-list { text-align: left; margin-bottom: 36px; }
  .pricing-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0; font-size: 14px; color: var(--text);
    border-bottom: 1px solid var(--border);
    list-style: none;
    word-break: break-word;
  }
  .pricing-list li:last-child { border-bottom: none; }
  .check {
    width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--sky2); font-size: 10px; margin-top: 2px;
  }

  /* --- LEGAL --- */
  .legal-section {
    padding: 100px 24px;
    max-width: 800px; margin: 0 auto;
  }
  .legal-accordion { margin-top: 48px; }
  .legal-item {
    border: 1px solid var(--border);
    border-radius: 12px; margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .legal-item:hover { border-color: rgba(56,189,248,0.2); }
  .legal-head {
    padding: 20px 24px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--surface);
    gap: 16px;
  }
  .legal-head h3 { font-size: 15px; font-weight: 700; color: var(--text); word-break: break-word; }
  .legal-arrow { color: var(--muted); font-size: 13px; transition: transform 0.2s; flex-shrink: 0; }
  .legal-body {
    padding: 20px 24px;
    background: var(--ink2);
    font-size: 13.5px; color: var(--muted); line-height: 1.75;
    display: none;
    word-break: break-word;
  }
  .legal-item.open .legal-body { display: block; }
  .legal-item.open .legal-arrow { transform: rotate(180deg); }
  .legal-item.open { border-color: rgba(56,189,248,0.25); }

  /* --- CONTACT --- */
  .contact-section {
    padding: 60px 24px 100px;
    max-width: 800px; margin: 0 auto; text-align: center;
  }
  .contact-cards {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-top: 36px;
  }
  .contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px; padding: 24px 32px;
    text-align: left; min-width: 220px;
    flex: 1;
  }
  .contact-card .label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
  .contact-card .value { font-size: 14px; color: var(--sky2); font-weight: 500; word-break: break-all; }

  /* --- FOOTER --- */
  footer {
    padding: 32px 48px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
  }
  .footer-logo {
    font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800;
    background: linear-gradient(90deg, var(--sky2), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  footer p { font-size: 13px; color: var(--muted); word-break: break-word; }
  footer nav a { color: var(--muted); text-decoration: none; font-size: 13px; margin-left: 24px; transition: color 0.2s; white-space: nowrap; }
  footer nav a:hover { color: var(--text); }

  /* DIVIDER */
  .divider {
    width: 1px; height: 60px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
    margin: 0 auto;
  }


  /* --- MODAL STYLES --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(1px);
  z-index: 2000;
  display: flex; /* Shown by default on page load */
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  animation: modalScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.modal-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--sky2), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Close State */
.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .modal-content {
    padding: 32px 20px;
  }
  .modal-content h2 {
    font-size: 26px;
  }
}
  @media (max-width: 480px) {
    .video-placeholder {
        min-height: 200px;
    }
    .play-btn {
        width: 56px;
        height: 56px;
    }
    .play-triangle {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 16px;
    }
}
  /* --- UPDATED RESPONSIVE RULES --- */
  @media(max-width:1024px) {
    .browser-body { grid-template-columns: 1fr; }
    .page-area { border-right: none; border-bottom: 1px solid var(--border); }
    .panel-area { min-height: 400px; }
  }

  @media(max-width:768px) {
    nav { padding: 16px 20px; width: 100%; }
    .nav-links { 
      display: none; 
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(11,15,26,0.95);
      backdrop-filter: blur(16px);
      flex-direction: column;
      gap: 0;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
    }
    .nav-links.show { display: flex; }
    .nav-links a {
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      width: 100%;
    }
    .nav-links a:last-child { border-bottom: none; }
    .hamburger { display: block; }
    .btn-pill { display: none; }
    
    .hero { padding: 100px 16px 60px; }
    .hero h1 { font-size: clamp(32px, 8vw, 48px); }
    
    .pricing-card { padding: 36px 24px; margin: 56px 16px 0; }
    footer { flex-direction: column; text-align: center; padding: 32px 20px; }
    footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
    footer nav a { margin-left: 0; }
  }

  @media(max-width:480px) {
    nav { padding: 12px 16px; }
    .nav-logo { font-size: 18px; }
    .hero-cta { flex-direction: column; width: 100%; align-items: stretch; }
    .btn-primary { width: 100%; justify-content: center; }
    .url-bar { display: none; } /* Hide URL bar on mobile to fit dots */
    .browser-bar { justify-content: flex-start; }
    .pricing-card { padding: 32px 20px; }
    .panel-header { flex-direction: column; align-items: flex-start; }
  }