/*
 * Public website — AI Employee by Leads Factory Technologies.
 * Responsive: mobile (<768px), tablet (768–1099px), desktop (≥1100px).
 */

:root {
  --navy: #1e2673;
  --navy-900: #0f1442;
  --navy-800: #151b57;
  --pink: #d41472;
  --pink-500: #e5267f;
  --pink-100: #fde7f1;
  --violet: #6a1f78;
  --gradient: linear-gradient(135deg, #f43f97 0%, #d41472 45%, #1e2673 100%);
  --gradient-soft: linear-gradient(135deg, rgba(212, 20, 114, 0.1), rgba(30, 38, 115, 0.1));

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e7e9f2;
  --surface: #ffffff;
  --canvas: #f7f8fc;

  --hot: #ef4444;
  --warm: #f59e0b;
  --cold: #3b82f6;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(30, 38, 115, 0.1);
  --shadow-lg: 0 30px 80px rgba(15, 20, 66, 0.22);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans Tamil", "Nirmala UI", Arial, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body.site {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
p { margin: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  padding: 10px 14px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(212, 20, 114, 0.45); outline-offset: 2px; border-radius: 6px; }

.ico { width: 20px; height: 20px; flex: 0 0 auto; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Brand logo ---------------- */

.brand-logo { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo .brand-mark { object-fit: contain; filter: drop-shadow(0 6px 14px rgba(212, 20, 114, 0.3)); }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand-by { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; }
.brand-logo--dark .brand-name { color: var(--navy); }
.brand-logo--dark .brand-by { color: var(--muted); }
.brand-logo--light .brand-name { color: #fff; }
.brand-logo--light .brand-by { color: rgba(255, 255, 255, 0.6); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 12px;
  font: 600 15px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--gradient); background-size: 140% 140%; color: #fff; box-shadow: 0 10px 24px rgba(212, 20, 114, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(212, 20, 114, 0.36); background-position: 100% 0; }
.btn-outline { background: #fff; border-color: #d8dbea; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--canvas); color: var(--navy); border-color: var(--line); }
.btn-link { background: none; color: var(--ink-2); padding: 0 14px; }
.btn-link:hover { color: var(--pink); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06); background: rgba(255, 255, 255, 0.92); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.header-brand { flex: 0 0 auto; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color 0.15s, background-color 0.15s;
}
.site-nav > a:hover { color: var(--navy); background: var(--canvas); }
.site-nav > a.is-active { color: var(--pink); }
.nav-actions-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--navy); cursor: pointer; place-items: center;
}
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: block; }

/* ---------------- Hero ---------------- */

.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #fbf8fd 0%, #ffffff 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float 16s ease-in-out infinite; }
.blob-1 { width: 520px; height: 520px; left: -140px; top: -160px; background: #f9a8d4; }
.blob-2 { width: 460px; height: 460px; right: -120px; top: 40px; background: #a5b4fc; animation-delay: -5s; }
.blob-3 { width: 360px; height: 360px; left: 40%; bottom: -200px; background: #f0abfc; animation-delay: -10s; opacity: 0.35; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(30, 38, 115, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 38, 115, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.06); }
  66% { transform: translate(-30px, 30px) scale(0.96); }
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border: 1px solid #f6c7dc; border-radius: 999px;
  background: rgba(255, 255, 255, 0.8); color: var(--pink); font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(212, 20, 114, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 20, 114, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(212, 20, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 20, 114, 0); } }

.hero h1 { margin-top: 22px; font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.lead { margin-top: 22px; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { width: 18px; height: 18px; color: #16a34a; }

/* Phone mock */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  position: relative; width: 300px; height: 600px; padding: 12px;
  border-radius: 46px; background: #0f1442;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  animation: phone-in 1s var(--ease) both 0.2s, bob 7s ease-in-out infinite 1.2s;
}
@keyframes phone-in { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #0f1442; z-index: 2; }
.phone-screen {
  position: relative; height: 100%; padding: 46px 18px 18px; border-radius: 36px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #3a1a6e 0%, #1a1f5c 55%, #12164a 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center;
}
.phone-top { width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; }
.phone-brand { display: inline-flex; align-items: center; gap: 6px; opacity: 0.9; }
.phone-brand .brand-mark { object-fit: contain; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(34, 197, 94, 0.18); color: #86efac; font-size: 11px; }
.live-pill span { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.voice-orb { position: relative; width: 160px; height: 160px; margin-top: 18px; display: grid; place-items: center; }
.voice-orb img { position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%; box-shadow: 0 0 40px rgba(244, 63, 151, 0.45); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(244, 114, 182, 0.55); animation: ripple 3s ease-out infinite; }
.ring-2 { animation-delay: 1s; }
.ring-3 { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(0.75); opacity: 0.9; } to { transform: scale(1.45); opacity: 0; } }
.phone-status { margin-top: 16px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.wave { display: flex; align-items: center; gap: 4px; height: 34px; margin-top: 10px; }
.wave span { width: 4px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, #f472b6, #a5b4fc); transform-origin: center; animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.07s); }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

.bubble { max-width: 92%; margin-top: 12px; padding: 10px 13px; border-radius: 16px; font-size: 12.5px; line-height: 1.45; opacity: 0; animation: bubble-in 0.6s var(--ease) forwards; }
.bubble-user { align-self: flex-end; background: rgba(255, 255, 255, 0.14); border-bottom-right-radius: 6px; animation-delay: 1.4s; }
.bubble-ai { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; animation-delay: 2.4s; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 16px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md); font-size: 13px; line-height: 1.3;
  animation: card-float 6s ease-in-out infinite;
}
.float-card { text-align: left; }
.float-card strong { display: block; color: var(--ink); font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.float-icon .ico { width: 20px; height: 20px; }
.float-icon.hot { background: #fee2e2; color: var(--hot); }
.float-icon.wa { background: #dcfce7; color: #16a34a; }
.lang-script { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--pink-100); color: var(--pink); font-weight: 700; font-size: 12px; font-family: "Noto Sans Tamil", var(--font); }
.float-score { top: 70px; left: -10px; }
.float-share { bottom: 120px; right: -16px; animation-delay: -2s; }
.float-lang { top: 46%; left: -24px; animation-delay: -4s; }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Language marquee */
.marquee {
  margin-top: 56px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 14px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.marquee-item b { color: var(--navy); font-weight: 700; font-family: "Noto Sans Tamil", var(--font); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------------- Highlights ---------------- */

.highlights { padding: 18px 0 8px; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.highlight { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.h-num { display: block; font-size: 38px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-num small { font-size: 22px; }
.h-label { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }

/* ---------------- Sections ---------------- */

.section { padding: 104px 0; }
.section-alt { background: var(--canvas); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .split-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.035em; }
.section-head p:not(.kicker), .split-copy > p:not(.kicker) { margin-top: 16px; color: var(--muted); font-size: 17px; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--pink-100); color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.kicker-light { background: rgba(255, 255, 255, 0.12); color: #f9a8d4; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature-card::before { content: ""; position: absolute; inset: 0; background: var(--gradient-soft); opacity: 0; transition: opacity 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #f3c1d8; }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gradient); color: #fff; box-shadow: 0 10px 22px rgba(212, 20, 114, 0.25); transition: transform 0.3s var(--ease); }
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }
.feature-icon .ico { width: 24px; height: 24px; }
.feature-card h3 { margin-top: 18px; font-size: 17.5px; font-weight: 700; }
.feature-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); }
.check-list .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #dcfce7; color: #16a34a; }

/* Dashboard mock */
.dash-mock { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.dash-mock:hover { transform: none; }
.dash-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafbfe; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e5ef; }
.dots i:first-child { background: #fca5a5; }
.dots i:nth-child(2) { background: #fcd34d; }
.dots i:nth-child(3) { background: #86efac; }
.dash-title { font-weight: 700; font-size: 14px; color: var(--navy); }
.sample-tag { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #f1f2f8; color: var(--muted); font-size: 11px; font-weight: 600; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; }
.dash-kpis div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.dash-kpis small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.dash-kpis b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.t-hot { color: var(--hot); } .t-warm { color: var(--warm); } .t-cold { color: var(--cold); }
.dash-rows { padding: 0 18px 18px; display: grid; gap: 8px; }
.dash-row { display: grid; grid-template-columns: 36px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fafbfe; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: var(--d, 0ms); }
.is-visible .dash-row { opacity: 1; transform: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); color: #fff; font-weight: 700; font-size: 14px; }
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font-size: 14px; }
.who small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.val { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.score { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.s-hot { background: #fee2e2; color: #b91c1c; } .s-warm { background: #fef3c7; color: #b45309; } .s-cold { background: #dbeafe; color: #1d4ed8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, #f3c1d8 0 8px, transparent 8px 16px); }
.step { position: relative; padding: 0 8px; text-align: center; }
.step-num { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto; border-radius: 18px; background: #fff; border: 1px solid #f3c1d8; color: var(--pink); font-size: 22px; font-weight: 800; box-shadow: 0 10px 24px rgba(212, 20, 114, 0.14); transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s; }
.step:hover .step-num { transform: translateY(-4px); background: var(--pink); color: #fff; }
.step h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

/* Dark languages section */
.section-dark { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 100% 0%, rgba(212, 20, 114, 0.35), transparent 55%), linear-gradient(135deg, #0f1442 0%, #1e2673 60%, #3b1a63 100%); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .split-copy > p:not(.kicker) { color: rgba(255, 255, 255, 0.72); }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lang-tile { padding: 24px 18px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); text-align: center; backdrop-filter: blur(6px); transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s; }
.lang-tile:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.12); border-color: rgba(244, 114, 182, 0.55); }
.lang-script-lg { display: block; font-family: "Noto Sans Tamil", var(--font); font-size: 26px; font-weight: 700; color: #fff; }
.lang-name { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--gradient) border-box; box-shadow: 0 24px 60px rgba(212, 20, 114, 0.18); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 8px 18px rgba(212, 20, 114, 0.3); }
.price-card h3 { font-size: 20px; font-weight: 800; }
.price-tag { margin-top: 6px; min-height: 44px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-end; gap: 4px 10px; min-height: 84px; margin-top: 16px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.price-off { padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; }
.price-now { flex-basis: 100%; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.1; }
.price-meta, .price-features { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price-meta { padding: 14px; border-radius: 12px; background: var(--canvas); }
.price-meta li, .price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.price-meta .ico { width: 18px; height: 18px; color: var(--navy); margin-top: 1px; }
.price-features { flex: 1; align-content: start; margin-bottom: 24px; }
.price-features .ico { width: 18px; height: 18px; color: #16a34a; margin-top: 1px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; color: var(--muted); font-size: 14px; text-align: center; }
.secure-note .ico { color: #16a34a; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.faq[open] { border-color: #f3c1d8; box-shadow: var(--shadow-md); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--pink-100); transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--pink); }
.faq-plus::after { transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.faq[open] .faq-plus { background: var(--pink); }
.faq[open] .faq-plus::before, .faq[open] .faq-plus::after { background: #fff; }
.faq[open] .faq-plus::after { transform: rotate(0deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; animation: faq-in 0.35s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* CTA band */
.cta-band { padding: 0 0 96px; background: var(--canvas); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 52px 56px; border-radius: 28px; background: radial-gradient(70% 120% at 100% 0%, rgba(244, 63, 151, 0.55), transparent 60%), linear-gradient(135deg, #1e2673 0%, #3b1a63 60%, #d41472 130%); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -220px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.06); }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; max-width: 620px; }
.cta-inner p { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Footer */
.site-footer { padding: 64px 0 28px; background: #0f1442; color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 340px; line-height: 1.7; }
.site-footer h4 { margin-bottom: 14px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.site-footer .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; }

/* ---------------- Floating back-to-top ---------------- */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 0 4px #fff, 0 12px 28px rgba(212, 20, 114, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, box-shadow 0.2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 0 0 4px #fff, 0 18px 36px rgba(212, 20, 114, 0.45); }
.to-top:active { transform: translateY(0) scale(0.95); }
.to-top:focus-visible { outline: 3px solid rgba(212, 20, 114, 0.45); outline-offset: 3px; border-radius: 50%; }

.to-top-arrow { position: relative; width: 22px; height: 22px; transition: transform 0.25s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); animation: to-top-bounce 0.9s ease-in-out infinite; }
@keyframes to-top-bounce { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(-7px); } }

/* Scroll-progress ring around the button */
.to-top-ring {
  position: absolute;
  top: -9px;
  left: -9px;
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  max-width: none; /* the global svg { max-width: 100% } would shrink and shift the ring */
  transform: rotate(-90deg);
  pointer-events: none;
}
.to-top-ring circle { fill: none; stroke-width: 3.5; }
.to-top-track { stroke: rgba(30, 38, 115, 0.14); }
.to-top-progress {
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-dasharray: 138.2;   /* 2π × 22 */
  stroke-dashoffset: 138.2;
  transition: stroke-dashoffset 0.1s linear;
}

/* ---------------- Scroll reveal ---------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- Tablet ---------------- */

@media (max-width: 1099px) {
  .container { padding: 0 28px; }
  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { min-height: 600px; }
  /* Cards placed from the phone's centre line so they never touch the 300px phone */
  .float-score { left: auto; right: calc(50% + 172px); top: 80px; }
  .float-lang { left: auto; right: calc(50% + 172px); top: 320px; }
  .float-share { right: auto; left: calc(50% + 172px); top: auto; bottom: 150px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-copy { text-align: center; }
  .check-list { justify-content: center; }
  .check-list li { justify-content: center; }
  .dash-mock { transform: none; max-width: 620px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 84px 0; }
}

/* ---------------- Mobile ---------------- */

@media (max-width: 899px) {
  /* Phone on top, the highlight cards in a tidy row underneath — no overlap */
  .hero-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 640px;
    min-width: 0;
    min-height: 0;
    margin: 0 auto;
  }
  .phone { grid-column: 1 / -1; justify-self: center; margin-bottom: 8px; }
  .float-card {
    position: static;
    min-width: 0;
    padding: 10px 12px 10px 10px;
    font-size: 12px;
    animation: none;
  }
  .float-card strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-card small { display: block; line-height: 1.35; }
  .float-card > div { min-width: 0; }
  .float-icon, .lang-script { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; }
}

@media (max-width: 960px) {
  .header-actions { margin-left: auto; } /* keeps the menu button at the right edge */
  .header-actions .btn-link,
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s, visibility 0.25s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav > a { padding: 13px 12px; font-size: 16px; }
  .nav-actions-mobile { display: grid; gap: 10px; margin-top: 12px; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body.site { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .brand-name { font-size: 16px; }
  .brand-by { font-size: 10.5px; }

  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .phone { width: 260px; height: 520px; border-radius: 40px; }
  .phone-screen { border-radius: 30px; padding: 42px 14px 14px; }
  .voice-orb { width: 140px; height: 140px; margin-top: 16px; }
  .voice-orb img { width: 110px; height: 110px; }
  .hero-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 380px; }
  .float-lang { display: none; }
  .marquee { margin-top: 36px; }

  .highlight-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .highlight { padding: 18px 12px; }
  .h-num { font-size: 32px; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .feature-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 32px 1fr auto; }
  .dash-row .val { display: none; }
  .avatar { width: 32px; height: 32px; }
  .price-tag { min-height: 0; }
  .faq summary { padding: 17px 18px; font-size: 15.5px; }
  .faq p { padding: 0 18px 18px; }
  .cta-band { padding-bottom: 64px; }
  .cta-inner { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  .to-top-arrow { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .dash-row, .bubble { opacity: 1 !important; transform: none !important; }
}
