/* ═══════════════════════════════════════════════ */
/* NOVACOIN — CONSOLIDATED SINGLE PAGE             */
/* Palette: cyan #00d4ff → purple #7b2ff7          */
/* Products: RFQ(cyan) WC(green) NP(purple) NC(blue) */
/* ═══════════════════════════════════════════════ */

:root {
    --bg: #050508;
    --bg2: #0a0a10;
    --surface: #0d0d14;
    --card: rgba(255,255,255,0.025);
    --card-h: rgba(255,255,255,0.045);
    --border: rgba(255,255,255,0.06);
    --border-h: rgba(255,255,255,0.12);
    --t1: #f0f0f5;
    --t2: #8a8aa0;
    --t3: #55556a;
    --cyan: #00d4ff;
    --purple: #7b2ff7;
    --blue: #3b82f6;
    --green: #22c55e;
    --grad: linear-gradient(135deg, #00d4ff, #7b2ff7);
    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1140px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--t2); line-height: 1.7; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
::selection { background: rgba(0,212,255,0.15); color: var(--t1); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px,4vw,40px); }

/* ── TYPO ── */
.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.1); padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.title-lg { font-size: clamp(1.75rem,4.5vw,3.2rem); font-weight: 700; color: var(--t1); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px; }
.subtitle { font-size: clamp(0.9rem,1.4vw,1.1rem); color: var(--t2); max-width: 520px; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto clamp(48px,7vw,80px); }
.section-head .subtitle { margin: 0 auto; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-size: 0.9375rem; font-weight: 500; transition: all 0.35s var(--ease); white-space: nowrap; }
.btn--primary { background: var(--grad); color: #fff; position: relative; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.25); }
.btn--glass { color: var(--t2); border: 1px solid var(--border); background: var(--card); backdrop-filter: blur(12px); }
.btn--glass:hover { border-color: var(--border-h); color: var(--t1); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.4s var(--ease); }
.nav.scrolled { background: rgba(5,5,8,0.82); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--border); padding: 10px 0; }
.nav__container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px,4vw,40px); display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; color: var(--t1); letter-spacing: -0.02em; }
.nav__logo-hex { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 28px; }
.nav__link { font-size: 0.875rem; color: var(--t2); transition: color 0.3s; position: relative; }
.nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--grad); transition: width 0.3s var(--ease); }
.nav__link:hover { color: var(--t1); }
.nav__link:hover::after { width: 100%; }
.nav__cta { font-size: 0.85rem; font-weight: 500; padding: 9px 22px; border-radius: 10px; background: var(--grad); color: #fff; transition: all 0.3s var(--ease); }
.nav__cta:hover { box-shadow: 0 4px 20px rgba(0,212,255,0.3); transform: translateY(-1px); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--t1); border-radius: 2px; transition: all 0.3s var(--ease); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 20px 80px; }
.hero__bg { position: absolute; inset: 0; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.hero__grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, black, transparent); -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, black, transparent); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(120px); animation: orb 22s ease-in-out infinite; }
.hero__orb--1 { width: 480px; height: 480px; background: rgba(0,212,255,0.07); top: 8%; left: 18%; }
.hero__orb--2 { width: 380px; height: 380px; background: rgba(123,47,247,0.07); bottom: 12%; right: 14%; animation-delay: -8s; }
@keyframes orb { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(25px,-35px) scale(1.04); } 66% { transform: translate(-20px,18px) scale(0.96); } }

.hero__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(40px,6vw,80px); max-width: var(--max-w); width: 100%; padding: 0 clamp(20px,4vw,40px); }
.hero__content { flex: 1; min-width: 0; }
.hero__illustration { flex: 0 0 420px; max-width: 420px; }
.hero__illustration svg { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(0,212,255,0.05)); }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--cyan); background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.1); padding: 7px 18px; border-radius: 100px; margin-bottom: 28px; }
.hero__badge-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,212,255,0.4); } 50% { opacity: .7; box-shadow: 0 0 0 7px rgba(0,212,255,0); } }
.hero__title { font-size: clamp(1.9rem,5.5vw,4.2rem); font-weight: 800; color: var(--t1); line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 20px; word-break: break-word; overflow-wrap: break-word; }
.hero__sub { font-size: clamp(0.9rem,1.6vw,1.15rem); color: var(--t2); max-width: 560px; margin: 0 0 36px; }
.hero__actions { display: flex; align-items: center; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
.hero__mouse { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 20px; height: 32px; border: 1.5px solid var(--border-h); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.hero__mouse-dot { width: 3px; height: 8px; background: var(--cyan); border-radius: 3px; animation: mdot 2s ease-in-out infinite; }
@keyframes mdot { 0%,100% { opacity: 1; transform: translateY(0); } 50% { opacity: .3; transform: translateY(8px); } }

/* ── ABOUT ── */
.about { padding: clamp(80px,12vw,160px) 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px,6vw,80px); align-items: center; }
.about__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.about__hex-grid { position: relative; width: 260px; height: 260px; }
.hex { position: absolute; width: 70px; height: 70px; border: 1px solid var(--border); border-radius: 16px; transform: rotate(45deg); transition: all 0.6s var(--ease); }
.hex--1 { top: 10px; left: 50px; animation: hexFloat 6s ease-in-out infinite; }
.hex--2 { top: 60px; right: 20px; animation: hexFloat 6s ease-in-out infinite -1s; }
.hex--3 { bottom: 40px; left: 20px; animation: hexFloat 6s ease-in-out infinite -2s; }
.hex--4 { bottom: 10px; right: 50px; animation: hexFloat 6s ease-in-out infinite -3s; }
.hex--5 { top: 90px; left: 100px; width: 50px; height: 50px; animation: hexFloat 6s ease-in-out infinite -4s; }
.hex--active { top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(0deg); width: 100px; height: 100px; border: 1.5px solid rgba(0,212,255,0.2); background: rgba(0,212,255,0.04); border-radius: 20px; display: flex; align-items: center; justify-content: center; animation: hexPulse 4s ease-in-out infinite; }
.hex--active svg { width: 60px; height: 60px; }
@keyframes hexFloat { 0%,100% { transform: rotate(45deg) translate(0,0); opacity: 0.3; } 50% { transform: rotate(45deg) translate(5px,-5px); opacity: 0.5; } }
@keyframes hexPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.1); } 50% { box-shadow: 0 0 40px 10px rgba(0,212,255,0.05); } }

.about__content .tag { margin-bottom: 12px; }
.about__content p { font-size: 0.95rem; margin-bottom: 16px; line-height: 1.8; }
.about__content p strong { color: var(--t1); font-weight: 600; }
.about__points { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.about__point { display: flex; align-items: flex-start; gap: 14px; }
.about__point-icon { width: 36px; height: 36px; min-width: 36px; color: var(--cyan); opacity: 0.7; }
.about__point-icon svg { width: 100%; height: 100%; }
.about__point strong { display: block; font-size: 0.9rem; color: var(--t1); margin-bottom: 2px; }
.about__point span { font-size: 0.8rem; color: var(--t3); }

/* ── PROBLEMS / USE CASES ── */
.problems { padding: clamp(80px,12vw,160px) 0; background: var(--bg2); position: relative; overflow: hidden; }
.problems__bg-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.problems__bg-art svg { width: 100%; height: 100%; }
.problems .container { position: relative; z-index: 1; }
.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.prob-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all 0.4s var(--ease); display: flex; flex-direction: column; }
.prob-card:hover { border-color: var(--border-h); transform: translateY(-3px); }

.prob-card__problem { padding: 28px 28px 20px; border-bottom: 1px solid var(--border); }
.prob-card__solution { padding: 20px 28px 28px; flex: 1; display: flex; flex-direction: column; }

.prob-card__label { display: inline-block; font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 3px 10px; border-radius: 6px; margin-bottom: 12px; }
.prob-card__label--sol { color: var(--cyan); background: rgba(0,212,255,0.06); border-color: rgba(0,212,255,0.1); }

.prob-card__problem h3 { font-size: 1.05rem; font-weight: 600; color: var(--t1); line-height: 1.4; margin-bottom: 10px; }
.prob-card__problem p { font-size: 0.82rem; line-height: 1.7; color: var(--t3); }
.prob-card__solution p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 16px; flex: 1; }
.prob-card__solution p strong { color: var(--t1); font-weight: 600; }

.prob-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; transition: gap 0.3s var(--ease); }
.prob-card__link[data-accent="cyan"] { color: var(--cyan); }
.prob-card__link[data-accent="purple"] { color: var(--purple); }
.prob-card__link[data-accent="blue"] { color: var(--blue); }
.prob-card__link[data-accent="green"] { color: var(--green); }
.prob-card:hover .prob-card__link { gap: 10px; }

/* ═══════════════════════════════════════════════ */
/* TOOL PREVIEW CARDS                              */
/* ═══════════════════════════════════════════════ */
.tools { padding: clamp(80px,12vw,160px) 0; }
.tools__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.tool-preview {
    position: relative;
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px 28px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
}
.tool-preview:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    background: var(--card-h);
}

/* Accent bar at top of card */
.tool-preview__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    opacity: 0.6;
    transition: opacity 0.4s;
}
.tool-preview:hover .tool-preview__accent { opacity: 1; }

/* Tool preview icon */
.tool-preview__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    animation: iconFloat 5s ease-in-out infinite;
}
.tool-preview__icon svg { width: 100%; height: 100%; display: block; }
[data-product="rfq"] .tool-preview__icon { color: var(--cyan); }
[data-product="wc"] .tool-preview__icon { color: var(--green); }
[data-product="np"] .tool-preview__icon { color: var(--purple); }
[data-product="nc"] .tool-preview__icon { color: var(--blue); }

[data-product="rfq"] .tool-preview__accent { background: linear-gradient(90deg, var(--cyan), #00ff88); }
[data-product="wc"] .tool-preview__accent { background: linear-gradient(90deg, var(--green), #10b981); }
[data-product="np"] .tool-preview__accent { background: linear-gradient(90deg, var(--purple), #ff2fed); }
[data-product="nc"] .tool-preview__accent { background: linear-gradient(90deg, var(--blue), #60a5fa); }

.tool-preview__label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}
[data-product="rfq"] .tool-preview__label { color: var(--cyan); background: rgba(0,212,255,0.08); }
[data-product="wc"] .tool-preview__label { color: var(--green); background: rgba(34,197,94,0.08); }
[data-product="np"] .tool-preview__label { color: var(--purple); background: rgba(123,47,247,0.08); }
[data-product="nc"] .tool-preview__label { color: var(--blue); background: rgba(59,130,246,0.08); }

.tool-preview h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--t1);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.tool-preview p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--t2);
    margin-bottom: 18px;
}

.tool-preview__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: gap 0.3s var(--ease);
}
[data-product="rfq"] .tool-preview__more { color: var(--cyan); }
[data-product="wc"] .tool-preview__more { color: var(--green); }
[data-product="np"] .tool-preview__more { color: var(--purple); }
[data-product="nc"] .tool-preview__more { color: var(--blue); }
.tool-preview:hover .tool-preview__more { gap: 10px; }

/* ── WHY ── */
.why { padding: clamp(80px,12vw,160px) 0; background: var(--bg2); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; transition: all 0.3s var(--ease); }
.why-card:hover { border-color: var(--border-h); background: var(--card-h); }
.why-card__icon { width: 32px; height: 32px; color: var(--cyan); opacity: 0.6; margin-bottom: 10px; }
.why-card__icon svg { width: 100%; height: 100%; display: block; }
.why-card:hover .why-card__icon { opacity: 0.9; }
.why-card__num { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; color: var(--cyan); opacity: 0.5; margin-bottom: 14px; }
.why-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--t1); margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; line-height: 1.7; }

/* ── STATS ── */
.stats { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); position: relative; overflow: hidden; }
.stats__bg-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.stats__bg-art svg { width: 100%; height: 100%; }
.stats .container { position: relative; z-index: 1; }
.stats__bar { display: flex; align-items: center; justify-content: center; gap: clamp(20px,4vw,48px); flex-wrap: wrap; }
.stats__item { text-align: center; padding: 6px 0; }
.stats__num { display: block; font-family: var(--mono); font-size: clamp(1.4rem,2.8vw,2rem); font-weight: 700; color: var(--t1); letter-spacing: -0.02em; }
.stats__label { font-size: 0.78rem; color: var(--t3); }
.stats__sep { width: 1px; height: 36px; background: var(--border); }

/* ── CTA ── */
.cta { padding: clamp(80px,12vw,160px) 0; }
.cta__box { position: relative; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: clamp(48px,8vw,80px) clamp(24px,5vw,60px); overflow: hidden; }
.cta__orb { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,212,255,0.06), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta__art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cta__art svg { width: 100%; height: 100%; }
.cta__box .title-lg { position: relative; z-index: 1; }
.cta__box .subtitle { position: relative; z-index: 1; max-width: 480px; margin: 0 auto 32px; }
.cta__btns { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { padding: 48px 0 28px; border-top: 1px solid var(--border); background: var(--bg2); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand p { font-size: 0.85rem; color: var(--t3); max-width: 260px; margin-top: 12px; line-height: 1.7; }
.footer__col h4 { font-size: 0.78rem; font-weight: 600; color: var(--t1); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 0.85rem; color: var(--t3); padding: 3px 0; transition: color 0.3s; }
.footer__col a:hover { color: var(--t2); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--t3); }
.footer__social { display: flex; gap: 14px; }
.footer__social a { color: var(--t3); transition: color 0.3s; }
.footer__social a:hover { color: var(--t1); }

/* ── ANIMATIONS ── */
.anim { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.anim.v { opacity: 1; transform: translateY(0); }
.anim:nth-child(2) { transition-delay: 0.07s; }
.anim:nth-child(3) { transition-delay: 0.14s; }
.anim:nth-child(4) { transition-delay: 0.21s; }
.anim:nth-child(5) { transition-delay: 0.28s; }
.anim:nth-child(6) { transition-delay: 0.35s; }

/* ── SVG ANIMATIONS ── */
/* Line draw-in effect */
.svg-draw {
    stroke-dasharray: var(--len, 60);
    stroke-dashoffset: var(--len, 60);
}
.anim.v .svg-draw {
    animation: svgDraw 1.2s var(--ease) forwards;
    animation-delay: var(--delay, 0.3s);
}
@keyframes svgDraw { to { stroke-dashoffset: 0; } }

/* Pop-in effect for dots/fills */
.svg-pop { opacity: 0; transform-origin: center; }
.anim.v .svg-pop {
    animation: svgPop 0.5s var(--ease) forwards;
    animation-delay: var(--delay, 0.8s);
}
@keyframes svgPop { to { opacity: 1; } }

/* Blinking indicator light */
.svg-blink { animation: svgBlink 2s ease-in-out infinite; }
@keyframes svgBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

/* Data flow animation (dashed lines) */
.svg-flow { animation: svgFlow 1.5s linear infinite; }
@keyframes svgFlow { to { stroke-dashoffset: -8; } }

/* Gentle float for icons */
@keyframes iconFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Hero floating elements */
.hero-float { animation: heroFloat 6s ease-in-out infinite; }
.hero-float--1 { animation-delay: 0s; }
.hero-float--2 { animation-delay: -1.5s; }
.hero-float--3 { animation-delay: -3s; }
.hero-float--4 { animation-delay: -4.5s; }
@keyframes heroFloat {
    0%,100% { transform: translate(0, 0); }
    25% { transform: translate(3px, -8px); }
    50% { transform: translate(-2px, -4px); }
    75% { transform: translate(4px, -10px); }
}

/* Hero pulse rings */
.hero-pulse-ring { animation: heroPulse 4s ease-in-out infinite; }
@keyframes heroPulse {
    0%,100% { opacity: 0.06; transform: scale(1); }
    50% { opacity: 0.02; transform: scale(1.02); }
}

/* ── SECTION ART (dividers & illustrations) ── */
.section-art {
    padding: 0;
    overflow: hidden;
}
.section-art svg {
    width: 100%;
    height: auto;
    display: block;
}
.section-art--bridge {
    padding: clamp(20px,4vw,48px) clamp(20px,4vw,40px);
    max-width: var(--max-w);
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════ */
/* WEB3 / FUTURISTIC ENHANCEMENTS                 */
/* ═══════════════════════════════════════════════ */

/* ── Animated gradient text ── */
.grad-text {
    background-size: 200% 100%;
    animation: gradientFlow 4s linear infinite;
}
@keyframes gradientFlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ── Card hover glow effects ── */
.tool-preview:hover,
.prob-card:hover,
.why-card:hover {
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 0 30px rgba(0,212,255,0.08), 0 8px 32px rgba(0,0,0,0.3);
}

/* ── Button shimmer effect ── */
.btn {
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before {
    left: 100%;
}

/* ── Smooth card transitions ── */
.tool-preview,
.prob-card,
.why-card,
[class*="-card"] {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ── GPU acceleration for animated elements ── */
.hero__illustration,
.section-art svg,
.hero__orb--1,
.hero__orb--2 {
    will-change: transform;
    transform: translateZ(0);
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── RESPONSIVE ── */

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
    .hero__inner { flex-direction: column; text-align: center; }
    .hero__content { text-align: center; }
    .hero__sub { margin-left: auto; margin-right: auto; }
    .hero__illustration { flex: 0 0 auto; max-width: 340px; width: 100%; margin: 0 auto; }
    .hero__actions { justify-content: center; }
    .section-art--bridge svg { max-height: 140px; }
    .about__grid { grid-template-columns: 1fr; }
    .about__visual { display: none; }
    .tools__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .prob-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (max 768px) ── */
@media (max-width: 768px) {
    /* Navigation mobile overlay */
    .nav__links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(5,5,8,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        z-index: 999;
    }
    .nav__links.open { display: flex; }
    .nav__links .nav__link {
        font-size: 1.15rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 24px;
        width: 100%;
        text-align: center;
    }
    .nav__links .nav__link::after { display: none; }
    .nav__cta { display: none; }
    .nav__toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    .nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .nav__toggle.open span:nth-child(2) { opacity: 0; }
    .nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

    /* Hero section adjustments */
    .hero { padding: 100px 16px 60px; min-height: auto; }
    .hero__inner { padding: 0 4px; gap: 32px; }
    .hero__badge { font-size: 0.65rem; padding: 6px 14px; margin-bottom: 20px; }
    .hero__title { font-size: clamp(1.8rem,7vw,2.8rem); margin-bottom: 16px; }
    .hero__title br { display: none; }
    .hero__sub { font-size: 0.9rem; margin-bottom: 28px; line-height: 1.7; }
    .hero__illustration { flex: 0 0 auto; max-width: 260px; width: 100%; margin: 0 auto; }
    .hero__mouse { display: none; }
    .hero__orb--1 { width: 280px; height: 280px; }
    .hero__orb--2 { width: 220px; height: 220px; }

    /* Section art dividers */
    .section-art { max-height: 60px; }
    .section-art svg { max-height: 60px; }
    .section-art--bridge { display: none; }

    /* Problem cards */
    .prob-card__problem { padding: 22px 20px 16px; }
    .prob-card__solution { padding: 16px 20px 22px; }
    .prob-card__problem h3 { font-size: 0.95rem; }

    /* Tool preview cards */
    .tool-preview { padding: 24px 20px 22px; }
    .tool-preview h3 { font-size: 1.1rem; }

    /* Why cards */
    .why__grid { grid-template-columns: 1fr; }
    .why-card { padding: 24px 20px; }

    /* Stats section */
    .stats { padding: 36px 0; }
    .stats__bar { gap: 12px; }
    .stats__sep { display: none; }
    .stats__item { flex: 0 0 calc(50% - 12px); padding: 10px 0; }
    .stats__num { font-size: clamp(1.3rem,5vw,1.6rem); }
    .stats__label { font-size: 0.72rem; }

    /* CTA section */
    .cta__box { padding: 40px 20px; border-radius: 20px; }
    .cta__btns { gap: 10px; }

    /* Footer */
    .footer__top { grid-template-columns: 1fr; gap: 28px; }
    .footer__brand p { max-width: 100%; }
    .footer__col a { padding: 6px 0; min-height: 36px; display: flex; align-items: center; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer__social a {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Typography floor */
    .about__content p { font-size: 0.88rem; }
    .about__point span { font-size: 0.78rem; }
    .prob-card__problem p { font-size: 0.8rem; }
    .prob-card__solution p { font-size: 0.82rem; }
    .tool-preview p { font-size: 0.82rem; }
    .why-card p { font-size: 0.82rem; }

    /* Background art overflow prevention */
    .problems__bg-art { overflow: hidden; }
    .stats__bg-art { overflow: hidden; }
    .cta__art { overflow: hidden; }

    /* Sections reduced padding */
    .about { padding: clamp(60px,10vw,120px) 0; }
    .problems { padding: clamp(60px,10vw,120px) 0; }
    .tools { padding: clamp(60px,10vw,120px) 0; }
    .why { padding: clamp(60px,10vw,120px) 0; }
    .cta { padding: clamp(60px,10vw,120px) 0; }

    /* Section headings spacing */
    .section-head { margin-bottom: clamp(36px,6vw,60px); }
}

/* ── Small phone (max 480px) ── */
@media (max-width: 480px) {
    /* Buttons stack full-width */
    .hero__actions, .cta__btns { flex-direction: column; width: 100%; }
    .hero__actions .btn, .cta__btns .btn { width: 100%; justify-content: center; }

    /* Hero further compacted */
    .hero { padding: 90px 12px 48px; }
    .hero__inner { padding: 0; }
    .hero__title { font-size: clamp(1.65rem,7.5vw,2.2rem); letter-spacing: -0.03em; }
    .hero__sub { font-size: 0.875rem; }
    .hero__illustration { max-width: 200px; opacity: 0.85; }
    .hero__badge { font-size: 0.6rem; padding: 5px 12px; margin-bottom: 16px; }

    /* Further card padding reduction */
    .prob-card__problem { padding: 18px 16px 14px; }
    .prob-card__solution { padding: 14px 16px 18px; }
    .prob-card__problem h3 { font-size: 0.9rem; }
    .tool-preview { padding: 20px 16px 18px; border-radius: 16px; }
    .why-card { padding: 20px 16px; border-radius: 12px; }

    /* Stats compact */
    .stats__item { flex: 0 0 calc(50% - 8px); }
    .stats__num { font-size: 1.2rem; }

    /* Section art: hide on very small screens */
    .section-art { display: none; }

    /* CTA adjustments */
    .cta__box { padding: 32px 16px; border-radius: 16px; }
    .cta__box .title-lg { font-size: 1.5rem; }
    .cta__box .subtitle { font-size: 0.85rem; margin-bottom: 24px; }

    /* Footer compact */
    .footer { padding: 36px 0 20px; }
    .footer__top { gap: 24px; margin-bottom: 28px; }

    /* Container edge spacing */
    .container { padding: 0 16px; }

    /* About section points on narrow screens */
    .about__point { gap: 10px; }
    .about__point-icon { width: 30px; height: 30px; min-width: 30px; }
}

/* ── Very small phone (max 360px) ── */
@media (max-width: 360px) {
    .hero__title { font-size: 1.5rem; }
    .hero__sub { font-size: 0.85rem; }
    .hero__illustration { max-width: 180px; }
    .title-lg { font-size: 1.5rem; }
    .btn { padding: 12px 20px; font-size: 0.875rem; }
    .btn--lg { padding: 14px 24px; font-size: 0.9375rem; }
    .prob-card__problem h3 { font-size: 0.85rem; }
    .tool-preview h3 { font-size: 1rem; }
    .stats__item { flex: 0 0 100%; }
}
