/* ============ LiftStack Page Styles (standalone, FlipStack parity) ============ */

/* ---------------------- Brand tokens ---------------------- */
:root {
  --lift-primary:   #d0a251;  /* warm orange */
  --lift-accent:    #c8c586;  /* soft gold */
  --lift-secondary: #e26926;  /* brighter orange */
  --lift-white:     #ffffff;

  --text:       #f6f7fb;
  --text-dim:   #cfd5e8;
  --panel-border: rgba(255,255,255,.16);

  /* Icon size (desktop default) */
  --icon-size: 320px;
}

/* ----------------------- Base / reset ---------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { color-scheme: light dark; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(227,155,45,.25), transparent),
    linear-gradient(180deg, #0f1222 0%, #0b0e1a 100%);
  line-height: 1.5;
}

/* --------------------- Layout helpers ---------------------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.center    { text-align: center; }
.visually-hidden { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ======================== HERO ============================= */
.hero { position: relative; isolation: isolate; }

.hero-brand {
  /* Extend darker side further for contrast (matches your SmartStacks preference) */
  background: linear-gradient(135deg,
              var(--lift-primary) 0%,
              var(--lift-primary) 55%,
              var(--lift-accent) 100%);
  padding: 3.5rem 1rem 2.75rem;
}

.hero-inner {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  max-width: 1100px; margin: 0 auto; padding: 2rem 1rem;
}

.hero-icon img {
  width: var(--icon-size);
  height: auto;
  border-radius: 24px;                 /* FlipStack parity */
  box-shadow: 0 12px 36px rgba(0,0,0,.35); /* FlipStack parity */
  display: block;
}

.hero-text { max-width: 540px; }

/* Base hero text styles (apply to all p under .hero-text) */
.hero-text h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero-text p {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  opacity: .95;
  font-weight: 500;
}

@media (max-width: 480px) {
  .hero-text p { font-size: 1.6rem; }
}

/* Subline overrides (placed AFTER .hero-text p so it wins) */
.hero-text .hero-subline {
  margin: .1rem 0 1.2rem;
  font-size: .95rem;
  opacity: .92;
  font-weight: 400;
}

/* ======================= CTA badge/link ========================= */
.cta-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.cta-row img { display: block; height: 60px; width: auto; }
.cta-disabled {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .9rem; border-radius: 10px; font-weight: 600; text-decoration: none;
  color: #000; background: rgba(255,255,255,.85);
  cursor: not-allowed; user-select: none;
}

/* ======================= FEATURES ========================= */
section { padding: 1.5rem 0; }
h2 { font-size: 1.6rem; margin: 0 0 .8rem; }

.features {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

/* Tablet: 2 per row */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
}

/* Cards */
.feature-panel {
  margin-top: .75rem; padding: 1rem; border-radius: 16px;
  background: linear-gradient(180deg, rgba(231,104,43,.12), rgba(255,217,161,.12));
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(4px);
}
.features .card {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.features .card h3 { color: var(--lift-accent); }
.features .card p  { color: var(--text-dim); }

/* ------- FAQ teaser & App Preview are commented out in HTML ------- */

/* ====================== SCREENSHOTS (if enabled later) ======================== */
.screenshots {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
}
@media (max-width: 900px) { .screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.screenshots img {
  width: 100%; max-width: 220px; height: auto;
  border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}
.screenshots figure { margin: 0; text-align: center; }
.screenshots figcaption { margin-top: .4rem; font-size: 0.8rem; line-height: 1.2; color: var(--text-dim); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Floating Back to top button */
#backToTop {
  position: fixed; bottom: 1.25rem; right: 1.25rem;
  background: var(--lift-accent); color: #000; padding: .6rem .9rem;
  border-radius: 10px; font-size: .85rem; font-weight: 600;
  text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.35);
  display: none; opacity: 0; transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
#backToTop:hover { background: var(--lift-secondary); }
body.scrolled #backToTop { display: inline-block; opacity: 1; transform: translateY(0); }
@media (max-width: 720px) { #backToTop { bottom: 1rem; right: 1rem; } }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px 16px 0 0;
  color: var(--text-dim);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand h3 {
  margin: 0 0 .25rem;
  font-size: 1.25rem;
  color: var(--lift-white);
}
.footer-brand .tagline {
  margin: 0 0 .75rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.footer-brand .byline {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-brand .byline a {
  color: var(--lift-accent);
  text-decoration: none;
  font-weight: 500;
}
.footer-brand .byline a:hover { text-decoration: underline; }

.footer-nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 0.4rem;
}
.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--lift-accent); }

/* ====================== RESPONSIVE ======================== */
@media (max-width: 820px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text  { max-width: 640px; }
  .cta-row    { justify-content: center; }

  /* Smaller icon on mobile */
  :root { --icon-size: 200px; }
}
