:root {
    --bg-primary: #0B1E1A;
    --bg-secondary: #0F2A24;
    --bg-card: #12312A;
    --bg-card-hover: #173D34;
    --accent: #CCFF00;
    --accent-dim: rgba(204, 255, 0, 0.1);
    --accent-glow: rgba(204, 255, 0, 0.25);
    --zomp: #39A78E;
    --zomp-dim: rgba(57, 167, 142, 0.15);
    --firefly: #102E37;
    --text-primary: #E8F0ED;
    --text-secondary: #8BA69B;
    --text-muted: #5A7A6E;
    --border: rgba(255,255,255,0.07);
    --border-accent: rgba(204, 255, 0, 0.2);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* Noise 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: 9999;
  }

  /* ── Nav ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    background: rgba(10, 12, 16, 0.75);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    height: 48px;
    width: auto;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .nav-cta:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-1px);
  }

  /* ── Hero ── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 6rem;
    position: relative;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-mascot {
    width: 140px;
    height: auto;
    margin-bottom: 2rem;
    animation: floatMascot 4s ease-in-out infinite, fadeUp 0.8s ease both;
    filter: drop-shadow(0 0 30px rgba(204, 255, 0, 0.2));
  }

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

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(57, 167, 142, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--zomp);
    background: var(--zomp-dim);
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.1s ease both;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
  }

  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--zomp);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
  }

  @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    max-width: 900px;
    letter-spacing: -0.03em;
    animation: fadeUp 0.8s 0.2s ease both;
    font-weight: 400;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin-top: 1.75rem;
    line-height: 1.7;
    animation: fadeUp 0.8s 0.35s ease both;
  }

  .hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    animation: fadeUp 0.8s 0.5s ease both;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }

  .btn-primary:hover {
    box-shadow: 0 0 50px var(--accent-glow), 0 4px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
  }

  .btn-primary svg { transition: transform 0.3s ease; }
  .btn-primary:hover svg { transform: translateX(3px); }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
  }

  .btn-secondary:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
  }

  /* ── Stats bar ── */
  .stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 2rem;
    margin-top: 2rem;
    animation: fadeUp 0.8s 0.65s ease both;
    flex-wrap: wrap;
  }

  .stat { text-align: center; }

  .stat-number {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    color: var(--accent);
    letter-spacing: -0.02em;
  }

  .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
  }

  /* ── Section general ── */
  section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zomp);
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .section-label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--zomp);
  }

  .section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 700px;
    font-weight: 400;
  }

  .section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 560px;
    margin-top: 1.25rem;
  }

  /* ── Problem section ── */
  .problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    align-items: center;
  }

  .problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp 0.6s ease both;
  }

  .problem-item:first-child { border-top: 1px solid var(--border); }
  .problem-item:nth-child(1) { animation-delay: 0.1s; }
  .problem-item:nth-child(2) { animation-delay: 0.2s; }
  .problem-item:nth-child(3) { animation-delay: 0.3s; }
  .problem-item:nth-child(4) { animation-delay: 0.4s; }
  .problem-item:nth-child(5) { animation-delay: 0.5s; }
  .problem-item:nth-child(6) { animation-delay: 0.6s; }

  .problem-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(255, 90, 90, 0.1);
    border: 1px solid rgba(255, 90, 90, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B6B;
    font-size: 0.85rem;
    margin-top: 2px;
  }

  .problem-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
  }

  .problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .problem-graphic {
    width: 100%;
    aspect-ratio: 1;
    max-width: 420px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .problem-graphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,90,90,0.05) 0%, transparent 60%);
  }

  .graphic-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
  }

  .graphic-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 90, 90, 0.15);
    position: relative;
    overflow: hidden;
  }

  .graphic-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FF9B6B);
    animation: barFill 3s ease infinite;
  }

  .bar-1 { width: 280px; }
  .bar-1::after { animation-delay: 0s; }
  .bar-2 { width: 220px; }
  .bar-2::after { animation-delay: 0.4s; }
  .bar-3 { width: 260px; }
  .bar-3::after { animation-delay: 0.8s; }
  .bar-4 { width: 200px; }
  .bar-4::after { animation-delay: 1.2s; }
  .bar-5 { width: 240px; }
  .bar-5::after { animation-delay: 1.6s; }

  @keyframes barFill {
    0% { width: 20%; }
    50% { width: 90%; }
    100% { width: 20%; }
  }

  .graphic-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
  }

  .problem-bottom {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .problem-bottom-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
  }

  .problem-bottom p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
  }

  /* ── Services ── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .service-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
  }

  .service-card:hover::before { opacity: 1; }

  .service-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--zomp-dim);
    border: 1px solid rgba(57, 167, 142, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: var(--zomp);
  }

  .service-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
  }

  .service-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .service-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.45;
  }

  .check-icon {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--zomp);
    opacity: 0.8;
  }

  /* ── Why section ── */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
  }

  .why-card {
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    text-align: center;
  }

  .why-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
  }

  .why-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--zomp-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--zomp);
    font-size: 1.4rem;
  }

  .why-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
  }

  .why-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* ── Who section ── */
  .who-section { text-align: center; }

  .who-section .section-title,
  .who-section .section-label {
    margin-left: auto;
    margin-right: auto;
  }

  .who-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .who-tag {
    padding: 1rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .who-tag:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-card-hover);
  }

  .who-tag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--zomp);
    opacity: 0.6;
  }

  /* ── CTA ── */
  .cta-section {
    text-align: center;
    padding: 8rem 2rem;
  }

  .cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 3rem;
    border-radius: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
  }

  .cta-mascot {
    width: 90px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.15));
  }

  .cta-wrapper .section-label { justify-content: center; }
  .cta-wrapper .section-title { margin: 0 auto; text-align: center; }
  .cta-wrapper .section-desc { margin: 1.25rem auto 0; text-align: center; }

  .cta-wrapper .btn-primary {
    margin-top: 2.5rem;
    font-size: 1.1rem;
    padding: 1.15rem 2.75rem;
  }

  /* ── Footer ── */
  footer {
    padding: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 0.5rem;
  }

  .footer-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .footer-link:hover { color: var(--accent); }

  .footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
  }

  /* ── Divider ── */
  .section-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

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

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── Pac-Man Easter Egg ── */
  .hero-mascot { cursor: pointer; }

  .pacman-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(11, 30, 26, 0.97);
    animation: pacFadeIn 0.4s ease;
  }

  @keyframes pacFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes pacFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  .pacman-score {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    z-index: 2;
  }

  .pacman-track {
    position: absolute;
    inset: 0;
  }

  .pacman-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .pacman-dot.power {
    width: 24px;
    height: 24px;
    animation: pacPowerPulse 0.4s ease infinite alternate;
  }

  .pacman-dot.eaten {
    transform: scale(0) !important;
    opacity: 0;
  }

  @keyframes pacPowerPulse {
    from { opacity: 1; }
    to { opacity: 0.3; }
  }

  .pacman-player {
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.4));
    animation: pacChomp 0.2s ease infinite;
  }

  @keyframes pacChomp {
    0%, 100% { transform: translateY(-50%) scaleX(1) scaleY(1); }
    50% { transform: translateY(-50%) scaleX(1.08) scaleY(0.92); }
  }

  .pacman-ghost {
    position: absolute;
    width: 44px;
    height: 48px;
    border-radius: 22px 22px 6px 6px;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
  }

  .pacman-ghost-eye {
    width: 10px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: relative;
  }

  .pacman-ghost-eye::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: #1a1a2e;
    border-radius: 50%;
    top: 4px;
    left: 3px;
  }

  .pacman-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    z-index: 2;
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-visual { display: none; }
  }

  @media (max-width: 768px) {
    nav { padding: 0.75rem 1.5rem; }
    .nav-logo { height: 38px; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { gap: 2rem; }
    .hero { padding: 7rem 1.5rem 4rem; }
    .hero-mascot { width: 100px; }
    .cta-wrapper { padding: 3rem 1.5rem; }
    footer { flex-direction: column; text-align: center; }
    .footer-info { justify-content: center; }
  }

  @media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero-cta-group { flex-direction: column; align-items: center; }
  }
