*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --success: #10b981;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

html { scroll-behavior: smooth; }

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
}

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

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #ec4899, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: white;
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-small { padding: 10px 20px; font-size: 0.875rem; }

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

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

.nav a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
}

.nav a:hover { color: var(--gray-900); }

.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, white, var(--gray-50));
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero h1 { max-width: 800px; margin: 0 auto 24px; }

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    color: var(--gray-600);
}

.hero-form { max-width: 500px; margin: 0 auto 48px; }

.form-group {
    display: flex;
    gap: 12px;
    padding: 8px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-200);
}

.form-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.form-hint {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label { font-size: 0.875rem; color: var(--gray-500); }

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.features, .pricing { padding: 100px 0; }
.features { background: white; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    margin-top: 16px;
    font-size: 1.25rem;
    color: var(--gray-500);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 20px; }

.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--gray-600); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 2px solid var(--gray-100);
    text-align: center;
}

.pricing-card.featured {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.pricing-header { margin-bottom: 32px; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 12px; }

.price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.price .amount { font-size: 3rem; font-weight: 800; }
.price .period { color: var(--gray-500); }

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-card .btn { width: 100%; justify-content: center; }

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
}

.cta h2 { color: white; margin-bottom: 16px; }
.cta > .container > p { color: rgba(255,255,255,0.8); font-size: 1.25rem; margin-bottom: 40px; }

.cta-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 16px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
}

.cta-form .btn-primary {
    background: white;
    color: var(--primary);
}

.footer {
    padding: 60px 0 30px;
    background: var(--gray-900);
    color: var(--gray-500);
}

.footer-brand .logo { margin-bottom: 16px; color: white; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .nav { display: none; }
    .form-group { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .stat-divider { display: none; }
    .pricing-card.featured { transform: none; }
    .cta-form { flex-direction: column; }
}
