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

:root {
    --primary: #5E6AD2;
    --primary-hover: #4E5BC2;
    --text-primary: #0D0E12;
    --text-secondary: #6E7191;
    --text-tertiary: #A0A3BD;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F7F8;
    --border: #E4E4E7;
    --border-light: #F0F0F3;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: var(--bg-secondary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 32px 120px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(94, 106, 210, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

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

.cta-button.primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.cta-button.secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--border);
}

/* Features Section */
.features {
    padding: 120px 32px;
    background-color: var(--bg-primary);
}

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

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1px;
    background-color: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.feature-card {
    background: var(--bg-primary);
    padding: 40px;
    position: relative;
    transition: background-color 0.2s ease;
}

.feature-card:hover {
    background-color: var(--bg-secondary);
}

.feature-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    padding: 120px 32px;
    background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
    border-top: 1px solid var(--border-light);
}

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

.cta-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.cta-description {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 64px 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

.footer-legal p {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .features {
        padding: 80px 20px;
    }

    .cta-section {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Accessibility */
.cta-button:focus,
.nav-cta:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .cta-button,
    .nav-cta {
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

