/* ============================================
   SuSAMs — styles_v2.css
   LIGHTER THEME — less gloomy, more startup
   ============================================ */

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

/* ── CSS Variables (LIGHTER palette) ── */
:root {
    --navy-950:  #0b1120;
    --navy-900:  #0f172a;
    --navy-800:  #1e293b;
    --navy-700:  #334155;
    --cyan-500:  #06b6d4;
    --cyan-400:  #22d3ee;
    --cyan-300:  #67e8f9;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--navy-900);
    color: #f1f5f9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.heading-font { font-family: 'Space Grotesk', sans-serif; }

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan-500), var(--cyan-300));
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ── Navbar ── */
.navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background: var(--cyan-500);
    transition: width 0.3s ease;
    border-radius: 999px;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link.active { color: var(--cyan-400); }

/* ── Hero Section ── */
.hero-section {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

/* Soft gradient orb top-right */
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -150px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

/* Soft gradient orb bottom-left */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

/* Subtle dot grid (replaces hex grid) */
.hex-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle, rgba(6, 182, 212, 0.8) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ── Stat Numbers ── */
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--cyan-400);
    line-height: 1;
}

/* ── Badge / Pill ── */
.niche-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 9999px;
    padding: 5px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan-400);
}

/* ── Feature Cards ── */
.feature-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.1);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

/* Sweeping top-border shine on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: -110%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
    transition: left 0.55s ease;
}

.feature-card:hover::before { left: 110%; }

.feature-card:hover {
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2), 0 0 16px rgba(6, 182, 212, 0.06);
}

/* ── Industry Cards ── */
.industry-card { cursor: pointer; }

.industry-card .industry-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.12);
}

/* ── GIS Niche Spotlight Section ── */
.gis-spotlight {
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.06) 0%,
        rgba(15, 23, 42, 0.0) 60%);
    border-top:    1px solid rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* ── Niche Strip ── */
.niche-strip {
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.08) 0%,
        rgba(6, 182, 212, 0.02) 100%);
    border-top:    1px solid rgba(6, 182, 212, 0.15);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

/* ── Global Reach Section ── */
.global-reach-section {
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.04) 0%,
        rgba(15, 23, 42, 0.0) 60%);
    border-top:    1px solid rgba(6, 182, 212, 0.08);
    border-bottom: 1px solid rgba(6, 182, 212, 0.08);
}

/* ── Pillar Cards ── */
.pillar-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
}

/* ── Tech Tags ── */
.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #a5f3fc;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}

.tech-tag:hover {
    background: rgba(6, 182, 212, 0.16);
    border-color: rgba(6, 182, 212, 0.4);
    color: #cffafe;
}

/* ── Hero Floating Cards ── */
.hero-float-card {
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 182, 212, 0.18);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ── CTA / Contact Section ── */
.cta-section {
    background: linear-gradient(135deg,
        rgba(6, 182, 212, 0.08) 0%,
        rgba(6, 182, 212, 0.03) 100%);
    border-top: 1px solid rgba(6, 182, 212, 0.12);
}

/* ── Partner Badges ── */
.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(6, 182, 212, 0.12);
    border-radius: 12px;
    padding: 14px 22px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.3s, color 0.3s;
}

.partner-badge:hover {
    border-color: rgba(6, 182, 212, 0.35);
    color: #e2e8f0;
}

/* ── Scroll Fade-up Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Mobile Menu ── */
#mobileMenu {
    background: rgba(15, 23, 42, 0.97);
    border-top: 1px solid rgba(6, 182, 212, 0.12);
}

/* ── Form Inputs (dark theme) ── */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--cyan-500) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* ── Hide reCAPTCHA badge (attribution text shown in form instead) ── */
.grecaptcha-badge { visibility: hidden; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-float-card { display: none; }
}

@media (max-width: 768px) {
    .stat-number { font-size: 1.85rem; }
}
