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

    :root {
      --bg:       #050810;
      --bg2:      #080d1a;
      --bg3:      #0c1220;
      --surface:  #0f1628;
      --border:   rgba(0,210,255,0.10);
      --cyan:     #00d2ff;
      --cyan-dim: rgba(0,210,255,0.15);
      --cyan-glow:rgba(0,210,255,0.06);
      --electric: #0af;
      --white:    #e8edf5;
      --muted:    #5a6a8a;
      --text:     #b0bdd4;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Satoshi', 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      cursor: none;
    }

    /* ── CUSTOM CURSOR ── */
    .cursor {
      position: fixed;
      width: 8px; height: 8px;
      background: var(--cyan);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.15s ease;
      mix-blend-mode: screen;
    }
    .cursor-ring {
      position: fixed;
      width: 32px; height: 32px;
      border: 1px solid rgba(0,210,255,0.4);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transition: transform 0.35s ease, width 0.2s, height 0.2s;
    }
    body:hover .cursor { transform: scale(1); }

    /* ── GRID BACKGROUND ── */
    body::before {
      content: '';
      position: fixed; inset: 0;
      background-image:
        linear-gradient(rgba(0,210,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,210,255,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      z-index: 0;
    }

    /* ── GLOW ORBS ── */
    .orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
      z-index: 0;
    }
    .orb-1 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(0,170,255,0.08) 0%, transparent 70%);
      top: -200px; right: -100px;
      animation: float1 12s ease-in-out infinite;
    }
    .orb-2 {
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(0,210,255,0.05) 0%, transparent 70%);
      bottom: 20%; left: -150px;
      animation: float2 16s ease-in-out infinite;
    }
    @keyframes float1 {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-30px, 40px); }
    }
    @keyframes float2 {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(40px, -30px); }
    }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.25rem 5rem;
      background: rgba(5,8,16,0.7);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      z-index: 500;
    }
    .logo {
      text-decoration: none;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
    .logo svg { display: block; }
    .nav-links {
      display: flex; gap: 2.5rem; list-style: none; align-items: center;
    }
    .nav-links a {
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--muted);
      text-decoration: none;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-badge {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      color: var(--cyan);
      border: 1px solid var(--border);
      padding: 0.15rem 0.5rem;
      border-radius: 2px;
      letter-spacing: 0.05em;
    }
    .nav-cta {
      background: var(--cyan) !important;
      color: var(--bg) !important;
      padding: 0.55rem 1.4rem;
      border-radius: 2px;
      font-weight: 600 !important;
      letter-spacing: 0.04em !important;
      transition: box-shadow 0.2s, transform 0.15s !important;
    }
    .nav-cta:hover {
      box-shadow: 0 0 20px rgba(0,210,255,0.4) !important;
      transform: translateY(-1px);
      color: var(--bg) !important;
    }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 8rem 4rem 5rem;
      position: relative;
    }
    .hero-tag {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      color: var(--cyan);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 2rem;
      display: flex; align-items: center; gap: 0.8rem;
      animation: fadeDown 0.8s ease both;
    }
    .hero-tag::before, .hero-tag::after {
      content: '';
      display: block; height: 1px; width: 40px;
      background: linear-gradient(90deg, transparent, var(--cyan));
    }
    .hero-tag::after {
      background: linear-gradient(90deg, var(--cyan), transparent);
    }
    h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(3rem, 6vw, 6.5rem);
      font-weight: 800;
      line-height: 1.0;
      letter-spacing: -0.04em;
      color: var(--white);
      margin-bottom: 1.75rem;
      animation: fadeUp 0.9s ease both 0.15s;
    }
    h1 .line-highlight {
      display: block;
      background: linear-gradient(90deg, var(--cyan), #0af, #00d2ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-sub {
      font-size: 1.1rem;
      line-height: 1.75;
      color: var(--text);
      max-width: 560px;
      margin: 0 auto 2.5rem;
      animation: fadeUp 0.9s ease both 0.3s;
    }
    .hero-actions {
      display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
      animation: fadeUp 0.9s ease both 0.45s;
    }
    .btn-primary {
      background: var(--cyan);
      color: var(--bg);
      padding: 0.9rem 2.2rem;
      border-radius: 2px;
      font-weight: 700;
      font-size: 0.875rem;
      letter-spacing: 0.05em;
      text-decoration: none;
      text-transform: uppercase;
      transition: box-shadow 0.25s, transform 0.15s;
      display: inline-block;
    }
    .btn-primary:hover {
      box-shadow: 0 0 30px rgba(0,210,255,0.5);
      transform: translateY(-2px);
    }
    .btn-outline {
      border: 1px solid var(--border);
      color: var(--text);
      padding: 0.9rem 2.2rem;
      border-radius: 2px;
      font-size: 0.875rem;
      letter-spacing: 0.05em;
      text-decoration: none;
      text-transform: uppercase;
      transition: border-color 0.2s, color 0.2s;
      display: inline-block;
    }
    .btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

    .hero-scroll {
      position: absolute;
      bottom: 2.5rem; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
      animation: fadeIn 1.2s ease both 1s;
    }
    .hero-scroll span {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.15em;
      color: var(--muted);
      text-transform: uppercase;
    }
    .scroll-line {
      width: 1px; height: 40px;
      background: linear-gradient(to bottom, var(--cyan), transparent);
      animation: scrollPulse 2s ease-in-out infinite;
    }
    @keyframes scrollPulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 1; }
    }

    /* ── TICKER ── */
    .ticker {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
      padding: 0.85rem 0;
      position: relative;
    }
    .ticker-track {
      display: flex;
      gap: 3rem;
      animation: ticker 25s linear infinite;
      white-space: nowrap;
    }
    .ticker-item {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      flex-shrink: 0;
      display: flex; align-items: center; gap: 0.75rem;
    }
    .ticker-item::before {
      content: '◆';
      color: var(--cyan);
      font-size: 0.4rem;
    }
    @keyframes ticker {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* ── SECTION SHARED ── */
    section { position: relative; z-index: 1; }
    .section-inner { padding: 7rem 5rem; }
    .section-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.68rem;
      color: var(--cyan);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 1rem;
      display: flex; align-items: center; gap: 0.6rem;
    }
    .section-label::before { content: '//'; opacity: 0.5; }
    h2 {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(2rem, 3.5vw, 3.2rem);
      color: var(--white);
      line-height: 1.1;
      letter-spacing: -0.03em;
    }
    h2 .accent { color: var(--cyan); }

    /* ── WHAT WE DO ── */
    .what { background: var(--bg); }
    .what .section-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
    }
    .what-desc {
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--text);
      margin: 1.5rem 0 2rem;
    }
    .pillars {
      display: flex;
      flex-direction: column;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }
    .pillar {
      background: var(--bg);
      padding: 1.5rem 2rem;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      transition: background 0.2s;
      cursor: default;
    }
    .pillar:hover { background: var(--bg2); }
    .pillar-icon {
      width: 40px; height: 40px;
      border: 1px solid var(--border);
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
      background: var(--surface);
    }
    .pillar-title {
      font-family: 'Syne', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.2rem;
    }
    .pillar-sub { font-size: 0.8rem; color: var(--muted); }

    /* ── TERMINAL ── */
    .terminal {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 0 60px rgba(0,210,255,0.06);
    }
    .terminal-bar {
      background: var(--bg3);
      padding: 0.75rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-bottom: 1px solid var(--border);
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; }
    .dot-y { background: #ffbd2e; }
    .dot-g { background: #28ca41; }
    .terminal-title {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      color: var(--muted);
      margin-left: auto;
      letter-spacing: 0.05em;
    }
    .terminal-body {
      padding: 1.5rem;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.78rem;
      line-height: 1.9;
    }
    .t-dim   { color: var(--muted); }
    .t-cyan  { color: var(--cyan); }
    .t-white { color: var(--white); }
    .t-green { color: #28ca41; }
    .cursor-blink {
      display: inline-block;
      width: 7px; height: 14px;
      background: var(--cyan);
      vertical-align: middle;
      animation: blink 1s step-end infinite;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    /* ── STATS ── */
    .stats {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      background: var(--border);
      gap: 1px;
    }
    .stat-item {
      background: var(--surface);
      padding: 3rem 2.5rem;
      text-align: center;
    }
    .stat-num {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 2.8rem;
      color: var(--white);
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    .stat-num span { color: var(--cyan); }
    .stat-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .stat-note {
      padding: 1rem 2rem 2rem;
      text-align: center;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.62rem;
      color: var(--muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* ── AI AGENTS ── */
    .agents { background: var(--bg2); }
    .agents .section-inner { padding-bottom: 5rem; }
    .agents-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 3.5rem;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .agents-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }
    .agent-card {
      background: var(--bg2);
      padding: 2.5rem;
      position: relative;
      overflow: hidden;
      transition: background 0.25s;
      cursor: default;
    }
    .agent-card:hover { background: var(--bg3); }
    .agent-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--cyan-dim) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .agent-card:hover::after { opacity: 1; }
    .agent-num {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      letter-spacing: 0.1em;
      margin-bottom: 1.5rem;
    }
    .agent-icon-wrap {
      width: 52px; height: 52px;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--surface);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 1;
    }
    .agent-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.2rem;
      color: var(--white);
      margin-bottom: 0.75rem;
      position: relative; z-index: 1;
    }
    .agent-desc {
      font-size: 0.875rem;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      position: relative; z-index: 1;
    }
    .agent-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      position: relative; z-index: 1;
    }
    .agent-features li {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      color: var(--muted);
      display: flex; align-items: center; gap: 0.6rem;
    }
    .agent-features li::before { content: '→'; color: var(--cyan); flex-shrink: 0; }
    .agent-badge {
      position: absolute;
      top: 1.5rem; right: 1.5rem;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--cyan);
      border: 1px solid var(--border);
      padding: 0.2rem 0.5rem;
      background: var(--surface);
    }

    /* ── CONSULTING ── */
    .consulting { background: var(--bg); }
    .consulting .section-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: start;
    }
    .consult-desc {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--text);
      margin: 1.5rem 0 2rem;
    }
    .consult-link {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      color: var(--cyan);
      font-size: 0.875rem;
      font-weight: 600;
      text-decoration: none;
      letter-spacing: 0.05em;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s;
    }
    .consult-link:hover { border-color: var(--cyan); }
    .process-steps { display: flex; flex-direction: column; }
    .process-step {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 1.5rem;
      padding: 1.75rem 0;
      border-bottom: 1px solid var(--border);
      align-items: start;
    }
    .process-step:last-child { border-bottom: none; }
    .step-n {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      color: var(--cyan);
      letter-spacing: 0.1em;
      padding-top: 3px;
    }
    .step-body-title {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      color: var(--white);
      font-size: 0.95rem;
      margin-bottom: 0.35rem;
    }
    .step-body-desc {
      font-size: 0.83rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ── FOUNDER ── */
    .founder {
      background: var(--bg2);
      border-top: 1px solid var(--border);
    }
    .founder .section-inner {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 4rem;
      align-items: center;
    }
    .founder-photo {
      min-height: 420px;
      border: 1px solid var(--border);
      background:
        linear-gradient(180deg, rgba(0,210,255,0.06), rgba(0,0,0,0)),
        linear-gradient(135deg, var(--bg3), var(--surface));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      box-shadow: 0 0 60px rgba(0,210,255,0.05);
      position: relative;
      overflow: hidden;
    }
    .founder-photo::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(circle at top right, rgba(0,210,255,0.12), transparent 45%);
      pointer-events: none;
    }
    .founder-photo-inner {
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 220px;
    }
    .founder-photo-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 0.9rem;
    }
    .founder-photo-text {
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--muted);
    }
    .founder-card {
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(15,22,40,0.95), rgba(8,13,26,0.95));
      padding: 2.5rem;
      border-radius: 8px;
    }
    .founder-name {
      font-family: 'Syne', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: var(--white);
      line-height: 1.05;
      letter-spacing: -0.03em;
      margin: 0.75rem 0 0.35rem;
    }
    .founder-role {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.72rem;
      color: var(--cyan);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }
    .founder-desc {
      font-size: 1rem;
      line-height: 1.85;
      color: var(--text);
      margin-bottom: 1.15rem;
    }
    .founder-points {
      list-style: none;
      display: grid;
      gap: 0.8rem;
      margin: 1.75rem 0 2rem;
    }
    .founder-points li {
      display: flex;
      gap: 0.75rem;
      color: var(--text);
      font-size: 0.92rem;
      line-height: 1.6;
    }
    .founder-points li::before {
      content: '→';
      color: var(--cyan);
      font-family: 'IBM Plex Mono', monospace;
      flex-shrink: 0;
    }
    .founder-quote {
      border-left: 2px solid var(--cyan);
      padding-left: 1rem;
      font-size: 0.95rem;
      line-height: 1.75;
      color: var(--white);
      margin-bottom: 2rem;
    }
    .founder-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    /* ── CTA ── */
    .cta { background: var(--bg); }
    .cta .section-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .cta h2 { max-width: 700px; margin: 1rem 0 1.5rem; }
    .cta-sub {
      font-size: 1rem;
      color: var(--text);
      max-width: 480px;
      line-height: 1.75;
      margin-bottom: 2.5rem;
    }
    .cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .cta-note {
      margin-top: 1.5rem;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .cta-glow {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 600px; height: 300px;
      background: radial-gradient(ellipse, rgba(0,210,255,0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 3rem 5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .footer-logo {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }
    .footer-logo svg { display: block; }
    .footer-tagline {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      letter-spacing: 0.1em;
      margin-top: 0.3rem;
    }
    .footer-links {
      display: flex; gap: 2rem; list-style: none; align-items: center;
    }
    .footer-links a {
      font-size: 0.78rem;
      color: var(--muted);
      text-decoration: none;
      letter-spacing: 0.05em;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--cyan); }
    .footer-copy {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.65rem;
      color: var(--muted);
      letter-spacing: 0.05em;
    }
    .footer-copy a {
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-copy a:hover { color: var(--cyan); }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeDown {
      from { opacity: 0; transform: translateY(-10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   PHASE 1 — MOBILE FIX & LAYOUT STABILIZATION
   ════════════════════════════════════════ */

/* 1.1 Global overflow safety */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

nav,
.hero,
section,
.section-inner,
.agents-grid,
.stats-grid,
footer,
.nav-mobile-menu {
  max-width: 100%;
}

/* ── HERO SPLIT LAYOUT (desktop) ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 9rem 5rem 6rem;
  min-height: 90vh;
}
.hero-content { position: relative; z-index: 2; }
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tag { grid-column: 1 / -1; }

/* ── STATS UPDATE (v12 numbers) ── */

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(8,13,26,0.85);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px,4px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0; width: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

.nav-mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: rgba(5,8,16,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: none;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 999;
}
.nav-mobile-menu.active { display: flex; }
.nav-mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.8rem 0;
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--white); }
.nav-mobile-menu .nav-mobile-lang { color: var(--cyan); opacity: 0.85; }
.nav-mobile-menu .nav-mobile-cta {
  margin-top: 1rem;
  display: block;
  text-align: center;
  background: var(--cyan);
  color: var(--bg) !important;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  border-bottom: none !important;
  transition: opacity 0.2s;
}
.nav-mobile-menu .nav-mobile-cta:hover { opacity: 0.88; }

body.menu-open { overflow: hidden; }

.logo svg { max-width: 150px; height: auto; }

/* ── 960px BREAKPOINT ── */
@media (max-width: 960px) {

  /* Nav */
  nav { padding: 1rem 1.25rem; gap: 1rem; justify-content: space-between; }
  .logo svg { max-width: 145px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; width: 42px; height: 42px; flex-shrink: 0; }
  .nav-badge { display: none; }

  /* Hero — single column */
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 1.25rem 4rem;
    min-height: auto;
    gap: 2.5rem;
  }
  .hero-visual { display: none; }

  h1 {
    font-size: clamp(2.2rem, 11vw, 4rem);
    line-height: 0.98;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-sub { max-width: 100%; font-size: 1rem; }
  .hero-entry-clarity { max-width: 100%; font-size: 0.74rem; line-height: 1.6; }
  .hero-actions { width: 100%; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; max-width: 360px; text-align: center; }

  /* Grids */
  .section-inner { padding: 4rem 1.25rem !important; }
  .what .section-inner,
  .consulting .section-inner,
  .founder .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .agents-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .svc-lie-grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc-method-grid { grid-template-columns: 1fr; }
  .cp-features-grid { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 2rem 1.25rem; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  /* Founder */
  .founder-photo { min-height: 300px; }
  .founder-photo img { object-position: center top; }

}

@media (max-width: 480px) {
  .logo svg { max-width: 135px; }
  h1 { font-size: clamp(2.0rem, 10.5vw, 2.8rem); letter-spacing: -0.045em; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { max-width: 100%; }
}

@media (max-width: 600px) {
  .founder-photo { min-height: 360px; }
}

/* ── CARD HOVER GLOW ── */
.agent-card {
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.agent-card:hover {
  background: var(--bg2);
  border-color: rgba(0,210,255,0.18);
  box-shadow: 0 0 0 1px rgba(0,210,255,0.08), 0 8px 32px rgba(0,210,255,0.04);
}

/* ── COMMERCIAL PRESENCE FEATURES GRID ── */
.cp-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 2rem 0;
}
.cp-feature-item {
  background: var(--bg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: background 0.2s;
}
.cp-feature-item:hover { background: var(--bg2); }
.cp-feature-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  opacity: 0.7;
}
.cp-feature-text { font-size: 0.875rem; color: var(--text); line-height: 1.55; }

/* ── FUNNEL VISUAL STYLES ── */
.hero-funnel-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 0 40px rgba(0,210,255,0.12));
}
.hero-funnel-wrap svg { width: 100%; height: auto; }

/* ── PROCESS VISUAL ── */
.process-visual-wrap {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 2.5rem 0 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.process-vis-step {
  flex: 1;
  padding: 1.5rem 1.25rem;
  background: var(--bg);
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: background 0.2s;
}
.process-vis-step:last-child { border-right: none; }
.process-vis-step:hover { background: var(--bg2); }
.process-vis-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: var(--cyan);
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.process-vis-icon { font-size: 1.4rem; margin-bottom: 0.5rem; opacity: 0.7; }
.process-vis-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.process-vis-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 0.75rem;
  opacity: 0.4;
  z-index: 1;
}

@media (max-width: 768px) {
  .process-visual-wrap { flex-direction: column; }
  .process-vis-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-vis-step:last-child { border-bottom: none; }
  .process-vis-arrow { display: none; }
}


/* ════════════════════════════════════════
   V13 REFINEMENTS — MOBILE / VISUAL / SEO
   ════════════════════════════════════════ */

/* ── SECTION RHYTHM / DIVIDERS ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, rgba(0,210,255,0.15) 50%, var(--border) 70%, transparent 100%);
  margin: 0;
}

.what { border-top: 1px solid rgba(0,210,255,0.06); }
.agents { background: var(--bg2); border-top: 1px solid rgba(0,210,255,0.06); border-bottom: 1px solid rgba(0,210,255,0.06); }
.consulting { border-top: 1px solid rgba(0,210,255,0.06); }

/* ── REVENUE LEAKS MICRO-SECTION ── */
.leaks-section {
  padding: 5rem 0;
  border-top: 1px solid rgba(0,210,255,0.06);
}
.leaks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.leak-item {
  background: var(--bg);
  padding: 1.5rem 1.75rem;
  position: relative;
  transition: background 0.2s;
}
.leak-item:hover { background: var(--bg2); }
.leak-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.2s;
}
.leak-item:hover::before { opacity: 0.4; }
.leak-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}
.leak-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

/* Outcomes twin column */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}
.outcomes-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.outcomes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.outcomes-list li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}
.outcomes-list li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
  opacity: 0.6;
  font-size: 0.8rem;
  margin-top: 2px;
}
.outcomes-list.positive li::before { color: #4ade80; opacity: 0.7; content: '✓'; }

/* ── OPERATIONAL EXAMPLE ── */
.op-example {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(0,210,255,0.4);
  border-radius: 4px;
  padding: 2rem 2.5rem;
  margin-top: 2rem;
  max-width: 680px;
}
.op-example-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.65;
  margin-bottom: 1rem;
}
.op-example-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.op-example-result {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.op-example-result strong {
  color: var(--white);
  font-weight: 600;
}

/* ── PRIORITY CARD HIERARCHY ── */
.agent-card.card-primary {
  border-color: rgba(0,210,255,0.22);
  background: var(--bg2);
  box-shadow: inset 0 0 0 1px rgba(0,210,255,0.06), 0 0 24px rgba(0,210,255,0.04);
}
.agent-card.card-primary .agent-title {
  color: var(--white);
}
.agent-card.card-primary .agent-num {
  color: var(--cyan);
  opacity: 0.9;
}

/* ── MOBILE REFINEMENTS V13 ── */

@media (max-width: 960px) {

  /* Better hero typography — balanced wrapping */
  .hero { padding: 6.5rem 1.25rem 3.5rem; gap: 2rem; }

  h1 {
    font-size: clamp(2.0rem, 10.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    word-spacing: -0.02em;
  }

  /* Slightly smaller CTA buttons — more premium precision */
  .btn-primary, .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.82rem;
  }

  /* Hero actions slight adjustment */
  .hero-actions { gap: 0.65rem; margin-top: 1.5rem; }

  /* Section breathing */
  .what, .agents, .consulting, .founder, .stats {
    padding: 0;
  }

  /* Leaks / outcomes grids */
  .leaks-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Op example */
  .op-example { padding: 1.5rem; }

}

@media (max-width: 480px) {
  /* Nav spacing — more breathing room */
  nav { padding: 1rem 1.25rem 1rem 1.25rem; }
  .nav-hamburger { margin-right: 0; }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
    line-height: 1.10;
  }

  /* Slightly slimmer buttons on small screens */
  .btn-primary, .btn-outline {
    padding: 0.7rem 1.25rem;
    font-size: 0.8rem;
  }

  .leaks-grid { grid-template-columns: 1fr; }
}

/* ── HERO VISUAL — refined funnel positioning ── */
.hero-funnel-wrap {
  opacity: 0.88;
  transition: opacity 0.3s;
}
.hero-funnel-wrap:hover { opacity: 1; }

/* ── STATS — updated numbers ── */
.stat-note {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem 2rem 0;
  opacity: 0.6;
  font-style: italic;
}


/* ── V13 FUNNEL REFINEMENTS ── */
.hero-funnel-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(0,210,255,0.10));
  opacity: 0.95;
  transition: opacity 0.3s;
}
.hero-funnel-wrap:hover { opacity: 1; filter: drop-shadow(0 0 40px rgba(0,210,255,0.16)); }
.hero-funnel-wrap svg { width: 100%; height: auto; display: block; }

/* Hero layout: text left, funnel right */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 9rem 5rem 6rem;
  min-height: 90vh;
  text-align: left;
}
.hero-tag   { grid-column: 1 / -1; text-align: left; }
.hero-scroll { grid-column: 1 / -1; }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 6.5rem 1.25rem 3.5rem;
    min-height: auto;
    gap: 2.5rem;
  }
  .hero-visual { order: 2; max-width: 340px; margin: 0 auto; }
  .hero-content { order: 1; }
  .hero-tag, .hero-scroll { grid-column: 1; }
  .hero-funnel-wrap { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero-visual { display: none; }
}


/* ── V15 PREMIUM VISUAL & CONVERSION REFINEMENTS ── */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

/* Stronger image-based hero visual */
.hero-visual-image { position: relative; width: 100%; max-width: 720px; justify-self: center; }
.hero-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,210,255,0.20);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 45%, rgba(0,210,255,0.10), transparent 62%), var(--bg2);
  box-shadow: 0 0 70px rgba(0,210,255,0.12), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.hero-image-frame img { width: 100%; height: auto; display: block; opacity: 0.92; transform: scale(1.01); }
.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5,8,16,0.24), transparent 32%, rgba(5,8,16,0.18));
  z-index: 1;
}
.hero-image-shine {
  position: absolute;
  inset: auto 10% 0 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,210,255,0.65), transparent);
  box-shadow: 0 0 24px rgba(0,210,255,0.45);
  z-index: 2;
}

/* Better visual rhythm between sections */
.what, .agents, .consulting, .founder, .svc-lie, .leaks-section, .start-fit-section {
  position: relative;
}
.what::before, .agents::before, .consulting::before, .svc-lie::before, .start-fit-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,210,255,0.22), transparent);
  pointer-events: none;
}

/* Start-fit conversion guidance */
.start-fit-section { background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.start-fit-inner { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 3rem; align-items: start; }
.start-fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.start-fit-card {
  background: rgba(8,13,26,0.88);
  padding: 1.4rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  min-height: 118px;
}
.start-fit-card span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
  opacity: 0.75;
}

/* Visual panels for services */
.visual-panel {
  margin: 2rem 0;
  border: 1px solid rgba(0,210,255,0.14);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
  box-shadow: 0 0 48px rgba(0,210,255,0.055), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.visual-panel img { width: 100%; display: block; opacity: 0.88; }
.visual-panel:hover img { opacity: 1; }
.mini-section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.svc-expansion-block {
  margin: 2.5rem 0 3rem;
  padding: 2rem;
  border: 1px solid rgba(0,210,255,0.15);
  border-left: 3px solid rgba(0,210,255,0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,210,255,0.05), rgba(12,18,32,0.72));
}

/* Stronger hierarchy for core product cards */
.agent-card.card-primary,
.svc-method-card:first-child {
  border-color: rgba(0,210,255,0.24);
  box-shadow: inset 0 0 0 1px rgba(0,210,255,0.06), 0 0 26px rgba(0,210,255,0.05);
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding: 6.25rem 1.15rem 3.5rem; gap: 2rem; }
  .hero-visual-image { max-width: 100%; order: 2; }
  .hero-image-frame { border-radius: 10px; }
  .start-fit-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .start-fit-grid { grid-template-columns: 1fr; }
  .start-fit-card { min-height: auto; }
  .visual-panel { margin: 1.5rem 0; border-radius: 10px; }
  h1 { font-size: clamp(2.05rem, 9.8vw, 3.4rem); line-height: 1.08; }
}

@media (max-width: 520px) {
  .hero-visual-image { display: block; }
  .hero-image-frame img { opacity: 0.82; }
  .hero-image-frame::before { background: linear-gradient(180deg, rgba(5,8,16,0.05), rgba(5,8,16,0.28)); }
}

@media (max-width: 390px) {
  h1 { font-size: clamp(1.9rem, 9.3vw, 2.45rem); }
  .hero-entry-clarity { font-size: 0.68rem; }
}
