/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --dark: #0a0e1a;
    --dark-2: #111827;
    --dark-3: #1e2535;
    --dark-card: #141a2b;
    --accent: #6366f1;
    --accent-2: #818cf8;
    --accent-glow: rgba(99,102,241,0.3);
    --green: #10b981;
    --text: #e2e8f0;
    --text-muted: #8892a4;
    --border: rgba(255,255,255,0.08);
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 20px 60px rgba(0,0,0,0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    color: var(--white);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,102,241,0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-2), #c084fc, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION HELPERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(99,102,241,0.15);
    color: var(--accent-2);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 50px;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    white-space: nowrap;
}

.logo-sv {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text { color: var(--white); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav-phone {
    background: linear-gradient(135deg, var(--accent), #4f46e5) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.nav-phone:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-glow);
    background: linear-gradient(135deg, var(--accent), #4f46e5) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 4rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.trust-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 450px;
}

.floating-card {
    position: absolute;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 0; right: 20%; animation-delay: 0s; }
.card-2 { top: 35%; right: 0; animation-delay: 2s; }
.card-3 { bottom: 15%; right: 15%; animation-delay: 4s; }

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

.card-icon { font-size: 1.75rem; }

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.card-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 1rem;
}

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

/* ===== LOGO BAR ===== */
.logo-bar {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.logo-bar-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.logo-bar-items {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.platform-badge {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.platform-badge:hover {
    color: var(--accent-2);
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.08);
}

/* ===== SERVICES ===== */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.15);
}

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

.service-card.featured {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,70,229,0.08));
    border-color: rgba(99,102,241,0.3);
    grid-row: span 1;
}

.service-card.featured::before { opacity: 1; }

.service-card.cta-card {
    background: linear-gradient(135deg, var(--dark-3), var(--dark-card));
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-style: dashed;
    border-color: rgba(255,255,255,0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 8rem 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step {
    flex: 1;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.3);
}

.step-arrow {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 300;
    padding-top: 3rem;
    flex-shrink: 0;
}

.step-num {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== WHY US ===== */
.why-us {
    padding: 8rem 0;
}

.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-us-content .section-tag { margin-bottom: 1rem; }

.why-us-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.why-us-content > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-check {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.why-point strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.why-point p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-us-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-box {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
}

.stat-box:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-2px);
}

.stat-box.highlight {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(79,70,229,0.08));
    border-color: rgba(99,102,241,0.3);
    grid-column: span 2;
    text-align: center;
    align-items: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-2), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box.highlight .stat-num {
    font-size: 2rem;
    -webkit-text-fill-color: unset;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(79,70,229,0.06));
    border-top: 1px solid rgba(99,102,241,0.2);
    border-bottom: 1px solid rgba(99,102,241,0.2);
}

.final-cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding-top: 5rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
    display: inline-block;
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.footer-phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-2);
    transition: var(--transition);
}

.footer-phone:hover { color: var(--white); }

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-legal a:hover { color: var(--text); }

/* ===== STATIC PAGES ===== */
.page-main {
    padding: 8rem 0 5rem;
    min-height: 100vh;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
}

.page-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 2rem 0 0.75rem;
}

.page-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5rem 0 0.5rem;
}

.page-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.page-content ul, .page-content ol { color: var(--text-muted); line-height: 1.8; margin: 0.75rem 0 1rem 1.5rem; }
.page-content li { margin-bottom: 0.375rem; }
.page-content a { color: var(--accent-2); }
.page-content a:hover { color: var(--white); }
.page-content .last-updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; padding: 8rem 2rem 5rem; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); align-self: center; padding: 0; }
    .why-us-inner { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--dark);
        z-index: 99;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main-nav.open ul { flex-direction: column; gap: 0.5rem; text-align: center; }
    .main-nav.open a { font-size: 1.5rem; padding: 1rem 2rem; }
    .mobile-menu-toggle { display: flex; z-index: 100; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .why-us-stats { grid-template-columns: 1fr; }
    .stat-box.highlight { grid-column: 1; }
    .hero-trust { flex-wrap: wrap; gap: 1rem; }
}
