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

:root {
  /* Brand colors */
  --navy: #1B2A4A;
  --navy-light: #2C4270;
  --gold: #D4A35A;
  --gold-light: #E8C88A;
  --bg-light: #F8F6F1;
  --text-light: #F0EDE6;
  --success: #34D399;
  --danger: #EF4444;

  /* Typography */
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 48px 16px;
  --max-width: 1100px;
}

@media (min-width: 768px) {
  :root {
    --section-padding: 80px 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-stack);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; font-weight: 400; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

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

.nav__wordmark {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}

.nav__link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  opacity: 1;
}

.nav__link[aria-current="page"] {
  opacity: 1;
  color: var(--gold);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  font-family: var(--font-stack);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-light);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}



/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--navy);
  padding: var(--section-padding);
  padding-top: 64px;
  padding-bottom: 64px;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  pointer-events: none;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__logo {
  width: 100px;
  height: 100px;
}

@media (min-width: 768px) {
  .hero__logo {
    width: 120px;
    height: 120px;
  }
}

.hero__headline {
  color: var(--text-light);
  max-width: 600px;
}

.hero__subtext {
  color: var(--text-light);
  opacity: 0.85;
  max-width: 520px;
  font-size: 1.1rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

.store-badge {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ===== Sections (shared) ===== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title--light {
  color: var(--text-light);
}

/* ===== Features ===== */
.features {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.1);
  transform: translateY(-2px);
}

.feature-card__icon {
  margin: 0 auto 16px;
  width: 48px;
  height: 48px;
}

.feature-card__title {
  margin-bottom: 8px;
  color: var(--navy);
}

.feature-card__desc {
  color: var(--navy);
  opacity: 0.75;
  font-size: 1rem;
}

/* ===== Feature Categories ===== */
.features__category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 48px;
}

.features__category:first-of-type {
  margin-top: 0;
}

.features__category-icon {
  width: 32px;
  height: 32px;
  background: rgba(212, 163, 90, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.features__category-icon svg {
  width: 20px;
  height: 20px;
}

.features__category-title {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--navy);
  margin: 0;
}

.features__group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features__group {
    grid-template-columns: 1fr 1fr;
  }

  .features__group--three {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--navy);
  padding: var(--section-padding);
}

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

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }
}

.step {
  text-align: center;
  max-width: 260px;
  position: relative;
}

@media (min-width: 768px) {
  .step {
    flex: 1;
    padding: 0 16px;
  }
}

.step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step__icon {
  margin: 0 auto 12px;
  width: 48px;
  height: 48px;
}

.step__title {
  color: var(--text-light);
  margin-bottom: 8px;
}

.step__desc {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 0.95rem;
}

.steps__connector {
  display: none;
}

@media (min-width: 768px) {
  .steps__connector {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    opacity: 0.4;
    margin-top: 56px;
    flex-shrink: 0;
  }
}

/* ===== Privacy & Trust ===== */
.privacy {
  background: var(--bg-light);
  padding: var(--section-padding);
}

.privacy__body {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  opacity: 0.85;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
}

.trust-badge__label {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-light);
  padding: 0 16px 48px;
}

@media (min-width: 768px) {
  .faq {
    padding: 0 24px 80px;
  }
}

.faq__list {
  max-width: 680px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(27, 42, 74, 0.12);
}

.faq__question {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

details[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 20px;
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.7;
}

.faq__more {
  text-align: center;
  margin-top: 32px;
}

.faq__link {
  color: var(--gold);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.faq__link:hover {
  opacity: 0.8;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: var(--section-padding);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 8px;
  padding: 28px 24px;
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

/* ===== FAQ Page ===== */
.faq-hero {
  padding: 80px 16px 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .faq-hero {
    padding: 96px 24px 40px;
  }
}

.faq-hero h1 {
  color: var(--navy);
  margin-bottom: 16px;
}

.faq-hero__subtitle {
  color: var(--navy);
  opacity: 0.7;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.faq-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

@media (min-width: 768px) {
  .faq-content {
    padding: 0 24px 80px;
  }
}

.faq__category {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 163, 90, 0.3);
}

.faq__category:first-child {
  margin-top: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  padding: var(--section-padding);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__tagline {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer__links a {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.footer__copy {
  color: var(--text-light);
  opacity: 0.4;
  font-size: 0.8rem;
}

/* ===== Focus ===== */
a:focus-visible,
.btn:focus-visible,
.faq__question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ===== Legal Pages ===== */
.legal-page {
  background: var(--bg-light);
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

@media (min-width: 768px) {
  .legal-content {
    padding: 64px 24px 80px;
  }
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--navy);
  opacity: 0.5;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--gold-light);
}

.legal-content strong {
  font-weight: 600;
}

.footer--simple .footer__inner {
  gap: 16px;
}

/* ===== Contact Page ===== */
.contact-page {
  background: var(--navy);
  min-height: 100vh;
}

.contact-hero {
  padding: 64px 16px 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-hero {
    padding: 80px 24px 40px;
  }
}

.contact-hero h1 {
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 700;
}

.contact-hero__subtitle {
  color: var(--text-light);
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.contact-form-section {
  padding: 0 16px 64px;
}

@media (min-width: 768px) {
  .contact-form-section {
    padding: 0 24px 80px;
  }
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .contact-form {
    padding: 40px 32px;
  }
}

/* Honeypot */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Fields */
.contact-form__field {
  margin-bottom: 24px;
}

.contact-form__field label {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.contact-form__field input[type="text"],
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-stack);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form__field input[type="text"]:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form__field input[type="text"]::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-light);
  opacity: 0.4;
}

/* Select */
.contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F0EDE6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  padding-right: 40px;
}

.contact-form__field select option {
  background: var(--navy);
  color: var(--text-light);
}

/* Textarea */
.contact-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

/* File upload */
.contact-form__upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form__file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.contact-form__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-stack);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form__upload-btn:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form__file-name {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.contact-form__file-remove {
  background: none;
  border: none;
  color: var(--text-light);
  opacity: 0.5;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
}

.contact-form__file-remove:hover {
  opacity: 1;
  color: var(--danger);
}

.contact-form__hint {
  color: var(--text-light);
  opacity: 0.4;
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Validation errors */
.contact-form__field--error input,
.contact-form__field--error select,
.contact-form__field--error textarea {
  border-color: var(--danger);
}

.contact-form__field-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Submit button */
.contact-form__submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  margin-top: 8px;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Error banner */
.contact-form__error {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  margin-bottom: 16px;
}

.contact-form__error p {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0;
}

/* Success state */
.contact-form__success {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px;
}

.contact-form__success svg {
  margin: 0 auto 16px;
}

.contact-form__success h2 {
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-form__success p {
  color: var(--text-light);
  opacity: 0.7;
  margin-bottom: 24px;
}

/* Focus styles for contact form */
.contact-form__upload-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.contact-form__field input:focus-visible,
.contact-form__field select:focus-visible,
.contact-form__field textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
}

