/* ==========================================================================
   HALOMOMEN — CSS SYSTEM & STYLESHEET
   Brand: Warm Technology for Special Moments
   Palette: Strictly No Terracotta, Warm Ivory, Midnight Navy, Muted Sage.
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  /* Color Palette */
  --color-navy: #263746;
  --color-navy-dark: #1C2B38;
  --color-ivory: #F7F3EC;
  --color-cream: #FBF9F4;
  --color-sage: #A8B5A0;
  --color-sage-light: #E3E8E0;
  --color-blue: #91A3AF;
  --color-champagne: #D8C7A8;
  --color-mauve: #A88F95;
  --color-text-dark: #263746;
  --color-text-muted: #5C6B73;
  --color-white: #FFFFFF;
  --color-border-subtle: rgba(38, 55, 70, 0.12);

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max-width: 1200px;
  --container-narrow-width: 800px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows & Elevation */
  --shadow-subtle: 0 4px 20px rgba(38, 55, 70, 0.05);
  --shadow-card: 0 10px 30px rgba(38, 55, 70, 0.08);
  --shadow-hover: 0 18px 40px rgba(38, 55, 70, 0.12);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-ivory);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-ivory);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* 3. TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-navy);
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* 4. LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow-width);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* 5. BUTTONS & UI COMPONENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 55, 70, 0.2);
}

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

.btn-secondary:hover {
  background-color: rgba(38, 55, 70, 0.05);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  color: var(--color-navy);
  font-weight: 600;
  position: relative;
}

.btn-text:hover {
  color: var(--color-sage);
}

.btn-full { width: 100%; }

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: rgba(168, 181, 160, 0.25);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.badge-dark {
  background-color: rgba(216, 199, 168, 0.2);
  color: var(--color-champagne);
}

.section-tag {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-sage);
  margin-bottom: 0.5rem;
  border-radius: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* 6. NAVBAR */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color var(--transition-fast), padding var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar-header.scrolled {
  background-color: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-sage);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  z-index: 1001;
}

.hamburger .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-cta-wrapper {
  display: none;
  margin-top: 2rem;
  width: 100%;
}

/* 7. HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background-color: var(--color-ivory);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-title {
  /* font-size: clamp(2.5rem, 5.5vw, 3.8rem); */
  font-size: clamp(2.5rem, 5.5vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.microcopy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.microcopy svg {
  color: var(--color-sage);
}

/* Background Shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.shape-blob-1 {
  width: 320px;
  height: 320px;
  background-color: var(--color-sage-light);
  top: -50px;
  right: -50px;
}

.shape-blob-2 {
  width: 250px;
  height: 250px;
  background-color: var(--color-champagne);
  bottom: 10%;
  left: -80px;
  opacity: 0.3;
}

/* Smartphone Mockup CSS Frame */
.phone-frame {
  position: relative;
  width: 280px;
  height: 570px;
  margin: 0 auto;
  background-color: var(--color-navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-hover);
  border: 4px solid var(--color-champagne);
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 18px;
  background-color: var(--color-navy);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--color-cream);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* Mockup Content inside Phone */
.invitation-preview-hero {
  padding: 2.5rem 1rem 1.5rem 1rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-ivory) 100%);
}

.inv-header-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.inv-photo-placeholder {
  width: 100%;
  height: 180px;
  background-color: var(--color-blue);
  border-radius: var(--radius-md);
  margin: 0.8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-blue), var(--color-navy));
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 55, 70, 0.2);
}

.photo-text {
  position: relative;
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  z-index: 2;
}

.inv-names {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-navy);
}

.inv-date {
  font-size: 0.75rem;
  color: var(--color-sage);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.inv-quote {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.inv-mini-btn {
  margin-top: 0.8rem;
  background-color: var(--color-navy);
  color: var(--color-ivory);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* 8. SOCIAL PROOF SECTION */
.social-proof-section {
  padding: 3.5rem 0;
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.proof-headline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 9. TEMPLATE SHOWCASE */
.template-section {
  padding: 6rem 0;
}

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

.template-card {
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.card-preview {
  height: 240px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Variations for Template Cards */
.theme-minimal { background-color: #F2EFE9; }
.theme-editorial { background-color: #EAE6DF; }
.theme-botanical { background-color: #E5EBE1; }
.theme-elegant { background-color: #ECE8E1; }
.theme-modern { background-color: #E6E9EB; }
.theme-classic { background-color: #F0EAE1; }

.card-mock-invitation {
  background: var(--color-white);
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(0,0,0,0.04);
}

.mock-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sage);
}

.mock-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-navy);
  margin: 0.25rem 0;
}

.mock-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.card-info {
  padding: 1.5rem;
}

.card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-blue);
  font-weight: 600;
}

.card-title {
  font-size: 1.25rem;
  margin: 0.25rem 0 0.75rem 0;
}

.border-top-subtle {
  padding-top: 2rem;
}

/* 10. FEATURES SECTION */
.features-section {
  padding: 6rem 0;
  background-color: var(--color-cream);
}

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

.feature-card {
  background-color: var(--color-ivory);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(168, 181, 160, 0.2);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
}

/* 11. WHY HALOMOMEN SECTION (Dark Navy) */
.dark-section {
  background-color: var(--color-navy);
  color: var(--color-ivory);
  padding: 6rem 0;
}

.light-text h2, .light-text p {
  color: var(--color-ivory);
}

.muted-light {
  color: rgba(247, 243, 236, 0.75) !important;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 199, 168, 0.2);
  border-radius: var(--radius-md);
}

.why-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-champagne);
  margin-bottom: 0.5rem;
}

.why-title {
  font-size: 1.3rem;
  color: var(--color-ivory);
  margin-bottom: 0.75rem;
}

.why-desc {
  color: rgba(247, 243, 236, 0.8);
  font-size: 0.95rem;
}

/* 12. HOW IT WORKS SECTION */
.how-section {
  padding: 6rem 0;
}

.timeline-wrapper {
  position: relative;
  margin-top: 3rem;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--color-champagne);
  z-index: 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.step-card {
  background-color: var(--color-cream);
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--color-border-subtle);
}

.step-badge {
  width: 50px;
  height: 50px;
  background-color: var(--color-navy);
  color: var(--color-champagne);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.95rem;
}

/* 13. INTERACTIVE PREVIEW SECTION */
.interactive-preview-section {
  padding: 6rem 0;
  background-color: var(--color-cream);
}

.preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.interactive-frame {
  height: 520px;
  width: 260px;
}

/* Inside Mobile Screen Styles */
.interactive-cover {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-ivory) 100%);
}

.cover-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.cover-names {
  font-size: 1.6rem;
  margin: 0.5rem 0;
}

.cover-date {
  font-size: 0.8rem;
  color: var(--color-sage);
  margin-bottom: 1.5rem;
}

.btn-demo-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-navy);
  color: var(--color-ivory);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

.interactive-inside {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color-ivory);
}

.inside-header {
  padding: 2.2rem 0.75rem 0.5rem 0.75rem;
  background-color: var(--color-navy);
  color: var(--color-ivory);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
}

.btn-inside-back {
  color: var(--color-champagne);
  font-size: 0.7rem;
}

.inside-scroll-body {
  padding: 1rem;
  overflow-y: auto;
  text-align: center;
}

.inside-hero-photo {
  height: 100px;
  background-color: var(--color-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.inside-photo-title {
  font-family: var(--font-serif);
}

.inside-block {
  background-color: var(--color-white);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.inside-block h4 {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.small-text {
  font-size: 0.7rem;
}

.mini-timer {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.mini-timer div {
  background-color: var(--color-cream);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: bold;
}

.mini-timer small {
  display: block;
  font-size: 0.5rem;
  font-weight: normal;
}

.btn-mini-rsvp {
  background-color: var(--color-sage);
  color: var(--color-navy);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: bold;
  margin-top: 0.25rem;
}

/* 14. TESTIMONIAL SECTION */
.testimonial-section {
  padding: 6rem 0;
}

.muted-tag-text {
  font-size: 0.8rem;
  color: var(--color-blue);
  margin-top: 0.25rem;
}

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

.testimonial-card {
  background-color: var(--color-cream);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.author-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-navy);
}

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

/* 15. PRICING SECTION */
.pricing-section {
  padding: 6rem 0;
  background-color: var(--color-cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--color-ivory);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.popular-card {
  border: 2px solid var(--color-navy);
  box-shadow: var(--shadow-card);
  transform: scale(1.03);
  background-color: var(--color-white);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-navy);
  color: var(--color-champagne);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.plan-desc {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.plan-features li::before {
  content: "✓";
  color: var(--color-sage);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* 16. FAQ ACCORDION SECTION */
.faq-section {
  padding: 6rem 0;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: rgba(38, 55, 70, 0.02);
}

.accordion-icon {
  transition: transform var(--transition-smooth);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.accordion-body[hidden] {
  display: none;
}

/* 17. FINAL CTA SECTION */
.final-cta-section {
  padding: 5rem 0;
}

.cta-card-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 199, 168, 0.2);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
}

.cta-title {
  color: var(--color-ivory);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.cta-sub {
  color: rgba(247, 243, 236, 0.8);
  max-width: 500px;
  margin-bottom: 2rem;
}

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

.mini-phone-graphic {
  width: 120px;
  height: 220px;
  background-color: var(--color-cream);
  border-radius: 20px;
  padding: 6px;
  box-shadow: var(--shadow-hover);
  transform: rotate(6deg);
}

.mini-screen {
  width: 100%;
  height: 100%;
  background-color: var(--color-ivory);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--color-sage);
}

.mini-heart { color: var(--color-mauve); font-size: 1.5rem; }
.mini-text { font-family: var(--font-serif); font-size: 0.8rem; color: var(--color-navy); }

/* 18. FOOTER */
.site-footer {
  background-color: var(--color-navy-dark);
  color: var(--color-ivory);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: var(--color-ivory);
}

.footer-tagline {
  color: rgba(247, 243, 236, 0.6);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-champagne);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(247, 243, 236, 0.75);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(247, 243, 236, 0.5);
}

/* 19. MODAL STYLES */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(38, 55, 70, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--color-ivory);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  max-width: 450px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-hover);
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--color-text-muted);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-body-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* 20. SCROLL REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 21. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .microcopy {
    justify-content: center;
  }

  .template-grid, .features-grid, .why-grid, .testimonial-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .popular-card {
    transform: none;
  }

  .preview-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .interactive-frame {
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  /* Mobile Navigation Hamburger */
  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-ivory);
    box-shadow: var(--shadow-hover);
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-cta-wrapper {
    display: block;
  }

  .btn-nav-desktop {
    display: none;
  }

  .stats-grid, .template-grid, .features-grid, .why-grid, .testimonial-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    display: none;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .cta-card-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Accessibility: Support 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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 425px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    gap: 30px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .badge {
    display: inline-block;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.4;
    padding: 6px 10px;
    box-sizing: border-box;
    white-space: normal;
  }

  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: normal;
    box-sizing: border-box;
  }

  .hero-subtitle {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    box-sizing: border-box;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .microcopy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
  }

  .microcopy span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
  }

  .phone-frame {
    width: min(280px, 85vw);
    max-width: 85vw;
    box-sizing: border-box;
  }

  .phone-screen {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .invitation-preview-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .inv-date,
  .inv-quote,
  .inv-names {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Extra small device */
@media (max-width: 360px) {
  .hero-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .phone-frame {
    width: 250px;
    max-width: 80vw;
  }
}