/* ==========================================================================
   VYDAL Marketing Website — Clean, Spacious Editorial Stylesheet
   ========================================================================== */

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

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

body {
  background-color: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

/* Generous editorial vertical rhythm */
.section {
  padding: 120px 0;
}

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-emerald);
  display: inline-block;
  margin-bottom: 16px;
}

.section-header-center {
  max-width: 660px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Minimalist Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-logo svg {
  height: 28px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons & Store Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn-primary {
  background-color: var(--text-primary);
  color: var(--surface-base);
}

.btn-emerald {
  background-color: var(--brand-emerald);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-compact {
  height: 40px;
  padding: 0 18px;
  font-size: 0.85rem;
}

/* Apple App Store & Google Play Store Badges with "Coming Soon" */
.store-badges-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.store-badges-row.align-left {
  justify-content: flex-start;
}

.store-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background-color: #0F172A;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  user-select: none;
  opacity: 0.88;
}

[data-theme="dark"] .store-badge {
  background-color: #161F2C;
}

.store-badge-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  transition: transform var(--duration-fast) var(--ease-subtle), opacity var(--duration-fast) var(--ease-subtle);
}

.store-badge-item:hover .store-badge-img {
  transform: translateY(-1px);
  opacity: 0.94;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-badge-small {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

.store-badge-large {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.coming-soon-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.closing-copy .coming-soon-caption {
  color: #94A3B8;
}

/* ==========================================================================
   Hero Section — Big, Breathable & Human
   ========================================================================== */
.hero {
  padding: 80px 0 110px;
}

.hero-top {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-headline span {
  color: var(--brand-emerald);
}

.hero-sub {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-trust-line {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.closing-copy .cta-trust-line {
  color: #94A3B8;
  margin-top: 14px;
  margin-bottom: 0;
}

.hero-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  aspect-ratio: 16 / 9;
  max-height: 620px;
  width: 100%;
  background-color: #121820;
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Clean Floating Sanctuary Pill on Hero Photo */
.hero-floating-card {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  max-width: 460px;
  background: rgba(14, 20, 27, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.score-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #10B981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #10B981;
}

/* ==========================================================================
   3-Column "How It Works" Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.975rem;
}

/* ==========================================================================
   Editorial Feature Split (Photo + Story)
   ========================================================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.feature-split.reverse .feature-copy {
  order: 2;
}

.feature-split.reverse .feature-media {
  order: 1;
}

.feature-copy {
  max-width: 480px;
}

.feature-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.feature-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--brand-emerald-soft);
  color: var(--brand-emerald);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Clean Photo Frame */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-photo);
  background-color: var(--surface-card);
  aspect-ratio: 4 / 3;
}

.photo-frame.wide {
  aspect-ratio: 16 / 10;
}

.photo-frame.ultrawide {
  aspect-ratio: 21 / 9;
}

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

/* Dual Cards (Before/After or DIY/Pro) */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.editorial-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.editorial-card .photo-frame {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16 / 10;
}

.editorial-card-body {
  padding: 32px;
}

.editorial-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.editorial-tag.emerald {
  background-color: var(--brand-emerald-soft);
  color: var(--brand-emerald);
}

.editorial-tag.amber {
  background-color: var(--brand-amber-soft);
  color: var(--brand-amber);
}

.editorial-tag.muted {
  background-color: var(--surface-alt);
  color: var(--text-secondary);
}

/* Weather Moments Trio */
.weather-moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.moment-pill {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.moment-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.moment-pill p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Closing Callout Banner */
.closing-banner {
  background-color: var(--surface-dark-callout);
  color: #F8FAFC;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  box-shadow: var(--shadow-photo);
}

.closing-copy {
  padding: 64px;
}

.closing-copy p {
  color: #94A3B8;
  font-size: 1.1rem;
  margin: 16px 0 32px;
}

/* Legal & Support Prose Pages */
.prose-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 88px 28px 120px;
}

.prose-container h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.prose-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 44px;
}

.prose-container h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.prose-container p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.prose-container ul {
  color: var(--text-secondary);
  padding-left: 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose-container li {
  line-height: 1.65;
}

.prose-container a {
  color: var(--brand-emerald);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--surface-base);
  padding: 16px 28px 24px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: block;
  padding: 6px 0;
}

/* Keyboard Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand-emerald);
  outline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 56px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

@media (max-width: 920px) {
  .section {
    padding: 80px 0;
  }
  .steps-grid,
  .feature-split,
  .dual-grid,
  .weather-moments,
  .closing-banner {
    grid-template-columns: 1fr;
  }
  .feature-split.reverse .feature-copy {
    order: 1;
  }
  .feature-split.reverse .feature-media {
    order: 2;
  }
  .closing-copy {
    padding: 40px 28px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-floating-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
  }
}
