/* ══════════════════════════════════════════════════════════════
   SBEHUB — Shared Design System v2
   Modern / Premium / No-Card Design
   Brand: rgb(4, 92, 180) | #045CB4
   ══════════════════════════════════════════════════════════════ */

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

/* ── CSS Custom Properties ── */
:root {
    --brand: #045CB4;
    --brand-light: #1a7fd4;
    --brand-dark: #034a91;
    --brand-glow: rgba(4, 92, 180, 0.35);
    --brand-subtle: rgba(4, 92, 180, 0.06);

    --bg-primary: #06090f;
    --bg-secondary: #0b1120;
    --bg-elevated: rgba(12, 18, 35, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.02);
    --bg-glass-hover: rgba(255, 255, 255, 0.04);

    --text-primary: #edf2f7;
    --text-secondary: #8899a6;
    --text-muted: #556677;
    --text-accent: var(--brand-light);

    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(4, 92, 180, 0.25);
    --border-strong: rgba(255, 255, 255, 0.08);

    --accent-teal: #14b8a6;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-violet: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-sky: #38bdf8;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-glow: 0 0 60px rgba(4, 92, 180, 0.15);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-brand: 0 4px 28px rgba(4, 92, 180, 0.3);

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1260px;
    --section-gap: 140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Section ── */
.section {
    padding: var(--section-gap) 0;
    position: relative;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--brand-light);
    margin-bottom: 20px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: var(--brand);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
}

.section-header {
    margin-bottom: 72px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.92rem;
}

.btn-md {
    padding: 12px 28px;
    font-size: 0.85rem;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--brand-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(4, 92, 180, 0.45);
}

.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.15em;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon { transform: translateX(4px); }

/* ── Ambient Backgrounds ── */
.bg-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(at 20% 20%, rgba(4, 92, 180, 0.06) 0%, transparent 50%),
        radial-gradient(at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(at 50% 50%, rgba(20, 184, 166, 0.03) 0%, transparent 60%);
}

.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ══════════════════════════════════════════════════════════════
   MODERN HERO — Full-width, centered, no image
   ══════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 160px 32px 100px;
    overflow: hidden;
}

.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-aurora .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-aurora .orb-1 {
    width: 600px; height: 600px;
    background: rgba(4, 92, 180, 0.18);
    top: -15%; left: 15%;
    animation: orb-drift 12s ease-in-out infinite;
}

.hero-aurora .orb-2 {
    width: 450px; height: 450px;
    background: rgba(139, 92, 246, 0.1);
    bottom: -10%; right: 10%;
    animation: orb-drift 15s ease-in-out infinite 3s;
}

.hero-aurora .orb-3 {
    width: 300px; height: 300px;
    background: rgba(20, 184, 166, 0.08);
    top: 30%; right: 25%;
    animation: orb-drift 10s ease-in-out infinite 6s;
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: rgba(4, 92, 180, 0.08);
    border: 1px solid rgba(4, 92, 180, 0.15);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-light);
    margin-bottom: 28px;
}

.hero-eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand-light);
    box-shadow: 0 0 12px var(--brand-glow);
    animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--accent-teal) 50%, var(--accent-sky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-flow 6s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 160px 32px 100px;
    overflow: hidden;
}

.page-hero .hero-content {
    max-width: 820px;
}

.page-hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.page-hero-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 36px;
}

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.cta-section {
    padding: var(--section-gap) 0;
    position: relative;
}

.cta-inner {
    position: relative;
    text-align: center;
    padding: 80px 48px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(4, 92, 180, 0.1), rgba(4, 92, 180, 0.03));
    border: 1px solid rgba(4, 92, 180, 0.12);
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(4, 92, 180, 0.08), transparent 60%);
    pointer-events: none;
}

.cta-inner h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    letter-spacing: -0.02em;
}

.cta-inner p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ══════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition-base);
}

.site-header.scrolled {
    background: rgba(6, 9, 15, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--brand-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span:last-child {
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 8px 15px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active { color: var(--brand-light); }

.nav-link.nav-cta {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    background: var(--brand-light);
    box-shadow: var(--shadow-brand);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--brand-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover { color: var(--brand-light); }

/* ══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s 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.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root { --section-gap: 100px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root { --section-gap: 80px; }

    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: rgba(6, 9, 15, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        transition: var(--transition-base);
    }

    .nav-menu.open { right: 0; }

    .nav-link { font-size: 1.1rem; padding: 12px 32px; }
    .nav-link.nav-cta { margin-left: 0; margin-top: 16px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .hero { padding: 140px 20px 80px; }
    .page-hero { padding: 140px 20px 80px; }

    .cta-inner { padding: 48px 24px; }

    .container { padding: 0 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.6rem; }
    .page-hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }
    .btn-lg { padding: 14px 28px; font-size: 0.88rem; }
}
