:root {
  --brand: #4F46E5;
  --brand-light: #818CF8;
  --brand-pale: #EEF2FF;
  --brand-deep: #3730A3;
  --dark: #0C0A1D;
  --grey: #6B7280;
  --grey-light: #E3E2DD;
  --grey-100: #F3F2EE;
  --white: #FFFFFF;
  --green: #059669;
  --green-light: #D1FAE5;
  --green-pale: #ECFDF5;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --teal: #0D9488;
  --teal-light: #CCFBF1;
  --brand-primary: var(--brand);
  --accent-green: var(--green);
  --accent-sky: #0EA5E9;
}

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

html, body {
  min-height: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #FAFAF7;
  color: var(--dark);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 30% 20%, rgba(79, 70, 229, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 75% 60%, rgba(217, 119, 6, 0.025) 0%, transparent 50%);
  pointer-events: none;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Logo mark — hero (140px) ── */
.logo-mark {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.logo-circle {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border: 10px solid var(--brand);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 70%);
}

.logo-circle-inner {
  position: absolute;
  display: block;
  top: 28px;
  left: 28px;
  width: 84px;
  height: 84px;
  border: 10px solid var(--brand-light);
  border-radius: 50%;
  clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%);
}

/* ── Logo mark — nav (36px) ── */
.nav-logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-circle {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border: 2.8px solid var(--brand);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 70%);
}

.nav-logo-circle-inner {
  position: absolute;
  display: block;
  top: 7px;
  left: 7px;
  width: 22px;
  height: 22px;
  border: 2.8px solid var(--brand-light);
  border-radius: 50%;
  clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%);
}

.nav-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--dark);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227,226,221,0.6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

/* ── Logo mark — small (80px, sub-page heroes) ── */
.logo-mark--sm {
  width: 80px;
  height: 80px;
  margin: 0 auto 40px;
}

.logo-mark--sm .logo-circle { border-width: 5.7px; }

.logo-mark--sm .logo-circle-inner {
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  border-width: 5.7px;
}

/* ── Label tag ── */
.label-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 20px;
  opacity: 0.7;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Primary button ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 60px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 24px rgba(79,70,229,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,70,229,0.35);
  background: #5B52F0;
}

.btn-primary .arrow {
  font-size: 20px;
  transition: transform 0.2s;
}

.btn-primary:hover .arrow { transform: translateX(3px); }

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(79,70,229,0.14) 0%, transparent 60%),
    linear-gradient(160deg, #16122e 0%, #0C0A1D 55%);
  padding: 52px 40px 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-brand { flex: 1; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-logo-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer-logo-circle {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border: 2.5px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 70%);
}

.footer-logo-circle-inner {
  position: absolute;
  display: block;
  top: 6px;
  left: 6px;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  clip-path: polygon(0 30%, 100% 30%, 100% 100%, 0 100%);
}

.footer-logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.3px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  line-height: 1.6;
  max-width: 200px;
}

.footer-copyright {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-contact { padding-top: 2px; }

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: none;
  border: 1.5px solid rgba(255,255,255,0.16);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-cta:hover {
  border-color: rgba(255,255,255,0.4);
  color: white;
  background: rgba(255,255,255,0.05);
}

.footer-bottom {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

/* ── Shared responsive ── */
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav-cta { font-size: 13px; padding: 8px 18px; }
  .label-tag { font-size: 10px; letter-spacing: 2.5px; }
  .site-footer { padding: 40px 24px 0; }
  .footer-inner { flex-direction: column; gap: 32px; }
}
