/* =========================================
   SafesSpeak — Main Stylesheet
   ========================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@300;400;500;600&display=swap");

/* ── CSS Variables ── */
:root {
  --navy: #0f1f3d;
  --navy-mid: #162847;
  --teal: #1a7f7a;
  --teal-light: #22a49e;
  --teal-pale: #e6f5f4;
  --amber: #f5a623;
  --amber-pale: #fef6e4;
  --coral: #e05c5c;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --text-dark: #0f1f3d;
  --text-mid: #4a5568;
  --text-light: #8896a8;
  --border: #dde4ef;
  --shadow-sm: 0 2px 8px rgba(15, 31, 61, 0.08);
  --shadow-md: 0 8px 32px rgba(15, 31, 61, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 31, 61, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}
p {
  color: var(--text-mid);
  font-size: 1rem;
}

.italic {
  font-style: italic;
}
.accent {
  color: var(--teal);
}
.amber {
  color: var(--amber);
}

/* ── Layout Utilities ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gap-sm {
  gap: 12px;
}
.gap-md {
  gap: 24px;
}
.gap-lg {
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.text-center {
  text-align: center;
}
.mt-sm {
  margin-top: 12px;
}
.mt-md {
  margin-top: 24px;
}
.mt-lg {
  margin-top: 40px;
}
.mb-md {
  margin-bottom: 24px;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: var(--teal-pale);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
  color: var(--white) !important;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 127, 122, 0.3);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 127, 122, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15, 31, 61, 0.25);
}

.btn-navy:hover {
  background: #1a3260;
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}

.btn-amber:hover {
  background: #f0b940;
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 12px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ── Tag / Badge ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.tag-teal {
  background: var(--teal-pale);
  color: var(--teal);
}
.tag-amber {
  background: var(--amber-pale);
  color: #b07800;
}
.tag-navy {
  background: #e8ecf5;
  color: var(--navy);
}
.tag-coral {
  background: #fdeaea;
  color: var(--coral);
}

/* ── Section Labels ── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

/* ── Hero ── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(26, 127, 122, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  color: white;
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--amber);
  font-style: italic;
}
.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 320px;
  height: 320px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: white;
  animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  top: 0;
  left: 0;
  width: 200px;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  bottom: 20px;
  right: 0;
  width: 180px;
  animation-delay: 1.5s;
}

.floating-card:nth-child(3) {
  top: 50%;
  left: 60px;
  width: 160px;
  transform: translateY(-50%);
  animation-delay: 0.8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.floating-card:nth-child(3) {
  animation: float3 4s ease-in-out infinite 0.8s;
}
@keyframes float3 {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 12px));
  }
}

.fc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.fc-value {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.fc-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.fc-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

/* ── Stats Row ── */
.stats-row {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── What Is Section ── */
.what-is {
  background: var(--off-white);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.type-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.type-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.type-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.type-card h4 {
  margin-bottom: 8px;
}
.type-card p {
  font-size: 0.9rem;
}

/* ── How It Works ── */
.how-it-works {
  background: var(--navy);
  color: white;
}
.how-it-works h2 {
  color: white;
}
.how-it-works p {
  color: rgba(255, 255, 255, 0.7);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 127, 122, 0.3);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-light);
  margin: 0 auto 20px;
}

.step h4 {
  color: white;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Success Stories ── */
.stories-section {
  background: var(--off-white);
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.story-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.story-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: "Fraunces", serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal-pale);
  pointer-events: none;
}

.story-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin: 20px 0 24px;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.author-grade {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #0d6e69 100%);
  padding: 72px 0;
  text-align: center;
  color: white;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal-light);
}

.footer-copy {
  font-size: 0.82rem;
  margin-top: 8px;
}

/* ── Forms (shared) ── */
.form-page {
  min-height: 100vh;
  background: var(--off-white);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header .section-label {
  display: block;
  margin-bottom: 8px;
}
.form-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.form-header p {
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto;
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group label .req {
  color: var(--coral);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 127, 122, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select.form-control {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Checkbox Group ── */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.checkbox-item:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.checkbox-item.checked {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 12px;
  color: white;
}

.checkbox-item.checked .checkmark {
  background: var(--teal);
  border-color: var(--teal);
}

.checkbox-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}

.checkbox-icon {
  font-size: 18px;
}

/* ── Anonymous Notice ── */
.anon-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--teal-pale);
  border: 1px solid rgba(26, 127, 122, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.anon-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.anon-text {
  font-size: 0.88rem;
  color: var(--teal);
  line-height: 1.5;
}

.anon-text strong {
  color: var(--navy);
}

/* ── Login Page ── */
.login-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
}

.login-page .navbar {
  background: rgba(15, 31, 61, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-page .nav-logo {
  color: white;
}
.login-page .nav-links a {
  color: rgba(255, 255, 255, 0.6);
}
.login-page .nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.login-bg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.login-bg::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(26, 127, 122, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.login-bg::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.login-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
}

.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.login-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  margin-top: 20px;
}

.login-card > p {
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 48px;
}

.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-light);
  transition: var(--transition);
}

.toggle-pw:hover {
  color: var(--teal);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  cursor: pointer;
}

.remember input {
  accent-color: var(--teal);
}

.forgot-link {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 500;
  transition: var(--transition);
}

.forgot-link:hover {
  color: var(--navy);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.login-footer a {
  color: var(--teal);
  font-weight: 600;
}

.privacy-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ── Page Header (for inner pages) ── */
.page-header {
  background: var(--navy);
  padding: 60px 0 52px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(26, 127, 122, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.page-header .section-label {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  display: block;
}
.page-header h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.page-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Mission Page ── */
.mission-intro {
  background: white;
}

.mission-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mission-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: white;
}

.msn {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal-light);
}
.msl {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.mission-values {
  background: var(--off-white);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.value-card h4 {
  margin-bottom: 6px;
}
.value-card p {
  font-size: 0.9rem;
}

.team-section {
  background: white;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

.team-card h4 {
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p {
  font-size: 0.88rem;
}

/* ── Success / Confirmation ── */
.success-banner {
  background: linear-gradient(135deg, #e6f5f4 0%, #d0eeec 100%);
  border: 1px solid rgba(26, 127, 122, 0.2);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.success-banner h3 {
  color: var(--teal);
  margin-bottom: 8px;
}
.success-banner p {
  font-size: 0.92rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner,
  .mission-split {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .types-grid,
  .story-cards,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row,
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-row::before {
    display: none;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .types-grid,
  .story-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card,
  .login-card {
    padding: 28px 20px;
  }
  .nav-links {
    display: none;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}
.delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}
.delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}
.delay-4 {
  animation-delay: 0.4s;
  opacity: 0;
}
