@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== Variables & Reset ===== */
:root {
    --primary-color: #2563eb;
    --primary-light: #60a5fa;
    --primary-lighter: #eff6ff;
    --secondary-color: #1d4ed8;
    --text-dark: #0f172a;
    --text-light: #475569;
    --text-muted: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-page: #f4f7fb;
    --glass-bg: #ffffff;
    --glass-border: #e2e8f0;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.65;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Glass Morphism ===== */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.glass:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===== Sections ===== */
section {
    padding: 108px 20px;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* ===== Buttons ===== */
.btn {
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 1px solid #bfdbfe;
}

.btn-secondary:hover {
    background: var(--primary-lighter);
    transform: translateY(-1px);
}

/* ===== Footer ===== */
.footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ===== Animations ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 999;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
    transition: var(--transition);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}
