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

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #eff6ff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.06);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: all 0.2s ease;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}
nav.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}
.nav-logo img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    background: var(--accent-light);
}
.nav-cta {
    padding: 10px 20px !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: var(--primary-light) !important;
    color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.nav-toggle:hover { background: var(--bg); }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); border-color: var(--text-light); }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 4px 12px rgba(59,130,246,0.3); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(59,130,246,0.4); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* Footer */
footer {
    background: #060d1a;
    padding: 64px 24px 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand span { font-weight: 700; font-size: 1.125rem; color: var(--white); }
.footer-info p { color: #64748b; font-size: 0.9rem; max-width: 300px; line-height: 1.7; margin-bottom: 20px; }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badge {
    padding: 5px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: #94a3b8;
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.footer-col a { display: block; color: #64748b; text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { color: #475569; font-size: 0.875rem; }
.footer-bottom a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Page Header */
.page-header {
    padding: 140px 24px 60px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.page-header p { font-size: 1.2rem; color: var(--text-light); max-width: 620px; margin: 0 auto 24px; }

/* Responsive */
@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--white);
        padding: 12px 16px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        z-index: 999;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-links a { padding: 12px 16px; font-size: 1rem; display: block; border-radius: var(--radius-sm); }
    .nav-cta { margin-top: 4px; text-align: center; }
    .section-header h2 { font-size: 1.75rem; }
    .page-header h1 { font-size: 2rem; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .footer-links { grid-template-columns: 1fr; }
    .btn { padding: 12px 22px; font-size: 0.95rem; }
}
