/* =========================================================
   DESIGN TOKENS / ROOT VARIABLES
   ========================================================= */
:root {
  /* Brand palette */
  --mint-light: #ADEEE3;
  --mint: #86DEB7;
  --mint-mid: #63B995;
  --green-deep: #50723C;
  --brown-deep: #423E28;

  /* Backgrounds */
  --bg: radial-gradient(circle at top left, #101826 0, #020617 55%, #000 100%);
  --bg-dark: #020617;
  --bg-soft-dark: #050b16;

  /* Text colors */
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;

  /* Accents */
  --accent: var(--mint-mid);
  --danger: #e76f51;

  /* Borders / shadows */
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.55);

  /* Radii */
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Layout */
  --max-width: 1120px;

  /* Typography */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* prevent 100vw elements from creating scrollbars */
}

body {
  font-family: var(--font-body);
  font-size: 1.75rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  padding-top: 80px; /* space so fixed header doesn't cover content */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* =========================================================
   GLOBAL SECTIONS + BACKGROUND STRIPES
   ========================================================= */

section {
  position: relative;
  padding: 4.5rem 0;
}

/* full-bleed alternating background stripes behind each section (except hero) */
section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
}

section:not(.hero):nth-of-type(odd)::before {
  background: var(--bg-dark);
}

section:not(.hero):nth-of-type(even)::before {
  background: var(--bg-soft-dark);
}

.section-header {
  margin-bottom: 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
}

.section-subtitle a {
  color: var(--mint);
  text-decoration: underline;
  font-weight: 600;
}

.section-subtitle a:hover {
  color: #ffffff;
}

/* =========================================================
   HEADER
   ========================================================= */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--mint-light);
  color: var(--brown-deep);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo img {
  height: 48px;
}

/* keep header CTA compact */
.site-header .payhip-buy-button {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  max-width: none;
  min-width: auto;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  background: linear-gradient(
    135deg,
    rgba(173, 238, 227, 0.24),
    rgba(99, 185, 149, 0.18),
    rgba(15, 23, 42, 0.95)
  );
  color: #f9fffd;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3.6rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: #ffffff;
}

.hero-subtitle {
  line-height: 1.7;
  color: #f0fffb;
  max-width: 48rem;
  margin: 1.6rem auto 0;
}

/* =========================================================
   VIDEO IN HERO + LARGE CTA
   ========================================================= */

.hero-video-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.video-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* large hero CTA under video (HTML: class="payhip-buy-button hero-cta") */
/* Hero CTA overrides: big button under the video */
.payhip-buy-button.hero-cta {
  display: block;
  margin: 2rem auto 1.5rem auto;

  max-width: 880px;
  min-width: 260px;

  padding: 1.4rem 2.4rem;

  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;

  border-radius: 999px;
}


/* =========================================================
   PILL ROW
   ========================================================= */

.pill-row {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.pill {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.pill::before {
  content: "⚠️";
  font-size: 2rem;
  margin-top: 0.2rem;
}

/* =========================================================
   TWO-COLUMN CARDS
   ========================================================= */

.two-column {
  display: grid;
  gap: 1.25rem;
}

.card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  background: radial-gradient(circle at top left, rgba(134, 222, 183, 0.12), rgba(15, 23, 42, 0.98));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.card.alt {
  background: var(--brown-deep);
  border-color: rgba(99, 185, 149, 0.6);
  color: #ffffff;
}

.card-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

/* =========================================================
   LISTS
   ========================================================= */

ul.list,
ul.list-bad {
  list-style: none;
  padding-left: 0;
}

ul.list li,
ul.list-bad li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
}

ul.list li::before,
ul.list-bad li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.25rem;
  font-size: 1.75rem;
  color: var(--accent);
}

ul.list-bad li::before {
  color: var(--danger);
}

/* =========================================================
   FEATURES GRID
   ========================================================= */

.features-grid {
  display: grid;
  gap: 1.7rem;
}

.feature {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem 1.5rem;
  background: rgba(15, 23, 42, 0.96);
}

.feature-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.feature-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.feature p {
  color: var(--text-muted);
}

.stacked-note {
  margin-top: 1.4rem;
  color: var(--text-muted);
}

/* =========================================================
   STEPS
   ========================================================= */

.steps {
  display: grid;
  gap: 1.7rem;
}

.step {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.96);
  padding: 1.5rem 1.4rem;
}

.step-badge {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.step-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */

.fancy-faq .faq-list {
  display: grid;
  gap: 1.3rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  padding: 1.6rem 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  border: none;
  cursor: pointer;

  font-size: 1.9rem;
  line-height: 1.45;

  display: grid;
  grid-template-columns: 1fr auto; /* text left, icon right */
  gap: 1rem;
  text-align: left;
}

.faq-question:hover {
  background: rgba(148, 163, 184, 0.08);
}

.faq-icon {
  font-size: 2.4rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-answer.open {
  padding: 1.1rem 1.6rem 1.5rem;
  max-height: 700px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =========================================================
   BUY SECTION — ONE COLUMN
   ========================================================= */

.buy-section {
  border-radius: var(--radius-xl);
  background: radial-gradient(
    circle at top left,
    rgba(173, 238, 227, 0.18),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(134, 222, 183, 0.7);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

/* bullets */
.buy-bullets {
  color: var(--text-muted);
  margin-top: 1.4rem;
}

.buy-bullets ul {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
}

.buy-bullets li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.buy-bullets li::before {
  content: "✓";
  font-size: 2rem;
  color: #bbf7d0;
}

/* buy panel */
.buy-panel {
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.4rem;
  margin-top: 2rem;
}

.buy-panel-header {
  text-align: center;
}

.buy-panel-header h3 {
  font-size: 2.1rem;
  font-weight: 700;
}

.buy-panel-header p {
  margin-top: 0.3rem;
  color: var(--text-muted);
}

/* button row inside buy panel */
.buy-button-row {
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
}

.buy-button-row .payhip-buy-button {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 1.4rem 1.2rem;
  font-size: 1.75rem;
  font-weight: 800;
}

/* secure note */
.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.secure-note .lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 1.15rem;
}

/* closing text */
.buy-note {
  margin-top: 1.4rem;
  color: var(--text-muted);
}

/* =========================================================
   PAYHIP BUTTON – BASE STYLE
   ========================================================= */

.payhip-buy-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--brown-deep);
  color: var(--mint-light);
  border: 2px solid var(--mint-light);
  transition: all 0.25s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.payhip-buy-button:hover {
  background: var(--mint-light);
  color: var(--brown-deep);
  border-color: var(--brown-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.payhip-buy-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.payhip-buy-button:focus {
  outline: 3px solid rgba(16, 185, 129, 0.25);
  outline-offset: 2px;
}

/* =========================================================
   FOOTER
   ========================================================= */

/* -----------------------------------
   TEORIA SALES PAGE FOOTER
----------------------------------- */

.teoria-footer {
    background: #423E28; /* brown */
    color: white;
    text-align: center;
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 3rem 1rem 2rem;
    margin-top: 0;
}

.teoria-footer .footer-inner {
    max-width: 900px; /* keep content narrow, footer full width */
    margin: 0 auto;
}

.teoria-footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.teoria-footer-links a {
    color: #ADEEE3; /* mint light */
    text-decoration: none;
    font-weight: 600;
}

.teoria-footer-links a:hover {
    opacity: 0.75;
}

.teoria-footer-links .dot {
    color: rgba(255,255,255,0.4);
}

.teoria-footer-copy {
    color: rgba(255,255,255,0.85);
    margin: 0.3rem 0 1rem;
    font-size: 0.9rem;
}

.teoria-footer-disclaimer {
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}



/* =========================================================
   MEDIA QUERIES
   ========================================================= */

/* Tablet-ish and below */
@media (max-width: 900px) {
  .two-column,
  .features-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .buy-section {
    padding: 1.8rem 1.5rem;
  }

  /* a bit more side padding on mid-width screens */
  #fit,
  #what-you-get,
  #how-it-works,
  #faq,
  #buy-now {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Small mobile */
@media (max-width: 640px) {
  .site-header-inner {
    padding: 0.8rem 1rem;
  }

  .hero {
    padding: 2.6rem 1.1rem 2.2rem;
  }

  .hero-title {
    font-size: clamp(3rem, 8vw, 3.6rem);
  }

  section {
    padding: 3.2rem 0;
  }

  .hero-cta {
    max-width: 100%;
    min-width: 0;
  }

  /* extra comfort padding for section content on small screens */
  #fit,
  #what-you-get,
  #how-it-works,
  #faq,
  #buy-now {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Desktop full-bleed hero */
@media (min-width: 1120px) {
  .hero {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
  }
}

/* Kill the gap above the footer on the Teoria page */
.page {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page > .container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#buy-now,
.buy-section {
  margin-bottom: 0 !important;
  padding-bottom: 4rem !important;
}

.teoria-footer {
  margin-top: 0 !important;
}

