
  @import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #0a0a0a;
    --white: #f5f2ec;
    --cream: #ede9e0;
    --accent: #d4ff00;
    --accent-dark: #a8cc00;
    --accent-glow: rgba(212, 255, 0, 0.12);
    --text-muted: #888;
    --border: rgba(255,255,255,0.1);
    --card-bg: #141414;
    --gray-border: rgba(255, 255, 255, 0.06);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
  }

  h1, h2, h3, h4, .display { font-family: 'Montserrat', sans-serif; }

  
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #f5f2ec !important;
    text-decoration: none;
    display: inline-block;
  }
  .nav-logo span { color: var(--accent); }

  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
  }
  .nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245,242,236,0.7);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }

  .nav-cta {
    background: var(--accent);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: #c0e800; transform: translateY(-1px); }

  
  #home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    overflow: hidden;
    background: radial-gradient(circle at 85% 50%, rgba(212, 255, 0, 0.03) 0%, transparent 55%), var(--black);
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-size: 50px 50px;
    background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 0;
  }

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

  .hero-layout {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212,255,0,0.06);
    border: 1px solid rgba(212,255,0,0.15);
    border-radius: 100px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
    50% { opacity: 0.4; box-shadow: 0 0 2px var(--accent); }
  }

  .hero-heading {
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-heading em {
  font-style: normal;
  color: var(--accent);
}

/* This is the new part */
.highlight-font {
  font-family: 'Lobster', cursive;
  color: var(--accent);
  text-transform: none; 
  font-weight: normal;  
  font-size: 1.2em;     
  display: inline-block;
}

  .hero-sub {
    font-size: 1.1rem;
    color: rgba(245, 242, 236, 0.65);
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 2.5rem;
  }

  .hero-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 3rem;
  }

  .btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.1s linear, background 0.3s ease;
    will-change: transform;
    box-shadow: 0 8px 24px rgba(212, 255, 0, 0.15);
  }
  .btn-magnetic:hover { background: #e2ff4d; }
  .btn-magnetic svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
  .btn-magnetic:hover svg { transform: translateX(4px); }

  .btn-ghost-hero {
    background: transparent;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2.2rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid rgba(245,242,236,0.15);
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-ghost-hero:hover { border-color: rgba(245,242,236,0.4); background: rgba(245,242,236,0.04); }

  .trust-bar {
    display: flex; align-items: center; gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-wrap: wrap;
  }
  .trust-bar-item { display: flex; align-items: center; gap: 0.5rem; }
  .trust-bar-item::before {
    content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; opacity: 0.6;
  }

  
  .dashboard-scene {
    position: relative;
    width: 100%;
    height: 580px;
    perspective: 1000px;
  }

  .dash-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gray-border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    cursor: default;
  }
  .dash-card:hover {
    border-color: rgba(212, 255, 0, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-glow);
  }

  
  .card-main-chart {
    top: 48%; left: 45%;
    width: 100%; max-width: 440px;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
  .chart-title { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
  .chart-value { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1; }
  .chart-value span { font-size: 1rem; color: var(--accent); margin-left: 0.1rem; }

  .chart-svg { width: 100%; height: 110px; overflow: visible; }
  .chart-line {
    fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: drawLine 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
  }
  .chart-area { fill: url(#chartGradient); opacity: 0; animation: fadeInArea 1.8s ease forwards 1.2s; }

  @keyframes drawLine { to { stroke-dashoffset: 0; } }
  @keyframes fadeInArea { to { opacity: 1; } }

  .card-stat-agr { top: 6%; right: 4%; z-index: 3; padding: 1.1rem 1.8rem; }
  .card-stat-retention { top: 6%; left: 0%; z-index: 3; padding: 1.1rem 1.8rem; }
  .stat-num { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--accent); }
  .stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; }

  .card-stat-leads { bottom: 12%; left: -4%; z-index: 3; display: flex; align-items: center; gap: 1.25rem; }
  .bars { display: flex; gap: 5px; align-items: flex-end; height: 38px; }
  .bar { width: 7px; background: rgba(255,255,255,0.06); border-radius: 3px; position: relative; overflow: hidden; height: 100%; }
  .bar-fill { position: absolute; bottom: 0; left: 0; width: 100%; background: var(--accent); height: 0%; transition: height 1s ease; }

  .card-timeline { bottom: 4%; right: 2%; width: 260px; z-index: 1; background: rgba(12, 12, 12, 0.85); }
  .tl-header { font-size: 0.7rem; color: #555; margin-bottom: 0.6rem; display: flex; gap: 0.4rem; }
  .tl-dot { width: 7px; height: 7px; border-radius: 50%; background: #333; }
  .tl-dot.red { background: #ff5f56; } .tl-dot.yellow { background: #ffbd2e; } .tl-dot.green { background: #27c93f; }
  .tl-track { height: 14px; background: #1a1a1a; border-radius: 4px; margin-bottom: 6px; position: relative; overflow: hidden; }
  .tl-clip { position: absolute; top: 0; left: 15%; height: 100%; width: 35%; background: rgba(212, 255, 0, 0.15); border: 1px solid rgba(212, 255, 0, 0.4); border-radius: 3px; }
  .tl-clip-2 { position: absolute; top: 0; left: 55%; height: 100%; width: 30%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 3px; }
  .tl-playhead { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: #ff3b30; z-index: 5; animation: scan 4s linear infinite alternate; }
  .tl-playhead::before { content: ''; position: absolute; top: 0; left: -3px; width: 8px; height: 8px; background: #ff3b30; clip-path: polygon(0 0, 100% 0, 50% 100%); }

  @keyframes scan { 0% { left: 8%; } 100% { left: 92%; } }

  
  .float-slow { animation: float 6s ease-in-out infinite; }
  .float-med { animation: float 4.5s ease-in-out infinite; animation-delay: 0.7s; }
  .float-fast { animation: float 3.5s ease-in-out infinite; animation-delay: 1.4s; }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  
  .scroll-section {
    padding: 0 0 3rem;
    overflow: hidden;
  }
  .scroll-label {
    padding: 0 5%;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }
  .scroll-track {
    display: flex; gap: 1rem;
    overflow-x: auto;
    padding: 0 5% 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .scroll-track::-webkit-scrollbar { display: none; }

  .scroll-card {
    flex: 0 0 260px;
    aspect-ratio: auto;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
  }
  .scroll-card:hover { transform: scale(1.02); }
  .scroll-card video, .scroll-card img {
    width: 100%; height: auto; display: block;
  }

  
  section { padding: 5rem 5%; }
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
  }
  .section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }
  .section-heading em { font-style: normal; color: var(--accent); }

  
  #work { padding-bottom: 0; }
  .work-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
  }

  .highlights-track {
    display: flex; gap: 1.5rem;
    overflow-x: auto;
    padding: 0 5% 2rem;
    scrollbar-width: none;
  }
  .highlights-track::-webkit-scrollbar { display: none; }

  .highlight-card {
    flex: 0 0 300px !important;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s;
    height: auto !important;
  }
  .highlight-card:hover { border-color: rgba(212,255,0,0.3); }
  .highlight-card-thumb {
    width: 100% !important;
    height: auto !important;
    background: #1a1a1a;
    display: block;
    overflow: hidden;
  }
  .highlight-card-thumb video {
    width: 100%; height: 100%; object-fit: cover;
  }
  .highlight-card-body { padding: 1.25rem; }
  .highlight-card-body h4 {
    font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem;
  }
  .highlight-card-body p {
    font-size: 0.8rem; color: var(--text-muted);
  }

  .analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 0 5% 5rem;
  }
  .analytic-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .analytic-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .analytic-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
  }

  .editing-track {
    display: flex; gap: 1.5rem;
    overflow-x: auto;
    padding: 0 5% 2rem;
    scrollbar-width: none;
  }
  .editing-track::-webkit-scrollbar { display: none; }
  
  .editing-track .editing-card {
    flex: 0 0 280px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    cursor: pointer;
    position: relative;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
  }
  .editing-track .editing-thumb-wrap {
    position: relative;
    width: 100%;
    height: auto;
  }
  .editing-track .editing-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    background: rgba(214, 255, 0, 0.9);
    color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.2s, background 0.2s;
  }
  .editing-track .editing-card:hover .editing-play-btn {
    transform: scale(1.1);
    background: #ffffff;
  }
  .editing-track .editing-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
  }

  /* ── ABOUT ── */
  #about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .about-visual {
    position: relative;
  }
  .about-photo {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .about-photo img { width: 100%; height: 100%; object-fit: cover; }
  .about-float {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    background: var(--accent);
    color: var(--black);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
    min-width: 140px;
  }
  .about-float small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    opacity: 0.7;
    margin-top: 0.25rem;
  }
  .about-text p {
    font-size: 1.05rem;
    color: rgba(245,242,236,0.65);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  .about-tags {
    display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
  }
  .tag {
    background: rgba(212,255,0,0.08);
    border: 1px solid rgba(212,255,0,0.2);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
  }

  
  #comparison { background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
  }
  .comparison-table th {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }
  .comparison-table th:first-child { text-align: left; }
  .comparison-table th:nth-child(2) { color: var(--text-muted); }
  .comparison-table th:nth-child(3) { color: var(--accent); }

  .comparison-table td {
    padding: 1.1rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: middle;
  }
  .comparison-table tr:last-child td { border-bottom: none; }
  .comparison-table td:first-child { color: rgba(245,242,236,0.75); font-size: 0.9rem; }
  .comparison-table td:nth-child(2) { text-align: center; }
  .comparison-table td:nth-child(3) { text-align: center; }

  .icon-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: rgba(255,80,80,0.1);
    border-radius: 50%;
    color: #ff5050;
    font-size: 0.85rem;
    font-weight: 700;
  }
  .icon-yes {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: rgba(212,255,0,0.12);
    border-radius: 50%;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
  }

 
  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 3rem;
  }
  .process-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    position: relative;
  }
  .process-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    color: rgba(212,255,0,0.15);
    line-height: 1;
    margin-bottom: 1.5rem;
  }
  .process-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  .process-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  /* ── FAQ ── */
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  .faq-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
  }
  .faq-q {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: start; gap: 1rem;
    line-height: 1.4;
  }
  .faq-q-toggle {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: rgba(212,255,0,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    transition: transform 0.2s;
    margin-top: 1px;
  }
  .faq-a {
    font-size: 0.875rem;
    color: rgba(245,242,236,0.55);
    line-height: 1.8;
    display: none;
  }
  .faq-item.open .faq-a { display: block; }
  .faq-item.open .faq-q-toggle { transform: rotate(45deg); }

  
  footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 5rem 5% 3rem;
  }
  .footer-cta {
    text-align: center;
    margin-bottom: 5rem;
  }
  .footer-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1rem;
  }
  .footer-cta h2 em { font-style: normal; color: var(--accent); }
  .footer-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
  }
  .footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #f5f2ec !important;
    margin-bottom: 0.5rem;
    display: inline-block;
  }
  .footer-logo span { color: var(--accent); }

  
  .video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
  }
  .video-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .video-modal-container {
    position: relative;
    width: 100%;
    max-width: 90vw;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease, max-width 0.3s ease;
  }
  .video-modal-overlay.active .video-modal-container {
    transform: scale(1);
  }
  .video-modal-ratio-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
  }
  .video-modal-ratio-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
    display: block;
  }
  
  .video-modal-noclick-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55px;
    z-index: 5;
    pointer-events: auto;
    background: transparent;
  }
  
  .video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1010;
    font-size: 1.2rem;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .video-modal-close:hover {
    background: var(--accent);
    color: var(--black);
    border-color: var(--accent);
  }

  body.modal-open {
    overflow: hidden;
  }

  @media (max-width: 992px) {
    .hero-layout { grid-template-columns: 1fr; gap: 3rem; }
    .dashboard-scene { height: 460px; }
    .card-main-chart { left: 50%; }
    .card-stat-agr { right: 0; top: 0; }
    .card-stat-retention { left: 0; top: 0; }
    .card-timeline { bottom: 0; right: 0; }
    .card-stat-leads { bottom: 0; left: 0; }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    #about { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .about-float { display: none; }
    .comparison-table td:first-child { font-size: 0.8rem; }
    .comparison-table td, .comparison-table th { padding: 0.9rem 1rem; }
    .video-modal-overlay { padding: 1rem; }
    .video-modal-close { top: 0.5rem; right: 0.5rem; width: 36px; height: 36px; }
    .dashboard-scene { display: none; }
    #home { min-height: auto; padding: 7rem 5% 3rem; }
  }



  .carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    position: relative;
    background: var(--black);
  }

  .carousel-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    animation: scrollInfinite 30s linear infinite;
  }

  /* FIX: Only pause on hover on devices that natively support hover (PCs/Desktops) */
  @media (hover: hover) {
    .carousel-container:hover .carousel-track {
      animation-play-state: paused;
    }
  }

  .carousel-card {
    flex: 0 0 280px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
  }

  @media (hover: hover) {
    .carousel-card:hover {
      transform: scale(1.02);
      border-color: rgba(212, 255, 0, 0.3);
    }
  }

  .carousel-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    pointer-events: none;
  }

  @keyframes scrollInfinite {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }



    .manual-highlights-scroll {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      padding: 0 5%;
      overflow-x: auto;
      scrollbar-width: none;
      cursor: grab; /* PC grab cursor */
    }
    .manual-highlights-scroll:active {
      cursor: grabbing;
    }
    .manual-highlights-scroll::-webkit-scrollbar {
      display: none;
    }
    
    .manual-highlights-scroll img {
      pointer-events: none;
    }
  


  .video-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .video-carousel-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    padding-left: 5%;
    animation: scrollVideosInfinite 50s linear infinite;
  }

  .video-carousel-container:hover .video-carousel-track {
    animation-play-state: paused;
  }

  .editing-card-portrait {
    flex: 0 0 280px;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    position: relative;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
  }

  .editing-card-portrait:hover {
    transform: scale(1.02);
    border-color: #d4ff01;
  }

  .editing-card-portrait .editing-thumb-wrap {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .editing-card-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .editing-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: rgba(10, 10, 10, 0.75);
    border: 2px solid #d4ff01;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4ff01;
    transition: all 0.2s ease;
    z-index: 2;
    pointer-events: none;
  }

  .editing-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
  }

  .editing-card-portrait:hover .editing-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: #d4ff01;
    color: #141414;
  }

  @keyframes scrollVideosInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
  }
