/* ============================================================
   NEXAIVERSE — Main Stylesheet (style.css)
   Design System, Layout, Components, Sections
   ============================================================ */

:root {
    --bg: #03050f;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.07);
    --green: #00ea9a;
    --cyan: #00c8f0;
    --pink: #f04d8a;
    --gold: #f0a838;
    --text: #dde8f5;
    --muted: #5a7080;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-green: 0 0 30px rgba(0, 234, 154, 0.25);
    --glow-cyan: 0 0 30px rgba(0, 200, 240, 0.25);
    --glow-gold: 0 0 30px rgba(240, 168, 56, 0.25);
    --glow-pink: 0 0 30px rgba(240, 77, 138, 0.25);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
    position: relative;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; }

/* ── Background Layers ─────────────────────────────── */
#three-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.55; }
.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(0,234,154,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,234,154,0.018) 1px, transparent 1px);
    background-size: 48px 48px;
}
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0.035;
    background: 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");
    background-size: 200px 200px;
}
.glow-orb {
    position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; opacity: 0.12;
}
.glow-orb:nth-child(1) { width: 500px; height: 500px; background: var(--green); top: -15%; left: -10%; animation: orbFloat 16s infinite ease-in-out; }
.glow-orb:nth-child(2) { width: 400px; height: 400px; background: var(--cyan); top: 40%; right: -12%; animation: orbFloat 18s infinite ease-in-out -5s; }
.glow-orb:nth-child(3) { width: 450px; height: 450px; background: var(--pink); bottom: -18%; left: 25%; animation: orbFloat 20s infinite ease-in-out -9s; }

/* ── Live HUD Bar ───────────────────────────────────── */
.live-hud-bar {
    position: fixed; top: 0; right: 0; z-index: 101;
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.35rem 1.2rem;
    background: rgba(3,5,15,0.75); backdrop-filter: blur(10px);
    border-bottom-left-radius: 10px; border: 1px solid var(--border); border-top: none; border-right: none;
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted);
}
.hud-item { color: var(--green); font-weight: 500; }
.hud-divider { color: var(--border); }

/* ── Content Wrapper ────────────────────────────────── */
.content-wrapper { position: relative; z-index: 3; }

/* ── Header ─────────────────────────────────────────── */
header {
    position: sticky; top: 0; z-index: 100;
    padding: 0.6rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    background: rgba(3,5,15,0.72); border-bottom: 1px solid var(--border);
    transition: var(--transition); flex-wrap: wrap;
}
header.scrolled { background: rgba(3,5,15,0.94); border-bottom-color: rgba(255,255,255,0.12); }
.logo-area { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-area img { height: 36px; width: auto; }
.logo-fallback {
    font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
    background: linear-gradient(135deg, #fff, var(--green), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 0.03em;
}
.nav-pills { display: flex; align-items: center; gap: 0.2rem; background: var(--surface); border-radius: 50px; padding: 0.3rem; border: 1px solid var(--border); }
.nav-pills a, .nav-pills .dropdown-trigger {
    padding: 0.5rem 1.1rem; border-radius: 50px; font-size: 0.88rem; font-weight: 500;
    color: var(--text); text-decoration: none; transition: var(--transition);
    cursor: pointer; white-space: nowrap; position: relative; font-family: var(--font-body);
}
.nav-pills a:hover, .nav-pills .dropdown-trigger:hover, .nav-pills a.active { background: rgba(0,234,154,0.13); color: var(--green); }
.dropdown-wrap { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 110%; left: 50%; transform: translateX(-50%);
    background: rgba(10,14,28,0.97); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 0.5rem 0; min-width: 200px; z-index: 105;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.dropdown-menu a { display: block; padding: 0.55rem 1.2rem; border-radius: 0; font-size: 0.85rem; color: var(--text); text-decoration: none; transition: var(--transition); white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(0,234,154,0.08); color: var(--green); }
.dropdown-wrap:hover .dropdown-menu { display: block; }
.btn-get-started { background: var(--green); color: #03050f; font-weight: 600; padding: 0.6rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; transition: var(--transition); border: none; cursor: pointer; font-family: var(--font-body); white-space: nowrap; letter-spacing: 0.01em; }
.btn-get-started:hover { box-shadow: var(--glow-green); transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0.4rem; }

/* ── Mobile Nav ─────────────────────────────────────── */
.mobile-nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3,5,15,0.98); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; }
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a { font-size: 1.2rem; color: var(--text); text-decoration: none; font-weight: 500; padding: 0.5rem 1rem; transition: var(--transition); cursor: pointer; }
.mobile-nav-overlay a:hover { color: var(--green); }
.mobile-nav-overlay .close-btn { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; cursor: pointer; color: var(--text); }

/* ── Sections ───────────────────────────────────────── */
section { padding: 5rem 2rem; position: relative; z-index: 3; }
.section-label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--green); margin-bottom: 0.6rem; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 0.6rem; color: #fff; letter-spacing: -0.01em; }
h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: #fff; }
h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #fff; }
.subtitle { color: var(--muted); font-weight: 300; font-size: 1rem; margin-bottom: 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── Card Grid ──────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.two-col-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.three-col-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.four-col-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.8rem; transition: var(--transition); position: relative; overflow: hidden; cursor: default;
}
.card:hover { transform: translateY(-5px); border-color: rgba(0,234,154,0.35); box-shadow: var(--glow-green); }
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    transform: translateX(-100%); transition: transform 0.55s ease;
}
.card:hover::before { transform: translateX(0); }
.card .icon-circle { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; background: rgba(0,234,154,0.1); color: var(--green); }
.card .icon-circle.icon-center { margin: 0 auto 1rem; }
.card .badge-num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); opacity: 0.5; }
.card-desc { color: var(--muted); font-size: 0.88rem; }
.card-desc-sm { color: var(--muted); font-size: 0.82rem; }

/* ── Card Glow ──────────────────────────────────────── */
.card-glow { position: relative; }
.card-glow::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,234,154,0.12) 0%, transparent 60%);
    pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 0;
}
.card-glow:hover::after { opacity: 1; }
.card-glow > * { position: relative; z-index: 1; }

/* ── Service Hover Card ─────────────────────────────── */
.service-hover-card .icon-circle { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.service-hover-card:hover .icon-circle { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,234,154,0.2); }

/* ── Hero ───────────────────────────────────────────── */
#hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden; padding-top: 4rem;
}
#hero video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; z-index: 0; }
#hero .hero-gradient { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, var(--bg), transparent); z-index: 1; }
#hero .hero-content { position: relative; z-index: 4; max-width: 750px; padding: 0 1rem; }
#lottie-hero { width: 80px; height: 80px; margin: 0 auto 1rem; filter: drop-shadow(0 0 18px rgba(0,234,154,0.6)); }
.live-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--green); border: 1px solid rgba(0,234,154,0.35); border-radius: 50px; padding: 0.35rem 1rem; margin-bottom: 1.2rem; letter-spacing: 0.04em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse-dot 1.5s infinite; }
#hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem);   /* medium size */
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
    min-height: 1.2em;
}
.gradient-text { background: linear-gradient(135deg, #fff 0%, var(--green) 50%, var(--cyan) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cursor-blink { display: inline-block; width: 3px; height: 1em; background: var(--green); margin-left: 2px; animation: blink 0.7s infinite; vertical-align: text-bottom; }
#hero .hero-subtitle { font-weight: 300; color: var(--muted); font-size: 1.05rem; margin-bottom: 0.8rem; }
#hero .hero-desc { max-width: 560px; margin: 0 auto 1.8rem; color: #b0c0d0; font-weight: 300; font-size: 0.95rem; line-height: 1.7; }
#hero .hero-desc strong { color: var(--green); font-weight: 600; }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--green); color: #03050f; font-weight: 600; padding: 0.75rem 1.8rem; border-radius: 50px; text-decoration: none; font-size: 0.95rem; transition: var(--transition); border: none; cursor: pointer; font-family: var(--font-body); animation: pulse-btn 2.5s infinite; }
.btn-outline { background: transparent; color: var(--text); font-weight: 500; padding: 0.75rem 1.8rem; border-radius: 50px; text-decoration: none; font-size: 0.95rem; border: 1px solid var(--border); transition: var(--transition); cursor: pointer; font-family: var(--font-body); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-gold { background: var(--gold); color: #03050f; font-weight: 600; padding: 0.7rem 1.6rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; transition: var(--transition); border: none; cursor: pointer; font-family: var(--font-body); }
.btn-cyan { background: var(--cyan); color: #03050f; font-weight: 600; padding: 0.7rem 1.6rem; border-radius: 50px; text-decoration: none; font-size: 0.9rem; transition: var(--transition); border: none; cursor: pointer; font-family: var(--font-body); }
.btn-full { width: 100%; display: block; text-align: center; }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font-size: 0.7rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.15em; }
.scroll-line { width: 1px; height: 36px; background: var(--muted); animation: shrinkLine 2s infinite; }

/* ── Hero Rotator ───────────────────────────────────── */
.hero-rotator {
    min-height: 2em;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;          /* medium */
    color: var(--green);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    margin: 0 auto 0.5rem;
}
.rotator-text {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.6s ease;
}
.rotator-text.active { opacity: 1; }

/* ── Stats Bar ──────────────────────────────────────── */
#stats-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 2rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; z-index: 3; position: relative; }
.stat-item { text-align: center; flex: 1; min-width: 120px; position: relative; }
.stat-item .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--green); text-shadow: 0 0 20px rgba(0,234,154,0.5); }
.stat-item .stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ── Agentic AI Canvas ──────────────────────────────── */
#agentic-ai { position: relative; z-index: 3; }
.agent-canvas-wrap { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: rgba(3,5,15,0.7); }
#agentCanvas {
    display: block;
    width: 100%;
    height: 480px;            /* ensure height */
    background: rgba(3,5,15,0.7);
}
.hud-overlay { position: absolute; pointer-events: none; font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); z-index: 5; }
.hud-tl { top: 12px; left: 14px; }
.hud-tr { top: 12px; right: 14px; text-align: right; }
.hud-bl { bottom: 12px; left: 14px; }
.hud-br { bottom: 12px; right: 14px; text-align: right; }
.hud-left { top: 50%; left: 10px; transform: translateY(-50%); font-size: 0.6rem; line-height: 1.6; }
.hud-right { top: 50%; right: 10px; transform: translateY(-50%); font-size: 0.6rem; line-height: 1.6; text-align: right; max-width: 140px; }
.hud-val { color: var(--green); font-weight: 500; }

/* ── Video Container ────────────────────────────────── */
.video-container { position: relative; display: inline-block; width: 100%; max-width: 650px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); cursor: pointer; }
.video-container:hover { box-shadow: var(--glow-green); }
.video-preview { position: relative; min-height: 320px; background: rgba(0,234,154,0.04); display: flex; align-items: center; justify-content: center; }
.video-thumb { width: 100%; display: block; object-fit: cover; min-height: 320px; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; transition: transform 0.35s ease, opacity 0.35s ease; }
.video-container:hover .video-play-btn { transform: translate(-50%,-50%) scale(1.1); }
.video-play-btn svg circle { transition: stroke 0.35s ease; }
.video-container:hover .video-play-btn svg circle { stroke: #fff; }
.video-hover-indicator { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); text-align: center; color: var(--muted); font-size: 0.7rem; font-family: var(--font-mono); opacity: 0; transition: opacity 0.4s ease; }
.video-container:hover .video-hover-indicator { opacity: 1; }
.hover-progress-bar { width: 80px; height: 2px; background: var(--border); border-radius: 2px; margin: 0.3rem auto 0; overflow: hidden; }
.hover-progress-fill { width: 0%; height: 100%; background: var(--green); transition: width 4s linear; border-radius: 2px; }
.video-container.hover-active .hover-progress-fill { width: 100%; }
.video-embed-wrapper { position: relative; width: 100%; padding-top: 56.25%; min-height: 320px; }
.video-embed-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: var(--radius-lg); }

/* ── Highlight Cards ────────────────────────────────── */
.highlight-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: var(--transition); position: relative; overflow: hidden; }
.highlight-card.gold-theme { border-color: rgba(240,168,56,0.3); background: linear-gradient(135deg, rgba(240,168,56,0.06) 0%, rgba(3,5,15,0.9) 100%); }
.highlight-card.cyan-theme { border-color: rgba(0,200,240,0.3); background: linear-gradient(135deg, rgba(0,200,240,0.06) 0%, rgba(3,5,15,0.9) 100%); }
.highlight-card:hover { transform: translateY(-4px); }
.highlight-card.gold-theme:hover { box-shadow: var(--glow-gold); }
.highlight-card.cyan-theme:hover { box-shadow: var(--glow-cyan); }
.highlight-subtitle { font-weight: 500; color: #fff; margin-bottom: 0.5rem; }
.highlight-desc { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.tag-badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.68rem; font-family: var(--font-mono); letter-spacing: 0.06em; font-weight: 500; margin-bottom: 0.8rem; }
.tag-badge.gold { background: rgba(240,168,56,0.2); color: var(--gold); border: 1px solid rgba(240,168,56,0.3); }
.tag-badge.cyan { background: rgba(0,200,240,0.2); color: var(--cyan); border: 1px solid rgba(0,200,240,0.3); }
.tag-pill { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 50px; font-size: 0.7rem; font-family: var(--font-mono); border: 1px solid var(--border); margin: 0.2rem; color: var(--text); }

/* ── Pricing ────────────────────────────────────────── */
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; transition: var(--transition); }
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.pricing-card.featured { border-color: var(--green); box-shadow: var(--glow-green); position: relative; }
.pricing-card.featured .popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: #03050f; font-size: 0.7rem; font-weight: 600; padding: 0.3rem 1rem; border-radius: 50px; font-family: var(--font-mono); letter-spacing: 0.05em; }
.pricing-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--green); }
.pricing-card .price small { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.pricing-card ul { list-style: none; text-align: left; margin: 1.2rem 0; font-size: 0.85rem; line-height: 2; }
.pricing-card ul li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.enterprise-block { background: var(--surface); border: 1px solid rgba(0,234,154,0.25); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; max-width: 700px; margin: 2rem auto 0; position: relative; overflow: hidden; }
.enterprise-block::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green), var(--cyan), var(--pink)); z-index: -1; opacity: 0.3; }
.enterprise-desc { color: var(--muted); margin: 0.8rem 0 1.2rem; }

/* ── Blog ───────────────────────────────────────────── */
.blog-hero-row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.blog-hero-icon { width: 120px; height: 120px; border-radius: 16px; background: rgba(0,234,154,0.06); display: flex; align-items: center; justify-content: center; font-size: 3rem; flex-shrink: 0; }
.blog-hero-desc { color: var(--muted); max-width: 500px; }
.blog-tabs { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.blog-tab { padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.82rem; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text); transition: var(--transition); font-family: var(--font-body); }
.blog-tab.active, .blog-tab:hover { background: rgba(0,234,154,0.13); border-color: var(--green); color: var(--green); }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); cursor: pointer; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(0,234,154,0.3); box-shadow: var(--glow-green); }
.blog-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: rgba(0,234,154,0.04); transition: background 0.4s ease; }
.blog-card:hover .blog-thumb { background: rgba(0,234,154,0.1); }
.blog-info { padding: 1.2rem; }
.blog-info .cat-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.blog-info .meta-row { font-size: 0.75rem; color: var(--muted); display: flex; gap: 0.8rem; margin-top: 0.5rem; }

/* ── About ──────────────────────────────────────────── */
.about-centered { max-width: 720px; text-align: center; }
.about-text { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }

/* ── Contact ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.contact-benefit-heading { color: var(--green); font-family: var(--font-display); margin-bottom: 1rem; }
.benefit-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.benefit-chips span { font-size: 0.82rem; color: var(--muted); }
.next-steps-box { background: var(--surface); border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--border); }
#contact-form input, #contact-form select, #contact-form textarea,
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem;
    transition: var(--transition); resize: vertical;
}
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus,
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,234,154,0.06);
}
#contact-form label, .inquiry-form label { font-size: 0.8rem; color: var(--muted); font-weight: 500; margin-bottom: 0.3rem; display: block; }
.form-row { display: flex; gap: 1rem; }
.form-half { flex: 1; }
.form-group { margin-top: 0.8rem; }
.form-errors { background: rgba(240,77,138,0.1); border: 1px solid rgba(240,77,138,0.3); border-radius: 8px; padding: 0.8rem; color: var(--pink); font-size: 0.8rem; margin-top: 0.8rem; }
.form-success { text-align: center; padding: 2rem; }
.success-icon { font-size: 3rem; margin-bottom: 0.5rem; }

/* ── Inquiry Modal ──────────────────────────────────── */
.inquiry-modal-box { max-width: 650px; }
.inquiry-modal-header { text-align: center; margin-bottom: 1.5rem; }
.inquiry-form .form-row { margin-bottom: 0.8rem; }
.btn-loader { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ── Footer ─────────────────────────────────────────── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 2rem 1.5rem; position: relative; z-index: 3; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--muted); }
footer a { color: var(--text); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 0.4rem; transition: var(--transition); }
footer a:hover { color: var(--green); }
.footer-tagline { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.8rem; }
.footer-social { display: flex; gap: 0.8rem; font-size: 1.2rem; }
.brand-text { font-size: 1.3rem; display: inline-block; margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-bottom a { font-size: 0.75rem; display: inline; cursor: pointer; color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }

/* ── Modals ─────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3,5,15,0.85); z-index: 300; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; }
.modal-box { background: #0a0e1c; border: 1px solid rgba(0,234,154,0.3); border-radius: var(--radius-lg); padding: 2rem; max-width: 600px; width: 90%; max-height: 85vh; overflow-y: auto; position: relative; box-shadow: 0 0 50px rgba(0,234,154,0.1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--pink); }

/* ── Toast ──────────────────────────────────────────── */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); background: #0a0e1c; border: 1px solid var(--green); color: var(--green); padding: 0.7rem 1.5rem; border-radius: 50px; font-size: 0.85rem; z-index: 400; font-family: var(--font-body); animation: toastIn 0.4s ease, toastOut 0.4s ease 2.2s forwards; pointer-events: none; }

/* --- Glass effect --- */
.glass-video {
    background: rgba(3,5,15,0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,234,154,0.2);
}
/* Inquiry email text */
.inquiry-email-text {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.inquiry-email-text a {
    color: var(--green);
    text-decoration: none;
    transition: var(--transition);
}
.inquiry-email-text a:hover { text-decoration: underline; }

/* Floating Book Call button */
.floating-book-call {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: var(--green);
    color: #03050f;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    z-index: 102;
    box-shadow: 0 4px 15px rgba(0,234,154,0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}
.floating-book-call:hover { transform: scale(1.05); }