/* ============================================
   HATRINDA — Landing Page Design System
   ============================================ */

/* ---------- 0. Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- 1. CSS Custom Properties ---------- */
:root {
  /* Brand palette */
  --cream:       #F6F1EA;
  --blush:       #D8C1B5;
  --rose:        #B67A6A;
  --rose-dark:   #9A6355;
  --ink:         #2F2A28;
  --warm-gray:   #6B625D;
  --white:       #FFFFFF;
  --surface-alt: #F1EAE0;
  --border-light:#EADCD4;
  --success:     #7D837A;

  /* Semantic */
  --bg:          var(--cream);
  --text:        var(--ink);
  --text-secondary: var(--warm-gray);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(47, 42, 40, 0.06);
  --shadow-md: 0 4px 16px rgba(47, 42, 40, 0.08);
  --shadow-lg: 0 8px 32px rgba(47, 42, 40, 0.10);
  --shadow-xl: 0 16px 48px rgba(47, 42, 40, 0.12);
  --shadow-glow: 0 0 40px rgba(182, 122, 106, 0.25);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    0.4s;
}

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

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

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

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

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

ul { list-style: none; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.section-description {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-5xl) 0;
  position: relative;
}

/* ---------- 5. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration) var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(246, 241, 234, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-logo svg {
  height: 32px;
  width: auto;
}

.navbar-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color var(--duration) var(--ease-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 1px;
  transition: width var(--duration) var(--ease-smooth);
}

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

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: var(--rose);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--duration) var(--ease-smooth);
}

.nav-cta:hover {
  background: var(--rose-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -5px);
}

/* ---------- 6. Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #F6F1EA 0%, #EADCD4 50%, #E5D5CA 100%);
  padding-top: var(--space-4xl);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
}

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

.hero-logo {
  width: 220px;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-smooth) 0.2s forwards;
}

.hero-slogan {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-smooth) 0.4s forwards;
}

.hero-slogan em {
  color: var(--rose);
  font-style: italic;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 440px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-smooth) 0.6s forwards;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-smooth) 0.8s forwards;
}

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

.store-coming-soon {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink);
  font-weight: 600;
  opacity: 0.7;
}

.store-btn {
  display: block;
  transition: transform var(--duration) var(--ease-smooth);
}

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

.store-badge-img {
  height: 44px;
  width: auto;
  display: block;
}

/* Hero phone mockup */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px) rotate(2deg);
  animation: fadeUpRotate 1s var(--ease-smooth) 0.6s forwards;
}

.phone-mockup {
  position: relative;
  width: 280px;
  perspective: 1000px;
}

.phone-frame {
  width: 100%;
  background: var(--ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(182, 122, 106, 0.15);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-smooth);
}

.phone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 9 / 19.5;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--ink);
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

/* Floating decorative elements */
.hero-float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  width: 300px;
  height: 300px;
  background: var(--rose);
  top: -80px;
  right: -100px;
  animation-delay: 0s;
}

.hero-float-2 {
  width: 200px;
  height: 200px;
  background: var(--blush);
  bottom: -60px;
  left: -60px;
  animation-delay: 2s;
}

.hero-float-3 {
  width: 120px;
  height: 120px;
  background: var(--rose);
  top: 40%;
  right: 10%;
  animation-delay: 4s;
}

/* ---------- 7. Features Section ---------- */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--duration) var(--ease-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blush), var(--rose));
  opacity: 0;
  transition: opacity var(--duration) var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(182, 122, 106, 0.3);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- 8. App Showcase Section ---------- */
.showcase {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  overflow: hidden;
}

.showcase-track-wrapper {
  position: relative;
  margin-top: var(--space-2xl);
  padding-bottom: var(--space-3xl); /* Space for pagination */
}

.showcase-swiper {
  width: 100%;
  padding: var(--space-xl) 0 var(--space-3xl) 0;
}

.showcase-item {
  width: auto;
  text-align: center;
}

.showcase-phone {
  width: 220px;
  background: var(--ink);
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
  transition: transform var(--duration) var(--ease-smooth);
}

.showcase-phone:hover {
  transform: translateY(-5px);
}

.showcase-screen {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-alt);
}

.showcase-screen img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast; /* Improves sharpness on retina screens when downscaled */
}

.showcase-caption {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.showcase-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Swiper pagination customization */
.swiper-pagination-bullet {
  background: var(--text-tertiary);
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--rose);
  opacity: 1;
}

/* ---------- 9. How It Works Section ---------- */
.how-it-works {
  background: var(--white);
}

.steps-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* Vertical line */
.steps-container::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blush), var(--rose), var(--blush));
  border-radius: 1px;
}

.step {
  display: flex;
  gap: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-3xl);
}

.step:last-child {
  padding-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(182, 122, 106, 0.35);
  z-index: 2;
  position: relative;
}

.step-content {
  padding-top: var(--space-sm);
}

.step-content h3 {
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.step-emoji {
  font-size: 1.5rem;
  margin-top: var(--space-md);
  display: block;
}

/* ---------- 10. Privacy Section ---------- */
.privacy {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.privacy::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(182, 122, 106, 0.08);
}

.privacy .section-label {
  color: var(--blush);
}

.privacy .section-title {
  color: var(--white);
}

.privacy .section-description {
  color: rgba(255, 255, 255, 0.6);
}

.privacy-layout {
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
}

.privacy-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(182, 122, 106, 0.2), rgba(182, 122, 106, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  animation: pulse 3s ease-in-out infinite;
  border: 2px solid rgba(182, 122, 106, 0.2);
}

.privacy-cards {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.privacy-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease-smooth);
  backdrop-filter: blur(8px);
}

.privacy-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(182, 122, 106, 0.3);
  transform: translateY(-4px);
}

.privacy-card-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.privacy-card h4 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.privacy-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ---------- 11. Pricing Section ---------- */
.pricing {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  border: 2px solid var(--border-light);
  transition: all var(--duration) var(--ease-smooth);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--rose);
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.06);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--white);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(182, 122, 106, 0.3);
  animation: badgePulse 2s ease-in-out infinite;
}

.pricing-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.pricing-card h3 {
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin: var(--space-lg) 0 var(--space-xs);
}

.pricing-price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-original {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.pricing-features {
  text-align: left;
  margin: var(--space-xl) 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
}

.pricing-features .cross {
  color: var(--blush);
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.5;
}

.pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-smooth);
}

.pricing-btn-outline {
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--ink);
}

.pricing-btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.pricing-btn-fill {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(182, 122, 106, 0.3);
}

.pricing-btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ---------- 12. Final CTA Section ---------- */
.final-cta {
  background: linear-gradient(170deg, #EADCD4 0%, #DFC8BA 50%, #D5B8AA 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 122, 106, 0.12), transparent 70%);
}

.final-cta h2 {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.final-cta .section-description {
  margin-bottom: var(--space-2xl);
}

.final-cta-stores {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* ---------- 13. Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-2xl) 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

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

.footer-copy {
  font-size: 0.8rem;
}

/* ---------- 14. Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease-smooth);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ---------- 15. Keyframe Animations ---------- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpRotate {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1);     opacity: 1; }
  50%      { transform: scale(1.05);  opacity: 0.8; }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(182, 122, 106, 0.3); }
  50%      { box-shadow: 0 4px 24px rgba(182, 122, 106, 0.5); }
}

@keyframes bounceX {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

@keyframes sparkle {
  0%   { transform: scale(0) rotate(0deg);   opacity: 0; }
  50%  { transform: scale(1) rotate(180deg); opacity: 1; }
  100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

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

  .privacy-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

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

  .phone-mockup {
    width: 240px;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--space-4xl) 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    transition: right 0.4s var(--ease-smooth);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    z-index: 1001;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .privacy-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .phone-mockup {
    width: 200px;
  }

  .steps-container::before {
    left: 20px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .final-cta-stores {
    flex-direction: column;
    align-items: center;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .showcase-phone {
    width: 180px;
  }

  .shield-icon {
    width: 140px;
    height: 140px;
    font-size: 3.5rem;
  }
}

/* ---------- 17. Utility ---------- */
.text-center { text-align: center; }
.text-rose   { color: var(--rose); }
.text-muted  { color: var(--text-secondary); }
.mt-sm       { margin-top: var(--space-sm); }
.mt-md       { margin-top: var(--space-md); }
.mt-lg       { margin-top: var(--space-lg); }
.mb-lg       { margin-bottom: var(--space-lg); }
