/* ═══════════════════════════════════════════════════════════════
   IQ Suite — Sales Website Design System
   Dark mode only. Matches Renewal IQ / Deal IQ app aesthetic.
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Scrollbar (Firefox) ── */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-primary);
}

/* ── CSS Custom Properties (ported from app dark mode) ── */
:root {
    --primary: #4299E1;
    --primary-dark: #3B82C4;
    --primary-light: #6cb6ff;
    --success: #10b981;
    --warning: #c69026;
    --danger: #e5534b;
    --accent-purple: #b083f0;

    --grad-start: #4299E1;
    --grad-mid: #8B5CF6;
    --grad-end: #C084FC;
    --gradient-brand: linear-gradient(90deg, var(--grad-start) 0%, var(--grad-mid) 80%, var(--grad-end) 100%);

    --bg-canvas: #0d1117;
    --bg-primary: #161b22;
    --bg-secondary: #1c2128;
    --bg-tertiary: #272d36;
    --bg-card: #0d1117;
    --bg-overlay: rgba(13, 17, 23, 0.95);

    --text-primary: #cdd9e5;
    --text-secondary: #adbac7;
    --text-muted: #768390;

    --border: rgba(66, 153, 225, 0.1);
    --border-default: rgba(66, 153, 225, 0.12);
    --border-muted: rgba(66, 153, 225, 0.08);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(66, 153, 225, 0.4);
    --glow-purple: 0 0 20px rgba(176, 131, 240, 0.4);

    --icon-gradient-start: #4299E1;
    --icon-gradient-end: #b083f0;

    --nav-height: 72px;
    --section-padding: 100px 0;
    --container-width: 1200px;
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Figtree', sans-serif;
    background: var(--bg-canvas);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(66, 153, 225, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 153, 225, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}
#gridShimmer {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(66, 153, 225, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 153, 225, 0.09) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(220deg, transparent 30%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.5) 55%, transparent 70%);
    mask-image: linear-gradient(220deg, transparent 30%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.5) 55%, transparent 70%);
    -webkit-mask-size: 400% 400%;
    mask-size: 400% 400%;
    animation: grid-shimmer 8s ease-in-out infinite;
}
@keyframes grid-shimmer {
    0% { -webkit-mask-position: 100% 0%; mask-position: 100% 0%; }
    100% { -webkit-mask-position: 0% 100%; mask-position: 0% 100%; }
}
#gridSparks {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(66, 153, 225, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 70%, rgba(192, 132, 252, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--primary-light); }

img { max-width: 100%; display: block; }

/* ── Scrollbar (Webkit) ── */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4299E1 0%, #8B5CF6 50%, #C084FC 100%);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4299E1 0%, #8B5CF6 50%, #C084FC 100%);
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.6);
}

/* ── Container ── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    color: #e6edf3;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

.gradient-text {
    background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-mid) 50%, var(--grad-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(66, 153, 225, 0.4));
}

.gradient-text-shimmer {
    background: linear-gradient(90deg, #4299E1 0%, #8B5CF6 20%, #FFFFFF 50%, #8B5CF6 80%, #4299E1 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-text-shimmer 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(66, 153, 225, 0.5));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Section ── */
.site-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    min-height: 48px;
    font-family: 'Figtree', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn:hover {
    filter: brightness(1.15);
}
/* Button shine sweep */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.12) 55%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
    z-index: 1;
}
.btn:hover::after {
    transform: translateX(120%);
    transition: transform 0.5s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
    color: #fff;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, #4299E1, #8B5CF6, #C084FC) 1;
    box-shadow: var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
    color: #fff;
    box-shadow: 0 8px 24px rgba(66, 153, 225, 0.4), 0 0 40px rgba(66, 153, 225, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
}
.btn-secondary:hover {
    color: #fff;
    background: rgba(66, 153, 225, 0.1);
    transform: translateY(-2px);
}

.btn-cta {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    background-size: 200% 200%;
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(66, 153, 225, 0.35);
    animation: login-btn-gradient 4s ease infinite;
}
.btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}
.btn-cta:hover {
    color: #fff;
    box-shadow: 0 8px 35px rgba(66, 153, 225, 0.55);
    transform: translateY(-3px);
}
.btn-cta:hover::after {
    left: 100%;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ── Cards ── */
.site-card {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC) 1;
    border-radius: 0;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(66, 153, 250, 0.04);
}
/* Shine sweep on hover (diagonal light band) */
.site-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 55%, transparent 60%);
    transform: translateX(-120%);
    pointer-events: none;
    z-index: 2;
}
.site-card:hover::after {
    transform: translateX(120%);
    transition: transform 0.7s ease;
}
.site-card > * { position: relative; z-index: 1; }
.card-flagship {
    border-width: 2px;
    border-image: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC) 1;
}
.product-card {
    background: var(--bg-card);
}
.product-coming-soon h3,
.product-coming-soon .product-tagline,
.product-coming-soon ul,
.product-coming-soon .product-icon {
    opacity: 0.5;
}
.stat-item.site-card {
    border-width: 2px;
    border-image: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC) 1;
    background: var(--bg-card);
}
.site-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--glow-primary), inset 0 1px 0 rgba(66, 153, 225, 0.06);
    border-image: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC) 1;
}
.stat-item.site-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 30px rgba(66, 153, 225, 0.3), 0 0 60px rgba(139, 92, 246, 0.15);
}

/* ── SVG Icon Containers ── */
.product-icon svg,
.feature-card-icon svg,
.contact-info-icon svg,
.stat-icon svg,
.icon-danger svg,
.icon-success svg,
.icon-accent svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.product-icon svg { width: 24px; height: 24px; stroke: #fff; }
.feature-card-icon svg { stroke: var(--primary-light); }
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--primary-light); }
.icon-danger svg,
.icon-success svg,
.icon-accent svg { stroke: #fff; }
.pill-badge svg { width: 16px; height: 16px; stroke: var(--primary-light); fill: none; stroke-width: 2; }

/* ── Stat Icon ── */
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC);
    border: 1px solid rgba(66, 153, 225, 0.2);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.site-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--glow-primary);
}

/* ── Form Inputs (login-field style) ── */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid;
    border-image: linear-gradient(135deg, rgba(66,153,225,0.35), rgba(139,92,246,0.35)) 1;
    border-radius: 0;
    background: #161b28;
    color: #e6edf3;
    font-size: 0.9rem;
    font-family: 'Figtree', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-image: linear-gradient(135deg, #4299E1, #8B5CF6) 1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%234299E1%22 stroke-width=%222%22><polyline points=%226 9 12 15 18 9%22/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

/* ── Badge / Pill ── */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #0d1117;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, #4299E1, #8B5CF6) 1;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--grad-start) 20%, var(--grad-mid) 50%, var(--grad-end) 80%, transparent 100%);
    animation: login-border-shimmer 4s ease-in-out infinite;
}
.site-nav.scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4299E1, #b083f0);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    color: #ffffff;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    position: relative;
    overflow: hidden;
    animation: logo-glow 4s ease-in-out infinite;
    box-shadow:
        0 4px 14px rgba(66, 153, 225, 0.35),
        0 0 20px rgba(66, 153, 225, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.nav-logo-icon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    z-index: 2;
}
.nav-logo-icon::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
    animation: logo-shine 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}
.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.nav-logo {
    transition: filter 0.3s ease;
}
.nav-logo:hover {
    filter: drop-shadow(0 0 8px rgba(66, 153, 225, 0.5)) drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover,
.nav-links a.active {
    color: #e6edf3;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Nav CTAs */
.nav-ctas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.nav-ctas .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    min-height: 40px;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1001;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-default);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}
.nav-mobile.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}
.nav-mobile a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-muted);
}
.nav-mobile a:hover,
.nav-mobile a.active {
    color: #e6edf3;
}
.nav-mobile .btn {
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--grad-start), var(--grad-mid), var(--grad-end), transparent) 1;
    padding: 4rem 0 0;
    background: var(--bg-canvas);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--grad-start) 20%, var(--grad-mid) 50%, var(--grad-end) 80%, transparent 100%);
    animation: login-border-shimmer 4s ease-in-out infinite;
}
.site-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(66, 153, 225, 0.03) 50%, transparent 70%);
    animation: shimmer-sweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 280px;
}
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.footer-col a {
    display: block;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-col a:hover {
    color: #e6edf3;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-muted);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════
   HERO SECTION (login-screen inspired)
   ═══════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    margin-bottom: -60px;
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1050px;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 1.5rem 0 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.7));
}
.hero-content p {
    font-size: 1.2rem;
    color: #cdd9e5;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-social-proof {
    font-size: 0.9rem;
    color: #8b949e;
}
.hero-social-proof strong {
    color: var(--primary-light);
}

/* Orbs — hidden; ambient gradient now applied site-wide via body::after */
.hero-orb { display: none; }
/* Particles — hidden; replaced by grid sparks */
.hero-particles { display: none; }
/* Hero fade — no longer needed */
.hero-fade { display: none; }

/* ═══════════════════════════════════════
   PAGE HEADER (non-home pages)
   ═══════════════════════════════════════ */
.page-header {
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    text-align: center;
    position: relative;
    margin-bottom: -2rem;
}
.page-header::after {
    display: none;
}
.page-header::before {
    display: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    margin-bottom: 1rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.page-header p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}
.gradient-underline {
    width: 80px;
    height: 3px;
    background: var(--gradient-brand);
    margin: 1.5rem auto 0;
}

/* ═══════════════════════════════════════
   PRODUCTS OVERVIEW (Home)
   ═══════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }
.products-grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
    padding: 2.5rem;
    text-align: center;
}
.product-card .product-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--icon-gradient-start), var(--icon-gradient-end));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product-card:hover .product-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--glow-primary);
}
.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.product-card .product-tagline {
    color: var(--primary-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
.product-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
}
.product-card ul li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.product-card ul li::before {
    content: '»';
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 700;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.product-card:hover ul li::before {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(66, 153, 225, 0.4));
}

/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-image: linear-gradient(135deg, rgba(66, 153, 225, 0.4), rgba(139, 92, 246, 0.4), rgba(192, 132, 252, 0.4)) 1;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Figtree', sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.stat-item .stat-number {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #e6edf3;
    background-clip: unset;
    filter: none;
    color: #e6edf3;
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.steps-grid::before { display: none; }
.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-badge {
    width: auto;
    height: auto;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-weight: 800;
    letter-spacing: -0.15em;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 8px rgba(66, 153, 225, 0.4));
    transition: all 0.3s ease;
}
.step-card:hover .step-badge {
    transform: scale(1.15);
    filter: drop-shadow(0 0 16px rgba(66, 153, 225, 0.5)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.25));
}
.step-card h3 { margin-bottom: 0.75rem; }

/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.cta-banner {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    display: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(66, 153, 225, 0.06) 50%, transparent 70%);
    animation: shimmer-sweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner h2 .gradient-text { display: block; }
.cta-banner p { margin-bottom: 2rem; font-size: 1.1rem; }

/* ═══════════════════════════════════════
   FEATURE TABS
   ═══════════════════════════════════════ */
.feature-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-default);
    margin-bottom: 3rem;
}
.feature-tab {
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Figtree', sans-serif;
}
.feature-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.feature-tab:hover:not(.active) { color: var(--text-secondary); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.12), rgba(139, 92, 246, 0.12));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.site-card:hover .feature-card-icon {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.2), rgba(139, 92, 246, 0.2));
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 14px rgba(66, 153, 225, 0.2);
}
.feature-panel { display: none; }
.feature-panel.active { display: block; }

/* ═══════════════════════════════════════
   PRICING
   ═══════════════════════════════════════ */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.pricing-toggle span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.pricing-toggle span.active { color: #e6edf3; }

.toggle-switch {
    width: 48px;
    height: 26px;
    background: var(--bg-tertiary);
    border-image: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
    border-radius: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 0 8px rgba(66, 153, 225, 0.4);
}
.toggle-switch.annual::after { transform: translateX(22px); }
.toggle-save {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    background: var(--bg-card);
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    padding: 0.2rem 0.6rem;
    border-radius: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}
.pricing-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-8px);
}
.pricing-card.featured {
    border-width: 2px;
    border-image: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    animation: pricing-glow 3s ease-in-out infinite;
}
@keyframes pricing-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(66, 153, 225, 0.1); }
    50% { box-shadow: 0 0 40px rgba(66, 153, 225, 0.2), 0 0 60px rgba(139, 92, 246, 0.1); }
}
.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--grad-start), var(--grad-mid));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    animation: badge-glow 2s ease-in-out infinite;
}
.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', 'Figtree', sans-serif;
    color: #e6edf3;
    margin: 1rem 0 0.25rem;
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: 'Figtree', sans-serif;
}
.pricing-desc {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}
.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid var(--border-muted);
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.pricing-features li:hover {
    color: var(--text-primary);
    padding-left: 4px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-check { color: var(--success); font-weight: 700; }
.pricing-x { color: var(--text-muted); }

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4rem;
    table-layout: fixed;
}
.comparison-table col.col-feature { width: 40%; }
.comparison-table col.col-plan { width: 20%; }
.comparison-table th,
.comparison-table td {
    padding: 0.85rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-muted);
    transition: all 0.3s ease;
}
.comparison-table th {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
}
.comparison-table .check { color: var(--success); }
.comparison-table .dash { color: var(--text-muted); }
.comparison-table tbody tr {
    transition: all 0.3s ease;
    background-image: none;
    background-size: 100% 1px, 100% 1px;
    background-position: top, bottom;
    background-repeat: no-repeat;
}
.comparison-table tbody tr:hover {
    background-color: rgba(66, 153, 225, 0.06);
    background-image:
        linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end)),
        linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    background-size: 100% 1px, 100% 1px;
    background-position: top, bottom;
    background-repeat: no-repeat;
}
.comparison-table tbody tr:hover td {
    border-bottom-color: transparent;
    color: var(--text-primary);
}
.comparison-table tbody tr.group-header:hover {
    background-image: none;
}

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border-muted);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: #e6edf3;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: 'Figtree', sans-serif;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--primary-light);
}
.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer p {
    padding-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */
.problem-grid,
.solution-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.problem-grid h3,
.solution-grid h3,
.values-grid h3 {
    margin-bottom: 0.5rem;
}
.icon-danger,
.icon-success,
.icon-accent {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC);
    border: 1px solid rgba(66, 153, 225, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(66, 153, 225, 0.2), 0 0 20px rgba(139, 92, 246, 0.1);
}
.site-card:hover .icon-danger,
.site-card:hover .icon-success,
.site-card:hover .icon-accent {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 20px rgba(66, 153, 225, 0.4), 0 0 30px rgba(139, 92, 246, 0.25);
}

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form .btn { margin-top: 0.5rem; }
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-muted);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.12), rgba(139, 92, 246, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0;
}
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 0.75rem; }
.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-success-icon svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   KEYFRAME ANIMATIONS (ported from app)
   ═══════════════════════════════════════ */
@keyframes logo-text-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes logo-glow {
    0%, 100% {
        box-shadow:
            0 4px 14px rgba(66, 153, 225, 0.3),
            0 0 20px rgba(66, 153, 225, 0.1),
            inset 0 1px 1px rgba(255, 255, 255, 0.25),
            inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow:
            0 4px 18px rgba(66, 153, 225, 0.45),
            0 0 28px rgba(176, 131, 240, 0.2),
            inset 0 1px 1px rgba(255, 255, 255, 0.25),
            inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    }
}

@keyframes logo-shine {
    0%, 100% { transform: translateX(-30%) translateY(-30%); }
    50% { transform: translateX(30%) translateY(30%); }
}

@keyframes login-gradient-drift {
    0% { transform: translate(0%, 0%) rotate(0deg); }
    33% { transform: translate(5%, -3%) rotate(2deg); }
    66% { transform: translate(-3%, 5%) rotate(-1deg); }
    100% { transform: translate(2%, -2%) rotate(1deg); }
}

@keyframes login-grid-float {
    0% { background-position: 0px 0px; }
    100% { background-position: 60px 60px; }
}

@keyframes login-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.05); }
}

@keyframes login-particles-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

@keyframes login-border-shimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes login-btn-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer-sweep {
    0% { transform: translateX(-30%) translateY(-30%) rotate(45deg); }
    50% { transform: translateX(30%) translateY(30%) rotate(45deg); }
    100% { transform: translateX(-30%) translateY(-30%) rotate(45deg); }
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(66, 153, 225, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: translateX(-50%) scale(1.03);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .pricing-grid { gap: 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .products-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .feature-tab { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }

    .nav-links,
    .nav-ctas { display: none; }
    .nav-hamburger { display: flex; }

    .hero { min-height: auto; padding: calc(var(--nav-height) + 3rem) 1.5rem 3rem; }
    .hero-content h1 { font-size: 2rem; filter: drop-shadow(0 0 12px rgba(66, 153, 225, 0.4)); }
    .hero-content p { font-size: 1rem; }

    .products-grid,
    .products-grid-3,
    .products-grid-4 { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .problem-grid,
    .solution-grid,
    .values-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

    .cta-banner { padding: 3rem 1.5rem; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .page-header { padding: calc(var(--nav-height) + 2rem) 0 2rem; }

    .feature-tab { padding: 0.6rem 1rem; font-size: 0.85rem; }

    .comparison-table { font-size: 0.8rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.6rem 0.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; }
    .stat-number { font-size: 1.5rem; }
    .pricing-price { font-size: 2.5rem; }
    .feature-tab { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .page-header { padding: calc(var(--nav-height) + 1.5rem) 0 1.5rem; }
    .page-header p { font-size: 0.95rem; }
    .product-card { padding: 1.5rem; }
    .cta-banner h2 { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════
   PREMIUM INTERACTIVE LAYER
   (ported from Eclipse AI)
   ═══════════════════════════════════════ */

/* ── Entrance Shine (one-time sweep triggered by JS on scroll reveal) ── */
.shine-enter::after {
    transform: translateX(120%) !important;
    transition: transform 1s ease !important;
}

/* ── Section Overline Labels ── */
.section-overline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-light);
    text-align: center;
    margin-bottom: 12px;
}

/* ── Gradient Line Decorative Divider ── */
.gradient-line-center {
    width: 60px;
    height: 2px;
    background: var(--gradient-brand);
    margin: 8px auto 20px;
    position: relative;
    overflow: hidden;
}
.gradient-line-center::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-100%);
    pointer-events: none;
    animation: line-shine 5s ease-in-out infinite;
}
@keyframes line-shine {
    0%, 65% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-brand);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 10000;
    pointer-events: none;
}


/* ── Custom Cursor (desktop only, created by JS) ── */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}
.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(108, 182, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.cursor-ring.hovering {
    width: 52px;
    height: 52px;
    border-color: rgba(66, 153, 225, 0.6);
}

/* Hide default cursor on desktop with fine pointer (JS adds .custom-cursor to body) */
body.custom-cursor,
body.custom-cursor *,
body.custom-cursor *::before,
body.custom-cursor *::after {
    cursor: none !important;
}

/* ── Cursor Spotlight (radial glow following mouse) ── */
.cursor-spotlight {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.03) 0%, rgba(139, 92, 246, 0.01) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
}

/* ── Hero Entrance Choreography ── */
.hero-content .pill-badge,
.hero-content h1,
.hero-content > p,
.hero-content .hero-ctas,
.hero-content .hero-social-proof {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.hero-content .pill-badge.revealed,
.hero-content h1.revealed,
.hero-content > p.revealed,
.hero-content .hero-ctas.revealed,
.hero-content .hero-social-proof.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Page Header Entrance (non-hero pages) ── */
.page-header h1,
.page-header p,
.page-header .gradient-underline {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-header h1.revealed,
.page-header p.revealed,
.page-header .gradient-underline.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Text scramble — lock dimensions during animation */
.scramble-active {
    overflow: hidden;
}

/* ═══════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
    /* Disable premium effects */
    .site-card::after,
    .btn::after {
        display: none;
    }
    .gradient-line-center::after {
        animation: none;
        display: none;
    }
    /* Hero + page header entrance — show immediately */
    .hero-content .pill-badge,
    .hero-content h1,
    .hero-content > p,
    .hero-content .hero-ctas,
    .hero-content .hero-social-proof,
    .page-header h1,
    .page-header p,
    .page-header .gradient-underline {
        opacity: 1;
        transform: none;
        transition: none;
    }
    /* Cursor — JS won't create these on reduced motion */
    .cursor-dot,
    .cursor-ring,
    .cursor-spotlight {
        display: none !important;
    }
}

/* ═══════════════════════════════════════
   ACCESSIBILITY — Skip Link
   ═══════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #4299E1;
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 10000;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
}
.skip-link:focus {
    top: 0;
}

/* ═══════════════════════════════════════
   PRODUCT PREVIEW MOCKUP
   ═══════════════════════════════════════ */
.product-mockup-frame {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(66, 153, 225, 0.1);
    overflow: hidden;
}

/* Browser chrome */
.product-mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
}
.product-mockup-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.product-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.product-mockup-dots span:nth-child(1) { background: #e5534b; }
.product-mockup-dots span:nth-child(2) { background: #c69026; }
.product-mockup-dots span:nth-child(3) { background: #10b981; }
.product-mockup-url {
    flex: 1;
    background: var(--bg-canvas);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    border: 1px solid var(--border-muted);
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dashboard layout */
.product-mockup-dashboard {
    display: flex;
    background: var(--bg-canvas);
    min-height: 320px;
}

/* Sidebar */
.product-mockup-sidebar {
    width: 180px;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-default);
    padding: 16px 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-mockup-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 14px;
    border-bottom: 1px solid var(--border-muted);
    margin-bottom: 8px;
}
.product-mockup-sidebar-logo-icon {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.product-mockup-sidebar-logo span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #e6edf3;
}
.product-mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}
.product-mockup-nav-item.active {
    color: #e6edf3;
    background: rgba(66, 153, 225, 0.08);
    border-image: linear-gradient(180deg, var(--grad-start), var(--grad-mid)) 1;
}
.product-mockup-nav-item svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Content area */
.product-mockup-content {
    flex: 1;
    padding: 20px;
    min-width: 0;
}
.product-mockup-content-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e6edf3;
    margin-bottom: 16px;
}

/* Stat cards */
.product-mockup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.product-mockup-stat {
    background: var(--bg-primary);
    border: 1px solid var(--border-muted);
    padding: 12px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--grad-start), var(--grad-mid), var(--grad-end)) 1;
    border-image-slice: 1 0 0 0;
}
.product-mockup-stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.product-mockup-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #e6edf3;
    font-family: 'JetBrains Mono', monospace;
}

/* Table */
.product-mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}
.product-mockup-table thead th {
    text-align: left;
    padding: 8px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: linear-gradient(90deg, rgba(66, 153, 225, 0.08), rgba(139, 92, 246, 0.06));
    border-bottom: 1px solid var(--border-default);
}
.product-mockup-table tbody td {
    padding: 8px 10px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-muted);
}
.product-mockup-table tbody tr:last-child td {
    border-bottom: none;
}
.product-mockup-table .vendor-name {
    color: #e6edf3;
    font-weight: 600;
}

/* Status badges */
.product-mockup-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
}
.product-mockup-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.product-mockup-badge--progress { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.product-mockup-badge--progress::before { background: #10b981; }
.product-mockup-badge--negotiating { color: #c69026; background: rgba(198, 144, 38, 0.1); }
.product-mockup-badge--negotiating::before { background: #c69026; }
.product-mockup-badge--renewed { color: var(--text-muted); background: rgba(118, 131, 144, 0.1); }
.product-mockup-badge--renewed::before { background: var(--text-muted); }

/* Responsive */
@media (max-width: 1024px) {
    .product-mockup-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .product-mockup-sidebar { display: none; }
}
@media (max-width: 480px) {
    .product-mockup-section { display: none; }
}

/* ═══════════════════════════════════════
   DEAL IQ MOCKUP — Executive Brief
   ═══════════════════════════════════════ */
.product-mockup-brief-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.product-mockup-brief-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e6edf3;
    flex: 1;
    min-width: 160px;
}
.product-mockup-score-circle {
    width: 42px;
    height: 42px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-light);
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
}
.product-mockup-risk-badge,
.product-mockup-rec-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.product-mockup-risk-badge {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.product-mockup-rec-badge {
    color: var(--primary-light);
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid rgba(66, 153, 225, 0.2);
}
.product-mockup-status-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 16px;
    background: var(--border-muted);
}
.product-mockup-status-item {
    background: var(--bg-primary);
    padding: 8px 10px;
    text-align: center;
}
.product-mockup-status-item-label {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}
.product-mockup-status-item-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e6edf3;
    font-family: 'JetBrains Mono', monospace;
}
.product-mockup-status-item-value.pass { color: #10b981; }
.product-mockup-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin-bottom: 16px;
}
.product-mockup-field {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-muted);
}
.product-mockup-field-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.product-mockup-field-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.product-mockup-compliance {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.product-mockup-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}
.product-mockup-check-box {
    width: 14px;
    height: 14px;
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    flex-shrink: 0;
}
.product-mockup-check-box.checked {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}
.product-mockup-check-box.unchecked {
    background: rgba(229, 83, 75, 0.1);
    border-color: #e5534b;
    color: #e5534b;
}

@media (max-width: 1024px) {
    .product-mockup-status-bar { grid-template-columns: repeat(2, 1fr); }
    .product-mockup-fields { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   CONDENSED PRODUCT CARDS
   ═══════════════════════════════════════ */
.products-condensed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.product-card-condensed {
    background: var(--bg-card);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(66, 153, 225, 0.15), rgba(139, 92, 246, 0.15), rgba(192, 132, 252, 0.15)) 1;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.product-card-condensed:hover {
    transform: translateY(-4px);
    border-image: linear-gradient(135deg, #4299E1, #8B5CF6, #C084FC) 1;
    box-shadow: var(--shadow-md), var(--glow-primary);
}
.product-card-condensed .product-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--icon-gradient-start), var(--icon-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.product-card-condensed .product-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.product-card-condensed h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.product-card-condensed .product-tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}
.product-card-condensed.product-coming-soon {
    opacity: 0.5;
}
.section-header .see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 0.75rem;
    transition: all 0.3s ease;
}
.section-header .see-all-link:hover {
    color: #fff;
    gap: 0.6rem;
}

@media (max-width: 1024px) {
    .products-condensed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .products-condensed-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

/* ═══════════════════════════════════════
   ACCESSIBILITY — Focus-Visible Outlines
   ═══════════════════════════════════════ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4299E1;
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid #4299E1;
    outline-offset: 2px;
}

.faq-question:focus-visible {
    outline: 2px solid #4299E1;
    outline-offset: 2px;
}

.nav-links a:focus-visible {
    outline: 2px solid #4299E1;
    outline-offset: 2px;
}
