/* =========================================================================
   LetsCompl.ai Standalone Landing Page Style System
   Deep space background, primary sky blue, mint green accents.
   ========================================================================= */

:root {
  /* Colors from LetsCompl.ai design system */
  --background:                 #101319;
  --surface:                    #101319;
  --surface-dim:                #101319;
  --surface-container-low:      #191c21;
  --surface-container:          #1d2025;
  --surface-container-high:     #272a30;
  --surface-container-highest:  #32353b;
  --surface-component:          #0d1117;
  --surface-card:               rgba(13, 17, 23, 0.7);

  --primary:                    #a2c9ff;   /* Sky Blue */
  --primary-container:          #58a6ff;
  --secondary:                  #4ae183;   /* Mint Green */
  --error:                      #ffb4ab;   /* Coral Red */
  --error-container:            #93000a;
  --warning:                    #f1c40f;   /* Yellow */

  --text-heading:               #f0f6fc;
  --text-main:                  #b2bac2;
  --text-dimmed:                #8b949e;

  --border-subtle:              rgba(240, 246, 252, 0.08);
  --hairline:                   rgba(240, 246, 252, 0.12);

  /* Typography */
  --font-display:               "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans:                  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:                  "JetBrains Mono", "Courier New", monospace;

  /* Sizes */
  --t-xs:    12px;
  --t-sm:    14px;
  --t-base:  16px;
  --t-md:    18px;
  --t-lg:    21px;
  --t-xl:    26px;
  --t-2xl:   34px;
  --t-3xl:   46px;
  --t-4xl:   62px;
  
  --w-light: 300;
  --w-reg:   400;
  --w-med:   500;
  --w-semi:  600;
  --w-bold:  700;

  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-norm:  1.6;
  --lh-loose: 1.75;

  --track-tight: -0.02em;
  --track-eyebrow: 0.15em;

  /* Spacing */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:   12px;
  --s-4:   16px;
  --s-5:   20px;
  --s-6:   24px;
  --s-8:   32px;
  --s-10:  40px;
  --s-12:  48px;
  --s-16:  64px;
  --s-20:  80px;
  --s-24:  96px;
  --s-32:  128px;

  /* Radii */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0,0,0,0.2);
  --sh-2: 0 4px 12px rgba(0,0,0,0.3);
  --sh-float: 0 12px 28px rgba(0,0,0,0.4);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-base: 240ms;
  --dur-fast: 140ms;
}

/* ── Base resets ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--background);
}

body {
  background-color: var(--background);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: var(--lh-norm);
}

/* ── Layout Patterns ── */
.glow-bg {
  background: radial-gradient(circle at top right, rgba(162, 201, 255, 0.08), transparent 45%);
}

.grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(240, 246, 252, 0.02) 1px, transparent 1px), 
    linear-gradient(to bottom, rgba(240, 246, 252, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--primary);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--surface-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}

/* ── Header ── */
.header {
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--s-16);
  background: rgba(16, 19, 25, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.headerInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: var(--t-xl);
  color: var(--text-heading);
  letter-spacing: var(--track-tight);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.logoIcon {
  color: var(--primary);
  font-variation-settings: 'FILL' 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: rgba(162, 201, 255, 0.08);
  border: 1px solid var(--primary-container);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: var(--w-semi);
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
  color: var(--primary);
}

.badgeDot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* ── Hero ── */
.hero {
  text-align: center;
  max-width: 840px;
  margin: 0 auto var(--s-16) auto;
  padding-top: var(--s-4);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: var(--w-semi);
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
  color: var(--primary);
  margin-bottom: var(--s-4);
}

.headline {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  color: var(--text-heading);
  line-height: var(--lh-tight);
  margin-bottom: var(--s-6);
  font-weight: var(--w-bold);
  letter-spacing: var(--track-tight);
}

.headlineEm {
  color: var(--primary-container);
}

.sub {
  font-family: var(--font-sans);
  font-size: var(--t-md);
  line-height: var(--lh-norm);
  color: var(--text-dimmed);
  margin-bottom: var(--s-8);
}

/* ── Waitlist Grid (Interest Cards) ── */
.waitlistGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8);
  margin-bottom: var(--s-20);
}

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

.waitlistCard {
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardEyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  letter-spacing: var(--track-eyebrow);
}

.cardTitle {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  color: var(--text-heading);
  margin-bottom: var(--s-4);
  font-weight: var(--w-bold);
}

.cardDesc {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-dimmed);
  line-height: var(--lh-norm);
}

.comingSoonBlock {
  margin-top: var(--s-6);
  background: var(--surface-container-high);
  padding: var(--s-4);
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.comingSoonLabel {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: var(--w-semi);
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
  color: var(--primary);
}

/* ── How It Works ── */
.demoSection {
  background: var(--surface-container-low);
  padding: var(--s-20) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--s-20);
}

.demoTitle {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  color: var(--text-heading);
  font-weight: var(--w-bold);
}

.stepsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}

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

.demoCard {
  padding: var(--s-6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  background: var(--surface-component);
}

.stepNum {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(162, 201, 255, 0.08);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--primary);
  margin-bottom: var(--s-4);
  font-weight: var(--w-bold);
}

.demoCardTitle {
  font-family: var(--font-display);
  font-size: var(--t-md);
  color: var(--text-heading);
  margin-bottom: var(--s-3);
  font-weight: var(--w-bold);
}

.demoText {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-dimmed);
  line-height: var(--lh-norm);
}

/* ── Pricing Section ── */
.pricingSection {
  margin-bottom: var(--s-20);
}

.pricingGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pricingGrid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.pricingCard {
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricingCardFeatured {
  border-color: rgba(162, 201, 255, 0.3);
}

.pricingCardBadge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--background);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  padding: var(--s-1) var(--s-3);
  border-bottom-left-radius: var(--r-sm);
  font-weight: var(--w-bold);
}

.pricingCardTitle {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  color: var(--text-heading);
  margin-bottom: var(--s-4);
  font-weight: var(--w-bold);
}

.pricingCardPrice {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
  margin-bottom: var(--s-4);
}

.priceNum {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  font-weight: var(--w-bold);
  color: var(--text-heading);
}

.pricePeriod {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-dimmed);
}

.pricingCardDesc {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-dimmed);
  margin-bottom: var(--s-6);
  line-height: var(--lh-norm);
}

.pricingFeaturesList {
  list-style: none;
  margin-bottom: var(--s-8);
}

.pricingFeaturesList li {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-main);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.pricingFeaturesList li::before {
  content: "check";
  font-family: "Material Symbols Outlined";
  font-size: var(--t-base);
  color: var(--primary);
  font-weight: var(--w-bold);
}

/* ── Disclosures & Merchant Policies ── */
.disclosureSection {
  background: var(--surface-container-low);
  padding: var(--s-16) var(--s-8);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--s-20);
}

.disclosureTitle {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  color: var(--text-heading);
  text-align: center;
  margin-bottom: var(--s-2);
  font-weight: var(--w-bold);
}

.disclosureSub {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-dimmed);
  text-align: center;
  margin-bottom: var(--s-8);
}

.disclosureItem {
  margin-bottom: var(--s-3);
}

.disclosureItem:last-child {
  margin-bottom: 0;
}

.disclosureDetails {
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  background: var(--surface-component);
  overflow: hidden;
}

.disclosureSummary {
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: var(--w-semi);
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.disclosureSummaryIcon {
  font-size: var(--t-xs);
  color: var(--primary);
  transition: transform var(--dur-base) var(--ease-out);
}

.disclosureDetails[open] .disclosureSummaryIcon {
  transform: rotate(90deg);
}

.disclosureContent {
  padding: var(--s-5);
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-dim);
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-dimmed);
  line-height: var(--lh-norm);
}

.disclosureContent p {
  margin-bottom: var(--s-4);
}

.disclosureContent p:last-child {
  margin-bottom: 0;
}

.disclosureContent ul {
  list-style: disc;
  margin-left: var(--s-6);
  margin-bottom: var(--s-4);
}

.disclosureContent ul li {
  margin-bottom: var(--s-2);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--s-12) 0;
  margin-top: var(--s-16);
  background: var(--surface-dim);
}

.footerInner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-8);
}

@media (max-width: 768px) {
  .footerInner {
    flex-direction: column;
  }
}

.footerLeft {
  flex: 1;
}

.footerRight {
  flex: 1;
  text-align: right;
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
}

@media (max-width: 768px) {
  .footerRight {
    text-align: left;
  }
}

/* ── Terms Page Specific Styling ── */
.termsSection {
  margin-bottom: var(--s-20);
  padding-top: var(--s-8);
}

.termsContainer {
  max-width: 800px;
  margin: 0 auto;
}

.termsHeading {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  color: var(--text-heading);
  margin-bottom: var(--s-6);
  font-weight: var(--w-bold);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--s-4);
}

.termsCard {
  padding: var(--s-8);
  margin-bottom: var(--s-8);
}

.termsSubheading {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  color: var(--text-heading);
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
  font-weight: var(--w-bold);
}

.termsSubheading:first-of-type {
  margin-top: 0;
}

.termsBody {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-main);
  line-height: var(--lh-loose);
  margin-bottom: var(--s-4);
}

.termsNote {
  background: var(--surface-container-high);
  border-left: 4px solid var(--primary);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-xs);
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-heading);
  line-height: var(--lh-norm);
}

.termsList {
  margin-left: var(--s-6);
  margin-bottom: var(--s-6);
}

.termsList li {
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--text-main);
  line-height: var(--lh-loose);
  margin-bottom: var(--s-2);
}

.backHomeLink {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  text-transform: uppercase;
  letter-spacing: var(--track-eyebrow);
  margin-bottom: var(--s-8);
}
