/* =========================
   Base / Reset
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #F7F7F9; /* Apple fog */
  color: #0B1220; /* Near-black */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5rem 0;
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0F172A;
}

p {
  margin: 0 0 1rem 0;
}

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

strong {
  font-weight: 600;
}

/* =========================
   Global Helpers
   ========================= */
.page {
  min-height: 100vh;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 720px; }
.container--mid    { max-width: 960px; }
.container--wide   { max-width: 1100px; }
.container--xl     { max-width: 1200px; }
.container--hero   { max-width: 860px; }

.section {
  padding: 96px 0;
}

.section--tint {
  background: rgba(255, 255, 255, 0.6);
}

.section--soft {
  background: rgba(240, 245, 250, 0.6);
}

.section--center {
  text-align: center;
}

.section--dark {
  background: #0F172A;
  color: rgba(226, 232, 240, 1);
}

.section__title {
  font-weight: 300;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #0F172A;
}

.section__title--center {
  text-align: center;
  margin-bottom: 48px;
}

.section__title--dark {
  color: #FFFFFF;
  margin-bottom: 48px;
}

.section__title--underline {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 6px solid rgba(199, 210, 254, 0.8); /* indigo-200-ish */
  border-radius: 6px;
}

.section__subtle {
  margin: 0;
  color: #64748B;
  font-style: italic;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}


/* =========================
   Background styles
   ========================= */
.gradient-bg {
  background: linear-gradient(
    135deg,
    #F7F7F9 0%,
    #EEF2F7 40%,
    #E6F4FF 100%
  );
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Floating blur blobs */
.star-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.40;
  filter: blur(48px);
  border-radius: 999px;
}

.star-decoration--one {
  top: 80px;
  right: 40px;
  width: 128px;
  height: 128px;
  background: #E9D5FF; /* purple-200 */
}

.star-decoration--two {
  bottom: 80px;
  left: 40px;
  width: 192px;
  height: 192px;
  background: #DBEAFE; /* blue-100 */
}

/* =========================
   Nav
   ========================= */

.nav--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

/* Less outer padding so the logo fills the header more */
.nav {
  padding: 10px 0;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px; /* gives the brand more vertical room */
}

/* Brand (clickable link in HTML) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 0; /* prevents extra inline image whitespace from affecting height */
}

/* Big Dipper Icon */
.brand__icon {
  width: auto;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Stellarly Wordmark */
.brand__logo {
  height: 50px;  /* increase to 40px if you want it even bolder */
  width: auto;
  object-fit: contain;
  display: block;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  font-family: inherit;
}

.btn--dark {
  background: #0F172A;
  color: #FFFFFF;
}

.btn--dark:hover {
  background: #1F2937;
}

.btn--pill {
  border-radius: 999px;
  padding: 12px 20px;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
}

.btn--lg {
  padding: 18px 20px;
  border-radius: 16px;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.btn--xl {
  padding: 18px 28px;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.btn--block {
  width: 100%;
}

.btn__sub {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  opacity: 0.60;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 128px; /* space for fixed nav */
  padding-bottom: 80px;
  overflow: hidden;
}

/* ✅ NEW: This centers + stacks the hero content.
   (Requires your HTML container to have class="hero__inner") */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ✅ REPLACED: was offset by left/bottom; that breaks centering */
.hero-stellarly-guy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto 32px;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  opacity: 0.85;
}

/* ✅ Ensure the hero image itself truly centers */
.hero-stellarly-guy .app-shot {
  display: block;
  margin: 0 auto;
  width: 200px;
  max-width: 70vw;
  height: auto;
}

.hero__title {
  font-weight: 300;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0F172A;
  margin-bottom: 20px;
  text-align: center; /* ✅ was missing */
}

.hero__subtitle {
  margin-top: 20px;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  color: #475569; /* slate-600 */
  text-align: center;
}

.hero__subtitle--small {
  margin-top: 40px;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.6;
  color: #475569; /* slate-600 */
  text-align: center;
  opacity: 0.50;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.hero__link {
  color: #475569;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.hero__link:hover {
  color: #4F46E5; /* indigo-600 */
  border-color: rgba(129, 140, 248, 0.9); /* indigo-400 */
}

/* Download button (hero) */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 16px 22px;
  border-radius: 18px;
  border: 0;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.download-btn:hover {
  transform: translateY(-4px);
  background: #0B1220;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.22);
}

.download-btn__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.download-btn__text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.download-btn__kicker {
  font-size: 12px;
  opacity: 0.8;
  line-height: 1;
}

.download-btn__platform {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

/* =========================
   Fullscreen Visual Section
   ========================= */
.fullscreen-visual{
  width: 100%;
  height: 100vh;            /* desktop default */
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Mobile-safe viewport units */
@supports (height: 100svh){
  .fullscreen-visual{ height: 100svh; }
}

/* Image fills container */
.fullscreen-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none !important;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================
   Responsive behavior
   ========================= */

/* BELOW 800px: image shrinks with screen */
@media (max-width: 800px){
  .fullscreen-visual{
    height: clamp(300px, 60vw, 100vh);
  }
}

/* =========================
   Layout Grids
   ========================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Two-column layout on desktop */
@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Screenshot column (replaces feature grid) */
.what__media {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Make the screenshot behave like a phone, not a hero image */
.app-shot {
  width: auto;          /* <-- this is the critical fix */
  max-width: 220px;     /* mobile size */
  height: auto;
  display: block;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 900px) {
  .what__media {
    justify-content: flex-end;
  }

  .app-shot {
    max-width: 300px;   /* desktop size */
  }
}


/* Force How It Works to be 4 across on desktop */
#how-it-works .steps {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 36px;
  text-align: center;
}

@media (max-width: 900px) {
  #how-it-works .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  #how-it-works .steps {
    grid-template-columns: 1fr !important;
  }
}

.step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EEF2FF; /* indigo-50 */
  color: #818CF8;      /* indigo-400 */
  border: 1px solid #E0E7FF; /* indigo-100 */
  font-weight: 500;
  font-size: 18px;
}

.step__title {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  color: #0F172A;
  margin-bottom: 8px;
}

.step__text {
  color: #64748B;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 320px;
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid #F1F5F9;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: box-shadow 160ms ease;
}

.card:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}

.card--dim {
  opacity: 0.90;
}

.card__title {
  font-size: 20px;
  font-weight: 400;
  margin-top: 16px;
  margin-bottom: 10px;
}

.card__title--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lock {
  color: #94A3B8;
}

.card__text {
  color: #64748B;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.badge--included {
  background: #F1F5F9;
  color: #64748B;
}

.badge--premium {
  background: #DCFCE7;
  color: #15803D;
}

/* Differences section */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.diff {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
}

.diff__arrow {
  color: #818CF8;
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}

.diff__title {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.diff__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.70;
  color: #E2E8F0;
}


/* =========================
   Text styles
   ========================= */
.text {
  color: #475569;
  line-height: 1.8;
}

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

.text--italic {
  font-style: italic;
}

a:hover {
  color: #3B82F6;
}

/* =========================
   Safety box
   ========================= */
.safety {
  padding: 40px;
  border-radius: 48px;
  border: 1px solid rgba(224, 231, 255, 1); /* indigo-100 */
}

.safety__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.safety__icon {
  width: 40px;
  height: 40px;
  background: #E0E7FF;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.safety__title {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

.note {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.50);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #64748B;
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
}

/* =========================
   Pricing
   ========================= */
.pricing {
  margin-top: 26px;
  padding: 32px;
  border-radius: 40px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  text-align: left;

  /* layout safety */
  display: flex;
  flex-direction: column;
}


.pricing__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.pricing__name {
  font-size: 20px;
  font-weight: 600;
  color: #0F172A;
}

.pricing__tagline {
  margin: 6px 0 0 0;
  font-size: 12px;
  color: #64748B;
  font-style: italic;
}

.pricing__price {
  display: grid;
  gap: 8px;           /* spacing between week/month/year rows */
  text-align: right;  /* keep right alignment */
}

.pricing__row {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* keeps the whole row aligned nicely */
    gap: 10px;
}

.pricing__monthly {
  font-size: 18px;
  font-weight: 600;
  color: #0F172A;
}

.pricing__yearly {
  font-size: 14px;
  font-weight: 600;
  color: #6366F1; /* indigo-500 */
}

.pricing__save {
  display: inline-flex;
  align-items: center;
  margin-top: 0; /* IMPORTANT: no longer below */
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  background: #E0E7FF;
  color: #4F46E5;
}

.pricing__save--hidden {
  visibility: hidden;
}

.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: grid;
  gap: 14px;
  color: #475569;
  font-size: 14px;
}

.pricing__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.pricing__emoji {
  font-size: 18px;
  line-height: 1;
}

/* =========================
   Quote
   ========================= */
.quote {
  margin: 0;
  text-align: center;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.8;
  color: #64748B;
}

/* =========================
   FAQ
   ========================= */
.faq {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.faq__summary {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  list-style: none;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__chev {
  display: inline-block;
  transition: transform 160ms ease;
  color: #64748B;
}

details[open] .faq__chev {
  transform: rotate(180deg);
}

.faq__content {
  padding: 0 20px 20px 20px;
  color: #64748B;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================
   Legal
   ========================= */
.legal {
  padding: 48px 0;
  background: rgba(148, 163, 184, 0.10); /* slate-100-ish */
}

.legal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  font-size: 11px;
  color: #64748B;
  line-height: 2;
}

.legal__title {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #334155;
  margin: 0 0 8px 0;
}

.legal__text {
  margin: 0;
}

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

.final {
  padding: 128px 0;
  text-align: center;
}

.final__inner {
  text-align: center;
}

.final__title {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 16px;
}

.final__sub {
  color: #475569;
  margin-bottom: 34px;
}

.final__copy {
  margin-top: 56px;
  font-size: 12px;
  color: #94A3B8;
}

/* Stellarly wordmark inside final CTA button */
.final__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.final__btnText {
  line-height: 1;
}

.final__btnLogo {
  height: 25px; /* 16–22px sweet spot */
  width: auto;
  object-fit: contain;
  display: block;
  transform: translateY(1px); /* optical centering */
}

/* =========================
   Responsive
   ========================= */
@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .legal__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .hero__title {
    font-size: 50px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .hero__subtitle--small {
    font-size: 10px;
  }
}

/* ✅ Mobile tweaks: paste here (already included). This is the right place. */
@media (max-width: 768px) {
  .hero-stellarly-guy .app-shot {
    width: 160px;
  }

  .hero__title {
    font-size: 35px;
  }
}

@media (max-width: 420px) {
  .nav__inner {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 35px;
  }
}

/* =========================
   Privacy Policy Page
   ========================= */

.legal-hero {
  min-height: auto;          /* don't force full screen */
  padding-top: 140px;        /* room for fixed nav */
  padding-bottom: 72px;
}

.policy {
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.60);
}

.policy__lead {
  margin: 0 0 18px 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.9;
}

.policy__quick {
  margin: 22px 0 26px 0;
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(224, 242, 254, 0.28);
  border: 1px solid rgba(219, 234, 254, 0.9);
}

.policy__h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 28px 0 12px 0;
  color: #0F172A;
}

.policy__h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 18px 0 10px 0;
  color: #0F172A;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.policy__text {
  margin: 0 0 14px 0;
  color: #475569;
  line-height: 1.9;
  font-size: 15px;
}

.policy__list {
  margin: 0 0 14px 18px;
  padding: 0;
  color: #475569;
  line-height: 1.9;
  font-size: 15px;
}

.policy__list li {
  margin: 8px 0;
}

.policy__note {
  margin: 14px 0 16px 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(224, 231, 255, 1);
  background: rgba(238, 242, 255, 0.55);
  color: #475569;
  line-height: 1.9;
  font-size: 14px;
}

.policy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 420px) {
  .policy {
    padding: 22px;
    border-radius: 26px;
  }
}

/* =========================
   Button polish (global, safe)
   ========================= */
.btn {
  border-radius: 14px; /* nicer default shape */
  -webkit-tap-highlight-color: transparent;
}

.btn--dark {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

.btn--dark:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}
