/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== DESIGN TOKENS ===== */
:root {
    --primary: #ff8636;
    --primary-dark: #0044aa;
    --primary-light: #00bfff;
    --accent: #06b6d4;
    --secondary: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-img: #f4f4f4;
    --bg-subtle: #f1f5f9;
    --border: #e2e8f0;
    --primary-dark-faded: #0044aa83; 
    --gradient: linear-gradient(135deg, #0044aa 0%, #00bfff 100%);
    --gradient-warm: linear-gradient(135deg, #ff8636 0%, #fff132 100%);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }

.nav-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 38px; }

.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--text); text-decoration: none; font-weight: 500;
    font-size: 0.9rem; transition: color 0.2s; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }

.nav-cta {
    background: var(--primary-dark); color: white !important;
    padding: 10px 22px; border-radius: 8px; font-weight: 600; transition: all 0.2s;
}
.nav-cta:hover {
    background: var(--primary-light) !important; color: white !important;
    transform: translateY(-1px);
}

.nav-links a.active { 
    color: var(--primary); 
}

.mobile-menu-btn {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--secondary); cursor: pointer;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--secondary);
    padding: 48px 32px;
}
.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 4px;
}


@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stat-number {
        font-size: 2rem;
    }
}


/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 20px 32px;
}

.footer-grid{
  width: fit-content;            /* shrink container to its content */
  margin: 0 auto 20px;           /* center it */
  display: grid;

  /* columns sized to their content instead of stretching */
  grid-template-columns: max-content max-content max-content max-content;

  gap: 48px;
  align-items: start;
}

.footer-brand{
  max-width: 320px;              /* adjust (280–360px works well) */
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }
.footer-brand img { height: 32px; filter: brightness(0) invert(1); }

.footer-col h4 {
    color: white; font-size: 0.9rem; font-weight: 700;
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: white; }

.footer-bottom {
    max-width: 1280px; margin: 0 auto; padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 1.1rem; transition: color 0.2s; }
.footer-social a:hover { color: white; }

/* Center overall footer content */
footer .footer-grid{
  justify-items: center;   /* centers each column */
  text-align: center;
}

footer .footer-brand{
  text-align: center;
}

footer .footer-brand img{
  margin: 0 auto 12px;     /* centers logo */
}

/* ===== ANIMATION ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
