/* ==========================================================================
   Climivo — website styles
   Design language mirrors the app: frosted glass over a dynamic sky,
   Manrope + Inter, rounded geometry, restrained motion.
   ========================================================================== */

:root {
  /* Base palette (app design system) */
  --bg-deep: #0b1220;
  --bg-night: #0e1117;
  --surface-glass: rgba(255, 255, 255, 0.06);
  --surface-glass-strong: rgba(19, 27, 44, 0.62);
  --surface-light: rgba(255, 255, 255, 0.72);
  --ink: #f2f4f8;
  --ink-muted: #93a0b4;
  --ink-soft: #b6c2d4;

  /* Accents (from WeatherPalette) */
  --accent-blue: #5b9cff;
  --accent-sun: #ff8a3d;
  --accent-warm: #ffc46b;
  --accent-storm: #7a6ff0;
  --accent-overcast: #8c97ac;

  /* Semantic score colors */
  --score-excellent: #2fbf71;
  --score-good: #7cc24a;
  --score-moderate: #f2b84b;
  --score-poor: #f0834a;

  --border-glass: rgba(255, 255, 255, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

::selection {
  background: rgba(91, 156, 255, 0.35);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Animated sky background
   -------------------------------------------------------------------------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(160deg, #101a30 0%, #0b1220 45%, #141a2e 100%);
  overflow: hidden;
}

.sky::before,
.sky::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 26s ease-in-out infinite alternate;
}

.sky::before {
  width: 62vw;
  height: 62vw;
  top: -18vw;
  right: -14vw;
  background: radial-gradient(circle at 30% 30%, #2b4a8f, #5b9cff 40%, transparent 72%);
}

.sky::after {
  width: 55vw;
  height: 55vw;
  bottom: -20vw;
  left: -12vw;
  background: radial-gradient(circle at 60% 40%, #7a3d1f, #ff8a3d 45%, transparent 70%);
  opacity: 0.32;
  animation-delay: -13s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vh, 0) scale(1.12); }
}

.clouds {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  filter: blur(2px);
  animation: cloudDrift linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud.c1 { width: 420px; height: 90px; top: 12%; animation-duration: 70s; }
.cloud.c1::before { width: 130px; height: 130px; top: -70px; left: 60px; }
.cloud.c1::after  { width: 100px; height: 100px; top: -45px; left: 190px; }

.cloud.c2 { width: 340px; height: 74px; top: 34%; animation-duration: 95s; animation-delay: -30s; }
.cloud.c2::before { width: 100px; height: 100px; top: -55px; left: 50px; }
.cloud.c2::after  { width: 80px; height: 80px; top: -38px; left: 160px; }

.cloud.c3 { width: 500px; height: 100px; top: 64%; animation-duration: 120s; animation-delay: -60s; }
.cloud.c3::before { width: 150px; height: 150px; top: -80px; left: 70px; }
.cloud.c3::after  { width: 110px; height: 110px; top: -50px; left: 230px; }

@keyframes cloudDrift {
  from { transform: translateX(-30vw); }
  to   { transform: translateX(120vw); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

section {
  padding: 96px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: rgba(91, 156, 255, 0.12);
  border: 1px solid rgba(91, 156, 255, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-glass);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(91, 156, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-blue), #7a6ff0);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 10px 28px rgba(91, 156, 255, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(91, 156, 255, 0.45);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 66px);
  margin-bottom: 22px;
}

.hero h1 .grad {
  background: linear-gradient(120deg, #ffc46b, #ff8a3d 45%, #5b9cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, #ff8a3d, #f2b84b);
  color: #221104;
  box-shadow: 0 16px 40px rgba(255, 138, 61, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(255, 138, 61, 0.45);
}

.btn-ghost {
  background: var(--surface-glass);
  color: var(--ink);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats .stat b {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(120deg, #ffc46b, #5b9cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats .stat span {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* Hero phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-soft), 0 0 80px rgba(91, 156, 255, 0.15);
  transform: rotate(3deg);
  animation: float 7s ease-in-out infinite;
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c2b4a 0%, #12203c 55%, #101a30 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 18px 26px;
}

.phone .status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.phone .loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.phone .temp-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.phone .temp {
  font-family: "Manrope", sans-serif;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.phone .cond {
  color: var(--ink-muted);
  font-size: 15px;
  margin-top: 4px;
  margin-bottom: 18px;
}

.phone .score-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.phone .score-card {
  flex: 1;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
}

.phone .score-card .lbl {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.ring {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 8px;
}

.ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.ring .track {
  stroke: rgba(255, 255, 255, 0.1);
}

.ring .arc {
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s var(--ease);
}

.ring .val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.phone .activity {
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.22), rgba(91, 156, 255, 0.18));
  border: 1px solid rgba(255, 138, 61, 0.35);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone .activity .icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a3d, #f2b84b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.phone .activity b {
  font-size: 14px;
  display: block;
}

.phone .activity span {
  font-size: 12px;
  color: var(--ink-muted);
}

.float-tag {
  position: absolute;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
}

.float-tag b { display: block; font-size: 15px; }

.float-tag.t1 { top: 12%; left: -14%; animation-delay: -2s; }
.float-tag.t2 { bottom: 18%; right: -12%; animation-delay: -4s; }

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

/* --------------------------------------------------------------------------
   Glass cards / features
   -------------------------------------------------------------------------- */
.glass {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 156, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-muted);
  font-size: 15px;
}

.icon-blue   { background: rgba(91, 156, 255, 0.16); box-shadow: 0 0 24px rgba(91, 156, 255, 0.25); }
.icon-sun    { background: rgba(255, 138, 61, 0.16); box-shadow: 0 0 24px rgba(255, 138, 61, 0.22); }
.icon-green  { background: rgba(47, 191, 113, 0.16); box-shadow: 0 0 24px rgba(47, 191, 113, 0.22); }
.icon-storm  { background: rgba(122, 111, 240, 0.16); box-shadow: 0 0 24px rgba(122, 111, 240, 0.25); }
.icon-amber  { background: rgba(242, 184, 75, 0.16); box-shadow: 0 0 24px rgba(242, 184, 75, 0.22); }
.icon-muted  { background: rgba(140, 151, 172, 0.16); box-shadow: 0 0 24px rgba(140, 151, 172, 0.22); }

/* --------------------------------------------------------------------------
   Scores showcase
   -------------------------------------------------------------------------- */
.scores {
  position: relative;
}

.scores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.score-panel {
  padding: 38px 34px;
  text-align: center;
}

.score-panel .ring {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

.score-panel .ring .val { font-size: 42px; }

.score-panel h3 { font-size: 22px; margin-bottom: 10px; }

.score-panel p {
  color: var(--ink-muted);
  font-size: 15px;
  max-width: 360px;
  margin-inline: auto;
}

.score-panel .factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Screenshots — mobile-first: swipeable carousel on phones,
   grid on larger screens. Tap any shot to open the lightbox.
   -------------------------------------------------------------------------- */
.shots-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.shots-grid::-webkit-scrollbar { height: 6px; }
.shots-grid::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.shot {
  flex: 0 0 78%;
  max-width: 300px;
  scroll-snap-align: center;
  margin: 0 auto;
  text-align: center;
}

.shot-img {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.shot-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 29px;
}

.shot-img:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 156, 255, 0.5);
}

.shot figcaption {
  margin-top: 14px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 9, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
  animation: fadeIn 0.3s var(--ease);
}

.lightbox[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-img {
  max-width: min(86vw, 420px);
  max-height: 78vh;
  border-radius: 26px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.35s var(--ease);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-cap {
  color: var(--ink-soft);
  font-size: 15px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.lightbox-arrows {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.lightbox-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s;
}

.lightbox-arrows button:hover { background: rgba(255, 255, 255, 0.16); }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  padding: 34px 28px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 48px;
  background: linear-gradient(120deg, #ffc46b, #5b9cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: block;
  margin-bottom: 16px;
  opacity: 0.9;
}

.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--ink-muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  padding: 22px 26px;
  cursor: pointer;
}

.faq-q .chev {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
  color: var(--accent-blue);
}

.faq-item.open .faq-q .chev { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: 80px 0 110px;
}

.cta-card {
  padding: 64px 40px;
  background: linear-gradient(135deg,
    rgba(91, 156, 255, 0.16),
    rgba(255, 138, 61, 0.14) 55%,
    rgba(122, 111, 240, 0.16));
  border: 1px solid rgba(91, 156, 255, 0.3);
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 30px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 36px;
  background: rgba(8, 13, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--ink-muted);
  font-size: 14px;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--accent-blue); }

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 13px;
}

.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent-blue); }

/* --------------------------------------------------------------------------
   Subpages (privacy / contact)
   -------------------------------------------------------------------------- */
.subpage-hero {
  padding: 150px 0 40px;
  text-align: center;
}

.subpage-hero .eyebrow { margin-bottom: 18px; }

.subpage-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 12px;
}

.subpage-hero p {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 560px;
  margin-inline: auto;
}

.prose {
  max-width: 780px;
  margin-inline: auto;
  padding-bottom: 110px;
}

.prose .glass {
  padding: 48px 46px;
  border-radius: var(--radius-lg);
}

.prose h2 {
  font-size: 22px;
  margin: 34px 0 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li {
  color: var(--ink-muted);
  font-size: 15.5px;
  margin-bottom: 12px;
}

.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-blue); border-bottom: 1px solid rgba(91,156,255,0.4); }
.prose strong { color: var(--ink); }
.prose .updated {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

.contact-card {
  padding: 34px 30px;
  text-align: center;
}

.contact-card .feature-icon {
  margin: 0 auto 14px;
  width: 60px;
  height: 60px;
}

.contact-card h3 { font-size: 19px; margin-bottom: 8px; }
.contact-card p { color: var(--ink-muted); font-size: 15px; margin-bottom: 16px; }
.contact-card a.email {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-blue);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-tag, .cloud, .sky::before, .sky::after {
    animation: none !important;
  }
  .lightbox-img { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero { text-align: center; padding-top: 130px; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .float-tag.t1 { left: 2%; }
  .float-tag.t2 { right: 2%; }
  .feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 721px) {
  /* Screenshots: carousel becomes a grid on larger screens */
  .shots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    overflow: visible;
    padding: 8px 0 0;
  }
  .shot { flex: none; max-width: none; margin: 0; }
}

@media (min-width: 1100px) {
  .shots-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.06); }
  .nav-links .nav-cta { text-align: center; margin-top: 6px; }
  .burger { display: flex; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .scores-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .prose .glass { padding: 34px 24px; }
  .cta-card { padding: 44px 22px; }
}
