/* === Reset & Base === */

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

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #0f1720;
  --gold: #c4a265;
  --gold-light: #d4b87a;
  --gold-dark: #b08d4a;
  --gold-subtle: #f5f0e8;
  --white: #ffffff;
  --cream: #faf8f5;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #adb5bd;
  --gray-600: #6c757d;
  --text-primary: var(--navy);
  --text-secondary: #4a5568;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1120px;
  --section-padding: 100px 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--cream);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Sticky Header === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-bottom-color: rgba(196, 162, 101, 0.15);
  box-shadow: 0 2px 20px rgba(26, 35, 50, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.header-cta {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* === Hero === */

.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 162, 101, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(26, 35, 50, 0.04) 0%, transparent 70%),
    linear-gradient(175deg, var(--cream) 0%, var(--white) 50%, var(--gold-subtle) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
}

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

.hero-logo {
  width: 280px;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 20px 40px rgba(26, 35, 50, 0.12));
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 20px;
}

.gold-text {
  color: var(--gold-dark);
}

.hero-subheadline {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-disclaimer {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-400);
}

/* === Signup Form === */

.signup-form {
  max-width: 480px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.15);
}

.cta-button {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(196, 162, 101, 0.3);
  letter-spacing: 0.01em;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* === Success State === */

.signup-success {
  text-align: center;
  padding: 32px 0;
}

.signup-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.signup-success p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* === Error State === */

.signup-error {
  background: #fef2f2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.signup-error.visible {
  display: block;
}

/* === Sections === */

.section {
  padding: var(--section-padding);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--gold-subtle);
  border-radius: 4px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 56px;
}

/* === The Opportunity === */

.opportunity {
  background: var(--white);
  text-align: center;
}

.opportunity .section-intro {
  margin-left: auto;
  margin-right: auto;
}

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

.value-card {
  position: relative;
  padding: 40px 32px;
  background: var(--cream);
  border-radius: 12px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 35, 50, 0.08);
}

.value-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  margin-top: 4px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* === How It Works === */

.how-it-works {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works .section-label {
  color: var(--gold);
  background: rgba(196, 162, 101, 0.1);
}

.how-it-works h2 {
  color: var(--white);
}

.how-it-works .section-intro {
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.step {
  flex: 1;
  max-width: 300px;
  padding: 0 24px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 16px;
  line-height: 1;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.3;
  margin-top: 32px;
  flex-shrink: 0;
}

/* === Why Yeld === */

.why-yeld {
  background: var(--cream);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.why-left {
  position: sticky;
  top: 120px;
}

.why-emblem {
  width: 200px;
  height: auto;
  margin-top: 32px;
  border-radius: 16px;
  opacity: 0.85;
}

.advantages {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advantage:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(26, 35, 50, 0.06);
}

.advantage-bar {
  width: 3px;
  min-height: 48px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

.advantage h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.advantage p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* === Team === */

.team {
  background: var(--white);
  text-align: center;
}

.team .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.team-member {
  max-width: 320px;
  text-align: center;
}

.member-initial {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(26, 35, 50, 0.15);
}

.team-member h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.team-member p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* === Final CTA === */

.final-cta {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-emblem {
  width: 80px;
  height: auto;
  margin-bottom: 24px;
  border-radius: 12px;
  opacity: 0.9;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta .section-intro {
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
  margin-right: auto;
}

.final-cta .signup-form {
  margin: 0 auto;
}

.final-cta .form-group input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.final-cta .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.final-cta .form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.final-cta .signup-success h3 {
  color: var(--white);
}

.final-cta .signup-success p {
  color: rgba(255, 255, 255, 0.6);
}

.final-cta .signup-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* === Footer === */

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.4);
  padding: 48px 0;
  border-top: 1px solid rgba(196, 162, 101, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-logo-text {
  color: var(--white);
  opacity: 0.8;
  font-size: 20px;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 13px;
}

.footer-disclaimer {
  max-width: 640px;
}

.footer-disclaimer p {
  font-size: 12px;
  line-height: 1.7;
}

/* === Responsive === */

@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subheadline {
    max-width: 100%;
  }

  .signup-form {
    width: 100%;
  }

  .hero-logo {
    width: 200px;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-left {
    position: static;
    text-align: center;
  }

  .why-emblem {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .value-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 28px 24px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step {
    max-width: 400px;
  }

  .step-connector {
    width: 2px;
    height: 24px;
    margin-top: 0;
  }

  .team-members {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 12px 16px;
  }

  .logo-img {
    height: 32px;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  .container {
    padding: 0 16px;
  }
}
