/* ═══════════════════════════════════════════
   MAICARE · INVESTOR SITE · STYLES
   Apple-inspired · 2026
═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Apple Color System */
  --bg:        #ffffff;
  --bg-alt:    #F5F5F7;
  --bg-dark:   #1D1D1F;
  --bg-black:  #000000;
  --text:      #1D1D1F;
  --text-sec:  #6e6e73;
  --text-dim:  #a1a1a6;
  --blue:      #0071E3;
  --blue-lt:   #2997FF;
  --blue-dark: #0051D5;
  --green:     #34C759;
  --orange:    #FF9500;
  --purple:    #AF52DE;
  --red:       #FF3B30;
  
  /* Apple Spacing & Radius */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius:    18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --nav-h:     52px;
  
  /* Apple Typography */
  --font:      -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'PingFang SC', 'Helvetica Neue', sans-serif;
  
  /* Apple Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.08);
  --shadow-xl: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 24px rgba(0,113,227,0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
em { font-style: normal; color: var(--blue); }

/* ── Shared typography ── */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 16px;
}

h1, h2 { line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h1 { font-size: clamp(52px, 8vw, 96px); }
h2 { font-size: clamp(36px, 5.5vw, 64px); }

.body-text {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  color: var(--text-sec);
}

.dim { color: var(--text-sec); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue);
  color: #fff;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-blue);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.1s;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(0,113,227,0.25);
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(0,113,227,0.06);
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.btn-large { padding: 18px 36px; font-size: 17px; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1),
              transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .22s; }
.reveal-d3 { transition-delay: .36s; }

/* ── LED breathe ── */
@keyframes breathe {
  0%,100% { opacity:.4; transform:scale(1); }
  50%      { opacity:1;  transform:scale(1.15); }
}
.led-breath { animation: breathe 2.8s ease-in-out infinite; }

/* ── Radar rings ── */
@keyframes radarOut {
  0%   { opacity:.7; transform:scale(1);   }
  100% { opacity:0;  transform:scale(2.6); }
}
.r-ring { transform-origin:50% 50%; }
.r1 { animation: radarOut 2.4s ease-out infinite; }
.r2 { animation: radarOut 2.4s ease-out .7s infinite; }
.r3 { animation: radarOut 2.4s ease-out 1.4s infinite; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
#nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.nav-logo .logo-icon {
  color: var(--blue);
  flex-shrink: 0;
}

.nav-logo .logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-sec);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  color: var(--blue);
  font-weight: 500;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ══════════════════════════════
   S1 · HERO - Apple Product Style
══════════════════════════════ */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-top: calc(var(--nav-h) + 40px);
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  overflow: hidden;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,113,227,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content .eyebrow {
  color: var(--blue);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 12px;
}

.hero-content h1 {
  color: var(--text);
  margin-bottom: 16px;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-content h1 em {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 50%, #5AC8FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--text-sec);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cta .btn-primary,
.hero-cta .btn-ghost {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
}

.hero-visual {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  position: relative;
  z-index: 1;
}

.scene-bathroom {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius-xl);
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.12));
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scene-bathroom:hover {
  transform: translateY(-8px) scale(1.02);
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  width: 100%;
}
.hero-content .eyebrow { color: var(--blue); }
.hero-content h1 { color: var(--text); margin-bottom: 20px; }
.hero-sub {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-sec);
  margin-bottom: 36px;
  letter-spacing: .02em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.scene-bathroom {
  width: 100%;
  max-height: 480px;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.scene-bathroom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 40px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: .5; }
  50%      { transform: scaleY(1.3); opacity: 1; }
}

/* ══════════════════════════════
   S2 · PROBLEM
══════════════════════════════ */
#problem {
  background: var(--bg-dark);
  color: #f5f5f7;
  padding: 120px 24px;
}
.problem-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-text .eyebrow { color: #6e6e80; }
.problem-text h2 { color: #f5f5f7; font-size: clamp(34px, 5vw, 58px); }
.problem-text h2 .dim { color: #6e6e80; }
.problem-text .body-text { color: #8e8e9a; margin-top: 24px; }
.problem-text strong { color: #f5f5f7; }

.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-card {
  background: rgba(255,255,255,0.05);
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-card:hover { 
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.stat-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num span { font-size: 50%; font-weight: 500; color: var(--blue-lt); margin-left: 2px; }
.stat-label { font-size: 13px; color: #6e6e80; line-height: 1.4; }

.pull-quote {
  max-width: 800px;
  margin: 72px auto 0;
  padding: 0 24px;
  font-size: clamp(16px, 2vw, 20px);
  color: #6e6e80;
  line-height: 1.7;
  text-align: center;
  border: none;
}
.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #3a3a40;
  font-style: normal;
}

/* ══════════════════════════════
   S3 · INSTALL
══════════════════════════════ */
#install {
  background: var(--bg);
  padding: 120px 24px;
}
.feature-split {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-text h2 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 20px; }
.feature-text .body-text { margin-bottom: 32px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-sec);
}
.feature-list li svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Steps */
.steps-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .55;
  transition: opacity .3s;
}
.step-item.active,
.step-item:hover { opacity: 1; }
.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-sec);
}
.step-desc { font-size: 11px; color: var(--text-sec); }
.step-arrow { color: var(--text-dim); font-size: 18px; margin-bottom: 20px; }

.product-top-view {
  background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F7 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

/* ══════════════════════════════
   S4 · PRIVACY
══════════════════════════════ */
#privacy {
  background: var(--bg-alt);
  padding: 120px 24px;
}
.privacy-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.privacy-text h2 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 20px; }
.privacy-text .body-text { margin-bottom: 28px; }
.privacy-text strong { color: var(--text); }

.compare-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.compare-card {
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.compare-card:hover { 
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.compare-bad  { 
  background: rgba(255,59,48,0.06); 
  border: 1px solid rgba(255,59,48,0.12); 
}
.compare-good { 
  background: rgba(0,113,227,0.06); 
  border: 1px solid rgba(0,113,227,0.12); 
}
.compare-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-sec);
}
.compare-vs {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  flex-shrink: 0;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0,113,227,0.08);
  color: var(--blue);
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0,113,227,0.12);
  transition: all 0.2s ease;
}
.tag:hover {
  background: rgba(0,113,227,0.12);
  transform: translateY(-1px);
}

/* ══════════════════════════════
   S5 · EDGE AI
══════════════════════════════ */
#edgeai {
  background: #000;
  padding: 120px 24px;
}
.edgeai-inner { max-width: 1080px; margin: 0 auto; }
.edgeai-top { text-align: center; margin-bottom: 64px; }
.edgeai-top h2 { color: #f5f5f7; font-size: clamp(34px, 5vw, 62px); }
.edgeai-top em { color: var(--blue-lt); }

.ai-diagram {
  background: linear-gradient(180deg, #0d0d12 0%, #0a0a0f 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  margin-bottom: 56px;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 8px 32px rgba(0,0,0,0.4);
}

.edgeai-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
}
.ai-feat {
  background: rgba(255,255,255,0.02);
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-sm);
}
.ai-feat:hover { 
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.08);
}
.ai-feat-icon { font-size: 28px; margin-bottom: 14px; }
.ai-feat h4 { color: #f5f5f7; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.ai-feat p { color: #6e6e80; font-size: 14px; line-height: 1.6; }

/* ══════════════════════════════
   S6 · MARKET / INVESTOR
══════════════════════════════ */
#market {
  background: var(--bg);
  padding: 120px 24px;
}
.market-inner { max-width: 1080px; margin: 0 auto; }
.market-inner > .eyebrow { text-align: center; }
.market-inner > h2 { text-align: center; margin-bottom: 64px; }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}

.bento-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.04);
}
.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

/* Grid spans */
.bento-large  { grid-column: span 5; grid-row: span 2; }
.bento-sm     { grid-column: span 3; grid-row: span 1; }
.bento-medium { grid-column: span 4; grid-row: span 2; }
.bento-full   { grid-column: span 12; grid-row: span 1; }

/* Color variants */
.bento-blue { 
  background: linear-gradient(135deg, #001428 0%, #001830 100%);
  border: 1px solid rgba(0,113,227,0.1);
}
.bento-blue .bento-eyebrow { color: #4d8ac0; }
.bento-dark { 
  background: linear-gradient(180deg, #2a2a2c 0%, #1D1D1F 100%);
  border: 1px solid rgba(255,255,255,0.06);
}
.bento-dark .bento-eyebrow,
.bento-dark .bento-desc { color: #6e6e80; }
.bento-dark .bento-icon { font-size: 28px; margin: 12px 0; }
.bento-cta-card { 
  background: linear-gradient(135deg, #001428, #002040);
  border: 1px solid rgba(0,113,227,0.15);
}

.bento-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-bottom: 12px;
}

.bento-big-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  color: var(--blue-lt);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.bento-big-num span { font-size: 45%; color: var(--blue-lt); opacity: .8; margin-left: 2px; }

.bento-mid-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.bento-mid-num span { font-size: 45%; color: var(--text-sec); margin-left: 2px; }

.bento-desc { font-size: 14px; color: var(--text-sec); line-height: 1.6; }
.bento-desc strong { color: var(--text); }
.bento-blue .bento-desc { color: #4d6e8a; }
.bento-blue .bento-desc strong { color: var(--blue-lt); }

.bento-chart { margin-top: 20px; }

/* Model row */
.model-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.model-item { text-align: center; }
.model-item.accent .model-price { color: var(--blue); }
.model-price { font-size: 26px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.model-price small { font-size: 55%; font-weight: 500; }
.model-label { font-size: 12px; color: var(--text-sec); margin-top: 4px; }
.model-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.model-plus { font-size: 20px; color: var(--text-dim); }

.ltv-bar { margin-top: 4px; }
.ltv-label { font-size: 11px; color: var(--text-sec); margin-bottom: 6px; display: flex; justify-content: space-between; }
.ltv-value { font-size: 22px; font-weight: 700; color: var(--green); margin-bottom: 8px; }
.ltv-track { height: 4px; background: #e5e5ea; border-radius: 4px; overflow: hidden; }
.ltv-fill { height: 100%; background: var(--green); border-radius: 4px; transition: width 1.2s cubic-bezier(.16,1,.3,1); }

/* Moat list */
.moat-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.moat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-sec); line-height: 1.4; }
.moat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }

/* Funding section */
.funding-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.funding-text h3 { font-size: clamp(20px, 2.5vw, 28px); color: #f5f5f7; font-weight: 700; margin: 12px 0 10px; }
.funding-text p { font-size: 15px; color: #6e6e80; line-height: 1.7; }
.funding-text strong { color: var(--orange); }

.funding-milestones { display: flex; flex-direction: column; gap: 0; }
.milestone {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-left: 1.5px solid #1e3048;
  padding-left: 20px;
  position: relative;
  opacity: .45;
  transition: opacity .2s;
}
.milestone:hover,
.milestone.active { opacity: 1; }
.milestone.active .ms-dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,204,.25); }
.ms-dot {
  position: absolute;
  left: -5px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3a4a;
  flex-shrink: 0;
  transition: background .2s, box-shadow .2s;
}
.ms-title { font-size: 14px; font-weight: 600; color: #c0c8d0; margin-bottom: 3px; }
.ms-desc  { font-size: 13px; color: #4a5a6a; }

/* ══════════════════════════════
   S7 · FOOTER & CONTACT CARDS
══════════════════════════════ */
#contact {
  background: var(--bg-dark);
  padding: 140px 24px 60px;
}
.footer-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.footer-inner h2 { color: #f5f5f7; font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 24px; }
.footer-inner em { color: var(--blue-lt); }
.footer-sub { font-size: 18px; color: #6e6e80; line-height: 1.7; margin-bottom: 48px; }

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 60px;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card:active {
  transform: translateY(-2px) scale(1.01);
  transition-duration: 0.1s;
}

/* Card-specific colors */
.email-card:hover { border-color: rgba(234,67,53,0.4); box-shadow: 0 20px 40px rgba(234,67,53,0.12); }
.email-card:hover .contact-icon { color: #ea4335; }

.phone-card:hover { border-color: rgba(52,199,89,0.4); box-shadow: 0 20px 40px rgba(52,199,89,0.12); }
.phone-card:hover .contact-icon { color: #34c759; }

.wechat-card:hover { border-color: rgba(7,193,96,0.4); box-shadow: 0 20px 40px rgba(7,193,96,0.12); }
.wechat-card:hover .contact-icon { color: #07c160; }

.bp-card:hover { border-color: rgba(0,113,227,0.4); box-shadow: 0 20px 40px rgba(0,113,227,0.15); }
.bp-card:hover .contact-icon { color: var(--blue); }

.contact-icon {
  width: 48px;
  height: 48px;
  color: #6e6e80;
  transition: color 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.contact-label {
  font-size: 12px;
  color: #6e6e80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f7;
}

.contact-arrow {
  font-size: 20px;
  color: #3a3a40;
  transition: all 0.3s;
}

.contact-card:hover .contact-arrow {
  color: #f5f5f7;
  transform: translateX(4px);
}

/* Ripple effect */
.contact-ripple {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.contact-card:hover .contact-ripple {
  opacity: 1;
}

/* WeChat Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: linear-gradient(180deg, #1e1e22 0%, #1a1a1e 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  max-width: 320px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 
    0 24px 48px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: #6e6e80;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #f5f5f7;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-placeholder svg {
  border-radius: 12px;
}

.qr-placeholder p {
  color: #6e6e80;
  font-size: 14px;
}

.footer-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-cta .btn-primary { background: var(--blue); }
.footer-cta .btn-ghost { color: #8e8ea0; border-color: rgba(255,255,255,.15); }
.footer-cta .btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }

.footer-divider { height: 1px; background: #2a2a2e; margin: 60px 0 32px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #6e6e80; }
.footer-links { display: flex; gap: 12px; font-size: 12px; color: #3a3a40; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #6e6e80; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }

/* Mobile Contact Cards */
@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-card {
    padding: 20px;
  }
  .contact-icon {
    width: 40px;
    height: 40px;
  }
  .contact-value {
    font-size: 14px;
  }
}

/* ══════════════════════════════
   MOBILE MENU OVERLAY
══════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 28px; font-weight: 600; color: var(--text); }
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-sec);
}

/* ══════════════════════════════
   RESPONSIVE - MOBILE OPTIMIZED
══════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  h1 { font-size: clamp(36px, 9vw, 60px); }
  h2 { font-size: clamp(26px, 6vw, 42px); }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .problem-stats  { grid-template-columns: repeat(2, 1fr); }

  .feature-split  { grid-template-columns: 1fr; gap: 40px; }
  .privacy-inner  { grid-template-columns: 1fr; gap: 40px; }

  .edgeai-features { grid-template-columns: 1fr 1fr; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-large  { grid-column: span 2; }
  .bento-sm     { grid-column: span 1; }
  .bento-medium { grid-column: span 2; }
  .bento-full   { grid-column: span 2; }
  .funding-inner { grid-template-columns: 1fr; }
}

/* Mobile - Deep Optimization with Apple Style */
@media (max-width: 600px) {
  :root {
    --nav-h: 48px;
  }

  /* Hero Mobile - Enhanced Readability */
  #hero {
    min-height: 100svh;
    padding-top: var(--nav-h);
  }
  .hero-content {
    padding: 40px 20px 28px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: clamp(36px, 12vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    font-weight: 700;
  }
  .hero-content h1 em {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
    padding: 0 8px;
    color: var(--text-sec);
    font-weight: 400;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 500;
  }
  .hero-visual {
    padding: 0 16px 32px;
  }
  .scene-bathroom {
    max-height: 280px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .scroll-hint {
    padding: 12px 0 28px;
  }

  /* Problem Section Mobile - Better Stats */
  #problem {
    padding: 72px 20px;
  }
  .problem-text h2 {
    font-size: clamp(28px, 9vw, 40px);
    text-align: center;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .problem-text .body-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #9a9aa3;
  }
  .problem-text .body-text strong {
    color: #f5f5f7;
    font-weight: 600;
  }
  .problem-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 24px 14px;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .stat-num {
    font-size: clamp(32px, 9vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .stat-num span {
    font-size: 45%;
    font-weight: 500;
  }
  .stat-label {
    font-size: 12px;
    line-height: 1.4;
    color: #7a7a83;
  }
  .pull-quote {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.7;
    padding: 0 16px;
    color: #7a7a83;
  }
  .pull-quote cite {
    font-size: 12px;
    margin-top: 12px;
  }

  /* Install Section Mobile */
  #install {
    padding: 72px 20px;
  }
  .feature-text h2 {
    font-size: clamp(28px, 9vw, 40px);
    text-align: center;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .feature-text h2 em {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .feature-text .body-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
  }
  .feature-list {
    align-items: flex-start;
    padding: 0 8px;
  }
  .feature-list li {
    font-size: 15px;
    line-height: 1.5;
  }
  .feature-list li svg {
    width: 22px;
    height: 22px;
  }
  .steps-visual {
    gap: 6px;
    margin-bottom: 24px;
  }
  .step-item {
    transform: scale(0.85);
  }
  .step-desc {
    font-size: 10px;
    white-space: nowrap;
  }
  .step-arrow { display: none; }
  .product-top-view {
    padding: 20px;
    border-radius: var(--radius-md);
  }

  /* Privacy Section Mobile */
  #privacy {
    padding: 72px 20px;
  }
  .privacy-text h2 {
    font-size: clamp(28px, 9vw, 40px);
    text-align: center;
    line-height: 1.15;
    margin-bottom: 20px;
  }
  .privacy-text h2 em {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .privacy-text .body-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .privacy-text .body-text strong {
    font-weight: 600;
    color: var(--text);
  }
  .privacy-visual {
    order: -1;
    margin-bottom: 32px;
  }
  .compare-wrap {
    flex-direction: column;
    gap: 16px;
  }
  .compare-card {
    padding: 24px 20px;
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-md);
  }
  .compare-card svg {
    width: 100px;
    height: 100px;
  }
  .compare-label {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .compare-vs {
    font-size: 12px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.04);
    border-radius: 20px;
    font-weight: 600;
  }
  .tech-tags {
    justify-content: center;
    gap: 8px;
  }
  .tag {
    font-size: 12px;
    padding: 6px 14px;
    font-weight: 500;
  }

  /* Edge AI Section Mobile */
  #edgeai {
    padding: 72px 20px;
  }
  .edgeai-top h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.15;
  }
  .edgeai-top h2 em {
    background: linear-gradient(135deg, var(--blue-lt) 0%, #5AC8FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .ai-diagram {
    padding: 20px 12px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
  }
  .ai-diagram svg {
    min-width: 560px;
  }
  .edgeai-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ai-feat {
    padding: 24px 20px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: var(--radius-sm);
  }
  .ai-feat-icon {
    font-size: 28px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .ai-feat h4 {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .ai-feat p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Market Section Mobile - Better Bento */
  #market {
    padding: 72px 20px;
  }
  .market-inner > h2 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.15;
    margin-bottom: 36px;
  }
  .market-inner > h2 em {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bento-large, .bento-sm, .bento-medium, .bento-full {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }
  .bento-eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .bento-big-num {
    font-size: clamp(40px, 12vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .bento-mid-num {
    font-size: clamp(36px, 10vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  .bento-desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .model-row {
    flex-direction: column;
    gap: 16px;
  }
  .model-price {
    font-size: 28px;
  }
  .model-plus {
    transform: rotate(90deg);
    font-size: 24px;
  }
  .moat-list li {
    font-size: 14px;
    line-height: 1.5;
  }
  .funding-inner {
    gap: 28px;
  }
  .funding-text h3 {
    font-size: 22px;
    line-height: 1.2;
  }
  .funding-text p {
    font-size: 15px;
    line-height: 1.6;
  }
  .milestone {
    padding: 10px 0 10px 16px;
  }
  .ms-title {
    font-size: 14px;
    font-weight: 600;
  }
  .ms-desc {
    font-size: 12px;
  }

  /* Footer Mobile - Enhanced */
  #contact {
    padding: 80px 20px 40px;
  }
  .footer-inner h2 {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .footer-inner h2 em {
    background: linear-gradient(135deg, var(--blue-lt) 0%, #5AC8FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .footer-sub {
    font-size: 17px;
    line-height: 1.6;
    padding: 0 8px;
    margin-bottom: 40px;
    color: #8a8a93;
  }
  .contact-cards {
    gap: 12px;
    margin-bottom: 48px;
  }
  .contact-card {
    padding: 20px 18px;
    border-radius: var(--radius-sm);
  }
  .contact-icon {
    width: 44px;
    height: 44px;
  }
  .contact-label {
    font-size: 11px;
  }
  .contact-value {
    font-size: 15px;
    font-weight: 600;
  }
  .footer-divider {
    margin: 40px 0 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-brand {
    font-size: 14px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
  }

  /* Mobile Menu */
  .mobile-menu a {
    font-size: 22px;
    font-weight: 600;
  }

/* Small Mobile - Extra Optimization */
@media (max-width: 380px) {
  .hero-content {
    padding: 32px 16px 24px;
  }
  .hero-content h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    padding: 14px 24px;
    font-size: 15px;
  }
  .scene-bathroom {
    max-height: 240px;
  }
  .stat-card {
    padding: 18px 10px;
  }
  .stat-num {
    font-size: 28px;
  }
  .stat-label {
    font-size: 10px;
  }
  .problem-text h2,
  .feature-text h2,
  .privacy-text h2,
  .edgeai-top h2,
  .market-inner > h2,
  .footer-inner h2 {
    font-size: 26px;
  }
  .problem-text .body-text,
  .feature-text .body-text,
  .privacy-text .body-text {
    font-size: 15px;
  }
  .contact-card {
    padding: 16px 14px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  .contact-value {
    font-size: 13px;
  }
  .ai-feat {
    padding: 18px 16px;
  }
  .ai-feat-icon {
    font-size: 24px;
  }
  .ai-feat h4 {
    font-size: 15px;
  }
  .ai-feat p {
    font-size: 12px;
  }
  .bento-card {
    padding: 20px 16px;
  }
  .bento-big-num {
    font-size: 36px;
  }
  .bento-mid-num {
    font-size: 32px;
  }
}
