/* ── Self-hosted Fonts ────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/orbitron/Orbitron-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/orbitron/Orbitron-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/orbitron/Orbitron-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/orbitron/Orbitron-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/orbitron/Orbitron-ExtraBold.ttf') format('truetype');
    font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}

/* ── CSS Variables ───────────────────────────────────────────────────────── */
:root {
    --bg-primary:    #020918;
    --bg-secondary:  #0A1628;
    --bg-card:       #0D1B2E;
    --bg-card-hover: #112240;
    --color-accent:  #1A65FF;
    --color-cyan:    #00E5FF;
    --color-white:   #FFFFFF;
    --color-muted:   #9BA3B2;
    --color-border:  rgba(255,255,255,0.08);
    --gradient-cta:  linear-gradient(135deg, #0044CC 0%, #0088FF 100%);
    --gradient-hero: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26,101,255,0.18) 0%, transparent 70%);
    --gradient-glow: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,229,255,0.12) 0%, transparent 70%);
    --font-heading:  'Orbitron', sans-serif;
    --font-body:     'Poppins', sans-serif;
    --radius-card:   12px;
    --radius-btn:    8px;
    --transition:    0.3s ease;
    --container:     1280px;
    --header-h:      80px;
}

/* ── 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);
    background-color: var(--bg-primary);
    color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography Scale ────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

h1 { font-size: clamp(1.75rem, 4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.25rem); }
p  { font-size: clamp(0.875rem, 1.2vw, 1rem); color: var(--color-muted); }

/* ── Layout Utilities ────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 5rem);
}

.section-pad { padding-block: clamp(3rem, 8vw, 7rem); }

.text-center { text-align: center; }
.text-muted   { color: var(--color-muted); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition);
    min-height: 44px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: #1557e0;
    border-color: #1557e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,101,255,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover, .btn-outline:focus-visible {
    border-color: var(--color-white);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-accent);
    border: 2px solid var(--color-white);
    font-weight: 700;
}
.btn-white:hover, .btn-white:focus-visible {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ── Header / Navigation ─────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
    height: var(--header-h);
}

.site-header.scrolled {
    background: rgba(2, 9, 24, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 4rem);
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-logo { flex-shrink: 0; }
.header-logo .site-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}
.header-logo img { max-height: 48px; width: auto; }

.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}
.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: color var(--transition);
    padding: 0.25rem 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--color-white); }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    background: rgba(2,9,24,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
    padding: 1.5rem clamp(1rem, 4vw, 4rem) 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-menu li a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition);
}
.mobile-nav-menu li a:hover { color: var(--color-white); }
.mobile-header-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.mobile-header-actions .btn { flex: 1; min-width: 120px; }

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    background: var(--bg-primary);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 5rem);
    padding-block: 4rem;
}
.hero-content { z-index: 1; }
.hero-content h1 {
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 60%, var(--color-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image .ellipse-glow {
    position: absolute;
    width: 110%;
    opacity: 0.5;
    z-index: 0;
}
.hero-image img:not(.ellipse-glow) { position: relative; z-index: 1; }

/* ── Section Headings ────────────────────────────────────────────────────── */
.section-heading {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p  { max-width: 600px; margin-inline: auto; font-size: 1rem; }

/* ── Problem Section ─────────────────────────────────────────────────────── */
.problem-section { background: var(--bg-primary); }
.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
}
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.problem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26,101,255,0.4);
    box-shadow: 0 12px 32px rgba(26,101,255,0.15);
}
.problem-card h3 { margin-bottom: 0.875rem; color: var(--color-white); font-size: 1.1rem; }
.problem-card p  { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1.25rem; }
.problem-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap var(--transition);
}
.problem-card .learn-more:hover { gap: 0.625rem; }

/* ── Feature Showcase ────────────────────────────────────────────────────── */
.features-section { background: var(--bg-primary); }
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-block: clamp(2rem, 4vw, 4rem);
    border-bottom: 1px solid var(--color-border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.feature-content h3 { font-size: clamp(1.1rem, 1.8vw, 1.375rem); margin-bottom: 1rem; }
.feature-content p  { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.5rem; }
.feature-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
}
.feature-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,101,255,0.1), transparent);
    z-index: 1;
    pointer-events: none;
}
.feature-image img { width: 100%; object-fit: cover; border-radius: var(--radius-card); }

/* ── How It Works ────────────────────────────────────────────────────────── */
.how-it-works-section { background: var(--bg-secondary); }
.how-it-works-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.how-dashboard img {
    border-radius: var(--radius-card);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    width: 100%;
}
.how-steps { display: flex; flex-direction: column; gap: 1.75rem; }
.how-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(26,101,255,0.15);
    border: 1px solid rgba(26,101,255,0.4);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-accent);
    flex-shrink: 0;
}
.step-body h4 { margin-bottom: 0.375rem; font-size: 1.0625rem; }
.step-body p  { font-size: 0.9375rem; }

/* ── Comparison Section ──────────────────────────────────────────────────── */
.comparison-section { background: var(--bg-primary); }
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.comparison-card.accent-border { border-color: var(--color-accent); }
.comparison-card h3 { margin-bottom: 1.25rem; }
.comparison-list { display: flex; flex-direction: column; gap: 0.75rem; }
.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-muted);
}
.comparison-list li::before {
    content: '✗';
    color: #FF4444;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.comparison-list.pros li::before { content: '✓'; color: var(--color-cyan); }
.comparison-image { border-radius: var(--radius-card); overflow: hidden; }
.comparison-image img { width: 100%; object-fit: cover; }
.comparison-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ── Pricing Section ─────────────────────────────────────────────────────── */
.pricing-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}
.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,101,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.pricing-toggle span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-muted);
    transition: color var(--transition);
}
.pricing-toggle span.active { color: var(--color-white); }
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    cursor: pointer;
    transition: background var(--transition);
}
.toggle-switch.on { background: var(--color-accent); border-color: var(--color-accent); }
.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border-radius: 50%;
    transition: transform var(--transition);
}
.toggle-switch.on .toggle-thumb { transform: translateX(24px); }
.save-badge {
    background: rgba(0,229,255,0.12);
    color: var(--color-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(0,229,255,0.3);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.pricing-card.popular {
    border-color: var(--color-accent);
    box-shadow: 0 0 32px rgba(26,101,255,0.2);
    transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-8px); }

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    font-family: var(--font-body);
}

.pricing-plan {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.price-amount {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}
.price-period {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 0.375rem;
}
.pricing-desc {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.pricing-divider {
    height: 1px;
    background: var(--color-border);
    margin-bottom: 1.75rem;
}

.pricing-features { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-muted);
}
.feature-check {
    width: 20px;
    height: 20px;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-cyan);
    font-size: 0.75rem;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── FAQ Section ─────────────────────────────────────────────────────────── */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(26,101,255,0.4); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    text-align: left;
    min-height: 48px;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--color-cyan); }
.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
    color: var(--color-muted);
    font-size: 1.125rem;
    line-height: 1;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--color-muted);
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-section {
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    pointer-events: none;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    max-width: var(--container);
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--color-white); margin-bottom: 1rem; }
.cta-content p  { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 1.75rem; }
.cta-robot img { max-width: min(300px, 40vw); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--color-border);
    padding-block: clamp(3rem, 5vw, 5rem) 2rem;
}
.footer-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 5rem);
}
.footer-nav { margin-bottom: 2rem; }
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 3rem);
}
.footer-menu a {
    font-size: 0.9375rem;
    color: var(--color-muted);
    font-weight: 500;
    transition: color var(--transition);
}
.footer-menu a:hover { color: var(--color-white); }
.footer-contact {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.footer-address, .footer-phone {
    font-size: 0.875rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-phone:hover { color: var(--color-white); }
.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.footer-copyright { font-size: 0.875rem; color: var(--color-muted); }

/* ── Elementor Overrides ─────────────────────────────────────────────────── */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }
.e-con-inner { max-width: var(--container); }
body .elementor-widget-heading .elementor-heading-title { font-family: var(--font-heading); }
body .elementor-widget-text-editor { font-family: var(--font-body); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

/* Tablet: 768px – 1024px */
@media (max-width: 1024px) {
    .nav-toggle    { display: flex; }
    .header-nav    { display: none; }
    .header-actions { display: none; }

    .hero-inner            { grid-template-columns: 1fr; text-align: center; }
    .hero-content p        { margin-inline: auto; }
    .hero-buttons          { justify-content: center; }
    .hero-image            { order: -1; max-width: 400px; margin-inline: auto; }

    .problem-cards         { grid-template-columns: repeat(2, 1fr); }
    .feature-row           { grid-template-columns: 1fr; }
    .feature-row.reverse   { direction: ltr; }
    .how-it-works-inner    { grid-template-columns: 1fr; }
    .how-dashboard         { order: -1; }
    .comparison-grid       { grid-template-columns: 1fr; }
    .pricing-cards         { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular  { transform: scale(1); }
    .cta-inner             { grid-template-columns: 1fr; }
    .cta-robot             { display: none; }
}

/* Mobile: up to 767px */
@media (max-width: 767px) {
    .problem-cards  { grid-template-columns: 1fr; }
    .pricing-cards  { grid-template-columns: 1fr; }
    .hero-buttons   { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 320px; }
    .comparison-cta { flex-direction: column; align-items: center; }
    .comparison-cta .btn { width: 100%; max-width: 320px; }
    .footer-menu    { flex-direction: column; gap: 0.75rem; }
    .footer-contact { flex-direction: column; gap: 0.75rem; }
    .pricing-toggle { flex-wrap: wrap; }
}

/* Mobile S: up to 480px */
@media (max-width: 480px) {
    :root { --header-h: 68px; }
    .section-pad { padding-block: clamp(2.5rem, 6vw, 3.5rem); }
    .hero-section { min-height: 100svh; }
    .feature-number { width: 40px; height: 40px; font-size: 0.8125rem; }
    .pricing-card { padding: 1.5rem; }
    .faq-question  { padding: 1rem 1.25rem; font-size: 0.9375rem; }
    .faq-answer-inner { padding: 0 1.25rem 1.25rem; }
}

/* Wide screens: 1441px+ */
@media (min-width: 1441px) {
    .hero-inner,
    .footer-inner,
    .cta-inner {
        padding-inline: 0;
    }
}

/* ── Accessibility ───────────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .hero-content, .hero-image {
        animation: fadeUp 0.7s ease both;
    }
    .hero-image { animation-delay: 0.15s; }
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & TRANSITIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 24px rgba(26,101,255,0.3); }
    50%       { box-shadow: 0 0 48px rgba(26,101,255,0.6), 0 0 80px rgba(0,229,255,0.2); }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(26,101,255,0.3); }
    50%       { border-color: rgba(0,229,255,0.7); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-16px); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-10px) rotate(1deg); }
    66%       { transform: translateY(-6px) rotate(-1deg); }
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes ripple {
    0%   { transform: scale(0); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}
@keyframes typewriter {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50%       { border-color: var(--color-cyan); }
}
@keyframes scanline {
    0%   { transform: translateY(-100%); opacity: 0.5; }
    100% { transform: translateY(200%); opacity: 0; }
}
@keyframes particleDrift {
    0%   { transform: translate(0, 0) scale(1);   opacity: 0.8; }
    50%  { transform: translate(20px, -30px) scale(1.2); opacity: 0.4; }
    100% { transform: translate(-10px, -60px) scale(0.8); opacity: 0; }
}
@keyframes numberTick {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes cardFlicker {
    0%, 100% { box-shadow: 0 0 0px rgba(26,101,255,0); }
    50%       { box-shadow: 0 0 20px rgba(26,101,255,0.25); }
}

/* ── Hero Animations ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {

    /* Hero robot floats */
    .hero-image img:not(.ellipse-glow) {
        animation: floatSlow 6s ease-in-out infinite;
    }

    /* Ellipse glow pulses */
    .hero-image .ellipse-glow {
        animation: glowPulse 4s ease-in-out infinite;
    }

    /* Hero content cascades in */
    .hero-content {
        animation: fadeRight 0.8s cubic-bezier(0.22,1,0.36,1) both;
    }
    .hero-image {
        animation: fadeLeft 0.8s cubic-bezier(0.22,1,0.36,1) 0.15s both;
    }
    .hero-content h1   { animation: fadeUp 0.7s ease 0.1s both; }
    .hero-content > p  { animation: fadeUp 0.7s ease 0.25s both; }
    .hero-buttons      { animation: fadeUp 0.7s ease 0.4s both; }

    /* Animated gradient text on hero h1 */
    .hero-content h1 {
        background: linear-gradient(270deg, #fff 30%, var(--color-cyan) 60%, var(--color-accent) 90%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: fadeUp 0.7s ease 0.1s both, shimmer 6s linear 1s infinite;
    }

    /* Section headings slide up on reveal */
    .section-heading h2 {
        animation: none; /* controlled by IntersectionObserver class */
    }

    /* Header slides down on load */
    .site-header {
        animation: navSlideDown 0.5s ease both;
    }

    /* CTA robot floats */
    .cta-robot img {
        animation: float 5s ease-in-out infinite;
    }

    /* Pricing popular card glows */
    .pricing-card.popular {
        animation: glowPulse 3s ease-in-out infinite;
    }

    /* Feature numbers pulse border */
    .feature-number {
        animation: borderGlow 3s ease-in-out infinite;
        border: 1px solid rgba(26,101,255,0.5);
    }
}

/* ── Scroll-reveal classes (applied by JS IntersectionObserver) ──────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.scale-in   { transform: scale(0.92); }
.reveal.visible    { opacity: 1; transform: none; }

/* ── Button Animations ───────────────────────────────────────────────────── */

/* Ripple container */
.btn { position: relative; overflow: hidden; isolation: isolate; }

/* Ripple element injected by JS */
.btn .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    width: 10px; height: 10px;
    margin-top: -5px; margin-left: -5px;
    animation: ripple 0.6s linear forwards;
    pointer-events: none;
    z-index: 0;
}

/* Primary button — glow lift */
.btn-primary {
    transition: background 0.3s ease, border-color 0.3s ease,
                transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: #1557e0;
    border-color: #1557e0;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(26,101,255,0.5),
                0 0 0 4px rgba(26,101,255,0.12);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* Outline button — border fill sweep */
.btn-outline {
    transition: background 0.3s ease, border-color 0.3s ease,
                color 0.3s ease,
                transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease;
}
.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.06);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}
.btn-outline:hover::before, .btn-outline:focus-visible::before { transform: scaleX(1); }
.btn-outline:hover, .btn-outline:focus-visible {
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-outline:active { transform: translateY(0); }

/* White button */
.btn-white {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease,
                transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease;
}
.btn-white:hover, .btn-white:focus-visible {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255,255,255,0.2);
}
.btn-white:active { transform: translateY(0); }

/* ── Navigation Transitions ──────────────────────────────────────────────── */
.nav-menu a {
    position: relative;
    transition: color 0.25s ease;
}
.nav-menu a::after {
    transition: width 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
    opacity: 0;
}
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { opacity: 1; }

/* Hamburger bars animate to X */
.hamburger-bar {
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
                opacity 0.2s ease;
}

/* Mobile menu slides down */
.mobile-menu:not([hidden]) {
    animation: fadeDown 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

/* ── Card Hover Transitions ──────────────────────────────────────────────── */
.problem-card {
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                background 0.35s ease;
}
.problem-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(26,101,255,0.5);
    box-shadow: 0 16px 40px rgba(26,101,255,0.18),
                0 0 0 1px rgba(26,101,255,0.15);
}

/* Glowing top border on hover */
.problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-cyan));
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.problem-card { position: relative; }
.problem-card:hover::before { transform: scaleX(1); }

/* Feature image zoom on row hover */
.feature-row {
    transition: background 0.3s ease;
}
.feature-image img {
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.feature-row:hover .feature-image img { transform: scale(1.04); }

/* Step hover */
.how-step {
    transition: transform 0.3s ease;
    cursor: default;
}
.how-step:hover { transform: translateX(6px); }
.step-num {
    transition: background 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease, transform 0.3s ease;
}
.how-step:hover .step-num {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 16px rgba(26,101,255,0.4);
}

/* Pricing card transitions */
.pricing-card {
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}
.pricing-card:not(.popular):hover {
    transform: translateY(-10px);
    border-color: rgba(26,101,255,0.4);
    box-shadow: 0 24px 56px rgba(0,0,0,0.35),
                0 0 0 1px rgba(26,101,255,0.2);
}

/* Feature check icon pop */
.feature-check {
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pricing-feature:hover .feature-check {
    background: rgba(0,229,255,0.2);
    border-color: var(--color-cyan);
    transform: scale(1.2);
}

/* FAQ transitions */
.faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(26,101,255,0.1); }
.faq-question   { transition: color 0.25s ease, background 0.25s ease; }
.faq-question:hover { background: rgba(26,101,255,0.04); }
.faq-icon {
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
                background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.faq-answer {
    transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1),
                padding 0.4s ease;
}

/* ── CTA Section ─────────────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(270deg, #0044CC, #0066FF, #0088FF, #00AAFF, #0066FF);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

/* ── Social links ────────────────────────────────────────────────────────── */
.social-link {
    transition: background 0.3s ease, color 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.social-link:hover { transform: translateY(-4px) scale(1.1); }

/* Footer nav links */
.footer-menu a {
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}
.footer-menu a:hover { transform: translateX(4px); }

/* ── Learn More link arrow animation ────────────────────────────────────── */
.learn-more {
    transition: gap 0.25s ease, color 0.25s ease;
}
.learn-more::after {
    content: '→';
    transition: transform 0.25s ease;
    display: inline-block;
}
.learn-more:hover::after { transform: translateX(4px); }

/* ── Comparison card accent border animation ─────────────────────────────── */
.comparison-card.accent-border {
    animation: cardFlicker 3s ease-in-out infinite;
}

/* ── Pricing toggle switch ───────────────────────────────────────────────── */
.toggle-switch {
    transition: background 0.3s ease, border-color 0.3s ease;
}
.toggle-thumb {
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.3s ease;
}
.toggle-switch.on .toggle-thumb {
    box-shadow: 0 2px 8px rgba(26,101,255,0.4);
}

/* ── Sticky header backdrop transition ──────────────────────────────────── */
.site-header {
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* scanline removed — was rendering as a visible harsh line */

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