/* ===== Soffit — Shared Styles ===== */
/* Modern 2025/2026 design: geometric sans, grain textures, glass effects, generous whitespace */

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

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #FF6B4A;
  --primary-light: #FF8B70;
  --primary-dark: #E85A3A;
  --primary-glow: rgba(255, 107, 74, 0.15);
  --secondary:  #1A252F;
  --secondary-light: #2C3E50;
  --accent:     #00B894;
  --accent-light: #55EFC4;
  --bg:         #FAFAFA;
  --bg-white:   #FFFFFF;
  --bg-alt:     #F1F3F5;
  --bg-dark:    #111820;
  --bg-card:    rgba(255, 255, 255, 0.7);
  --text:       #1A1A2E;
  --text-light: #5A5A72;
  --text-muted: #8E8EA0;
  --text-white: #FFFFFF;
  --border:     rgba(0, 0, 0, 0.06);
  --border-light: rgba(0, 0, 0, 0.03);
  --glass:      rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow:     0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:  0 4px 12px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 60px rgba(255, 107, 74, 0.15);
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --max-width:  1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay for texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.75;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: var(--primary-glow);
  border-radius: 50px;
  width: fit-content;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header p {
  margin-top: 1rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,74,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0,184,148,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: var(--text-white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* Dark / light logo switching */
.logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-glow);
}

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

.nav-cta {
  margin-left: 0.5rem;
}

/* Nav CTA — clean outline pill */
.nav-cta .btn {
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-cta .btn-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: none;
}

.nav-cta .btn-primary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: none;
  box-shadow: none;
}

/* Dark navbar (for dark hero pages) */
.navbar-dark {
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.06);
}
.navbar-dark .logo-dark { display: none; }
.navbar-dark .logo-light { display: block; }
.navbar-dark .nav-links a { color: rgba(255,255,255,0.7); }
.navbar-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.navbar-dark .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.navbar-dark .mobile-toggle span { background: #fff; }
.navbar-dark .nav-cta .btn-primary { color: #fff; border-color: rgba(255,255,255,0.4); }
.navbar-dark .nav-cta .btn-primary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: #fff; }
.navbar-dark.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
}
.navbar-dark.scrolled .logo-dark { display: block; }
.navbar-dark.scrolled .logo-light { display: none; }
.navbar-dark.scrolled .nav-links a { color: var(--text-light); }
.navbar-dark.scrolled .nav-links a:hover { color: var(--primary); background: var(--primary-glow); }
.navbar-dark.scrolled .nav-links a.active { color: var(--primary); background: var(--primary-glow); }
.navbar-dark.scrolled .nav-cta .btn-primary { color: var(--primary); border-color: var(--primary); background: transparent; }
.navbar-dark.scrolled .nav-cta .btn-primary:hover { background: var(--primary); color: #fff; }
.navbar-dark.scrolled .mobile-toggle span { background: var(--secondary); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 74, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 74, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 37, 47, 0.2);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

.btn-white {
  background: #fff;
  color: var(--secondary);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

.btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 999px;
}

.btn svg { width: 18px; height: 18px; }

/* ---------- Glass Card ---------- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Bento Grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.bento-item:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-row { grid-row: span 2; }

.bento-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.bento-icon svg { width: 26px; height: 26px; color: var(--primary); }

.bento-item h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 144px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--primary); }
.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 520px; color: var(--text-light); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
  opacity: 0.9;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(255,107,74,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0,184,148,0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 60%, rgba(255,107,74,0.03) 0%, transparent 30%);
  z-index: 0;
}

/* Floating shapes for hero */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,184,148,0.08) 0%, transparent 70%);
  bottom: 10%;
  right: 30%;
  animation-delay: -3s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -20px); }
  66% { transform: translate(-15px, 15px); }
}

/* Partners hero */
.hero-partners {
  background: linear-gradient(155deg, #0D1117 0%, var(--secondary) 40%, #1E3A5F 100%);
  color: var(--text-white);
}

.hero-partners h1,
.hero-partners p { color: var(--text-white); }
.hero-partners p { opacity: 0.85; }

/* About hero */
.hero-about {
  min-height: 60vh;
  background: var(--bg);
}

/* ---------- Steps ---------- */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.steps-layout .img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  position: relative;
}

/* Vertical line connecting steps */
.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 1px;
  opacity: 0.2;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.step-content h3 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.95rem; }

/* ---------- Score Visual ---------- */
.score-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.score-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.score-ring {
  position: relative;
  width: 260px;
  height: 260px;
}

.score-ring svg { width: 100%; height: 100%; }

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-value .number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-value .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.score-details h3 { margin-bottom: 0.75rem; }
.score-details p { margin-bottom: 1.5rem; }

.score-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.score-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.score-features li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Features Bento ---------- */
.feature-card {
  text-align: left;
  padding: 2.5rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-icon.green { background: rgba(0, 184, 148, 0.1); }
.feature-icon.green svg { color: var(--accent); }

.feature-card h3 { margin-bottom: 0.5rem; }

/* ---------- Stats / Metrics ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-dark .stat-label { color: rgba(255,255,255,0.6); }

/* ---------- Waitlist ---------- */
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 2rem auto 0;
}

.waitlist-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
  background: var(--bg-white);
}

.waitlist-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.waitlist-form .btn {
  flex-shrink: 0;
}

/* Inline form for dark sections */
.waitlist-dark input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.waitlist-dark input::placeholder { color: rgba(255,255,255,0.4); }

.waitlist-dark input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.12);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo svg { width: 60px; height: 60px; color: rgba(255,255,255,0.85); }

.team-card h3 { margin-bottom: 0.25rem; }

.team-role {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Advisory */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.advisory-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.advisory-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.advisory-photo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  margin: 0 auto 1rem;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisory-photo svg { width: 36px; height: 36px; color: var(--text-muted); }

.advisory-card h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.advisory-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
}

.value-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card .value-icon svg { width: 24px; height: 24px; color: var(--primary); }

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,74,0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-img {
  height: 26px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  margin-top: 0;
  max-width: 340px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ---------- Problem / Solution ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.problem-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 107, 74, 0.2);
}

.problem-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.problem-card p {
  font-size: 0.9rem;
}

/* ---------- Flow Diagram ---------- */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.flow-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  flex: 1;
  min-width: 180px;
  transition: all var(--transition);
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 107, 74, 0.25);
}

.flow-step .step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.flow-step h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.flow-step p { font-size: 0.85rem; }

.flow-arrow {
  color: var(--primary);
  flex-shrink: 0;
}

.flow-arrow svg { width: 24px; height: 24px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; font-size: 1.15rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Pill / Tag ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.pill-primary {
  background: var(--primary-glow);
  color: var(--primary);
}

.pill-dark {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  margin: 1.5rem 0;
}

.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Image Sections ---------- */
.img-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.img-section.reverse { direction: rtl; }
.img-section.reverse > * { direction: ltr; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
}

/* Accent image border */
.img-accent {
  position: relative;
}

.img-accent::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

/* Hero with background image */
.hero-img-bg {
  position: relative;
}

.hero-img-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,250,250,0.97) 45%, rgba(250,250,250,0.6) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Score Growth — Hero-Style BG Image ---------- */
.score-growth-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.score-growth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.score-growth-bg img {
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: end;
}

.score-growth-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, var(--bg) 40%, rgba(250,250,250,0.85) 60%, rgba(250,250,250,0.3) 80%, transparent 100%);
}

.score-growth-content {
  max-width: 540px;
  margin-left: auto;
}

@media (max-width: 1100px) {
  .score-growth-overlay {
    background: linear-gradient(to left, var(--bg) 35%, rgba(250,250,250,0.9) 55%, rgba(250,250,250,0.5) 80%, transparent 100%);
  }
}

@media (max-width: 768px) {
  .score-growth-section { min-height: auto; }
  .score-growth-overlay {
    background: linear-gradient(to bottom, rgba(250,250,250,0.6) 0%, var(--bg) 50%);
  }
  .score-growth-content {
    max-width: 100%;
    margin-left: 0;
    padding-top: 14rem;
  }
}

/* ---------- Green Accent Variants ---------- */
.accent-green { color: var(--accent); }
.bg-accent-glow { background: rgba(0, 184, 148, 0.1); }

.section-label-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 50px;
  width: fit-content;
}

.feature-icon-green {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: rgba(0, 184, 148, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-green svg { width: 26px; height: 26px; color: var(--accent); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 184, 148, 0.25);
}

.btn-accent:hover {
  background: #00a884;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 184, 148, 0.35);
}

.value-card-green::before {
  background: var(--accent);
}

/* Score band bars */
.score-bands {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.score-band {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.band-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.band-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.band-label {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 120px;
  font-family: var(--font-display);
}

.band-range {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 80px;
  text-align: right;
}

/* Score components */
.score-components {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.score-component {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.score-component:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.component-pct {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.component-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.component-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Responsive (additions) ---------- */
@media (max-width: 968px) {
  .img-section { grid-template-columns: 1fr; gap: 2rem; }
  .img-section.reverse { direction: ltr; }
  .score-components { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .grid-3, .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.span-2 { grid-column: auto; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-visual { display: none; }
  .hero-shapes { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: 1rem; }
  .score-section { grid-template-columns: 1fr; text-align: center; }
  .score-details { text-align: left; }
  .steps-layout { grid-template-columns: 1fr; }
  .steps-layout .img-frame { aspect-ratio: 16/9; max-height: 300px; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .values-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .bento { grid-template-columns: 1fr; }
  section { padding: 4.5rem 0; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0.5rem;
  }
  .waitlist-form { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr; }
}
