@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── Design System Variables ── */
:root {
    --bg-main: #07070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-glow: rgba(139, 92, 246, 0.4);
    
    --color-text-primary: #f4f4f6;
    --color-text-secondary: #94a3b8;
    
    --accent-purple: #8b5cf6;
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base Styles ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── Layout Utilities ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-smooth);
}

/* ── Glassmorphic Navigation Header ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

header .container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    color: var(--accent-purple);
    -webkit-text-fill-color: var(--accent-purple);
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

.cta-button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.cta-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.12) 0%, rgba(7, 7, 10, 0) 60%);
}

.hero-tagline {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 64px;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 24px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--color-text-secondary);
    font-size: 20px;
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* ── Mockup Display ── */
.mockup-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 8px;
    background: linear-gradient(135deg, var(--border-color), rgba(139, 92, 246, 0.2));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.mockup-container {
    background: #0f0f13;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    aspect-ratio: 16 / 10;
}

.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Stats Strip ── */
.stats-strip {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Section Title ── */
.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--color-text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Features Section ── */
.features {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 50%, rgba(139, 92, 246, 0.05) 0%, rgba(7, 7, 10, 0) 50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* ── How It Works ── */
.how-it-works {
    padding: 100px 0;
    background: radial-gradient(circle at 90% 50%, rgba(6, 182, 212, 0.05) 0%, rgba(7, 7, 10, 0) 50%);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    align-items: center;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 60px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* ── Pricing Section ── */
.pricing {
    padding: 100px 0;
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.pricing-price span {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    font-size: 14px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-cyan);
    font-weight: bold;
}

.pricing-card button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.pricing-card.popular button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

.pricing-card:hover {
    border-color: var(--border-color-glow);
    transform: translateY(-4px);
}

/* ── CTA Section ── */
.cta-strip {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(7, 7, 10, 0) 70%);
}

.cta-strip h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-strip p {
    color: var(--color-text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
    background: #050507;
    color: var(--color-text-secondary);
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Responsive Styling ── */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple responsive fallback */
    }
    .features-grid,
    .pricing-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    footer .container {
        flex-direction: column;
        gap: 16px;
    }
}

/* ── Legal Pages Styles ── */
.legal-hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.08) 0%, rgba(7, 7, 10, 0) 60%);
    border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-hero p {
    color: var(--color-text-secondary);
    font-size: 16px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.legal-section p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 15px;
}

.legal-section a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--accent-purple);
}

