/* ============================================================
   SocioLink — Premium Design System
   White & Blue · Sora Display + DM Sans Body
   ============================================================ */

:root {
    --blue-50:   #EEF4FF;
    --blue-100:  #DBEAFE;
    --blue-200:  #BFDBFE;
    --blue-400:  #60A5FA;
    --blue-500:  #3B82F6;
    --blue-600:  #1563F5;
    --blue-700:  #0D47C6;
    --blue-900:  #0F2554;
    --cyan:      #06B6D4;
    --white:     #FFFFFF;
    --slate-50:  #F8FAFF;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    --shadow-sm:  0 1px 3px rgba(21,99,245,0.06), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md:  0 4px 20px rgba(21,99,245,0.10), 0 2px 8px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 40px rgba(21,99,245,0.14), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-xl:  0 20px 60px rgba(21,99,245,0.18), 0 8px 24px rgba(0,0,0,0.08);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--slate-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── NAVBAR ── */
header {
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(21,99,245,0.07) !important;
    box-shadow: 0 1px 0 rgba(21,99,245,0.05), 0 4px 24px rgba(21,99,245,0.04);
}
.nav-cta {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700)) !important;
    box-shadow: 0 4px 16px rgba(21,99,245,0.30);
    transition: all 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(21,99,245,0.40); }

/* ── HERO ── */
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: 0.45;
    animation: orb-float 9s ease-in-out infinite;
    pointer-events: none; z-index: 1;
}
.hero-orb-1 {
    width: 650px; height: 650px;
    background: radial-gradient(circle, rgba(21,99,245,0.55), transparent 70%);
    top: -200px; right: -120px; animation-delay: 0s;
}
.hero-orb-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(6,182,212,0.45), transparent 70%);
    bottom: -100px; left: -80px; animation-delay: -3.5s;
}
@keyframes orb-float {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(28px,-18px) scale(1.04); }
    66%      { transform: translate(-18px,14px) scale(0.97); }
}

/* Hero entrance animations */
.hero-h1   { animation: hero-in 0.85s cubic-bezier(0.16,1,0.3,1) 0.45s both; }
.hero-sub  { animation: hero-in 0.85s cubic-bezier(0.16,1,0.3,1) 0.65s both; }
.hero-ctas { animation: hero-in 0.85s cubic-bezier(0.16,1,0.3,1) 0.85s both; }
.hero-trust{ animation: hero-in 0.85s cubic-bezier(0.16,1,0.3,1) 1.05s both; }
.live-badge{ animation: hero-in 0.65s ease 0.25s both;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
}
@keyframes hero-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero buttons */
.hero-btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--cyan));
    box-shadow: 0 8px 30px rgba(21,99,245,0.48);
    transition: all 0.25s ease;
    position: relative; overflow: hidden;
}
.hero-btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.16), transparent);
    transform: translateX(-100%); transition: transform 0.5s ease;
}
.hero-btn-primary:hover::after { transform: translateX(100%); }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(21,99,245,0.58); }

.hero-btn-secondary {
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.20); transform: translateY(-2px); }

/* ── PROMO BANNER ── */
.promo-banner {
    background: linear-gradient(90deg, var(--blue-700), var(--blue-600), #0ea5e9);
    position: relative; overflow: hidden;
}
.promo-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    animation: shimmer 5s ease infinite;
}
@keyframes shimmer { 0%{ transform:translateX(-100%) } 100%{ transform:translateX(100%) } }

/* ── STATS ── */
.stat-number {
    font-family: 'Sora', sans-serif; font-weight: 800;
    font-size: 2.5rem; letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
}
.stat-label {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.09em; color: var(--slate-500);
}

/* ── SERVICES ── */
.service-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 1.5rem; padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--blue-50), transparent 60%);
    opacity: 0; transition: opacity 0.3s ease; border-radius: inherit;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    border-color: rgba(21,99,245,0.25);
    box-shadow: var(--shadow-lg); transform: translateY(-6px);
}

/* ── WHY SECTION ── */
.why-section {
    background: linear-gradient(160deg, var(--slate-50) 0%, var(--blue-50) 100%);
    position: relative; overflow: hidden;
}
.why-section::before {
    content: ''; position: absolute;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(21,99,245,0.05), transparent 70%);
    top: -250px; right: -200px; pointer-events: none;
}
.why-badge-card {
    background: var(--white);
    border: 1px solid rgba(21,99,245,0.09);
    border-radius: 1.25rem; padding: 1.75rem; text-align: center;
    box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.why-badge-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-4px);
    border-color: rgba(21,99,245,0.22);
}

/* ── HOW IT WORKS ── */
.step-circle {
    width: 5rem; height: 5rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: white; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(21,99,245,0.32);
    position: relative; z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}
.step-circle:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(21,99,245,0.42); }

/* ── AREA SECTION ── */
.area-section {
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
.call-hours-bar {
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    border: 1px solid rgba(21,99,245,0.14);
    border-radius: 1.25rem; overflow: hidden; position: relative;
}
.call-hours-bar::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue-600), var(--cyan));
}

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(150deg, var(--blue-900) 0%, var(--blue-700) 55%, #0ea5e9 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute;
    width: 900px; height: 900px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
    top: -350px; right: -200px; pointer-events: none;
}
.cta-section::after {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.14), transparent 60%);
    bottom: -150px; left: -100px; pointer-events: none;
}
.call-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.call-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}
.call-card:hover {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 24px 64px rgba(0,0,0,0.28); transform: scale(1.02);
}

/* Pulse ring for phone icon */
@keyframes ring-pulse { 0%{transform:scale(1);opacity:0.7} 100%{transform:scale(1.55);opacity:0} }
.pulse-ring { position: relative; display: inline-flex; }
.pulse-ring::before {
    content: ''; position: absolute; inset: -7px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    animation: ring-pulse 2.2s ease infinite;
}

/* ── FOOTER ── */
footer {
    background: var(--slate-900) !important;
    border-top: none !important;
}
footer h4 {
    color: rgba(255,255,255,0.38) !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem !important;
    letter-spacing: 0.1em;
}
footer p, footer li { color: rgba(255,255,255,0.52) !important; }
footer a { color: rgba(255,255,255,0.52) !important; transition: color 0.2s ease; }
footer a:hover { color: var(--blue-400) !important; }
.footer-brand-name { color: white !important; }
.footer-phone { color: var(--blue-400) !important; }
.footer-disclaimer { color: rgba(255,255,255,0.28) !important; }
footer .border-t { border-color: rgba(255,255,255,0.07) !important; }
footer .text-slate-500 { color: rgba(255,255,255,0.32) !important; }
footer strong { color: rgba(255,255,255,0.60) !important; }

/* ── SECTION CHIPS & HEADINGS ── */
.section-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0.875rem; border-radius: 9999px;
    background: var(--blue-50); border: 1px solid rgba(21,99,245,0.14);
    color: var(--blue-600); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    font-family: 'DM Sans', sans-serif; margin-bottom: 1rem;
}
.section-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800; color: var(--slate-900);
    letter-spacing: -0.03em; line-height: 1.08;
}
.section-heading .accent,
.section-heading span.accent {
    background: linear-gradient(135deg, var(--blue-600), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-sub {
    color: var(--slate-500); font-size: 1.05rem; line-height: 1.75;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.28s; }
.reveal-delay-4 { transition-delay: 0.38s; }
.reveal-delay-5 { transition-delay: 0.48s; }

/* ── DROPDOWN ── */
.dropdown-menu {
    display: none; position: absolute;
    top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: white; border: 1px solid rgba(21,99,245,0.10);
    border-radius: 1rem; box-shadow: var(--shadow-lg);
    min-width: 220px; z-index: 100; padding: 0.5rem;
    animation: fadeSlideDown 0.18s ease;
}
@keyframes fadeSlideDown {
    from { opacity:0; transform:translateX(-50%) translateY(-6px); }
    to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.dropdown-wrapper:hover .dropdown-menu,
.dropdown-wrapper:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.65rem 1rem; font-size: 0.875rem; font-weight: 500;
    color: var(--slate-700); text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border-radius: 0.625rem; white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}
.dropdown-menu a:hover { background: var(--blue-50); color: var(--blue-600); }
.dropdown-menu a .material-symbols-outlined { font-size: 18px; color: var(--blue-600); }
.dropdown-divider { height: 1px; background: rgba(21,99,245,0.08); margin: 0.4rem 0; }

/* ── DISCLAIMER MODAL ── */
body.disclaimer-open { overflow: hidden; }
#disclaimer-modal.open #disclaimer-box { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
#disclaimer-modal.open { pointer-events: auto; }
#disclaimer-backdrop.open { opacity:1; pointer-events:auto; }
#disclaimer-box {
    background: var(--white) !important;
    border: 1px solid rgba(21,99,245,0.12) !important;
    box-shadow: var(--shadow-xl) !important;
}
#disclaimer-accept-btn {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700)) !important;
}
@media (max-width: 639px) {
    #disclaimer-box { border-radius: 1.25rem 1.25rem 0 0; }
    #disclaimer-modal.open #disclaimer-box { transform: translateY(0); }
}

/* ── MISC ── */
@keyframes ping { 75%,100%{ transform:scale(2); opacity:0; } }
.animate-ping { animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }
