/* ========================================
   Make Safety Easy - Premium Marketing Styles
   Linear.app / Vercel / Stripe-tier polish
   ======================================== */

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

:root {
    --blue: #3B82F6;
    --blue-dark: #2563EB;
    --blue-light: #60A5FA;
    --blue-glow: rgba(59, 130, 246, 0.4);
    --navy: #060a13;
    --navy-light: #0d1117;
    --navy-mid: #161b26;
    --navy-card: rgba(13, 17, 23, 0.8);
    --amber: #F59E0B;
    --amber-dark: #D97706;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --green: #22c55e;
    --cyan: #06b6d4;
    --purple: #8b5cf6;
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 6px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--gray-300);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Gradient text --- */
.text-gradient {
    background: linear-gradient(135deg, var(--blue-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-hero {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--cyan) 40%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Section label pill --- */
.section-label {
    text-align: center;
    margin-bottom: 20px;
}

.section-label span {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.06);
}

/* --- Animated Mesh Gradient Background --- */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mesh-gradient::before,
.mesh-gradient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    animation: meshFloat 20s ease-in-out infinite;
}

.mesh-gradient::before {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 70%);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.mesh-gradient::after {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    bottom: 20%;
    left: -200px;
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.15); }
    50% { transform: translate(-40px, 40px) scale(0.9); }
    75% { transform: translate(60px, 20px) scale(1.05); }
}

/* Grid pattern overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 20%, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 10%, transparent 60%);
}

/* Floating particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--blue-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

/* All content above backgrounds */
#header, #hero, #stats-bar, #features, #how-it-works, #trust, #demo, #pricing, #cta-banner, #footer,
.section-divider, .diagonal-divider {
    position: relative;
    z-index: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    box-shadow: 0 2px 16px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary::before {
    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-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover::before { left: 100%; }

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-300);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 2px 16px rgba(245, 158, 11, 0.3);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover::before { left: 100%; }

.btn-lg {
    padding: 16px 38px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===================== HEADER ===================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 10, 19, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition);
}

#header.scrolled {
    background: rgba(6, 10, 19, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(59, 130, 246, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}

.logo svg { flex-shrink: 0; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text .logo-main {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-login { color: var(--blue-light) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: default; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 8px 0; min-width: 200px; z-index: 100; margin-top: 8px; box-shadow: 0 12px 32px rgba(0,0,0,0.4); list-style: none; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { padding: 0; }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; color: var(--gray-300); font-size: 0.85rem; text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: rgba(59, 130, 246, 0.1); color: var(--white); }
.nav-dropdown-menu a i { width: 16px; text-align: center; color: var(--blue-light); font-size: 0.8rem; }

.nav-cta {
    padding: 10px 24px;
    font-size: 0.88rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    transition: background var(--transition);
}

.mobile-toggle:hover { background: rgba(255, 255, 255, 0.05); }

/* ===================== HERO ===================== */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Hero load animations */
.reveal-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-sub { animation-delay: 0.4s; }
.hero-ctas { animation-delay: 0.6s; }
.hero-mockup-wrapper { animation-delay: 0.8s; }

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Hero mockup wrapper */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Dashboard mockup */
.dashboard-mockup {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(59, 130, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: rotateX(4deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-mockup:hover {
    transform: rotateX(0deg) translateY(-8px);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.025);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: var(--amber); }
.mockup-dots span:nth-child(3) { background: var(--green); }

.mockup-url {
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 400;
    font-family: var(--font-body);
    background: rgba(255,255,255,0.03);
    padding: 3px 12px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.mockup-body {
    display: flex;
    min-height: 260px;
}

.mockup-sidebar {
    width: 52px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mockup-nav-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--gray-500);
    font-size: 0.85rem;
    transition: all var(--transition);
}

.mockup-nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-light);
}

.mockup-content {
    flex: 1;
    padding: 18px;
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mockup-stat {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}

.mockup-stat.green { border-color: rgba(34, 197, 94, 0.15); }
.mockup-stat.blue { border-color: rgba(59, 130, 246, 0.15); }
.mockup-stat.amber { border-color: rgba(245, 158, 11, 0.15); }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.62rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-chart-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px;
}

.mockup-chart-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 8px;
}

.mockup-chart {
    height: 80px;
}

.chart-line-svg {
    width: 100%;
    height: 100%;
}

.chart-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s ease-out 1.5s forwards;
}

.chart-fill {
    opacity: 0;
    animation: fadeInChart 1s ease-out 2.5s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInChart {
    to { opacity: 1; }
}

/* Floating notification cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    animation: floatCard 6s ease-in-out infinite;
    opacity: 0;
}

.floating-card i { font-size: 1.1rem; flex-shrink: 0; }

.floating-card strong {
    display: block;
    font-size: 0.78rem;
    color: var(--white);
    font-weight: 600;
}

.floating-card span {
    font-size: 0.68rem;
    color: var(--gray-500);
}

.card-1 {
    top: 20%;
    right: -30px;
    animation-delay: 2s;
    animation-name: floatCard1;
}

.card-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 3.5s;
    animation-name: floatCard2;
}

@keyframes floatCard1 {
    0% { opacity: 0; transform: translateX(20px); }
    15% { opacity: 1; transform: translateX(0); }
    85% { opacity: 1; transform: translate(-5px, -8px); }
    100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes floatCard2 {
    0% { opacity: 0; transform: translateX(-20px); }
    15% { opacity: 1; transform: translateX(0); }
    85% { opacity: 1; transform: translate(5px, 8px); }
    100% { opacity: 1; transform: translate(0, 0); }
}

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

/* Section dividers */
.section-divider {
    margin-top: -1px;
    line-height: 0;
}

.section-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

.diagonal-divider {
    height: 100px;
    background: linear-gradient(175deg, transparent 49.5%, rgba(17, 24, 39, 0.3) 50%);
    margin: -1px 0;
}

/* ===================== STATS BAR ===================== */
#stats-bar {
    padding: 60px 0;
    background: rgba(17, 24, 39, 0.5);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-big {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in card grids */
.features-card-grid .reveal:nth-child(1) { transition-delay: 0s; }
.features-card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-card-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===================== FEATURES ===================== */
#features {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-sub {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 80px;
    line-height: 1.7;
}

/* Feature rows: alternating text/visual */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 20px;
}

.feature-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.75;
    margin-bottom: 24px;
}

.feature-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.feature-checks i {
    color: var(--green);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Feature mockup cards */
.feature-mockup {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-mockup:hover {
    transform: translateY(-8px);
}

.fm-header {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.fm-dot.red { background: #ef4444; }
.fm-dot.amber { background: var(--amber); }
.fm-dot.green { background: var(--green); }

.fm-body {
    padding: 20px;
}

.fm-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fm-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fm-field span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.fm-field strong {
    font-size: 0.82rem;
    color: var(--gray-300);
    font-weight: 500;
}

.fm-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

.fm-badge.amber { background: rgba(245,158,11,0.15); color: var(--amber); }
.fm-badge.green { background: rgba(34,197,94,0.15); color: var(--green); }

.fm-timeline {
    display: flex;
    gap: 0;
    margin-top: 18px;
}

.fm-timeline-item {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    color: var(--gray-500);
    position: relative;
    padding-top: 18px;
}

.fm-timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.06);
}

.fm-timeline-item.active::before {
    background: var(--blue);
}

.fm-dot-sm {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.1);
    margin: 0 auto 6px;
    position: relative;
    z-index: 1;
}

.fm-timeline-item.active .fm-dot-sm {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 8px var(--blue-glow);
}

/* Toolbox talk mockup */
.fm-talk-topic {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-300);
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-bottom: 16px;
}

.fm-qr-placeholder {
    text-align: center;
    padding: 20px;
    margin-bottom: 16px;
}

.fm-qr-placeholder i {
    font-size: 3rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 6px;
}

.fm-qr-placeholder span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.fm-attendees {
    display: flex;
    justify-content: center;
    gap: -8px;
}

.fm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    border: 2px solid var(--navy);
    margin-left: -6px;
}

.fm-avatar:first-child { margin-left: 0; }
.fm-avatar:nth-child(2) { background: linear-gradient(135deg, var(--green), #16a34a); }
.fm-avatar:nth-child(3) { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); }
.fm-avatar:nth-child(4) { background: var(--navy-mid); color: var(--gray-400); border-color: rgba(255,255,255,0.1); }

/* Feature card grid (remaining 4 features) */
.features-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: var(--navy-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(59, 130, 246, 0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.12);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 18px;
}

.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05)); }
.feature-card:nth-child(1) .feature-icon i { color: var(--green); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)); }
.feature-card:nth-child(2) .feature-icon i { color: var(--amber); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05)); }
.feature-card:nth-child(3) .feature-icon i { color: var(--purple); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05)); }
.feature-card:nth-child(4) .feature-icon i { color: var(--cyan); }

.feature-icon i {
    font-size: 1.3rem;
    transition: transform var(--transition);
}

.feature-card:hover .feature-icon i { transform: scale(1.1); }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ===================== HOW IT WORKS ===================== */
#how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.3), transparent, rgba(17, 24, 39, 0.3));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 40px var(--blue-glow);
}

.step-line {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 2px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.2));
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.93rem;
    color: var(--gray-400);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================== TRUST / SOCIAL PROOF ===================== */
#trust {
    padding: 120px 0;
    overflow: hidden;
}

/* Marquee */
.marquee-container {
    position: relative;
    overflow: hidden;
    margin: 48px 0;
    padding: 20px 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--navy), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--navy), transparent);
}

.marquee-track {
    display: flex;
    gap: 24px;
    animation: marquee 35s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-logo-item {
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-logo-item i {
    font-size: 1rem;
    opacity: 0.5;
}

.trust-logo-item:hover {
    border-color: rgba(59, 130, 246, 0.25);
    color: var(--gray-300);
    background: rgba(59, 130, 246, 0.04);
}

/* Testimonial carousel */
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.testimonial-track {
    position: relative;
    min-height: 220px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-stars {
    margin-bottom: 16px;
    color: var(--amber);
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
    justify-content: center;
}

.testimonial-slide blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.testimonial-dots .dot.active {
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue-glow);
    width: 24px;
    border-radius: 4px;
}

/* ===================== DEMO ===================== */
#demo {
    padding: 80px 0;
}

.demo-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: var(--radius);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demo-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.demo-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.demo-shape:first-child {
    width: 400px;
    height: 400px;
    background: var(--blue);
    top: -200px;
    right: -100px;
}

.demo-shape:last-child {
    width: 300px;
    height: 300px;
    background: var(--purple);
    bottom: -150px;
    left: -100px;
}

.demo-inner {
    position: relative;
    z-index: 1;
}
.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.demo-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.demo-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.demo-card p {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.demo-list {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    text-align: left;
}

.demo-list li {
    font-size: 0.95rem;
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-list i {
    color: var(--green);
    font-size: 0.85rem;
}

/* ===================== PRICING ===================== */
#pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--navy-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
    border-color: transparent;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1), var(--navy-card));
    transform: scale(1.04);
    z-index: 2;
}

/* Animated glow border on popular card */
.pricing-card.popular::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue), var(--cyan), var(--blue), var(--purple));
    background-size: 300% 300%;
    z-index: -1;
    animation: glowBorder 4s ease infinite;
    opacity: 0.5;
}

.pricing-card.popular::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: var(--navy-card);
    z-index: -1;
}

@keyframes glowBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 22px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--blue-glow);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.price {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    font-weight: 600;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.5;
}

.plan-features { margin-bottom: 32px; }

.plan-features li {
    font-size: 0.9rem;
    color: var(--gray-300);
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li:last-child { border-bottom: none; }

.plan-features i {
    color: var(--blue-light);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

.trust-badge i {
    color: var(--blue-light);
    font-size: 0.85rem;
}

/* ===================== CTA BANNER ===================== */
#cta-banner {
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(60px);
}

.cta-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--blue);
    top: -150px;
    right: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.cta-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--cyan);
    bottom: -120px;
    left: 5%;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.cta-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    background: var(--purple);
    top: 15%;
    left: -80px;
    animation: floatShape 12s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

#cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    position: relative;
}

#cta-banner p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ===================== FOOTER ===================== */
#footer {
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--blue-light); }

.footer-bottom {
    text-align: center;
    padding: 24px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse { direction: ltr; }
    .features-card-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .floating-card { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 10, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 1rem;
    }

    .nav-links a::after { display: none; }
    .nav-cta { display: none; }
    .mobile-toggle { display: block; }

    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-sub br { display: none; }

    .features-card-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .step-line { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card:last-child { max-width: 100%; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-6px); }

    .stats-grid { gap: 24px; }
    .stat-divider { display: none; }
    .stat-big { font-size: 2rem; }

    .demo-card { padding: 48px 24px; }
    .demo-grid { grid-template-columns: 1fr; gap: 24px; }
    .demo-form-row { grid-template-columns: 1fr; }

    .footer-container { flex-direction: column; gap: 40px; }
    .footer-links { flex-wrap: wrap; gap: 32px; }

    .marquee-track { animation-duration: 20s; }

    .trust-badges { gap: 12px; }
    .trust-badge { font-size: 0.75rem; }

    .section-divider svg { height: 40px; }
    .diagonal-divider { height: 50px; }
}

@media (max-width: 375px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .price { font-size: 2.4rem; }
}

/* ===================== 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; }
    .reveal-hero { opacity: 1; transform: none; animation: none; }
    .dashboard-mockup { transform: none; }
    .marquee-track { animation: none; }
    .floating-card { opacity: 1; }
    .chart-path { stroke-dashoffset: 0; }
    .chart-fill { opacity: 1; }
    html { scroll-behavior: auto; }
}
