/* Anxin Phone marketing site */
:root {
  --ink: #102a32;
  --ink-soft: #3d5a63;
  --mist: #e8f3f1;
  --foam: #f7fbfa;
  --teal: #0f6e6a;
  --teal-deep: #0a4f4c;
  --sea: #1a8f88;
  --sand: #f0e6d4;
  --coral: #c45c3e;
  --line: rgba(16, 42, 50, 0.12);
  --shadow: 0 18px 50px rgba(15, 70, 66, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", "Songti SC", "Noto Serif SC", serif;
  --font-body: "Outfit", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 10% -10%, #cfeceb 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #f3e7d4 0%, transparent 50%),
    linear-gradient(180deg, var(--foam) 0%, var(--mist) 48%, #d9ebe8 100%);
  min-height: 100vh;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--teal-deep); }
a:hover { color: var(--coral); }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 250, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--sea), var(--teal-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-name { font-size: 1.05rem; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.header-nav a:hover { color: var(--teal-deep); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-switch a {
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switch a[aria-current="page"] {
  background: var(--teal);
  color: #fff;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { max-width: 34rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.hero-lead {
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 650;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, var(--sea), var(--teal-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 110, 106, 0.28);
}

.btn-primary:hover { color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.free-note {
  margin: 1rem 0 0;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Phone visual */
.hero-visual {
  display: grid;
  place-items: center;
  animation: rise 0.9s ease both;
}

.phone {
  width: min(320px, 86vw);
  border-radius: 36px;
  padding: 14px;
  background: linear-gradient(160deg, #1b3339, #0d1f24 60%, #163039);
  box-shadow: var(--shadow);
  animation: floaty 5.5s ease-in-out infinite;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #123a55;
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.lcd {
  padding: 1.1rem 1rem 0.6rem;
  color: #e8f4ff;
  font-family: var(--font-display);
}

.lcd-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 1.4rem;
}

.lcd h2 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 650;
}

.lcd p {
  margin: 0;
  opacity: 0.85;
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.7rem 0.75rem 0.9rem;
  background: #1a262c;
}

.key {
  aspect-ratio: 1.35;
  border-radius: 10px;
  background: #cfd5d8;
  color: #1a262c;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.key.call { background: #2f9e5b; color: #fff; }
.key.end { background: #c44747; color: #fff; }
.key.call, .key.end {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-kicker {
  margin: 0 0 0.5rem;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 40rem;
  font-size: 1.08rem;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-panel {
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.feature-panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.feature-panel p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.feature-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
}

.feature-panel li { margin: 0.35rem 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.trust-band {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(15, 110, 106, 0.1), rgba(196, 92, 62, 0.08));
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.trust-band h2 { margin-bottom: 0.5rem; }

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 0.4rem 0 0.4rem 1.55rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--sea);
  box-shadow: inset 0 0 0 2px #fff;
}

.cta-banner {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(160deg, rgba(15, 110, 106, 0.95), rgba(10, 79, 76, 0.98)),
    var(--teal-deep);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.55rem;
}

.cta-banner p {
  margin: 0 auto 1.4rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: none;
}

.cta-banner .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* Doc pages */
.doc-page {
  padding: 2.5rem 0 4rem;
}

.doc-shell {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.doc-shell h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.doc-shell h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.doc-meta {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.doc-shell ul, .doc-shell ol { padding-left: 1.2rem; }
.doc-shell li { margin: 0.4rem 0; }

.doc-nav {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--teal-deep); }

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

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy {
  animation: rise 0.75s ease both;
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-grid,
  .feature-split,
  .steps,
  .trust-band {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .phone { width: min(280px, 78vw); }
  .phone-screen { min-height: 360px; }
}
