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

:root {
  --brand-red: #E63946;
  --brand-orange: #F4A261;
  --brand-yellow: #FFD166;
  --brand-blue: #1D4ED8;
  --brand-purple: #7C3AED;
  --brand-navy: #1F2937;
  --brand-navy-soft: #334155;
  --brand-light: #F9FAFB;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
}

.font-script {
  font-family: 'Dancing Script', cursive;
}

/* ====== Brand color utilities ====== */
.text-brand-red { color: var(--brand-red); }
.text-brand-orange { color: var(--brand-orange); }
.text-brand-yellow { color: var(--brand-yellow); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-purple { color: var(--brand-purple); }
.text-brand-navy { color: var(--brand-navy); }

.bg-brand-red { background-color: var(--brand-red); }
.bg-brand-orange { background-color: var(--brand-orange); }
.bg-brand-yellow { background-color: var(--brand-yellow); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-purple { background-color: var(--brand-purple); }
.bg-brand-navy { background-color: var(--brand-navy); }
.bg-brand-light { background-color: var(--brand-light); }

.border-brand-red { border-color: var(--brand-red); }
.border-brand-orange { border-color: var(--brand-orange); }
.border-brand-yellow { border-color: var(--brand-yellow); }
.border-brand-blue { border-color: var(--brand-blue); }
.border-brand-purple { border-color: var(--brand-purple); }

/* ====== Hero gradient ====== */
.hero-gradient {
  background:
    radial-gradient(1200px 500px at 10% 0%, rgba(230, 57, 70, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(124, 58, 237, 0.20), transparent 55%),
    radial-gradient(800px 400px at 50% 100%, rgba(29, 78, 216, 0.18), transparent 55%),
    linear-gradient(135deg, #0f172a 0%, #1f2937 50%, #1e293b 100%);
}

.hero-gradient-light {
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(244, 162, 97, 0.18), transparent 60%),
    radial-gradient(900px 400px at 100% 100%, rgba(124, 58, 237, 0.15), transparent 60%),
    linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, #eef2ff 100%);
}

.section-divider-navy {
  background: var(--brand-navy);
}

/* ====== Cards ====== */
.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 6px 18px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent, var(--brand-blue));
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.06);
  border-color: #e2e8f0;
}

.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--accent, var(--brand-blue)) 12%, white);
  color: var(--accent, var(--brand-blue));
  margin-bottom: 1rem;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: .95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-purple));
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124, 58, 237, .35); }

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--brand-navy);
  border-color: #e2e8f0;
}
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* ====== Nav active state ====== */
.nav-link {
  position: relative;
  font-weight: 500;
  color: #334155;
  padding: .5rem 0;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--brand-purple); }
.nav-link.active { color: var(--brand-purple); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-purple));
}

/* ====== Section title bar (deck style) ====== */
.deck-title {
  background: var(--brand-navy);
  color: #fff;
  padding: 2rem 2rem;
  border-radius: 0 1rem 1rem 0;
}

/* ====== Stat strip ====== */
.stat-strip {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0b1220 100%);
}

/* ====== CTA gradient box (dark) ====== */
.cta-box {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1e293b 50%, var(--brand-purple) 100%);
  color: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: radial-gradient(circle at 20% 20%, #fff 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }

/* ====== Animations ====== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp .7s ease both; }

/* ====== Service icons (small SVG container) ====== */
.svg-icon { width: 26px; height: 26px; stroke-width: 1.8; }

/* ====== Footer ====== */
.site-footer {
  background: #0b1220;
  color: #cbd5e1;
}
.site-footer a { color: #cbd5e1; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }

/* ====== Form ====== */
.form-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  padding: .75rem 1rem;
  background: #fff;
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .15);
}

/* ====== Mobile menu ====== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-menu.open { max-height: 480px; }

/* ====== Team card ====== */
.team-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 6px 18px rgba(15,23,42,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.10); }
.team-card .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f1f5f9;
}

/* ====== Marquee for collaborators ====== */
.logo-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* ====== Utility ====== */
.container-max { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.divider-dot { width: 6px; height: 6px; border-radius: 9999px; background: currentColor; opacity: .5; display: inline-block; }
