/* ----------------------------------------------------------------------------
   ChillSeeker marketing site — single stylesheet, no external dependencies
   ---------------------------------------------------------------------------- */

:root {
  --brand-primary: #33B8F5;
  --brand-deep: #0A2C61;
  --brand-gradient-start: #0A2349;
  --brand-gradient-end: #1F8FE8;

  --bg: #06122B;
  --bg-elev: #0B1D3E;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);

  --fg: #F2F6FB;
  --fg-dim: #B1C0D7;
  --fg-mute: #76869E;

  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --container: 1100px;
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 60px -10px rgba(51,184,245,0.5);

  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ----------------------------------- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,18,43,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
  text-decoration: none;
}
.nav-brand img { border-radius: 8px; }
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: var(--fg-dim);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--fg); text-decoration: none; }

/* ----------------------------------- Hero --- */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(51,184,245,0.20), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(31,143,232,0.15), transparent 55%),
    linear-gradient(180deg, var(--brand-gradient-start) 0%, var(--bg) 75%);
  z-index: 0;
}
.hero-content,
.hero-mockup {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-content {
  text-align: center;
  padding-top: 16px;
}
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.logo-mark svg {
  filter: drop-shadow(0 16px 40px rgba(51,184,245,0.35));
  border-radius: 24px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 18px;
  background: linear-gradient(180deg, #ffffff 0%, #BDD7F5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--fg-dim);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-sub {
  color: var(--fg-mute);
  font-size: 13px;
  margin: 0;
}

/* --- Phone mockup --- */
.hero-mockup {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.phone {
  width: 280px;
  height: 568px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1a2540 0%, #0c1830 100%);
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.05),
    var(--shadow-lg),
    var(--shadow-glow);
  position: relative;
}
.phone::before {
  /* Dynamic Island */
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 0%, rgba(51,184,245,0.20), transparent 70%),
    linear-gradient(180deg, #f0f6fb 0%, #d7e7f5 100%);
  border-radius: 32px;
  overflow: hidden;
  color: #1a2030;
  position: relative;
  display: flex;
  flex-direction: column;
}
.screen-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1a2030;
}
.status-icons { display: flex; align-items: center; gap: 6px; }
.battery {
  width: 22px;
  height: 10px;
  border-radius: 2px;
  border: 1.2px solid currentColor;
  position: relative;
}
.battery::after {
  content:'';
  position:absolute;
  inset: 1px;
  background: currentColor;
  border-radius: 1px;
}
.screen-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 18px;
}
.screen-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 16px;
  margin-bottom: 18px;
}
.screen-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}
.meta-pill {
  background: rgba(51,184,245,0.15);
  color: var(--brand-deep);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.ring {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring svg {
  position: absolute;
  inset: 0;
}
.ring-time {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #1a2030;
}
.ring-label {
  position: absolute;
  top: 60%;
  font-size: 11px;
  color: #59698a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hr-pill {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,90,120,0.15);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.hr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a78;
  box-shadow: 0 0 8px rgba(255,90,120,0.7);
  animation: pulse 1s ease-in-out infinite;
}
.hr-value { font-variant-numeric: tabular-nums; }
.hr-unit { color: #59698a; font-size: 12px; }
.screen-stop {
  margin-top: auto;
  padding: 14px 60px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: #ff4f4f;
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px -2px rgba(255,79,79,0.4);
  cursor: default;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.3); opacity: 0.7; }
}

/* ----------------------------------- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #dceaf6 100%);
  color: var(--brand-deep);
  box-shadow: 0 8px 24px -6px rgba(51,184,245,0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(51,184,245,0.55); }
.btn-ghost {
  background: transparent;
  color: var(--fg-dim);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--fg); background: var(--bg-card); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ----------------------------------- Sections --- */
section { padding: 80px 24px; }
.section-title {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 56px;
}
.section-title.small {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 24px;
}

/* ----------------------------------- Features --- */
.features {
  max-width: var(--container);
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.feature:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(51,184,245,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14.5px;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------- Privacy band --- */
.privacy-band {
  background: linear-gradient(180deg, rgba(51,184,245,0.08), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.privacy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.privacy-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.privacy-band h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.privacy-band p {
  color: var(--fg-dim);
  font-size: 16px;
  margin: 0 0 14px;
}
.link-arrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 4px;
}

/* ----------------------------------- Safety --- */
.safety {
  max-width: 760px;
  margin: 0 auto;
}
.safety p {
  color: var(--fg-dim);
  font-size: 15.5px;
  line-height: 1.65;
  text-align: center;
  margin: 0 auto 14px;
}
.safety .muted { color: var(--fg-mute); }
.safety .small { font-size: 13.5px; }

/* ----------------------------------- CTA --- */
.cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(51,184,245,0.12), transparent 60%),
    var(--bg-elev);
  border-top: 1px solid var(--border);
}
.cta h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.cta p {
  color: var(--fg-dim);
  margin: 0 0 24px;
}

/* ----------------------------------- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  background: #04091B;
  padding: 36px 24px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { border-radius: 10px; }
.footer-brand-name { font-weight: 700; font-size: 16px; }
.footer-brand-sub { color: var(--fg-mute); font-size: 13px; }
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a {
  color: var(--fg-dim);
  font-size: 14.5px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--fg); }

/* ----------------------------------- Subpages (privacy/support) --- */
.subpage {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.subpage h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.subpage .updated { color: var(--fg-mute); font-size: 14px; margin-bottom: 36px; }
.subpage h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.subpage h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.subpage p, .subpage li {
  color: var(--fg-dim);
  font-size: 15.5px;
  line-height: 1.65;
}
.subpage ul { padding-left: 22px; }
.subpage strong { color: var(--fg); }
.subpage code {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
}
.subpage hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ----------------------------------- Responsive --- */
@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .hero { padding-top: 56px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .phone { width: 240px; height: 488px; padding: 10px; }
  .phone::before { width: 84px; height: 24px; top: 14px; }
  .ring { width: 170px; height: 170px; }
  .ring svg { width: 170px; height: 170px; }
  .ring-time { font-size: 36px; }
  .screen-title { margin-top: 10px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
