/* ============================================
   TrustSpace LP v2 – Kertos-inspired + CodePen FX
   ============================================ */

/* --- @property defs for glass button --- */
@property --angle-1 {
    syntax: "<angle>";
    inherits: false;
    initial-value: -75deg;
}
@property --angle-2 {
    syntax: "<angle>";
    inherits: false;
    initial-value: -45deg;
}

/* --- CSS Variables --- */
:root {
    --primary: #0055FF;
    --primary-light: #3377FF;
    --primary-dark: #0044CC;
    --secondary: #00C2FF;
    --accent: #6366F1;
    --dark: #0A0E1A;
    --dark-card: #111827;
    --dark-surface: #1F2937;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #FBBF24;
    --error: #EF4444;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --electric-color: #66CCFF;
    --electric-glow: rgba(102, 204, 255, 0.8);
    --electric-white: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(0,85,255,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --nav-height: 72px;
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Utilities --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 16px;
}
.section-title-left {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   BUTTONS – Standard + Glass
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}
.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 85, 255, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 85, 255, 0.45);
}
.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-nav { padding: 10px 20px; font-size: 0.875rem; }

/* --- Glass Button (from CodePen Petr-Knoll – full implementation) --- */
.btn-glass-wrap {
    --anim--hover-time: 400ms;
    --anim--hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 2;
    border-radius: 999vw;
    background: transparent;
    pointer-events: none;
    display: inline-flex;
    transition: all var(--anim--hover-time) var(--anim--hover-ease);
}
.btn-glass-shadow {
    --shadow-cuttoff-fix: 2em;
    position: absolute;
    width: calc(100% + var(--shadow-cuttoff-fix));
    height: calc(100% + var(--shadow-cuttoff-fix));
    top: calc(0% - var(--shadow-cuttoff-fix) / 2);
    left: calc(0% - var(--shadow-cuttoff-fix) / 2);
    filter: blur(clamp(2px, 0.125em, 12px));
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}
.btn-glass-shadow::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: 999vw;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
    width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
    height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
    top: calc(var(--shadow-cuttoff-fix) - 0.5em);
    left: calc(var(--shadow-cuttoff-fix) - 0.875em);
    padding: 0.125em;
    box-sizing: border-box;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    transition: all var(--anim--hover-time) var(--anim--hover-ease);
    overflow: visible;
    opacity: 1;
}
.btn-glass {
    --border-width: clamp(1px, 0.0625em, 4px);
    all: unset;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    pointer-events: auto;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: -0.02em;
    color: rgba(50,50,50,1);
    padding: 0.875em 1.5em;
    border-radius: 999vw;
    background: linear-gradient(-75deg, rgba(255,255,255,0.05), rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    box-shadow:
        inset 0 0.125em 0.125em rgba(0,0,0,0.05),
        inset 0 -0.125em 0.125em rgba(255,255,255,0.5),
        0 0.25em 0.125em -0.125em rgba(0,0,0,0.2),
        0 0 0.1em 0.25em inset rgba(255,255,255,0.2),
        0 0 0 0 rgba(255,255,255,1);
    backdrop-filter: blur(clamp(1px, 0.125em, 4px));
    -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
    transition: all var(--anim--hover-time, 400ms) var(--anim--hover-ease, cubic-bezier(0.25,1,0.5,1));
    text-shadow: 0em 0.25em 0.05em rgba(0,0,0,0.1);
    -webkit-font-smoothing: antialiased;
}
.btn-glass:hover {
    transform: scale(0.975);
    backdrop-filter: blur(0.01em);
    -webkit-backdrop-filter: blur(0.01em);
    box-shadow:
        inset 0 0.125em 0.125em rgba(0,0,0,0.05),
        inset 0 -0.125em 0.125em rgba(255,255,255,0.5),
        0 0.15em 0.05em -0.1em rgba(0,0,0,0.25),
        0 0 0.05em 0.1em inset rgba(255,255,255,0.5),
        0 0 0 0 rgba(255,255,255,1);
}
.btn-glass:hover {
    text-shadow: 0.025em 0.025em 0.025em rgba(0,0,0,0.12);
}
/* Glossy highlight sweep */
.btn-glass::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 3;
    width: calc(100% - var(--border-width));
    height: calc(100% - var(--border-width));
    top: calc(0% + var(--border-width) / 2);
    left: calc(0% + var(--border-width) / 2);
    box-sizing: border-box;
    border-radius: 999vw;
    overflow: clip;
    background: linear-gradient(
        var(--angle-2),
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 40% 50%,
        rgba(255,255,255,0) 55%
    );
    mix-blend-mode: screen;
    pointer-events: none;
    background-size: 200% 200%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    transition: background-position calc(var(--anim--hover-time, 400ms) * 1.25) var(--anim--hover-ease, cubic-bezier(0.25,1,0.5,1)),
                --angle-2 calc(var(--anim--hover-time, 400ms) * 1.25) var(--anim--hover-ease, cubic-bezier(0.25,1,0.5,1));
}
.btn-glass:hover::before {
    background-position: 25% 50%;
}
.btn-glass:active::before {
    background-position: 50% 15%;
    --angle-2: -15deg;
}
/* Conic gradient outline */
.btn-glass::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: 999vw;
    width: calc(100% + var(--border-width));
    height: calc(100% + var(--border-width));
    top: calc(0% - var(--border-width) / 2);
    left: calc(0% - var(--border-width) / 2);
    padding: var(--border-width);
    box-sizing: border-box;
    background:
        conic-gradient(from var(--angle-1) at 50% 50%, rgba(0,0,0,0.5), rgba(0,0,0,0) 5% 40%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 60% 95%, rgba(0,0,0,0.5)),
        linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.5));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    transition: all var(--anim--hover-time, 400ms) var(--anim--hover-ease, cubic-bezier(0.25,1,0.5,1)),
                --angle-1 500ms ease;
    box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255,255,255,0.5);
    pointer-events: none;
}
.btn-glass:hover::after {
    --angle-1: -125deg;
}
.btn-glass:active::after {
    --angle-1: -75deg;
}
/* Active 3D press effect */
.btn-glass:active {
    transform: scale(0.975);
}
.btn-glass-wrap:has(.btn-glass:active) {
    transform: rotate3d(1, 0, 0, 25deg);
}
.btn-glass-wrap:has(.btn-glass:active) .btn-glass {
    box-shadow:
        inset 0 0.125em 0.125em rgba(0,0,0,0.05),
        inset 0 -0.125em 0.125em rgba(255,255,255,0.5),
        0 0.125em 0.125em -0.125em rgba(0,0,0,0.2),
        0 0 0.1em 0.25em inset rgba(255,255,255,0.2),
        0 0.225em 0.05em 0 rgba(0,0,0,0.05),
        0 0.25em 0 0 rgba(255,255,255,0.75),
        inset 0 0.25em 0.05em 0 rgba(0,0,0,0.15);
}
/* Shadow hover states */
.btn-glass-wrap:has(.btn-glass:hover) .btn-glass-shadow {
    filter: blur(clamp(2px, 0.0625em, 6px));
}
.btn-glass-wrap:has(.btn-glass:hover) .btn-glass-shadow::after {
    top: calc(var(--shadow-cuttoff-fix) - 0.875em);
    opacity: 1;
}
.btn-glass-wrap:has(.btn-glass:active) .btn-glass-shadow {
    filter: blur(clamp(2px, 0.125em, 12px));
}
.btn-glass-wrap:has(.btn-glass:active) .btn-glass-shadow::after {
    top: calc(var(--shadow-cuttoff-fix) - 0.5em);
    opacity: 0.75;
}
.btn-glass-wrap:has(.btn-glass:active) .btn-glass {
    text-shadow: 0.025em 0.25em 0.05em rgba(0,0,0,0.12);
}

/* ============================
   NAVIGATION
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition);
    background: rgba(255,255,255,0);
}
.nav.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon { width: 32px; height: 32px; }
.nav-logo-img { height: 32px; width: auto; }
.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    transition: color var(--transition);
}
.nav.scrolled .nav-logo-text { color: var(--gray-900); }
.nav-logo-tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    font-weight: 600;
    color: #088df1;
    margin-left: 2px;
    white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav.scrolled .nav-links a { color: var(--gray-500); }
.nav.scrolled .nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: 28px; }
.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: color var(--transition);
}
.nav-phone:hover { color: var(--primary); }
.nav.scrolled .nav-phone { color: var(--gray-500); }
.nav.scrolled .nav-phone:hover { color: var(--primary); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--gray-900); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: var(--white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--gray-700); padding: 10px 0; }
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile.open { display: flex; }
.nav-mobile-phone { font-size: 0.9375rem; color: var(--gray-500) !important; }

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: var(--white);
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 0;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--gray-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 100%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; left: 50%;
    transform: translateX(-50%);
    animation: glow-pulse 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: var(--secondary);
    bottom: -100px; right: -100px;
    animation: glow-pulse 6s ease-in-out infinite reverse;
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.08; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.15; transform: translateX(-50%) scale(1.1); }
}
.hero-particle {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(0,85,255,0.15);
    border-radius: 50%;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding-bottom: 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,85,255,0.06);
    border: 1px solid rgba(0,85,255,0.12);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 32px;
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-ctas .btn-ghost {
    color: var(--gray-600);
    border-color: var(--gray-200);
}
.hero-ctas .btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 24px 40px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 700;
    color: var(--gray-900);
}
.hero-stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700;
    color: var(--primary);
}
.hero-stat-label { display: block; font-size: 0.8125rem; color: var(--gray-400); margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--gray-200); }

/* Hero Mockup */
.hero-mockup {
    position: relative; z-index: 2;
    width: 100%; max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    transform: translateY(40px);
}
.mockup-window {
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(0,85,255,0.15);
    overflow: hidden;
}
.mockup-toolbar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA42; }
.mockup-url {
    font-size: 0.75rem; color: var(--gray-400);
    background: var(--white); padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}
.mockup-content { display: flex; min-height: 280px; }
.mockup-sidebar {
    width: 180px; padding: 16px 12px;
    border-right: 1px solid var(--gray-100);
    display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.mockup-sidebar-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px; border-radius: var(--radius-sm);
    font-size: 0.75rem; font-weight: 500; color: var(--gray-500);
}
.mockup-sidebar-item.active { background: rgba(0,85,255,0.08); color: var(--primary); }
.mockup-main { flex: 1; padding: 20px; }
.mockup-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mockup-greeting { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); }
.mockup-badge-green { font-size: 0.6875rem; font-weight: 600; color: var(--success); background: rgba(16,185,129,0.1); padding: 4px 10px; border-radius: var(--radius-full); }
.mockup-progress-section { margin-bottom: 20px; }
.mockup-progress-bar { height: 8px; background: var(--gray-100); border-radius: var(--radius-full); overflow: hidden; margin-bottom: 6px; }
.mockup-progress-fill { height: 100%; background: var(--gradient); border-radius: var(--radius-full); animation: progress-grow 2s ease-out forwards; width: 0; }
@keyframes progress-grow { to { width: 78%; } }
.mockup-progress-label { font-size: 0.6875rem; color: var(--gray-400); }
.mockup-cards-row { display: flex; gap: 10px; }
.mockup-mini-card { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px; background: var(--gray-50); border-radius: var(--radius-sm); border: 1px solid var(--gray-100); }
.mockup-mini-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; flex-shrink: 0; }
.mockup-mini-icon.done { background: rgba(16,185,129,0.1); color: var(--success); }
.mockup-mini-icon.progress { background: rgba(0,85,255,0.1); color: var(--primary); font-size: 8px; }
.mockup-mini-icon.pending { background: var(--gray-100); color: var(--gray-400); }
.mockup-mini-text span { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--gray-700); }
.mockup-mini-text small { font-size: 0.625rem; color: var(--gray-400); }

/* ============================
   LOGO SECTION – infinite scroll
   ============================ */
.logo-section { padding: 60px 0 40px; background: var(--gray-50); }
.logo-label { text-align: center; font-size: 0.8125rem; font-weight: 500; color: var(--gray-400); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 28px; }
.logo-scroll-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logo-scroll-track { display: flex; gap: 72px; animation: logo-scroll 35s linear infinite; width: max-content; }
.logo-scroll-item { display: flex; align-items: center; justify-content: center; white-space: nowrap; padding: 8px 0; }
.logo-scroll-item img { height: 28px; width: auto; filter: grayscale(1); opacity: 0.4; transition: all var(--transition); }
.logo-scroll-item img:hover { filter: grayscale(0); opacity: 0.8; }
@keyframes logo-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================
   BENEFITS – Cards with beam FX
   ============================ */
.benefits-section { padding: 100px 0; background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.benefit-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,85,255,0.04), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}
.benefit-card:hover::before { left: 150%; }
.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.benefit-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    background: rgba(0,85,255,0.06);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all var(--transition);
}
.benefit-card:hover .benefit-icon { background: var(--gradient); color: var(--white); }
.benefit-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.benefit-card p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.6; }

/* ============================
   STATS – Dark section
   ============================ */
.stats-section {
    padding: 80px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,85,255,0.06), transparent 70%);
    pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat-card {
    text-align: center; padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.stat-card:hover { background: var(--white); border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-icon {
    width: 48px; height: 48px; margin: 0 auto 16px;
    border-radius: var(--radius);
    background: rgba(0,85,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gray-900); line-height: 1; display: inline; }
.stat-suffix { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); display: inline; }
.stat-label { font-size: 0.875rem; color: var(--gray-500); margin-top: 8px; }

/* ============================
   PROCESS / TIMELINE
   ============================ */
.process-section { padding: 100px 0; background: var(--gray-50); }
.process-timeline { position: relative; max-width: 700px; margin: 48px auto 0; }
.process-line { position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--secondary)); opacity: 0.2; }
.process-step { position: relative; padding-left: 80px; padding-bottom: 48px; }
.process-step:last-child { padding-bottom: 0; }
.process-step-number {
    position: absolute; left: 0; top: 0;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.125rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,85,255,0.3);
    z-index: 2;
}
.process-step-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.process-step-content:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.process-step-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--primary); background: rgba(0,85,255,0.08); padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 12px; }
.process-step-content h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.process-step-content p { font-size: 0.9375rem; color: var(--gray-500); margin-bottom: 16px; }
.process-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.process-checklist li { font-size: 0.875rem; color: var(--gray-600); display: flex; align-items: center; gap: 8px; }
.process-checklist li::before { content: '\2713'; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(16,185,129,0.1); color: var(--success); font-size: 0.6875rem; flex-shrink: 0; }
.process-cta { text-align: center; margin-top: 48px; }

/* ============================
   PRODUCT SECTION (Dark)
   ============================ */
.product-section { padding: 100px 0; background: var(--white); position: relative; overflow: hidden; }
.product-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.product-text .section-label { color: var(--primary); }
.product-text .section-title-left { color: var(--gray-900); }
.product-text p { color: var(--gray-500); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.product-features { display: flex; flex-direction: column; gap: 14px; }
.product-feature { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; font-weight: 500; color: var(--gray-700); }
.mockup-window-dark {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}
.mockup-window-dark .mockup-toolbar { background: var(--gray-50); border-color: var(--gray-200); }
.mockup-window-dark .mockup-url { background: var(--white); border-color: var(--gray-200); color: var(--gray-400); }
.mockup-dashboard { padding: 20px; display: block; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-card { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-sm); padding: 14px; }
.dash-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; color: var(--gray-700); }
.dash-badge-ok { background: rgba(16,185,129,0.1); color: var(--success); font-size: 0.6875rem; padding: 2px 8px; border-radius: var(--radius-full); }
.dash-badge-wip { background: rgba(0,85,255,0.08); color: var(--primary); font-size: 0.6875rem; padding: 2px 8px; border-radius: var(--radius-full); }
.dash-progress-bar { height: 4px; background: var(--gray-100); border-radius: var(--radius-full); margin-bottom: 12px; overflow: hidden; }
.dash-progress-fill { height: 100%; background: var(--gradient); border-radius: var(--radius-full); }
.dash-bar-row { display: flex; gap: 4px; align-items: flex-end; height: 40px; }
.dash-bar { flex: 1; background: rgba(0,85,255,0.12); border-radius: 2px 2px 0 0; }
.dash-list { display: flex; flex-direction: column; gap: 6px; }
.dash-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-sm); font-size: 0.75rem; color: var(--gray-600); }
.dash-check { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.625rem; flex-shrink: 0; }
.dash-check.done { background: rgba(16,185,129,0.1); color: var(--success); }
.dash-check.wip { background: rgba(0,85,255,0.08); color: var(--primary); font-size: 0.5rem; }
.dash-list-item span:nth-child(2) { flex: 1; }
.dash-tag-done { font-size: 0.625rem; font-weight: 600; background: rgba(16,185,129,0.1); color: var(--success); padding: 2px 8px; border-radius: var(--radius-full); }
.dash-tag-wip { font-size: 0.625rem; font-weight: 600; background: rgba(0,194,255,0.1); color: var(--secondary); padding: 2px 8px; border-radius: var(--radius-full); }

/* ============================
   ELECTRIC BORDER CARD SECTION
   ============================ */
.electric-section {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}
.electric-section .section-label { color: var(--primary); }
.electric-section .section-title { color: var(--gray-900); }
.electric-section .section-desc { color: var(--gray-500); }
.electric-svg { position: absolute; width: 0; height: 0; }
.electric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.electric-card-wrap {
    position: relative;
    padding: 2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(-30deg, rgba(102,204,255,0.12), transparent, rgba(150,220,255,0.12)),
                linear-gradient(to bottom, var(--white), var(--white));
}
.electric-card-inner { position: relative; }
.electric-card-border-outer {
    border: 2px solid rgba(102,204,255,0.3);
    border-radius: var(--radius-xl);
    padding-right: 3px;
    padding-bottom: 3px;
}
.electric-card-border {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--electric-color);
    margin-top: -3px;
    margin-left: -3px;
    filter: url(#turbulent-displace);
    box-shadow: 0 0 4px var(--electric-color), 0 0 8px rgba(102,204,255,0.25);
}
.electric-card-glow-1 {
    border: 1.5px solid rgba(180,235,255,0.5);
    border-radius: var(--radius-xl);
    width: 100%; height: 100%;
    position: absolute; top: 0; left: 0;
    filter: blur(1.5px);
    pointer-events: none;
    animation: electricFlicker 4s ease-in-out infinite alternate;
}
.electric-card-glow-2 {
    border: 2px solid rgba(140,220,255,0.5);
    border-radius: var(--radius-xl);
    width: 100%; height: 100%;
    position: absolute; top: 0; left: 0;
    filter: blur(4px);
    pointer-events: none;
    opacity: 0.6;
    animation: electricFlicker 3.5s ease-in-out 0.5s infinite alternate;
}
.electric-card-inner::before {
    content: '';
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-xl);
    width: 100%; height: 100%;
    position: absolute; top: 0; left: 0;
    filter: blur(0.5px);
    pointer-events: none;
    z-index: 1;
    animation: electricFlicker 3s ease-in-out 1s infinite alternate;
    mix-blend-mode: screen;
}
.electric-card-overlay-1 {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    border-radius: var(--radius-xl);
    opacity: 0.6;
    mix-blend-mode: overlay;
    transform: scale(1.02);
    filter: blur(6px);
    background: linear-gradient(-30deg, white, transparent 30%, transparent 70%, white);
    pointer-events: none;
}
.electric-card-overlay-2 {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    border-radius: var(--radius-xl);
    opacity: 0.3;
    mix-blend-mode: overlay;
    transform: scale(1.02);
    filter: blur(6px);
    background: linear-gradient(-30deg, white, transparent 30%, transparent 70%, white);
    pointer-events: none;
}
.electric-card-bg-glow {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    border-radius: var(--radius-xl);
    filter: blur(10px);
    transform: scale(1.03);
    opacity: 0.2;
    z-index: -1;
    background: linear-gradient(-30deg, var(--electric-color), transparent, rgba(102,204,255,0.4));
    pointer-events: none;
    animation: electricPulse 5s ease-in-out infinite;
}
.electric-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 40px;
    z-index: 5;
}
.electric-card-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: rgba(0,85,255,0.06);
    border-radius: var(--radius);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(0,85,255,0.1);
    backdrop-filter: blur(8px);
}
.electric-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: auto;
}
.electric-card-divider {
    border: none;
    height: 1px;
    background: currentColor;
    opacity: 0.1;
    margin: 16px 0;
    mask-image: linear-gradient(to right, transparent, black, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black, transparent);
}
.electric-card-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Electric animations */
@keyframes electricFlicker {
    0% { opacity: 0.5; }
    10% { opacity: 0.8; }
    20% { opacity: 0.4; }
    30% { opacity: 0.9; }
    50% { opacity: 0.6; }
    70% { opacity: 1; }
    80% { opacity: 0.5; }
    90% { opacity: 0.85; }
    100% { opacity: 0.7; }
}

@keyframes electricPulse {
    0%, 100% { opacity: 0.3; transform: scale(1.1); }
    50% { opacity: 0.45; transform: scale(1.2); }
}

/* ============================
   BEAM CARDS SECTION
   ============================ */
.beam-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.beam-section .section-label { color: var(--primary); }
.beam-section .section-title { color: var(--gray-900); }
.beam-section .section-desc { color: var(--gray-500); }
.beam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.beam-card {
    position: relative;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    overflow: hidden;
    transition: all var(--transition);
}
.beam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,85,255,0.06), rgba(0,194,255,0.04), transparent);
    animation: beam-scan 4s ease-in-out infinite;
    pointer-events: none;
}
.beam-card:nth-child(2)::before { animation-delay: 1.3s; }
.beam-card:nth-child(3)::before { animation-delay: 2.6s; }
@keyframes beam-scan {
    0% { left: -30%; }
    100% { left: 130%; }
}
.beam-card:hover {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.beam-card-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius);
    background: rgba(0,85,255,0.06);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}
.beam-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.beam-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section { padding: 100px 0; background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    display: flex; flex-direction: column;
}
.testimonial-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 20px; }
.testimonial-quote { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; font-style: normal; flex: 1; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; flex-shrink: 0; }
.testimonial-info strong { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); }
.testimonial-info span { font-size: 0.8125rem; color: var(--gray-400); }
.testimonial-logo { height: 24px; width: auto; margin-left: auto; opacity: 0.5; filter: grayscale(1); transition: all var(--transition); flex-shrink: 0; }
.testimonial-card:hover .testimonial-logo { opacity: 0.8; filter: grayscale(0); }

/* ============================
   CONTACT FORM
   ============================ */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info p { font-size: 1.0625rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 28px; }
.contact-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-benefit { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; font-weight: 500; color: var(--gray-700); }
.contact-trust { display: flex; gap: 24px; }
.contact-trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--gray-400); }
.contact-form-wrapper {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--gray-700); }
.form-group input,
.form-group select {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9375rem; color: var(--gray-900);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,85,255,0.1); }
.form-group input::placeholder { color: var(--gray-300); }
.form-group input.error,
.form-group select.error { border-color: var(--error); }
.form-error { font-size: 0.8125rem; color: var(--error); min-height: 0; }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-checkbox-group { padding-top: 4px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.8125rem; color: var(--gray-500); line-height: 1.5; }
.form-checkbox input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkmark { width: 20px; height: 20px; border: 1.5px solid var(--gray-300); border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all var(--transition); margin-top: 1px; }
.form-checkbox input:checked + .checkmark { background: var(--primary); border-color: var(--primary); }
.form-checkbox input:checked + .checkmark::after { content: '\2713'; color: var(--white); font-size: 0.75rem; }
.checkbox-label a { color: var(--primary); text-decoration: underline; }
.btn-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; margin-top: 4px; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.form-overlay { position: absolute; inset: 0; background: var(--white); border-radius: var(--radius-xl); display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; z-index: 10; }
.form-overlay.active { display: flex; }
.form-overlay-icon { margin-bottom: 20px; }
.form-overlay h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.form-overlay p { font-size: 1rem; color: var(--gray-500); margin-bottom: 20px; }

/* ============================
   FAQ
   ============================ */
.faq-section { padding: 100px 0; background: var(--white); }
.faq-list { max-width: 700px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 600;
    color: var(--gray-900);
    cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 300; color: var(--gray-400); flex-shrink: 0; transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; }

/* ============================
   FINAL CTA
   ============================ */
.final-cta {
    padding: 100px 0;
    background: var(--gray-50);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,85,255,0.06), transparent 70%);
    pointer-events: none;
}
.final-cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--gray-900); line-height: 1.15; margin-bottom: 16px; position: relative; }
.final-cta-desc { font-size: 1.125rem; color: var(--gray-500); margin-bottom: 40px; position: relative; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.final-cta-actions .btn-ghost { color: var(--gray-600); border-color: var(--gray-200); }
.final-cta-actions .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ============================
   STICKY CTA
   ============================ */
.sticky-cta {
    position: fixed;
    bottom: 24px; right: 24px;
    display: flex; align-items: center; gap: 8px;
    background: var(--gradient);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600; font-size: 0.875rem;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(0,85,255,0.4);
    z-index: 900;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition);
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; }
.sticky-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,85,255,0.5); }

/* ============================
   FOOTER
   ============================ */
.footer { padding: 48px 0 24px; background: var(--white); border-top: 1px solid var(--gray-200); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); margin-bottom: 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo span { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--gray-900); }
.footer-logo-img { height: 28px; width: auto; }
.footer-brand p { font-size: 0.875rem; color: var(--gray-400); max-width: 300px; line-height: 1.6; }
.footer-address { margin-top: 8px; font-size: 0.8125rem !important; color: var(--gray-400) !important; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: var(--gray-400); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.8125rem; color: var(--gray-300); }

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .benefits-grid, .electric-grid, .beam-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }  /* already 2-col */
    .product-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-mockup { max-width: 700px; }
    .mockup-sidebar { width: 150px; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding-top: calc(var(--nav-height) + 20px); }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-stats { flex-direction: column; gap: 20px; padding: 20px; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .hero-mockup { display: none; }
    .benefits-grid, .electric-grid, .beam-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px; }
    .process-step { padding-left: 60px; }
    .process-step-number { width: 44px; height: 44px; font-size: 0.875rem; }
    .process-line { left: 21px; }
    .section-title { font-size: clamp(1.5rem, 5vw, 2.25rem); }
    .logo-section { padding: 40px 0 20px; }
    .benefits-section, .stats-section, .process-section, .product-section,
    .testimonials-section, .contact-section, .faq-section, .final-cta,
    .electric-section, .beam-section { padding: 60px 0; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-card:last-child { display: none; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-number { font-size: 2rem; }
    .final-cta-actions { flex-direction: column; align-items: center; }
    .final-cta-actions .btn { width: 100%; justify-content: center; }
    .sticky-cta { right: 16px; bottom: 16px; font-size: 0.8125rem; padding: 12px 20px; }
}

/* ============================
   TEAM SECTION - Credit Card Style
   ============================ */
.team-section {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.team-card {
    perspective: 800px;
}
.team-card-inner {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 4px 24px -4px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.team-card-inner:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px -12px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 85, 255, 0.1),
        0 0 30px rgba(0, 85, 255, 0.04);
}

/* Photo area */
.team-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}
.team-card-inner:hover .team-card-img {
    transform: scale(1.03);
}

/* Credit card chip */
.team-card-chip {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 26px;
    background: linear-gradient(135deg, #d4af37, #f4e27c, #d4af37);
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 3;
}
.team-card-chip::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    background: linear-gradient(135deg, #c9a033, #e8d06e, #c9a033);
    border-radius: 3px;
}
.team-card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    transform: translateY(-50%);
}

/* Text area below photo */
.team-card-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.team-card-role {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.team-card-tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: #088df1;
    line-height: 1.2;
}

/* Holographic shine effect on photo area */
.team-card-hologram {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(0, 85, 255, 0.05) 35%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(0, 85, 255, 0.05) 45%,
        transparent 60%
    );
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.team-card-inner:hover .team-card-hologram {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .team-card-tagline { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
    .team-section { padding: 60px 0; }
}

/* ============================
   GLASS DEVICE CHAT (Hero)
   ============================ */
.hero-below-phone {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 40px;
}
.hero-glass-chat {
    margin-top: 32px;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.glass-device {
    position: relative;
    width: 340px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 32px 80px -16px rgba(0, 0, 0, 0.25),
        0 0 0 0.5px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 80px rgba(0, 85, 255, 0.08);
    animation: glassFloat 6s ease-in-out infinite;
}

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

.glass-device-island {
    width: 96px;
    height: 28px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 20px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.glass-device-camera {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a3e, #0a0a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-device-screen {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 580px;
}

.glass-device-home {
    width: 120px;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: 8px auto 4px;
}

/* Glass Chat Header */
.glass-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.glass-chat-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.glass-chat-avatar img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.glass-chat-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid var(--white);
}
.glass-chat-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--gray-900);
}
.glass-chat-online {
    font-size: 0.75rem;
    color: var(--success);
}

/* Glass Chat Messages */
.glass-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}
.glass-chat-messages::-webkit-scrollbar { width: 4px; }
.glass-chat-messages::-webkit-scrollbar-track { background: transparent; }
.glass-chat-messages::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); border-radius: 4px; }

/* Glass Chat Typing */
.glass-chat-typing {
    padding: 0 16px 4px;
    display: none;
}
.glass-chat-typing.active { display: block; }

/* Glass Chat Input */
.glass-chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.5);
}
.glass-chat-input input {
    flex: 1;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.glass-chat-input input::placeholder { color: var(--gray-400); }
.glass-chat-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}
.glass-chat-input button {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), opacity var(--transition);
}
.glass-chat-input button:hover { transform: scale(1.08); }
.glass-chat-input button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Welcome message notification animation */
@keyframes msgSlideIn {
    0% { opacity: 0; transform: translateX(-20px) scale(0.95); }
    60% { transform: translateX(4px) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}
.glass-chat-messages .chat-msg.msg-animate {
    animation: msgSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Mobile */
@media (max-width: 480px) {
    .glass-device {
        width: 100%;
        max-width: 340px;
        border-radius: 36px;
        padding: 8px;
    }
    .glass-device-screen {
        border-radius: 28px;
        height: 380px;
    }
}

/* ============================
   AI CHAT WIDGET
   ============================ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    font-family: var(--font-body);
}

/* Toggle Button */
.chat-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 85, 255, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}
.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 85, 255, 0.55);
}
.chat-toggle-icon { transition: opacity 0.2s, transform 0.3s; }
.chat-icon-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.chat-widget.open .chat-icon-open { opacity: 0; transform: rotate(90deg); }
.chat-widget.open .chat-icon-close { opacity: 1; transform: rotate(0); }

.chat-toggle-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: chatPulse 3s ease-out infinite;
}
.chat-widget.open .chat-toggle-pulse { animation: none; opacity: 0; }

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Panel */
.chat-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 85, 255, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-widget.open .chat-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.06) 0%, rgba(0, 194, 255, 0.04) 100%);
    border-bottom: 1px solid rgba(0, 85, 255, 0.08);
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.chat-avatar-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.chat-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid var(--white);
}
.chat-header-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--gray-900);
}
.chat-header-sub {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 1px;
}
.chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.chat-close:hover { background: rgba(0, 0, 0, 0.06); color: var(--gray-700); }

/* Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    max-height: 340px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.chat-msg { display: flex; }
.chat-msg-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-800);
    word-break: break-word;
}
.chat-msg-assistant .chat-msg-bubble {
    background: rgba(0, 85, 255, 0.06);
    border: 1px solid rgba(0, 85, 255, 0.08);
    border-bottom-left-radius: 4px;
}
.chat-msg-user {
    justify-content: flex-end;
}
.chat-msg-user .chat-msg-bubble {
    background: var(--gradient);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat-typing {
    padding: 0 20px 4px;
    display: none;
}
.chat-typing.active { display: block; }
.chat-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px !important;
}
.chat-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: chatTypingBounce 1.4s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Input area */
.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 85, 255, 0.08);
    background: rgba(255, 255, 255, 0.6);
}
.chat-input {
    flex: 1;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.chat-input::placeholder { color: var(--gray-400); }
.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}
.chat-send {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), opacity var(--transition);
}
.chat-send:hover { transform: scale(1.08); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* [FEATURE-FLEX: contact-tabs-inline-chat]
/* ============================
   CONTACT TABS + INLINE CHAT
   ============================ */
/*
.contact-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.contact-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--gray-500);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition);
}
.contact-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.contact-tab:hover:not(.active) { color: var(--gray-700); }

.contact-tab-panel { display: none; }
.contact-tab-panel.active { display: block; }

.inline-chat {
    display: flex;
    flex-direction: column;
    height: 420px;
}
.inline-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0 4px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}
.inline-chat-messages::-webkit-scrollbar { width: 4px; }
.inline-chat-messages::-webkit-scrollbar-track { background: transparent; }
.inline-chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.inline-chat .chat-input-area {
    border-top: 1px solid var(--gray-200);
    padding: 12px 0 0;
    background: transparent;
}
.inline-chat .chat-typing { padding: 0 4px 4px; }

.inline-chat-lead-captured {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-top: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--success);
    font-weight: 500;
}
.inline-chat-lead-captured[hidden] { display: none; }
[/FEATURE-FLEX] */

/* Hide sticky CTA when chat is open */
.chat-widget.open ~ .sticky-cta,
.sticky-cta.chat-hidden { opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 480px) {
    .chat-widget { bottom: 16px; right: 16px; }
    .chat-panel {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 120px);
        right: 0;
        bottom: 68px;
    }
    .chat-toggle { width: 52px; height: 52px; }
}

@media (max-width: 768px) {
    .chat-panel { width: calc(100vw - 48px); }
}

/* ============================
   CARD BEAM / SCANNER SECTION
   (Evervault-inspired)
   ============================ */
.card-beam-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--bg);
    z-index: 1;
}

.card-beam-section .cb-section-header {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.card-beam-section .cb-section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 1;
}

.cb-three-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.cb-card-stream {
    display: flex;
    gap: 40px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    cursor: grab;
    z-index: 2;
    padding: 0 100px;
    will-change: transform;
}

.cb-card-stream.grabbing {
    cursor: grabbing;
}

.cb-card {
    position: relative;
    flex-shrink: 0;
    width: 400px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
}

.cb-card-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.cb-card-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cb-ascii-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0 0 0 100%);
}

.cb-ascii-overlay pre {
    font-family: "Roboto Mono", monospace;
    font-size: 3px;
    line-height: 3.5px;
    letter-spacing: 1px;
    color: rgba(0, 85, 255, 0.55);
    white-space: pre;
    overflow: hidden;
    padding: 10px;
}

/* Quote Card (credit-card style) */
.cb-quote-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cb-quote-chip {
    width: 44px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #d4a853 0%, #f0d48a 40%, #c9973e 70%, #e8c86a 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    flex-shrink: 0;
}

.cb-quote-chip::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(180, 140, 60, 0.35);
    border-radius: 3px;
}

.cb-quote-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--gray-900);
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.cb-quote-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-shrink: 0;
}

.cb-quote-tagline {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.85;
}

.cb-quote-brand {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gray-400);
}

/* Responsive quote card */
@media (max-width: 768px) {
    .cb-quote-card {
        padding: 20px 24px;
    }
    .cb-quote-chip {
        width: 36px;
        height: 26px;
    }
    .cb-quote-text {
        font-size: 1.05rem;
    }
    .cb-quote-tagline {
        font-size: 0.95rem;
    }
    .cb-quote-brand {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cb-quote-card {
        padding: 16px 18px;
    }
    .cb-quote-chip {
        width: 30px;
        height: 22px;
    }
    .cb-quote-text {
        font-size: 0.9rem;
    }
}

.cb-scanner-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.cb-scanner-canvas {
    width: 100%;
    height: 100%;
}

/* Card beam responsive */
@media (max-width: 768px) {
    .card-beam-section {
        height: 60vh;
        min-height: 400px;
    }
    .cb-card {
        width: 300px;
        height: 190px;
    }
    .cb-card-stream {
        gap: 24px;
        padding: 0 40px;
    }
    .card-beam-section .cb-section-header {
        top: 32px;
    }
}

@media (max-width: 480px) {
    .card-beam-section {
        height: 50vh;
        min-height: 340px;
    }
    .cb-card {
        width: 260px;
        height: 160px;
    }
    .cb-card-stream {
        gap: 16px;
        padding: 0 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .fade-in { opacity: 1; transform: none; }
    .logo-scroll-track { }
    .hero-particle { animation: none; }
}

/* Print */
@media print {
    .nav, .sticky-cta, .chat-widget, .final-cta, .contact-section, .electric-section, .beam-section, .card-beam-section { display: none; }
    .hero { background: white; color: black; min-height: auto; padding: 40px 0; }
    .hero-title, .hero-subtitle, .hero-stat-number { color: black !important; }
    .fade-in { opacity: 1; transform: none; }
}
