/* NekoSense Pilot — Premium Enamel Design System
   Warm cream ivory · Blush rose · Champagne gold · Jet black */
:root {
  /* Backgrounds */
  --bg: #FDF6EE;                          /* ivoryBase */
  --bg-alt: #F5E8D5;                      /* creamSurface */
  --surface: #EDD9C8;                     /* surface */

  /* Primary accent — blush rose */
  --accent: #F0A898;
  --accent-soft: rgba(240, 168, 152, 0.14);
  --accent-strong: rgba(240, 168, 152, 0.35);
  --accent-dark: #d47f6e;                 /* hover / pressed state */

  /* Secondary accent — warm gold */
  --gold: #C9A55C;
  --gold-soft: rgba(201, 165, 92, 0.12);
  --gold-strong: rgba(201, 165, 92, 0.3);

  /* Text */
  --text: #1A1010;                        /* jetBlack */
  --text-soft: #7A5048;                   /* cocoaBrown */
  --muted: #C8B0A8;                       /* dividers, disabled */

  /* Structural */
  --border: rgba(200, 176, 168, 0.45);
  --shadow-sm: 0 2px 8px rgba(26, 16, 16, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 16, 16, 0.09);
  --shadow-lg: 0 24px 56px rgba(26, 16, 16, 0.14);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: radial-gradient(ellipse at top, #FDF6EE 0%, #F5E8D5 55%, #EDD9C8 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── Header ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(253, 246, 238, 0.9);
  border-bottom: 1px solid rgba(200, 176, 168, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem 0.25rem 0.4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(201, 165, 92, 0.45);
  box-shadow: 0 4px 16px rgba(122, 80, 72, 0.1);
}

.logo-image {
  height: 38px;
  width: auto;
  border-radius: var(--radius-pill);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-soft);
}

.nav a {
  padding: 0.3rem 0;
  position: relative;
  font-weight: 500;
  transition: color 0.15s;
}

.nav a:hover { color: var(--text); }

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  border-radius: var(--radius-pill);
  transition: width 0.2s ease-out;
}

.nav a:hover::after { width: 100%; }

/* ── Buttons ─────────────────────────────────────────────────── */

.btn {
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.2rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  color: #1A1010;
  box-shadow: 0 8px 24px rgba(240, 168, 152, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(240, 168, 152, 0.6);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-soft);
  background: rgba(253, 246, 238, 0.8);
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(253, 246, 238, 0.97);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(253, 246, 238, 0.85);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(245, 232, 213, 1);
}

/* ── Sections ────────────────────────────────────────────────── */

.section {
  padding: 5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.section-visible { opacity: 1; transform: translateY(0); }

.section-alt {
  background: linear-gradient(180deg, #F5E8D5 0%, #EDD9C8 100%);
  border-top: 1px solid rgba(200, 176, 168, 0.55);
  border-bottom: 1px solid rgba(200, 176, 168, 0.4);
}

.hero { padding-top: 3.5rem; }

.section-header {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(240, 168, 152, 0.3);
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.2;
  font-weight: 800;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--text-soft);
  max-width: 30rem;
  font-size: 1.025rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0; margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(209, 213, 219, 0.8);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-soft);
}

.hero-card {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ── Phone mockup ────────────────────────────────────────────── */

.device-iphone {
  width: 260px;
  padding: 0.6rem 0.35rem;
  border-radius: 2.8rem;
  background: linear-gradient(145deg, #EDD9C8, #C8B0A8);
  box-shadow:
    0 30px 60px rgba(26, 16, 16, 0.22),
    0 0 0 1px rgba(200, 176, 168, 0.6),
    0 0 0 4px rgba(237, 217, 200, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.device-iphone-inner {
  position: relative;
  border-radius: 2.3rem;
  padding: 0.65rem 0.3rem;
}

.device-iphone-notch {
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 0.48rem;
  border-radius: var(--radius-pill);
  background: #1A1010;
  z-index: 1;
}

.device-iphone-screen {
  border-radius: 1.8rem;
  overflow: hidden;
}

.device-iphone::before,
.device-iphone::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  width: 3px;
  border-radius: var(--radius-pill);
  background: #C8B0A8;
}

.device-iphone::before { top: 4.2rem; height: 2rem; }
.device-iphone::after  { top: 6.8rem; height: 1.5rem; }

.phone-body {
  padding: 1rem 0.85rem 0.7rem;
  border-radius: 1.8rem;
  background: linear-gradient(160deg, #FDF6EE 0%, #F5E8D5 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 176, 168, 0.5);
}

.phone-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.6rem;
  text-align: center;
}

/* ── SVG Vitality Ring ───────────────────────────────────────── */

.ring-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 0.8rem;
}

.vitality-svg {
  width: 100%;
  height: 100%;
}

.ring-progress {
  stroke-dashoffset: 314.16; /* starts empty */
}

.ring-center {
  position: absolute;
  inset: 18%;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 40% 35%, #FDF6EE, #EDD9C8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  box-shadow: 0 4px 16px rgba(240, 168, 152, 0.15);
}

.ring-score {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.ring-caption {
  font-size: 0.62rem;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
}

/* ── Phone cards ─────────────────────────────────────────────── */

.phone-row {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}

.phone-card {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.55rem;
  background: rgba(253, 246, 238, 0.95);
  border: 1px solid rgba(200, 176, 168, 0.5);
  box-shadow: var(--shadow-sm);
}

.phone-card-primary { flex: 1.2; }
.phone-card-secondary { text-align: right; }

.phone-card-label {
  margin: 0 0 0.1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.phone-card-title {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.phone-card-value {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.phone-card-meta {
  margin: 0.1rem 0 0;
  font-size: 0.65rem;
  color: var(--text-soft);
}

.phone-tags {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
}

.tag.hot  { background: rgba(207, 102, 121, 0.12); color: #a3485a; }
.tag.calm { background: rgba(201, 165, 92, 0.14);  color: #8a6b2a; }
.tag.soft { background: rgba(240, 168, 152, 0.18); color: #b0604e; }

.phone-nav {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(200, 176, 168, 0.55);
  display: flex;
  justify-content: space-between;
}

.phone-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.25rem 0;
  border-radius: var(--radius-pill);
  color: var(--muted);
}

.phone-nav-item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.phone-nav-icon  { font-size: 0.85rem; }
.phone-nav-label { font-size: 0.62rem; font-weight: 500; }

/* ── Stats Strip ─────────────────────────────────────────────── */

.stats-strip {
  border-top: 1px solid rgba(200, 176, 168, 0.5);
  border-bottom: 1px solid rgba(200, 176, 168, 0.5);
  background: linear-gradient(180deg, #F5E8D5, #EDD9C8);
  padding: 1.5rem 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stats-strip.section-visible { opacity: 1; transform: translateY(0); }

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.5rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.25rem;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(200, 176, 168, 0.7);
}

/* ── Cards ───────────────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(253, 246, 238, 0.95);
  border: 1px solid rgba(200, 176, 168, 0.4);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, box-shadow 0.2s ease-out;
}

.card.card-visible { opacity: 1; transform: translateY(0); }

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ── Feature cards ───────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(253, 246, 238, 0.95);
  border: 1px solid rgba(200, 176, 168, 0.4);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, box-shadow 0.2s ease-out;
}

.feature-card.card-visible { opacity: 1; transform: translateY(0); }

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.feature-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.feature-card li + li { margin-top: 0.3rem; }

/* ── Architecture Timeline ───────────────────────────────────── */

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 0; bottom: 0;
  border-left: 2px dashed rgba(200, 176, 168, 0.7);
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.timeline-item.card-visible { opacity: 1; transform: translateX(0); }

.timeline-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #F5E8D5, #EDD9C8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(201, 165, 92, 0.35);
}

.timeline-content {
  flex: 1;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(253, 246, 238, 0.95);
  border: 1px solid rgba(200, 176, 168, 0.4);
  box-shadow: var(--shadow-sm);
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.flow-node { flex: 1; text-align: center; }
.flow-node-main { max-width: 140px; }

.flow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(253, 246, 238, 0.9);
  border: 1px solid rgba(200, 176, 168, 0.6);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.flow-chip-quiet {
  background: var(--gold-soft);
  border-color: rgba(201, 165, 92, 0.6);
  color: var(--gold);
  font-weight: 600;
}

.flow-arrow {
  flex: 0 0 auto;
  font-size: 1rem;
  color: var(--muted);
}

.timeline-meta {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Steps grid ──────────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: rgba(253, 246, 238, 0.95);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.2rem;
  border: 1px solid rgba(200, 176, 168, 0.4);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out, box-shadow 0.2s ease-out;
}

.step-card.card-visible { opacity: 1; transform: translateY(0); }

.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Callout ─────────────────────────────────────────────────── */

.callout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(201, 165, 92, 0.55);
  background: rgba(245, 232, 213, 0.6);
}

.callout-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }

.callout p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ── Footer CTA ──────────────────────────────────────────────── */

.footer-cta-section {
  background: linear-gradient(135deg, #1A1010 0%, #2A1818 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.footer-cta-inner { max-width: 600px; margin: 0 auto; }

.footer-cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-cta-heading {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-cta-sub {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Site footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid rgba(200, 176, 168, 0.35);
  padding: 1.4rem 0 2rem;
  background: linear-gradient(to bottom, #F5E8D5, #FDF6EE);
}

.footer-inner { text-align: center; }

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-meta { margin-top: 0.3rem !important; font-size: 0.8rem !important; }

/* ── Product cards ───────────────────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.product-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem 2rem;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.22s ease-out;
}

.product-card.card-visible { opacity: 1; transform: translateY(0); }

.product-card:hover { transform: translateY(-4px); }

.product-card-collar {
  background: linear-gradient(145deg, #1A1010 0%, #261414 100%);
  border-color: rgba(201, 165, 92, 0.25);
  box-shadow: 0 24px 56px rgba(26, 16, 16, 0.4);
  color: #fff;
}

.product-card-app {
  background: rgba(253, 246, 238, 0.97);
  border-color: rgba(200, 176, 168, 0.5);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.product-number {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.product-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.product-card-collar .product-label {
  background: rgba(201, 165, 92, 0.18);
  color: #d4a84e;
}

.product-card-app .product-label {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.product-icon {
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.product-name {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-card-collar .product-name { color: #ffffff; }
.product-card-app .product-name { color: var(--text); }

.product-desc {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-card-collar .product-desc { color: rgba(253, 246, 238, 0.6); }
.product-card-app .product-desc { color: var(--text-soft); }

.product-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.product-card-collar .product-features li { color: rgba(255, 255, 255, 0.75); }
.product-card-app .product-features li { color: var(--text-soft); }

.product-card-collar .product-features strong { color: #d4a84e; }
.product-card-app .product-features strong { color: var(--text); }

.feat-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── AI Flow ─────────────────────────────────────────────────── */

.ai-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ai-step {
  background: rgba(253, 246, 238, 0.97);
  border: 1px solid rgba(200, 176, 168, 0.4);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.2s ease-out;
}

.ai-step.card-visible { opacity: 1; transform: translateY(0); }
.ai-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.ai-step-center {
  border-top: 3px solid var(--accent);
}

.ai-step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collar-color { background: rgba(201, 165, 92, 0.14); }
.brain-color  { background: rgba(240, 168, 152, 0.16); }
.app-color    { background: var(--accent-soft); }

.ai-step-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.collar-tag { background: rgba(201, 165, 92, 0.14); color: #8a6a28; }
.brain-tag  { background: rgba(240, 168, 152, 0.18); color: var(--accent-dark); }
.app-tag    { background: var(--accent-soft); color: var(--accent-dark); }

.ai-step h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.ai-step p {
  margin: 0 0 0.9rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.ai-step-outputs {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ai-step-outputs li {
  font-size: 0.78rem;
  color: var(--text-soft);
  padding: 0.28rem 0.7rem;
  background: rgba(245, 232, 213, 0.6);
  border: 1px solid rgba(200, 176, 168, 0.45);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ai-flow-arrow {
  font-size: 1.5rem;
  color: var(--muted);
  align-self: center;
  padding-top: 0.5rem;
  flex-shrink: 0;
}

.ai-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(245, 232, 213, 0.5);
  border: 1px solid rgba(200, 176, 168, 0.55);
}

.ai-note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

.ai-note p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ── Architecture layers ─────────────────────────────────────── */

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.arch-layer {
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.arch-layer.card-visible { opacity: 1; transform: translateX(0); }

.arch-layer-collar {
  border-color: rgba(201, 165, 92, 0.3);
  background: linear-gradient(135deg, #1A1010, #261414);
}

.arch-layer-backend {
  border-color: rgba(240, 168, 152, 0.3);
  background: rgba(253, 246, 238, 0.97);
  box-shadow: var(--shadow-md);
}

.arch-layer-app {
  border-color: rgba(200, 176, 168, 0.45);
  background: linear-gradient(135deg, #F5E8D5, #EDD9C8);
}

.arch-layer-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-layer-collar .arch-layer-label { border-bottom-color: rgba(253, 246, 238, 0.08); }
.arch-layer-backend .arch-layer-label { border-bottom-color: rgba(200, 176, 168, 0.4); }
.arch-layer-app .arch-layer-label { border-bottom-color: rgba(200, 176, 168, 0.5); }

.arch-layer-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-pill);
}

.arch-layer-collar .arch-layer-num { background: rgba(201, 165, 92, 0.22); color: #d4a84e; }
.arch-layer-backend .arch-layer-num { background: var(--accent-soft); color: var(--accent-dark); }
.arch-layer-app .arch-layer-num { background: rgba(201, 165, 92, 0.18); color: var(--gold); }

.arch-layer-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.arch-layer-collar .arch-layer-name { color: #FDF6EE; }
.arch-layer-backend .arch-layer-name { color: var(--text); }
.arch-layer-app .arch-layer-name { color: var(--text); }

.arch-layer-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.arch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.arch-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.arch-layer-collar .arch-chip {
  background: rgba(253, 246, 238, 0.1);
  color: rgba(253, 246, 238, 0.82);
  border: 1px solid rgba(253, 246, 238, 0.14);
}

.arch-layer-backend .arch-chip {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(240, 168, 152, 0.3);
}

.arch-layer-app .arch-chip {
  background: rgba(201, 165, 92, 0.14);
  color: var(--gold);
  border: 1px solid rgba(201, 165, 92, 0.3);
}

.arch-layer-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

.arch-layer-collar .arch-layer-desc { color: rgba(245, 232, 213, 0.55); }
.arch-layer-backend .arch-layer-desc { color: var(--text-soft); }
.arch-layer-app .arch-layer-desc { color: var(--text-soft); }

.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem 0;
  gap: 0.25rem;
}

.arch-connector-line {
  width: 2px;
  height: 1.6rem;
  background: linear-gradient(to bottom, rgba(200, 176, 168, 0.6), rgba(200, 176, 168, 0.6));
}

.arch-connector-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { justify-content: flex-start; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }

  .ai-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
  }
  .ai-flow-arrow { transform: rotate(90deg); justify-self: center; }

  .stat-item { padding: 0 1.5rem; }
}

@media (max-width: 720px) {
  .nav { display: none; }

  .section { padding: 3.5rem 0; }
  .hero { padding-top: 2rem; }

  h1 { font-size: 2.2rem; }

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

  .stats-inner { gap: 1rem; flex-direction: column; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; flex-direction: row; gap: 0.75rem; }

  .device-iphone { width: 240px; }
  .btn-outline { display: none; }
  .flow-row { flex-wrap: wrap; justify-content: center; }

  .product-card { padding: 1.5rem 1.3rem; }
  .section-header h2 { font-size: 1.55rem; }
}

@media (max-width: 420px) {
  .container { padding: 0 1.1rem; }
  h1 { font-size: 1.9rem; }
}
