/* =========================================================
   Tamil Catholic Matrimony — Premium Landing Page
   ========================================================= */

:root {
  --primary: #7A1235;
  --primary-dark: #5C0D28;
  --primary-light: #8A1640;
  --secondary: #F7F2F2;
  --gold: #D4AF37;
  --gold-light: #F4E5A1;
  --white: #FFFFFF;
  --ink: #2A1620;
  --ink-soft: #6B5A61;
  --border-soft: rgba(122, 18, 53, 0.1);

  --font-en: 'Poppins', system-ui, sans-serif;
  --font-ta: 'Noto Sans Tamil', 'Poppins', system-ui, sans-serif;

  --shadow-sm: 0 4px 14px rgba(122, 18, 53, 0.08);
  --shadow-md: 0 14px 40px rgba(122, 18, 53, 0.14);
  --shadow-lg: 0 30px 70px rgba(122, 18, 53, 0.22);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.35);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --container-w: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-ta);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
.container { max-width: var(--container-w); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--white);
  padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Language toggle visibility ---------- */
body[data-lang="ta"] .lang-en { display: none; }
body[data-lang="en"] .lang-ta { display: none; }
body[data-lang="en"] { font-family: var(--font-en); }

/* ---------- Buttons shared ---------- */
.section-eyebrow {
  display: block; text-align: center; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 600; color: var(--gold); margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-light); }
.section-title {
  text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--primary);
  margin-bottom: 48px; letter-spacing: -0.01em;
}
.section-title.light { color: var(--white); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(122, 18, 53, 0.08);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.92); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-name {
  font-weight: 700; color: var(--primary); font-size: 1rem; line-height: 1.25;
}

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 500; font-size: 0.95rem; color: var(--ink); position: relative; padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right 0.3s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-soft); background: var(--white); font-size: 0.85rem; font-weight: 600;
  color: var(--ink-soft); transition: all 0.25s var(--ease);
}
.lang-switch:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.lang-divider { color: var(--border-soft); }
body[data-lang="ta"] .lang-opt-ta,
body[data-lang="en"] .lang-opt-en { color: var(--primary); font-weight: 700; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; padding: calc(var(--header-h) + 64px) 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF7F8 0%, var(--secondary) 55%, #FBEBEE 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.church-silhouette {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 45%;
  fill: rgba(122, 18, 53, 0.055);
}
.hero-cross {
  position: absolute; top: 12%; right: 8%; font-size: 2.6rem; color: rgba(212, 175, 55, 0.35);
  animation: floatY 6s ease-in-out infinite;
}
.floating-ring {
  position: absolute; border-radius: 50%; border: 2px solid rgba(212, 175, 55, 0.25);
}
.ring-a { width: 140px; height: 140px; top: 22%; left: 4%; animation: floatY 8s ease-in-out infinite; }
.ring-b { width: 90px; height: 90px; bottom: 10%; left: 14%; animation: floatY 7s ease-in-out infinite reverse; }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--primary);
  background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25); }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--primary); letter-spacing: -0.02em; margin-bottom: 18px;
  background: linear-gradient(100deg, var(--primary) 30%, var(--primary-light) 60%, var(--gold) 110%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--primary-dark); margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero-tagline em { font-style: normal; color: var(--gold); padding: 0 4px; }

.hero-subtitle { font-size: 1.05rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 34px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.store-buttons.center { justify-content: center; }
.store-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: var(--radius-sm);
  background: var(--primary); color: var(--white); box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.store-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-lg); background: var(--primary-light); }
.store-btn.light { background: var(--white); color: var(--primary); }
.store-btn.light:hover { background: var(--gold-light); }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn-text small { font-size: 0.68rem; opacity: 0.85; }
.store-btn-text strong { font-size: 1rem; font-weight: 600; }

.trust-row { display: flex; gap: 34px; }
.trust-row li { display: flex; flex-direction: column; font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }
.trust-num { font-family: var(--font-en); font-size: 1.5rem; font-weight: 800; color: var(--primary); }

/* ---------- Hero Phone Mockup ---------- */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone-mockup { position: relative; transform-origin: top center; }
.phone-glow {
  position: absolute; inset: 6% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%); filter: blur(30px);
}
.phone-frame {
  width: 300px; height: 760px; background: #111; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(212, 175, 55, 0.5);
  position: relative;
  animation: floatPhone 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #111; border-radius: 0 0 18px 18px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%; background: var(--white); border-radius: 34px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.phone-screen > * { flex-shrink: 0; }

.app-statusbar {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 4px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.8rem; color: var(--ink);
}
.app-status-icons { display: flex; align-items: center; gap: 4px; }
.app-net { font-size: 0.65rem; margin: 0 2px; }

.app-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 20px 6px; gap: 8px; }
.app-greeting { font-weight: 700; font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.app-greeting-sub { font-size: 0.68rem; color: var(--ink-soft); line-height: 1.4; }
.app-gear { font-size: 1rem; color: var(--ink-soft); }

.app-section-title { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 8px; }
.app-section-label { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.app-viewall { font-size: 0.68rem; color: var(--primary); font-weight: 600; }

.app-match-row { display: flex; gap: 10px; padding: 0 20px 14px; overflow: hidden; }
.app-match-card {
  flex: 1; background: var(--secondary); border-radius: 14px; padding: 10px; text-align: center;
  border: 1px solid rgba(122, 18, 53, 0.06);
}
.app-match-card-fade { opacity: 0.45; }
.app-avatar {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 6px; display: flex; align-items: center;
  justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--white); position: relative;
  font-family: var(--font-en);
}
.av-1 { background: linear-gradient(135deg, #C77B9A, var(--primary)); }
.av-2 { background: linear-gradient(135deg, #7A9BC7, var(--primary-dark)); }
.av-3 { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.badge-check {
  position: absolute; bottom: -2px; right: -2px; width: 15px; height: 15px; background: #2FAE60;
  border: 2px solid var(--white); border-radius: 50%; font-size: 0.5rem; display: flex; align-items: center;
  justify-content: center; color: var(--white);
}
.app-match-name, .app-match-role, .app-match-loc {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-match-name { font-size: 0.72rem; font-weight: 700; color: var(--ink); }
.app-match-role, .app-match-loc { font-size: 0.6rem; color: var(--ink-soft); }

.app-diocese-card {
  margin: 0 20px 10px; display: flex; align-items: center; gap: 10px; background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3); border-radius: 14px; padding: 10px 12px;
}
.diocese-icon { font-size: 1.1rem; }
.diocese-text { flex: 1; }
.diocese-title { font-size: 0.62rem; color: var(--ink-soft); }
.diocese-name { font-size: 0.72rem; font-weight: 700; color: var(--primary); }
.diocese-count { font-size: 0.62rem; font-weight: 700; color: var(--gold); white-space: nowrap; }

.app-verify-banner {
  margin: 0 20px 10px; display: flex; gap: 10px; align-items: flex-start; background: rgba(47, 174, 96, 0.08);
  border: 1px solid rgba(47, 174, 96, 0.25); border-radius: 14px; padding: 10px 12px;
}
.verify-check {
  width: 20px; height: 20px; border-radius: 50%; background: #2FAE60; color: var(--white); font-size: 0.68rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.verify-title { font-size: 0.7rem; font-weight: 700; color: var(--ink); }
.verify-sub { font-size: 0.6rem; color: var(--ink-soft); line-height: 1.4; }

.app-matches-cta { margin: 16px 20px 10px; text-align: center; }
.app-matches-count { font-size: 0.78rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.heart-ico { color: var(--primary); }
.app-cta-btn {
  width: 100%; padding: 11px; background: var(--primary); color: var(--white); border-radius: 12px;
  font-size: 0.72rem; font-weight: 600; box-shadow: var(--shadow-gold);
}

.app-bottom-nav {
  display: flex; justify-content: space-around; padding: 10px 8px; border-top: 1px solid rgba(122, 18, 53, 0.08);
  background: var(--white); margin-top: auto;
}
.app-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.55rem; color: var(--ink-soft); font-weight: 600; }
.app-nav-item i { font-style: normal; font-size: 1rem; }
.app-nav-item.active { color: var(--primary); }

/* =========================================================
   FEATURES
   ========================================================= */
.features { padding: 110px 0; background: var(--white); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feature-card {
  background: var(--secondary); border-radius: var(--radius-md); padding: 34px 28px;
  border: 1px solid transparent; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(212, 175, 55, 0.4); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--gold-light);
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.08rem; color: var(--primary); margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* =========================================================
   SCREENSHOTS / CAROUSEL
   ========================================================= */
.screenshots {
  padding: 110px 0; background: linear-gradient(160deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
  position: relative; overflow: hidden;
}
.screenshots::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.18), transparent 55%);
}
.carousel { position: relative; display: flex; align-items: center; gap: 14px; z-index: 1; }
.carousel-track-wrap { overflow: hidden; flex: 1; }
.carousel-track { display: flex; gap: 24px; transition: transform 0.5s var(--ease); }
.carousel-slide { flex: 0 0 auto; width: 240px; text-align: center; }

.mini-phone {
  width: 220px; height: 440px; background: #111; border-radius: 34px; padding: 9px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(212, 175, 55, 0.5); margin: 0 auto 18px;
}
.mini-screen {
  width: 100%; height: 100%; background: var(--white); border-radius: 26px; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mini-title { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.mini-row { display: flex; gap: 8px; }
.mini-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--primary)); }
.mini-bar { height: 8px; border-radius: 6px; background: var(--secondary); }
.mini-bar.inline { flex: 1; height: 6px; }
.w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; } .w30 { width: 30%; }
.mini-card-block { height: 60px; border-radius: 12px; background: var(--secondary); border: 1px solid rgba(122,18,53,0.08); }
.mini-card-block.short { height: 38px; }
.mini-chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-chip { font-size: 0.6rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--secondary); color: var(--primary); border: 1px solid rgba(122,18,53,0.15); }
.mini-slider { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) 60%, var(--secondary) 60%); position: relative; }
.mini-slider::after { content: ""; position: absolute; top: -4px; left: 58%; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); }
.mini-map { height: 90px; border-radius: 12px; background: repeating-linear-gradient(45deg, var(--secondary), var(--secondary) 8px, #efe3e6 8px, #efe3e6 16px); position: relative; }
.mini-map::after { content: "⛪"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); font-size: 1.3rem; }
.mini-bubble { width: 68%; padding: 8px 10px; border-radius: 12px; font-size: 0.55rem; height: 22px; background: var(--secondary); }
.mini-bubble.left { align-self: flex-start; border-bottom-left-radius: 2px; }
.mini-bubble.right { align-self: flex-end; width: 55%; background: var(--primary); border-bottom-right-radius: 2px; }
.mini-bubble.short { width: 42%; }
.mini-inputbar { margin-top: auto; height: 30px; border-radius: 999px; background: var(--secondary); border: 1px solid rgba(122,18,53,0.1); }
.mini-check { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; }
.mini-check span:first-child { width: 18px; height: 18px; border-radius: 50%; background: #2FAE60; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.55rem; flex-shrink: 0; }
.mini-badge { margin-top: auto; text-align: center; padding: 8px; border-radius: 10px; background: rgba(47,174,96,0.12); color: #1f8148; font-weight: 700; font-size: 0.7rem; }

.slide-caption { color: var(--white); font-weight: 600; font-size: 0.9rem; opacity: 0.9; }

.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); color: var(--white);
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25); transition: all 0.25s var(--ease);
}
.carousel-arrow:hover { background: var(--gold); color: var(--primary-dark); transform: scale(1.08); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dots button, .testimonial-dots button {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35);
  transition: all 0.3s var(--ease);
}
.carousel-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }

/* =========================================================
   WHY US
   ========================================================= */
.why-us { padding: 110px 0; background: var(--secondary); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: var(--white); border-radius: var(--radius-md); padding: 40px 30px; position: relative;
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.why-num {
  position: absolute; top: -6px; right: 14px; font-size: 4.5rem; font-weight: 800; font-family: var(--font-en);
  color: rgba(122, 18, 53, 0.06); line-height: 1;
}
.why-icon { font-size: 2rem; margin-bottom: 18px; }
.why-card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 10px; position: relative; }
.why-card p { color: var(--ink-soft); font-size: 0.92rem; position: relative; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-it-works { padding: 110px 0; background: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.timeline-step { position: relative; text-align: center; padding-top: 8px; }
.timeline-icon {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.timeline-index {
  display: block; font-family: var(--font-en); font-weight: 800; color: var(--gold); font-size: 0.8rem;
  margin-bottom: 6px; letter-spacing: 0.1em;
}
.timeline-step h3 { font-size: 0.98rem; color: var(--primary); margin-bottom: 8px; }
.timeline-step p { font-size: 0.82rem; color: var(--ink-soft); }

/* =========================================================
   STATISTICS
   ========================================================= */
.statistics { padding: 90px 0; background: linear-gradient(120deg, var(--primary), var(--primary-dark)); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat-card { padding: 20px; }
.stat-num {
  display: block; font-family: var(--font-en); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800;
  color: var(--gold); margin-bottom: 8px;
}
.stat-card p { color: rgba(255,255,255,0.85); font-weight: 500; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { padding: 110px 0; background: var(--secondary); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s var(--ease); }
.testimonial-slide { flex: 0 0 100%; width: 100%; display: flex; justify-content: center; }
.testimonial-card {
  width: 100%; max-width: 640px; background: var(--white); border-radius: var(--radius-lg);
  padding: 44px; text-align: center; box-shadow: var(--shadow-md);
}
.t-avatar {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-en); font-weight: 700; color: var(--white);
  background: var(--tc, var(--primary)); font-size: 1.1rem;
}
.testimonial-card blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-card figcaption { font-weight: 700; color: var(--primary); }
.testimonial-card figcaption span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.testimonial-dots button { background: rgba(122,18,53,0.2); }
.testimonial-dots button.active { background: var(--primary); width: 26px; border-radius: 6px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 110px 0; background: var(--white); }
.accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.accordion-item { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; background: var(--secondary); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px;
  font-weight: 600; font-size: 0.98rem; color: var(--primary); text-align: left;
}
.accordion-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.3s var(--ease); font-size: 1.1rem; font-weight: 400;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--gold); color: var(--white); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion-panel p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 0.92rem; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, var(--primary-light), var(--primary-dark) 70%);
}
.cta-cross { display: inline-block; font-size: 2.2rem; color: var(--gold); margin-bottom: 16px; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.85); margin-bottom: 34px; font-size: 1.05rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { margin-bottom: 14px; border-radius: 12px; }
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 6px; }
.footer-tag { font-size: 0.85rem; color: var(--gold-light); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links a, .footer-contact a { display: block; margin-bottom: 10px; font-size: 0.9rem; transition: color 0.25s var(--ease); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; font-size: 0.9rem;
}
.footer-socials a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 0.82rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-size: 1.2rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; z-index: 150;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--primary-dark); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatPhone { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(0.4deg); } }

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1.in-view { transition-delay: 0.12s; }
.delay-2.in-view { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .phone-mockup, .hero-cross, .floating-ring { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .feature-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; margin-bottom: 20px; }
  .trust-row, .store-buttons { justify-content: center; }
  .hero-subtitle { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); padding: 20px 24px; box-shadow: var(--shadow-md); gap: 18px;
  }
}

@media (max-width: 680px) {
  :root { --header-h: 72px; }
  .brand-name { font-size: 0.8rem; }
  .lang-switch { font-size: 0.75rem; padding: 6px 10px; }
  .feature-grid, .why-grid, .stats-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .phone-mockup { transform: scale(0.82); margin-bottom: -58px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-socials { justify-content: center; }
  .testimonial-card { padding: 30px 22px; }
}

@media (max-width: 420px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .store-buttons { flex-direction: column; align-items: stretch; }
  .phone-mockup { transform: scale(0.7); margin-bottom: -100px; }
}
