/* Caller Name Announcer Pro — shared styles */
:root {
  --bg: #041713;
  --bg-soft: #072620;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(120, 255, 220, 0.12);
  --border-strong: rgba(120, 255, 220, 0.24);
  --text: #eafffb;
  --text-soft: #a9cfc7;
  --text-mute: #6f938b;
  --accent: #17b39c;
  --accent-2: #45dcc4;
  --accent-3: #0e8a78;
  --accent-glow: rgba(23, 179, 156, 0.35);
  --orange: #f26a2e;
  --orange-soft: #ff8a52;
  --radius-card: 18px;
  --radius-hero: 28px;
  --radius-badge: 14px;
  --maxw: 1180px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", Roboto, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 600px at 80% -10%, rgba(23, 179, 156, 0.22), transparent 60%),
    radial-gradient(800px 500px at 0% 20%, rgba(242, 106, 46, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent-2); }
.orange-text { color: var(--orange-soft); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(4, 23, 19, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.2px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--text-soft);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  color: #04140f !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 22px var(--accent-glow);
  transition: transform 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Buttons / Badges ---------- */
.googleplay-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-badge);
  padding: 11px 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.googleplay-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}
.googleplay-badge svg { width: 28px; height: 28px; }
.googleplay-badge .gp-text { display: flex; flex-direction: column; line-height: 1.1; }
.googleplay-badge .gp-small { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: #cfd6e4; }
.googleplay-badge .gp-big { font-size: 20px; font-weight: 600; color: #fff; letter-spacing: 0.2px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s ease;
}
.btn-ghost:hover { background: var(--bg-card-strong); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero .sub {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}
.trust-pill svg { width: 15px; height: 15px; color: var(--accent-2); }

/* Hero phones */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.hero-phones img {
  width: 240px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  position: absolute;
}
.hero-phones img.p1 {
  transform: rotate(-7deg) translateX(-70px);
  z-index: 2;
}
.hero-phones img.p2 {
  transform: rotate(7deg) translateX(70px) translateY(30px);
  z-index: 1;
  opacity: 0.96;
}
.hero-phones::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(30px);
  z-index: 0;
}

/* ---------- Section shells ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.8px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-soft); font-size: 17px; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-strong);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(23, 179, 156, 0.22), rgba(23, 179, 156, 0.06));
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--accent-2); }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.feature-card p { color: var(--text-soft); font-size: 15px; }

/* ---------- Screenshots ---------- */
.screens-scroller {
  justify-content: safe center;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-3) transparent;
}
.screens-scroller::-webkit-scrollbar { height: 8px; }
.screens-scroller::-webkit-scrollbar-thumb { background: var(--accent-3); border-radius: 999px; }
.screens-scroller::-webkit-scrollbar-track { background: transparent; }
.screens-scroller img {
  width: 280px;
  flex: 0 0 auto;
  border-radius: 22px;
  scroll-snap-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

/* ---------- Privacy-first callout ---------- */
.privacy-callout {
  background: linear-gradient(135deg, rgba(23, 179, 156, 0.12), rgba(242, 106, 46, 0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-hero);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-callout h2 { font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -0.6px; margin-bottom: 16px; font-weight: 800; }
.privacy-callout p { color: var(--text-soft); font-size: 16px; margin-bottom: 14px; }
.privacy-points { list-style: none; display: grid; gap: 14px; }
.privacy-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
.privacy-points svg { width: 20px; height: 20px; color: var(--accent-2); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Download CTA ---------- */
.download-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(23, 179, 156, 0.16), rgba(4, 23, 19, 0.4));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-hero);
  padding: 64px 40px;
}
.download-card img { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; box-shadow: var(--shadow-soft); }
.download-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 12px; }
.download-card p { color: var(--text-soft); font-size: 17px; margin-bottom: 30px; }
.download-card .badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 34px;
  background: rgba(4, 23, 19, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 700; font-size: 16px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-col p { color: var(--text-mute); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-soft); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col ul a { color: var(--text-mute); font-size: 14px; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-mute);
  font-size: 13px;
}

/* ---------- Legal / content pages ---------- */
.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 90px;
}
.legal h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.legal .dates { color: var(--text-mute); font-size: 14px; margin-bottom: 8px; }
.legal .lead {
  color: var(--text-soft);
  font-size: 17px;
  margin: 22px 0 14px;
}
.legal h2 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 40px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; color: var(--text); }
.legal p { color: var(--text-soft); margin-bottom: 14px; font-size: 15.5px; }
.legal ul, .legal ol { color: var(--text-soft); margin: 0 0 16px 22px; font-size: 15.5px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-2); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }
.summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  margin: 22px 0 8px;
}
.summary-box ul { margin-bottom: 0; }
.sdk-table-wrap { overflow-x: auto; margin: 14px 0 20px; }
.sdk-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14.5px;
}
.sdk-table th, .sdk-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-soft);
}
.sdk-table th { background: var(--bg-card-strong); color: var(--text); font-weight: 700; }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 14px;
}
.back-home:hover { color: var(--text); }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; }
.contact-card {
  background: linear-gradient(135deg, rgba(23, 179, 156, 0.14), rgba(4, 23, 19, 0.3));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  margin-top: 30px;
  text-align: center;
}
.contact-card a.email {
  display: inline-block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-phones { min-height: 460px; margin-top: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-callout { grid-template-columns: 1fr; padding: 40px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-phones img { width: 200px; }
  .hero-phones img.p1 { transform: rotate(-6deg) translateX(-48px); }
  .hero-phones img.p2 { transform: rotate(6deg) translateX(48px) translateY(24px); }
  .screens-scroller img { width: 230px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 56px 0; }
}
