/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #050508;
    color: #e0e0e8;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Navigation === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-weight: 700; font-size: 1.1rem; color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.logo-icon {
    color: #4a90d9; font-size: 1.2rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.9rem; color: #8888a0; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
    background: #4a90d9 !important; color: #fff !important;
    padding: 8px 20px; border-radius: 8px;
    font-weight: 600 !important; font-size: 0.85rem !important;
    transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: #5ea0e8 !important; transform: translateY(-1px); }

/* === Hero === */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}
.gradient-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #1e3a8f, transparent 70%);
    top: -10%; left: 20%;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #4a1e8f, transparent 70%);
    bottom: -5%; right: 10%;
    animation-delay: -7s;
}
.orb-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #1e6a8f, transparent 70%);
    top: 30%; right: 30%;
    animation-delay: -14s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-image-wrapper {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 0; overflow: hidden;
    max-height: 55vh;
    mask-image: linear-gradient(to top, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%, black 70%, transparent 100%);
    opacity: 0.2;
    pointer-events: none;
    filter: brightness(0.4) saturate(1.5);
}
.hero-image {
    width: 100%; height: auto;
    object-fit: cover;
    animation: heroFloat 30s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: scale(1.02) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
}
.hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 800px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(74, 144, 217, 0.1);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 100px; padding: 6px 16px;
    font-size: 0.85rem; color: #4a90d9; font-weight: 500;
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    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.8; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; line-height: 1.1;
    color: #fff; margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 40px rgba(5,5,8,0.6);
}
.gradient-text {
    background: linear-gradient(135deg, #4a90d9, #a855f7, #4a90d9);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-subtitle {
    font-size: 1.15rem; color: #c0c0d8;
    max-width: 600px; margin: 0 auto 36px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-subtitle strong { color: #fff; font-weight: 600; }
.hero-actions {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 48px;
}
.hero-stats {
    display: flex; gap: 32px; justify-content: center; align-items: center;
    flex-wrap: wrap;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 40px;
}
.stat { text-align: center; }
.stat-value {
    display: block; font-size: 1.5rem; font-weight: 700; color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.stat-label {
    font-size: 0.8rem; color: #d0d0e0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 12px;
    font-weight: 600; font-size: 1rem;
    transition: all 0.2s; cursor: pointer;
    border: none; font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, #4a90d9, #6366f1);
    color: #fff; box-shadow: 0 4px 20px rgba(74, 144, 217, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.4);
}
.btn-ghost {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e0e0e8;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline {
    background: transparent;
    border: 1px solid rgba(74, 144, 217, 0.3);
    color: #4a90d9; width: 100%; justify-content: center;
}
.btn-outline:hover {
    background: rgba(74, 144, 217, 0.1);
    border-color: rgba(74, 144, 217, 0.5);
}
.btn-full { width: 100%; justify-content: center; }

/* === Social Proof === */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.proof-grid {
    display: flex; gap: 40px; justify-content: center; align-items: center;
    flex-wrap: wrap;
}
.proof-item {
    display: flex; align-items: center; gap: 10px;
    color: #5558a0; font-size: 0.9rem; font-weight: 500;
}
.proof-icon { font-size: 1.4rem; }

/* === Showcase === */
.showcase { padding: 80px 0 0; }
.showcase-image {
    border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 1000px; margin: 0 auto;
}
.showcase-image img {
    width: 100%; height: auto; display: block;
    transition: transform 8s ease;
}
.showcase-image:hover img { transform: scale(1.03); }

/* === Sections Common === */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: #4a90d9;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: #fff;
    margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-header p {
    font-size: 1.1rem; color: #6668a0;
    max-width: 500px; margin: 0 auto;
}

/* === How It Works === */
.how-it-works { padding: 100px 0; }
.steps-grid {
    display: flex; align-items: flex-start; gap: 0;
    justify-content: center; flex-wrap: wrap;
}
.step {
    flex: 1; min-width: 220px; max-width: 260px;
    text-align: center; padding: 20px;
}
.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem; color: #4a90d9; font-weight: 500;
    margin-bottom: 16px;
}
.step-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: rgba(74, 144, 217, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: #4a90d9;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p { font-size: 0.9rem; color: #6668a0; line-height: 1.6; }
.step-connector {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74,144,217,0.3), transparent);
    margin-top: 52px; flex-shrink: 0;
}

/* === Features === */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(74,144,217,0.02), transparent);
}
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px; border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
    border-color: rgba(74, 144, 217, 0.2);
    transform: translateY(-4px);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: #6668a0; line-height: 1.6; }

/* === Pricing === */
.pricing { padding: 100px 0; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; align-items: start;
}
.price-card {
    padding: 36px; border-radius: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    transition: transform 0.3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
    border-color: rgba(74, 144, 217, 0.3);
    background: linear-gradient(180deg, rgba(74,144,217,0.06), rgba(74,144,217,0.02));
    box-shadow: 0 8px 40px rgba(74, 144, 217, 0.1);
}
.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #4a90d9, #6366f1);
    color: #fff; font-size: 0.75rem; font-weight: 600;
    padding: 4px 16px; border-radius: 100px;
    white-space: nowrap;
}
.price-tier {
    font-size: 0.85rem; font-weight: 600; color: #6668a0;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.price-amount {
    font-size: 3rem; font-weight: 800; color: #fff;
    margin-bottom: 4px; letter-spacing: -0.02em;
}
.price-plus { font-size: 1.5rem; color: #6668a0; }
.price-desc { font-size: 0.9rem; color: #6668a0; margin-bottom: 24px; }
.price-features {
    list-style: none; margin-bottom: 28px;
}
.price-features li {
    padding: 8px 0; font-size: 0.9rem; color: #a0a0b8;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex; align-items: center; gap: 10px;
}
.price-features li::before {
    content: '✓'; color: #4a90d9; font-weight: 700; font-size: 0.85rem;
}

/* === FAQ === */
.faq { padding: 100px 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-question {
    width: 100%; background: none; border: none; color: #fff;
    padding: 20px 0; font-size: 1.05rem; font-weight: 600;
    font-family: inherit; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    text-align: left; transition: color 0.2s;
}
.faq-question:hover { color: #4a90d9; }
.faq-question svg {
    transition: transform 0.3s; flex-shrink: 0;
    color: #6668a0;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 200px; padding-bottom: 20px;
}
.faq-answer p { font-size: 0.95rem; color: #6668a0; line-height: 1.7; }

/* === Contact === */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(74,144,217,0.03));
}
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.contact-info h2 {
    font-size: 2.5rem; font-weight: 800; color: #fff;
    margin-bottom: 16px; letter-spacing: -0.02em;
}
.contact-info p { font-size: 1.05rem; color: #6668a0; margin-bottom: 28px; line-height: 1.7; }
.contact-features { display: flex; flex-direction: column; gap: 14px; }
.cf-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem; color: #a0a0b8;
}
.contact-form-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px; padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem; font-weight: 600; color: #8888a0;
}
.form-group input, .form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 14px 16px;
    color: #fff; font-family: inherit; font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #44446a;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: rgba(74, 144, 217, 0.4);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
    text-align: center; font-size: 0.8rem; color: #44446a;
    margin-top: -8px;
}

/* === Footer === */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 40px;
}
.footer-brand {
    font-weight: 700; font-size: 1.1rem; color: #fff;
    display: flex; flex-direction: column; gap: 12px;
}
.footer-brand p { font-size: 0.85rem; color: #44446a; font-weight: 400; max-width: 300px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 0.9rem; color: #6668a0; font-weight: 500;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 20px;
}
.footer-bottom p { font-size: 0.8rem; color: #33335a; text-align: center; }

/* === Animations === */
.animate-in {
    opacity: 0; transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1; transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { width: 1px; height: 40px; margin: 0; }
}
@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .hero-actions { flex-direction: column; align-items: center; }
    .contact-form-wrapper { padding: 24px; }
}
