/* ============================================================
   CSS VARIABLES & RESET
============================================================ */
:root {
    --blue-50:  #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-950: #172554;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --green-50:  #f0fdf4;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;

    --yellow-400: #facc15;
    --yellow-500: #eab308;
    --yellow-50:  #fefce8;

    --red-50:  #fef2f2;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;

    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-50:  #fff7ed;

    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
    --shadow-lg:   0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
    --shadow-xl:   0 20px 60px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.08);
    --shadow-blue: 0 8px 32px rgba(37,99,235,.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--slate-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226,232,240,0.7);
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(30,64,175,0.08); }

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,99,235,.30);
}
.nav-logo-icon svg { width: 27px; height: 27px; color: #fff; }
.nav-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.45rem; font-weight: 1000;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-logo-text span { -webkit-text-fill-color: transparent; }

.nav-links {
    display: flex; align-items: center;
    gap: 2rem; list-style: none;
}
.nav-links a {
    padding: 0.45rem 1rem;
    font-size: .95rem; font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    transition: all .2s;
}
.nav-links a:hover { color: var(--blue-600); }

.btn-nav-cta {
    display: inline-block;
    padding: .5rem 1.25rem !important;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400)) !important;
    color: #fff !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: .90rem !important;
    box-shadow: var(--shadow-blue);
    transition: all .25s ease !important;
}
.btn-nav-cta:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400)) !important;
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(37,99,235,.45) !important;
}

/* ============================================================
   SECTION COMMON
============================================================ */
.section { padding: 5.5rem 2rem; }
.section-container { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    padding: .5rem 1rem;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-full);
    font-size: .8rem; font-weight: 700;
    color: var(--blue-600);
    margin-bottom: 1.4rem;
}
.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; letter-spacing: -.03em;
    color: var(--slate-900); line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title .accent-gradient {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title .accent { color: var(--blue-600); }
.section-desc {
    font-size: 1rem; color: var(--slate-500);
    line-height: 1.7; max-width: 800px;
}

/* ============================================================
   TOAST
============================================================ */
.toast-container {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    z-index: 9999;
    display: flex; flex-direction: column; gap: .5rem;
}
.toast {
    padding: .75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: .86rem; font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: toastIn .3s ease;
    max-width: 340px;
}
.toast.error   { background: var(--red-500);   color: #fff; }
.toast.success { background: var(--green-500); color: #fff; }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .navbar  { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .section { padding: 3.5rem 1.25rem; }
}
