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

:root {
  --navy: #0D1B2A;
  --navy-light: #162336;
  --charcoal: #2B2D31;
  --gold: #C8A46B;
  --gold-light: #D4B584;
  --gold-dark: #B08F56;
  --white: #ffffff;
  --ivory: #F7F5F0;
  --stone: #D8D2C4;
  --gray-light: #F7F5F0;
  --gray-mid: #D8D2C4;
  --gray-text: #6b7280;
  --text-dark: #0D1B2A;
  --text-body: #2B2D31;
  --success: #16a34a;
  --error: #dc2626;
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(13, 27, 42, 0.10);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  line-height: 1.6;
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--gold);
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.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;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  letter-spacing: 0.03em;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 164, 107, 0.1);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo .logo-icon {
  font-size: 1.5rem;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  color: var(--white);
}

.footer-logo .logo-img {
  height: 48px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.nav-cta {
  display: none;
}

.nav-cta .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

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

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  padding: 8rem 0 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 164, 107, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 164, 107, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 164, 107, 0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(200, 164, 107, 0.2);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  display: block;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat .label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ===== Section Shared ===== */
.section {
  padding: 6rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-header p {
  color: var(--gray-text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--ivory);
  border-radius: 4px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(216, 210, 196, 0.5);
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
  font-weight: 500;
}

.step-card p {
  color: var(--gray-text);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
}

/* ===== What We Source ===== */
.source-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.source-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(216, 210, 196, 0.6);
  transition: all var(--transition);
}

.source-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.source-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
  color: var(--gold);
  filter: grayscale(0.2);
}

.source-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  font-weight: 500;
}

.source-card p {
  color: var(--gray-text);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===== Why Join ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--ivory);
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid rgba(216, 210, 196, 0.5);
  transition: all var(--transition);
}

.benefit-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.benefit-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.benefit-text p {
  color: var(--gray-text);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== Signup ===== */
.signup-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
}

.signup-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.signup-info h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}

.signup-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.signup-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.signup-perks .perk-check {
  color: var(--gold);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.signup-form-card {
  background: var(--ivory);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(200, 164, 107, 0.15);
}

.signup-form-card h3 {
  font-size: 1.625rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.signup-form-card .form-subtitle {
  color: var(--gray-text);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 2px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 107, 0.12);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--error);
}

.form-group .error-msg {
  color: var(--error);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group .error-msg.show {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-submit .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.0625rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-text);
  font-size: 0.9375rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(216, 210, 196, 0.6);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold-dark);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--gray-text);
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--navy);
  color: var(--gold);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-text);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-brand .footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links-col h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  text-align: center;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ===== Responsive: Tablet (640px+) ===== */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .source-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 3rem;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===== Responsive: Desktop (960px+) ===== */
@media (min-width: 960px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    padding: 10rem 0 6rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: block;
  }

  .mobile-toggle {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .step-arrow {
    display: flex;
    padding-top: 2.5rem;
  }

  .source-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .signup-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .signup-form-card {
    padding: 2.5rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===== Responsive: Large Desktop (1200px+) ===== */
@media (min-width: 1200px) {
  .hero-content {
    max-width: 800px;
  }

  .source-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ===== Focus Visible ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
