/* Glow Skin AI - Website Styles */

/* ========================================
   CSS Variables (Design System)
   ======================================== */
:root {
  /* Primary Colors */
  --primary: #8EB69B;
  --primary-dark: #6A9A7A;
  --primary-light: #A8C5B0;

  /* Background */
  --background: #F7FAF7;
  --background-secondary: #DDEADF;
  --background-dark: #1E293B;

  /* Text */
  --foreground: #1E293B;
  --muted: #64748B;
  --muted-light: #94A3B8;

  /* Semantic */
  --success: #4CAF50;
  --warning: #F49743;
  --destructive: #E57373;
  --info: #4F7CFF;

  /* Border */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
}

/* ========================================
   Base Styles
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, sans-serif;
  text-wrap: pretty;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  color: var(--foreground);
}

input, textarea, select, button {
  font: inherit;
  color: inherit;
}

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

/* ========================================
   Animations
   ======================================== */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 247, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: block;
}

.logo span {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: var(--muted);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--foreground);
}

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

.header-badges a {
  display: block;
  line-height: 0;
}

.header-badges img {
  height: 40px;
  width: auto;
  display: block;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(120deg, #F7FAF7 0%, #EAF2EC 55%, #DDEADF 100%);
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  animation: riseIn 700ms ease both;
}

.hero-tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #16261F;
}

.hero h1 .accent {
  color: var(--primary-dark);
}

.hero-description {
  margin: 0 0 28px;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Hero Images - Desktop/Mobile visibility */
.hero-image-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile image - HIDDEN on desktop by default */
.hero-image-mobile {
  display: none !important;
}

.hero-image-mobile img {
  max-width: 200px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(22, 38, 31, 0.22);
  margin: 0 auto;
  display: block;
}

/* Trust Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 16px 7px 8px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.trust-badge-avatars {
  display: flex;
}

.trust-badge-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: var(--background-secondary);
  border: 2px solid #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #4B6455;
}

.trust-badge-avatar:not(:first-child) {
  margin-left: -9px;
}

.trust-badge-text {
  font-size: 14px;
  font-weight: 600;
}

.trust-badge-star {
  color: var(--warning);
}

/* Store Badges */
.store-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.store-badges a {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.store-badges img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.store-badges-small img {
  height: 44px;
}

/* Hero Trust Pills */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-pill {
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

/* Hero Phones */
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.phone-mockup {
  width: 300px;
  padding: 10px;
  border-radius: 44px;
  background: var(--background-dark);
  box-shadow: 0 34px 70px rgba(22, 38, 31, 0.24);
}

.phone-mockup.left {
  transform: rotate(-6deg);
  z-index: 2;
}

.phone-mockup.right {
  transform: rotate(6deg);
  z-index: 1;
  margin-left: -84px;
  margin-top: 30px;
}

.phone-screen {
  height: 600px;
  border-radius: 34px;
  background: repeating-linear-gradient(135deg, #EAF2EC 0 11px, #DDEADF 11px 22px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  overflow: hidden;
}

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

.phone-placeholder {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: 96px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  margin: 0 0 12px;
  font-size: 42px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-subtitle {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

/* Page Headers */
.page-header {
  background: linear-gradient(170deg, #DDEADF, #F7FAF7);
  padding: 76px 0 60px;
}

.page-header h1 {
  margin: 0 0 14px;
  font-size: 52px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.page-header p {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
  max-width: 620px;
}

/* ========================================
   Feature Cards
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--background-secondary);
  border-radius: 24px;
  padding: 32px;
}

.feature-card svg {
  color: var(--primary-dark);
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  font-weight: 650;
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #47554D;
}

/* ========================================
   Steps Section
   ======================================== */
.steps-section {
  padding: 90px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  background: var(--primary);
  color: #16261F;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
}

.step h3 {
  margin: 20px 0 10px;
  font-size: 22px;
  font-weight: 650;
}

.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* ========================================
   Why Choose Section
   ======================================== */
.why-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.why-content h2 {
  margin: 0 0 14px;
  font-size: 42px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.why-content > p {
  margin: 0 0 36px;
  font-size: 18px;
  color: var(--muted);
}

.why-list {
  display: grid;
  gap: 28px;
}

.why-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 650;
}

.why-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  background: #FFFFFF;
}

.stat-number {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat-label {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
  columns: 3;
  column-gap: 18px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  break-inside: avoid;
  margin-bottom: 18px;
}

.testimonial-stars {
  font-size: 14px;
  color: var(--primary-dark);
  letter-spacing: 0.1em;
}

.testimonial-card p {
  margin: 12px 0 20px;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--background-secondary);
  color: #4B6455;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 650;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-location {
  font-size: 12px;
  color: var(--muted-light);
}

/* ========================================
   Ratings Section
   ======================================== */
.ratings-section {
  padding: 96px 0 104px;
  background: linear-gradient(120deg, #EFF5F0 0%, #F7FAF7 45%, #E7F0E9 100%);
  text-align: center;
}

.ratings-stars {
  font-size: 34px;
  letter-spacing: 0.14em;
  color: var(--warning);
  line-height: 1;
}

.ratings-section h2 {
  margin: 24px auto 18px;
  max-width: 520px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #16261F;
}

.ratings-stores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 34px;
}

.ratings-stores .divider {
  color: var(--muted-light);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-card {
  border-radius: 32px;
  background: linear-gradient(140deg, #8EB69B, #6A9A7A);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.cta-card h2 {
  margin: 0 0 14px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--background);
}

.cta-card p {
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(247, 250, 247, 0.88);
}

.cta-qr {
  justify-self: end;
  text-align: center;
}

.qr-placeholder {
  width: 156px;
  height: 156px;
  border-radius: 18px;
  background: repeating-linear-gradient(135deg, #F7FAF7 0 9px, #DDEADF 9px 18px);
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.qr-placeholder span {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
}

.cta-qr-label {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(247, 250, 247, 0.9);
}

/* CTA Mobile Icon - hidden by default (desktop) */
.cta-icon-mobile {
  display: none;
}

/* CTA Desktop QR - visible by default */
.cta-qr-desktop {
  display: block;
}

/* ========================================
   Feature Detail Sections
   ======================================== */
.feature-detail {
  padding: 80px 0;
}

.feature-detail:nth-child(even) {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.feature-detail-grid.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-detail-grid.reverse .phone-wrapper {
  justify-self: end;
}

.phone-wrapper {
  width: 100%;
  max-width: 320px;
  padding: 10px;
  border-radius: 40px;
  background: var(--background-dark);
}

.phone-wrapper .phone-screen {
  height: 560px;
  border-radius: 31px;
}

.feature-number {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  text-transform: uppercase;
}

.feature-detail h2 {
  margin: 12px 0 16px;
  font-size: 36px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.feature-detail > div > p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}

.feature-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-badge {
  padding: 14px 18px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-size: 15px;
}

.feature-detail:nth-child(even) .feature-badge {
  background: var(--background);
}

/* ========================================
   Pricing Cards
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  background: #FFFFFF;
}

.pricing-card.featured {
  border: 1.5px solid var(--primary);
  box-shadow: 0 18px 40px rgba(110, 150, 125, 0.14);
}

.pricing-card.dark {
  background: var(--background-dark);
  color: var(--background);
  border: none;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.pricing-badge {
  padding: 5px 12px;
  border-radius: 9999px;
  background: var(--background-secondary);
  font-size: 12px;
  font-weight: 650;
  color: #4B6455;
}

.pricing-card.dark .pricing-badge {
  background: var(--primary);
  color: #16261F;
}

.pricing-price {
  margin: 14px 0 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-amount {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 16px;
  color: var(--muted);
}

.pricing-card.dark .pricing-period {
  color: var(--muted-light);
}

.pricing-save {
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.pricing-features {
  display: grid;
  gap: 11px;
  font-size: 15px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  gap: 8px;
}

.pricing-feature.disabled {
  color: var(--muted-light);
}

.pricing-feature .check {
  color: var(--success);
  font-weight: 700;
}

.pricing-feature .cross {
  color: var(--destructive);
  font-weight: 700;
}

.pricing-card.dark .pricing-feature .check {
  color: var(--primary);
}

.pricing-note {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.pricing-card.dark .pricing-note {
  color: var(--muted-light);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
  border: none;
}

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

.btn-primary:hover {
  background: var(--background-dark);
  color: var(--background);
}

.btn-outline {
  border: 1.5px solid var(--primary-dark);
  color: var(--primary-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--background-secondary);
}

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

.btn-dark:hover {
  background: #0F1720;
}

.btn-light {
  background: var(--primary);
  color: #16261F;
}

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

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
}

.faq-answer {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   About Page
   ======================================== */
.about-story {
  max-width: 820px;
  margin: 0 auto;
}

.about-story p {
  margin: 0;
  font-size: 21px;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--background-secondary);
  border-radius: 22px;
  padding: 28px;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 650;
}

.value-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #47554D;
}

.founder-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #FFFFFF;
  padding: 36px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
}

.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: repeating-linear-gradient(135deg, #EAF2EC 0 10px, #DDEADF 10px 20px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 650;
}

.founder-info p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.contact-sidebar {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  background: var(--background-secondary);
  border-radius: 20px;
  padding: 26px;
}

.contact-info-card .label {
  font-size: 14px;
  color: #4B6455;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-card a {
  display: inline-block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
}

.contact-faq-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
}

.contact-faq-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.contact-faq-card p {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--muted);
}

.contact-faq-card a {
  font-size: 15px;
  font-weight: 600;
}

/* Success State */
.success-state {
  padding: 40px 0;
  text-align: center;
}

.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 9999px;
  background: var(--background-secondary);
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: 24px;
}

.success-state h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 650;
}

.success-state p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* ========================================
   Download Page
   ======================================== */
.download-section {
  padding: 96px 0 110px;
  background: linear-gradient(170deg, #DDEADF, #F7FAF7);
  text-align: center;
}

.download-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  display: block;
  margin: 0 auto 26px;
  box-shadow: 0 20px 44px rgba(110, 150, 125, 0.3);
}

.download-section h1 {
  margin: 0 0 14px;
  font-size: 46px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.download-section p {
  margin: 0 0 34px;
  font-size: 19px;
  color: var(--muted);
}

.download-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.download-qr {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 20px;
  background: repeating-linear-gradient(135deg, #FFFFFF 0 9px, #DDEADF 9px 18px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.download-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========================================
   Legal Pages (Privacy, Terms)
   ======================================== */
.legal-page {
  padding: 72px 0 96px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: 44px;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.legal-date {
  margin: 0 0 44px;
  font-size: 15px;
  color: var(--muted-light);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 650;
}

.legal-content ul {
  margin: 0 0 34px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.75;
  color: #47554D;
}

.legal-content p {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.75;
  color: #47554D;
}

.legal-content a {
  color: var(--primary-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--background-secondary);
  border-top: 1px solid #C9DDCE;
  color: var(--foreground);
}

.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.footer-brand span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-download-label {
  margin: 22px 0 14px;
  font-size: 15px;
  color: #4B6455;
}

.footer-links h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 18px;
}

.footer-links a {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  color: #4B6455;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid #C9DDCE;
}

.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 14px;
  color: #4B6455;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  display: grid;
  place-items: center;
  transition: background-color 0.2s;
}

.social-link:hover {
  background: #FFFFFF;
}

.social-link svg {
  color: #47554D;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 42px;
  }

  .phone-mockup.left {
    transform: rotate(4deg);
  }

  .phone-mockup.right {
    transform: rotate(-4deg);
    margin-left: -100px;
  }
}

/* Tablet breakpoint - keep side by side but adjust */
@media (max-width: 900px) and (min-width: 769px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }

  .hero-image-desktop img {
    max-width: 220px;
  }
}

@media (max-width: 900px) {
  .why-section,
  .feature-detail-grid,
  .feature-detail-grid.reverse,
  .contact-grid,
  .pricing-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .phone-wrapper,
  .phone-mockup {
    width: 100%;
    max-width: 300px;
    justify-self: start;
  }

  .feature-detail-grid.reverse .phone-wrapper {
    justify-self: start;
  }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 14px;
    order: 3;
    width: 100%;
  }

  .section-title,
  .page-header h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  section {
    padding: 56px 0;
  }

  .cta-card {
    padding: 36px 28px;
  }

  .testimonials-grid {
    columns: 2;
  }

  .phone-mockup.left {
    transform: none;
    margin-top: 0;
  }

  .phone-mockup.right {
    display: none;
  }

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

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Hero grid - single column on mobile */
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  /* Store badges: ALWAYS side by side, same size */
  .store-badges {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 8px !important;
  }

  .store-badges a {
    flex-shrink: 0;
  }

  .store-badges img {
    width: 135px !important;
    height: 42px !important;
    object-fit: contain !important;
  }

  .store-badges-small {
    gap: 6px !important;
  }

  .store-badges-small img {
    width: 120px !important;
    height: 38px !important;
  }

  /* Trust badge - horizontal on mobile */
  .trust-badge {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 6px 14px 6px 6px;
  }

  .trust-badge-text {
    font-size: 13px;
    white-space: nowrap;
  }

  /* Trust pills - horizontal scroll */
  .trust-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .trust-pill {
    flex-shrink: 0;
    font-size: 13px;
    padding: 6px 12px;
  }

  /* Hero section - mobile */
  .hero-image-desktop {
    display: none !important;
  }

  .hero-image-mobile {
    display: block !important;
    margin: 24px 0;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: 36px !important;
  }

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

  /* Hide trust badge on mobile */
  .trust-badge {
    display: none !important;
  }

  .hero-store-badges {
    justify-content: center;
  }

  .trust-pills {
    justify-content: center;
  }

  /* Header store badges - HIDE on mobile */
  .header-badges {
    display: none !important;
  }

  /* CTA card - mobile layout */
  .cta-card {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .cta-card .store-badges {
    justify-content: center;
  }

  /* Show icon in middle on mobile */
  .cta-icon-mobile {
    display: block;
    margin: 16px 0;
  }

  /* Hide desktop QR on mobile */
  .cta-qr-desktop {
    display: none;
  }

  .cta-card h2 {
    font-size: 32px;
  }

  /* Ratings section */
  .ratings-section h2 {
    font-size: 36px;
  }

  .ratings-stores {
    font-size: 15px;
    gap: 10px;
  }

  /* Download badges */
  .download-badges {
    gap: 8px;
  }

  .download-badges img {
    width: 140px !important;
    height: 44px !important;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-description,
  .section-subtitle {
    font-size: 17px;
  }

  .phone-screen {
    height: 460px;
  }

  .testimonials-grid {
    columns: 1;
  }

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

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

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

  .feature-badges {
    grid-template-columns: 1fr;
  }

  .header-badges {
    display: none;
  }

  /* Even smaller store badges on very small screens */
  .store-badges img {
    width: 125px !important;
    height: 40px !important;
  }

  .store-badges-small img {
    width: 110px !important;
    height: 35px !important;
  }

  .download-badges img {
    width: 130px !important;
    height: 42px !important;
  }

  /* Trust badge */
  .trust-badge {
    padding: 5px 10px 5px 5px;
    gap: 8px;
  }

  .trust-badge-text {
    font-size: 12px;
  }

  .trust-badge-avatar {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }

  /* Ratings */
  .ratings-section h2 {
    font-size: 28px;
  }

  .ratings-stores {
    flex-direction: column;
    gap: 4px;
  }

  .ratings-stores .divider {
    display: none;
  }
}
