/* ========================================
   Becoming — Website Styles
   Anthropic-inspired, warm & minimal
   ======================================== */

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

:root {
  --bg: #FAF6F1;
  --bg-alt: #F3EDE6;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --text-light: #5C5C5C;
  --text-muted: #8A8A8A;
  --accent: #1A1A1A;
  --border: #E5DDD5;
  --shadow: rgba(0, 0, 0, 0.03);

  --sage: #D4DDD4;
  --lavender: #D5D1E8;
  --cream: #E8E0D5;
  --taupe: #DDD5CC;
  --mint: #D0E0D4;
  --stone: #E0DDD8;
  --blush: #E8DDD8;
  --sand: #E5DDD0;

  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --nav-height: 4.25rem;
  --section-gap: clamp(5rem, 10vw, 9rem);
  --container-max: 1200px;
  --container-padding: clamp(1.25rem, 5vw, 3rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

::selection {
  background: rgba(213, 209, 232, 0.5);
  color: var(--text);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 246, 241, 0.95);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 500;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(2.3px, 2.3px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(2.3px, -2.3px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow);
}

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

.btn-secondary:hover {
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 3rem) var(--container-padding) 4rem;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(213, 209, 232, 0.3), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(232, 221, 216, 0.25), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(212, 221, 212, 0.2), transparent);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-title-rotate {
  display: inline-block;
  color: var(--text);
  font-style: normal;
  border-right: 2px solid var(--text);
  padding-right: 4px;
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--text); }
  50% { border-color: transparent; }
}

.hero-title-comma {
  font-family: var(--font-display);
  display: inline-block;
  transition: opacity 0.15s ease;
}

.hero-title-accent {
  font-style: italic;
  background: linear-gradient(135deg, #8B7FB8, #B89A8B, #7BA37B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--text-light);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s var(--ease-out) 0.6s both;
}

/* Hero icon showcase */
.hero-icon-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 380px;
}

.hero-icon-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(213, 209, 232, 0.35) 0%,
    rgba(212, 221, 212, 0.25) 30%,
    rgba(232, 224, 213, 0.15) 55%,
    transparent 75%);
  filter: blur(35px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-icon-img {
  position: relative;
  z-index: 5;
  width: 12rem;
  height: 12rem;
  border-radius: 2.75rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.06);
}


/* --- Marquee --- */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.marquee-dot {
  width: 4px !important;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Sections Shared --- */
.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Features Section --- */
.features {
  padding: var(--section-gap) 0;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.feature-icon-sage { background: var(--sage); }
.feature-icon-lavender { background: var(--lavender); }
.feature-icon-cream { background: var(--cream); }
.feature-icon-mint { background: var(--mint); }
.feature-icon-blush { background: var(--blush); }
.feature-icon-stone { background: var(--stone); }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- Personalization Section --- */
.personalization {
  padding: var(--section-gap) 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.personalization-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.personalization-text .section-title {
  text-align: left;
}

.personalization-text .section-subtitle {
  text-align: left;
  margin-bottom: 2rem;
}

.personalization-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.personalization-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.personalization-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--text);
  flex-shrink: 0;
}

.personalization-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.personalization-palette {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.palette-row {
  display: flex;
  gap: 0.75rem;
}

.palette-swatch {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  transition: transform 0.3s var(--ease-spring);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px var(--shadow);
}

.palette-swatch:hover {
  transform: scale(1.12) rotate(2deg);
}

.personalization-card-preview {
  width: 100%;
  max-width: 320px;
}

.preview-card {
  background: linear-gradient(135deg, #FAF6F1, #F0EAE0);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.preview-card-text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1rem;
}

.preview-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--blush);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* --- Why Becoming Section --- */
.why-becoming {
  padding: var(--section-gap) 0;
}

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

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.why-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.why-icon span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.why-title em {
  font-style: italic;
  color: var(--text-light);
}

.why-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

.why-card-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
  text-align: center;
}

.why-card-wide .why-icon {
  justify-content: center;
}

.why-card-wide .why-desc {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Affirmations Showcase --- */
.affirmations-showcase {
  padding: var(--section-gap) 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.affirmations-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.affirmation-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-light);
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  cursor: default;
}

.affirmation-pill:hover {
  background: var(--card);
  color: var(--text);
  border-color: var(--lavender);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-gap) 0;
}

.cta-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-logo {
  width: 6rem;
  height: 6rem;
  border-radius: 1.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--accent);
  color: #fff;
  padding: 4rem 0 2rem;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.features-grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.features-grid [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.features-grid [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.features-grid [data-reveal]:nth-child(5) { transition-delay: 0.32s; }
.features-grid [data-reveal]:nth-child(6) { transition-delay: 0.40s; }

.why-grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.why-grid [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.why-grid [data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.why-grid [data-reveal]:nth-child(5) { transition-delay: 0.32s; }

.affirmations-scroll [data-reveal]:nth-child(2) { transition-delay: 0.04s; }
.affirmations-scroll [data-reveal]:nth-child(3) { transition-delay: 0.08s; }
.affirmations-scroll [data-reveal]:nth-child(4) { transition-delay: 0.12s; }
.affirmations-scroll [data-reveal]:nth-child(5) { transition-delay: 0.16s; }
.affirmations-scroll [data-reveal]:nth-child(6) { transition-delay: 0.20s; }
.affirmations-scroll [data-reveal]:nth-child(7) { transition-delay: 0.24s; }
.affirmations-scroll [data-reveal]:nth-child(8) { transition-delay: 0.28s; }
.affirmations-scroll [data-reveal]:nth-child(9) { transition-delay: 0.32s; }
.affirmations-scroll [data-reveal]:nth-child(10) { transition-delay: 0.36s; }
.affirmations-scroll [data-reveal]:nth-child(11) { transition-delay: 0.40s; }
.affirmations-scroll [data-reveal]:nth-child(12) { transition-delay: 0.44s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 3rem;
  }

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

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

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-icon-showcase {
    width: 300px;
    height: 300px;
  }

  .hero-icon-glow {
    width: 240px;
    height: 240px;
  }

  .hero-icon-img {
    width: 9rem;
    height: 9rem;
    border-radius: 2rem;
  }


  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

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

  .personalization-text .section-title,
  .personalization-text .section-subtitle {
    text-align: center;
  }

  .personalization-list {
    align-items: center;
  }

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

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

  .why-card-wide {
    grid-column: span 1;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links-group {
    gap: 3rem;
  }

  .affirmation-pill {
    white-space: normal;
    text-align: center;
    border-radius: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-icon-showcase {
    width: 250px;
    height: 250px;
  }

  .hero-icon-glow {
    width: 200px;
    height: 200px;
  }

  .hero-icon-img {
    width: 7rem;
    height: 7rem;
    border-radius: 1.75rem;
  }

}

/* --- Stacked Cards --- */
.cards-stack {
  position: relative;
  width: 300px;
  height: 360px;
  margin: 0 auto;
}

.stack-card {
  position: absolute;
  width: 260px;
  left: 50%;
  top: 20px;
  border-radius: 1.5rem;
  padding: 2.5rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: background 0.35s ease;
}

.stack-card-3 {
  background: linear-gradient(135deg, #D5D1E8, #E8D5D8);
  transform: translateX(-50%) rotate(-8deg) translateY(12px);
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stack-card-2 {
  background: linear-gradient(135deg, #D0E0D4, #D4DDD4);
  transform: translateX(-50%) rotate(5deg) translateY(6px);
  z-index: 2;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.stack-card-1 {
  background: linear-gradient(135deg, #FAF6F1, #F0EAE0);
  transform: translateX(-50%) rotate(-1deg);
  z-index: 3;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.stack-card-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
}

.stack-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
}

.cards-stack {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@keyframes shuffleStack {
  0%   { transform: translateY(0)    rotate(0deg);    }
  18%  { transform: translateY(-12px) rotate(-2.5deg); }
  38%  { transform: translateY(-16px) rotate(2deg);    }
  58%  { transform: translateY(-8px)  rotate(-1deg);   }
  78%  { transform: translateY(-4px)  rotate(0.5deg);  }
  100% { transform: translateY(0)    rotate(0deg);    }
}

.cards-stack.is-shuffling {
  animation: shuffleStack 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cards-hint {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.7;
}

/* --- Blog Index --- */
.blog-hero {
  padding: calc(var(--nav-height) + 5rem) var(--container-padding) 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.blog-hero .section-title { margin-bottom: 1rem; }

.blog-section {
  padding: 0 0 var(--section-gap);
}

.blog-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.blog-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--lavender);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
  gap: 0.625rem;
}

/* --- Blog Post --- */
.post-back-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 2rem) var(--container-padding) 0;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.post-back:hover { color: var(--text); }

.post-hero {
  padding: 3rem var(--container-padding) 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.post-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--lavender);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.post-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.post-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
}

.post-divider {
  width: 3rem;
  height: 1px;
  background: var(--border);
  margin: 3rem auto;
}

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-padding) var(--section-gap);
}

.post-body p {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 3rem 0 1rem;
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 2.25rem 0 0.75rem;
}

.post-body blockquote {
  border-left: 3px solid var(--lavender);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: var(--card);
  border-radius: 0 1rem 1rem 0;
}

.post-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.2s ease;
}

.post-body a:hover {
  text-decoration-color: var(--text);
}

.post-body blockquote p {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.6;
}

.post-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.post-cta h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.post-cta p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.post-cta .btn-primary {
  color: #fff;
}

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

/* --- 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;
  }

  .marquee-track {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
