/* ============================================================
   Chilltacular! — global styles
   ============================================================ */

:root {
  --bg:           #0F1115;
  --bg-elev:      #181B22;
  --bg-elev-2:    #20232C;
  --border:       rgba(255, 255, 255, 0.08);
  --text:         #ECEEF3;
  --text-muted:   rgba(236, 238, 243, 0.65);
  --text-dim:     rgba(236, 238, 243, 0.45);

  --accent:       #FF8A3D;   /* warm sunset orange — pulled from the app icon */
  --accent-2:     #6B7CFF;   /* dusk indigo */
  --accent-pink:  #FF6B7A;
  --accent-soft:  rgba(255, 138, 61, 0.12);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow:    0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55);

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

  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(107, 124, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at -10% 10%, rgba(255, 138, 61, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
a:hover { opacity: 0.8; }

/* ============================================================
   Layout helpers
   ============================================================ */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--tight { padding: 48px 0; }

@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 32px 0; }
}

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(15, 17, 21, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); opacity: 1; }
.nav-links a.is-active { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-cta {
  background: var(--accent);
  color: #1a0e05 !important;
  font-weight: 600;
  padding: 9px 16px !important;
  border-radius: 999px !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--accent); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 17, 21, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    font-size: 16px;
  }
  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 84px 0 32px;
  text-align: center;
  position: relative;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1.headline {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 800;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 22px;
}

h1.headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-pink) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease, opacity 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #1a0e05;
}
.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.10); opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 14px 14px;
}
.btn-ghost:hover { color: var(--text); opacity: 1; }

/* ============================================================
   Phone screenshots
   ============================================================ */

.phone {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}

.phone--hero {
  margin-top: 40px;
  max-width: 340px;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: 48px;
}

.phone-row .phone { max-width: 100%; }
.phone-row .phone--lift { transform: translateY(-24px); }

@media (max-width: 760px) {
  .phone-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phone-row .phone--lift { transform: none; }
  .phone-row .phone { max-width: 280px; }
}

/* ============================================================
   Pillar / feature blocks
   ============================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.pillar:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.pillar h3 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--text);
}

.pillar p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Feature spotlight: alternating image + text rows */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 80px 0;
}

.spotlight--reverse .spotlight-text { order: 2; }
.spotlight--reverse .spotlight-media { order: 1; }

.spotlight-text h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.spotlight-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.spotlight-media {
  display: flex;
  justify-content: center;
}

@media (max-width: 760px) {
  .spotlight {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 56px 0;
  }
  .spotlight--reverse .spotlight-text { order: 0; }
  .spotlight--reverse .spotlight-media { order: 1; }
}

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text);
}
.section-heading p {
  color: var(--text-muted);
  font-size: 18px;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Generic prose / content pages
   ============================================================ */

.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}

.prose .lede {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.6px;
  margin: 56px 0 14px;
  color: var(--text);
}

.prose h3 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin: 32px 0 10px;
  color: var(--text);
}

.prose p, .prose ul, .prose ol, .prose blockquote {
  margin-bottom: 16px;
  color: var(--text);
}

.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; color: var(--text); }
.prose li::marker { color: var(--text-dim); }

.prose blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  color: var(--text);
}

.prose code {
  background: rgba(255,255,255,0.07);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.prose img {
  border-radius: var(--radius);
  margin: 24px auto;
  max-width: 320px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.prose th, .prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.prose tr:last-child td { border-bottom: none; }
.prose th {
  background: var(--bg-elev-2);
  font-weight: 600;
  color: var(--text);
}
.prose td { color: var(--text-muted); }
.prose td strong { color: var(--text); }

/* ============================================================
   Pricing
   ============================================================ */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.price-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: rgba(255, 138, 61, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 138, 61, 0.06), transparent 40%),
    var(--bg-elev);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.18), var(--shadow);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #1a0e05;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--text);
}
.price-tag {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 4px;
}
.price-tag .small { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-left: 4px; }
.price-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  min-height: 22px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.price-features li {
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Download buttons
   ============================================================ */

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 16px;
}

.dl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.dl-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 61, 0.4);
  background: rgba(255, 138, 61, 0.04);
  opacity: 1;
}

.dl-btn-platform {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.dl-btn-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}
.dl-btn-svg {
  width: 38px;
  height: 38px;
  fill: var(--text-muted);
}
.dl-btn-status {
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 700px) {
  .download-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Banner / callout
   ============================================================ */

.callout {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 138, 61, 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text);
}
.callout strong { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 56px;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 60px;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); opacity: 1; }
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 600;
}
.site-footer .footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.site-footer p { margin-bottom: 6px; }

/* ============================================================
   Final CTA section
   ============================================================ */

.cta-section {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 138, 61, 0.16), transparent 70%),
    var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  margin: 60px 0 0;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}
.cta-section p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Blog
   ============================================================ */

.post {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.post:last-child { border-bottom: none; }
.post-date {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.post h2 {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}
.post .checklist {
  list-style: none;
  padding: 0;
}
.post .checklist li {
  padding: 4px 0;
  color: var(--text);
}
