/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-darker: #f1f5f9;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   LAYOUT
   ======================================== */

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

section {
    padding: 6rem 0;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 8rem 2rem;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero .btn {
    margin-top: 0.5rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--border);
}

.btn-light:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

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

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    background: var(--bg-white);
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-column h2 {
    margin-bottom: 1.5rem;
}

.about-column p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-column p strong {
    color: var(--primary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    background: var(--bg-darker);
}

.features h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact > .container > .contact-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.contact-box {
    margin-top: 2.5rem;
}

.contact .btn {
    background: white;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact .btn:hover {
    background: rgba(255, 255, 255, 0.95);
}

.contact-email {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .about-grid {
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .contact {
        padding: 4rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}
