@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #0A2540;
  --accent: #00C896;
  --accent-soft: rgba(0, 200, 150, 0.12);
  --cta: #FF6B35;
  --cta-soft: rgba(255, 107, 53, 0.14);
  --surface: #F8FAFF;
  --surface-2: #ffffff;
  --surface-dark: #060F1E;
  --surface-darker: #030914;
  --text-primary: #0D1B2A;
  --text-on-dark: #E8F0FB;
  --text-muted: #5A7184;
  --text-muted-dark: #8FA4BF;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.10);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-light: rgba(13, 27, 42, 0.08);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.24);
  --shadow-glow-accent: 0 8px 40px rgba(0, 200, 150, 0.28);
  --shadow-glow-cta: 0 8px 36px rgba(255, 107, 53, 0.42);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h4 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; }
h6 { font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin-bottom: 1rem; }
.lead { font-size: 1.12rem; line-height: 1.7; color: var(--text-muted); }
small { font-size: 0.85rem; }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 { color: #fff; }
.section-dark p { color: var(--text-muted-dark); }
.section-dark .lead { color: var(--text-muted-dark); }

/* CONTAINER + GRID */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 20px; grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* SECTIONS */
section { position: relative; }

.section-light {
  background: var(--surface);
  color: var(--text-primary);
  padding: 88px 0;
  position: relative;
}

.section-white {
  background: #fff;
  color: var(--text-primary);
  padding: 88px 0;
  position: relative;
}

.section-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 200, 150, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 100%, rgba(255, 107, 53, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(10, 37, 64, 0.65) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.07 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.section-dark > .container { position: relative; z-index: 1; }
.section-light > .container, .section-white > .container { position: relative; z-index: 1; }

.section-cta {
  background: linear-gradient(135deg, #FF6B35 0%, #E04E1A 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta h2, .section-cta p { color: #fff; }

.section-accent {
  background: linear-gradient(135deg, #00C896 0%, #04A87C 100%);
  color: var(--text-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.diagonal-top {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

/* SECTION HEADERS */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--text-muted); }
.section-dark .section-head p { color: var(--text-muted-dark); }

/* UTILITIES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-cta { color: var(--cta); }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 40px; } .mt-6 { margin-top: 56px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 40px; } .mb-6 { margin-bottom: 56px; }
.py-2 { padding-block: 16px; } .py-3 { padding-block: 24px; } .py-4 { padding-block: 32px; } .py-5 { padding-block: 48px; }
.px-2 { padding-inline: 16px; } .px-3 { padding-inline: 24px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; } .gap-3 { gap: 22px; } .gap-4 { gap: 32px; }
.flex-wrap { flex-wrap: wrap; }

/* RESPONSIVE BASE */
@media (min-width: 768px) {
  .section-light, .section-white { padding: 96px 0; }
  .section-dark { padding: 110px 0; }
}

@media (min-width: 1024px) {
  .section-light, .section-white { padding: 110px 0; }
  .section-dark { padding: 130px 0; }
  .container { padding-inline: 32px; }
}

@media (min-width: 1280px) {
  .container { padding-inline: 24px; }
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f0f4f9; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* SELECTION */
::selection { background: var(--accent); color: var(--surface-dark); }

/* SR ONLY */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
