/* ============================================================
   products.css — Dedicated stylesheet for products.html
   Companion to styles.css (global baseline)
   Design tokens (:root) are defined in styles.css
   ============================================================ */

/* ── Page Root Wrapper ──────────────────────────────────── */
.products-page-root {
  font-family: var(--font-manrope);
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Accent Bars ────────────────────────────────────────── */
.products-accent-bar {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: #FF7A33;
  border-radius: 2px;
  margin-right: 16px;
  vertical-align: -0.14em;
}

.products-accent-bar--amber {
  background: #FF9A5F;
}

/* ── Hero Section ───────────────────────────────────────── */
.product-hero-section {
  position: relative;
  overflow: clip;
  background: var(--bg-warm);
  padding: 48px clamp(16px, 4vw, 40px) 52px;
}

.product-hero-watermark {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: 150px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 18, 32, 0.07);
  letter-spacing: -5px;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}

.product-hero-blob {
  position: absolute;
  top: -90px;
  left: 60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 51, 0.15), rgba(255, 59, 84, 0.05) 60%, transparent 70%);
  filter: blur(10px);
  animation: blobPulse 8s ease-in-out infinite;
  z-index: 0;
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.product-hero-content {
  flex: 1;
  min-width: min(320px, 100%);
}

.product-hero-tag {
  font-family: var(--font-sora);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-bottom: 14px;
}

.product-hero-title {
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}

.product-hero-title-light {
  font-weight: 300;
  color: var(--slate);
}

.product-hero-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 440px;
  margin: 24px 0 0;
}

.product-hero-visual {
  flex: none;
  position: relative;
  width: min(400px, 92vw);
  max-width: 100%;
  height: 320px;
}

.product-hero-shadow {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 240px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(11, 18, 32, 0.3), transparent 72%);
  border-radius: 50%;
  filter: blur(7px);
  transform: translateX(-50%);
  animation: heroShadow 6s ease-in-out infinite;
}

.product-hero-float-wrapper {
  position: absolute;
  left: 50%;
  top: 0;
  width: 320px;
  height: 280px;
  transform: translateX(-50%);
  animation: heroFloat 6s ease-in-out infinite;
}

.product-hero-slot {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 26px rgba(11, 18, 32, 0.2));
}

.product-hero-badge {
  position: absolute;
  top: 6px;
  right: -4px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 30px -12px rgba(11, 18, 32, 0.22);
  padding: 12px 16px;
  animation: floatSlow 7s ease-in-out infinite;
}

.product-hero-badge-title {
  font-family: var(--font-sora);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.product-hero-badge-sub {
  font-size: 10.5px;
  color: var(--slate);
}

/* ── Product Tour / Features Section ────────────────────── */
.product-tour-section {
  padding: 48px 0 52px;
  background: var(--white);
}

.product-tour-header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 0 clamp(16px, 4vw, 40px);
}

.product-tour-eyebrow {
  font-family: var(--font-sora);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FF7A33;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.product-tour-title {
  font-family: var(--font-sora);
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
}

.product-tour-title-light {
  font-weight: 300;
  color: var(--slate);
}

.product-tour-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Feature Tab Button Base Overrides (Unique, not in styles.css) */
.feat-tab-btn {
  border: 1.5px solid #E4E7EF;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.25s ease;
  flex: none;
}

/* ── Feature Cards (Theme Variants & Internals) ─────────── */
.feat-card {
  padding: clamp(22px, 3.2vw, 36px);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
}

.feat-card--warm {
  background: #F5F1E9;
}

.feat-card--peach {
  background: #FFEDE3;
}

.feat-card--dark {
  background: #0F1830;
}

.feat-card--green {
  background: #EAF4EE;
}

.feat-card-tag {
  font-family: var(--font-sora);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin-bottom: 12px;
}

.feat-card--peach .feat-card-tag {
  color: #A5806B;
}

.feat-card--green .feat-card-tag {
  color: #7E9488;
}

.feat-card-title {
  font-family: var(--font-sora);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.feat-card--dark .feat-card-title {
  color: var(--white);
}

.feat-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 400px;
}

.feat-card--peach .feat-card-desc {
  color: #6B5347;
}

.feat-card--dark .feat-card-desc {
  color: #B8C0D0;
}

.feat-card--green .feat-card-desc {
  color: #4E6157;
}

.feat-card-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feat-card-check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.feat-card--peach .feat-card-check-item {
  color: #6B5347;
}

.feat-card--dark .feat-card-check-item {
  color: #B8C0D0;
}

.feat-card--green .feat-card-check-item {
  color: #4E6157;
}

.feat-card-check-icon {
  flex: none;
  margin-top: 3px;
  stroke: #D8451F;
}

.feat-card--dark .feat-card-check-icon {
  stroke: #FF9A5F;
}

.feat-card--green .feat-card-check-icon {
  stroke: #177A44;
}

.feat-card-modules {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.feat-card-modules-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-right: 4px;
}

.feat-card--peach .feat-card-modules-label {
  color: #A5806B;
}

.feat-card--green .feat-card-modules-label {
  color: #7E9488;
}

.feat-module-pill {
  background: rgba(11, 18, 32, 0.06);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.feat-card--peach .feat-module-pill {
  background: rgba(216, 69, 31, 0.1);
  color: #B23A18;
}

.feat-card--dark .feat-module-pill {
  background: rgba(255, 255, 255, 0.09);
  color: #E4E7EF;
}

.feat-card--green .feat-module-pill {
  background: rgba(22, 163, 74, 0.1);
  color: #177A44;
}

.feat-card-img-slot {
  display: block;
  width: 100%;
  height: 270px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 44px -20px rgba(11, 18, 32, 0.35);
}

.feat-card-caption {
  font-size: 12px;
  color: var(--slate);
  margin-top: 12px;
  line-height: 1.5;
}

.feat-card--peach .feat-card-caption {
  color: #A5806B;
}

.feat-card--green .feat-card-caption {
  color: #7E9488;
}

/* Feature Navigation Controls */
.feat-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.feat-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #E4E7EF;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(11, 18, 32, 0.04);
}

.feat-nav-counter {
  font-family: var(--font-sora);
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.04em;
  min-width: 64px;
  text-align: center;
}

/* ── Product Compare / Toggle Section ───────────────────── */
.product-compare-section {
  padding: 48px clamp(16px, 4vw, 48px) 40px;
  background: var(--bg-card);
}

.product-pill-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.product-pill-toggle {
  display: inline-flex;
  padding: 5px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.product-pill-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.product-spec-container {
  max-width: 800px;
  margin: 0 auto 22px;
}

.product-spec-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 16px 34px -14px rgba(11, 18, 32, 0.1);
}

.product-spec-card--colleges {
  background: #0F1830;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  color: var(--white);
  padding: 40px;
}

.product-spec-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: #FFF0E8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D8451F;
  margin-bottom: 18px;
}

.product-spec-icon-box--colleges {
  background: rgba(255, 255, 255, 0.08);
  color: var(--amber);
}

.product-spec-title {
  font-family: var(--font-sora);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink);
}

.product-spec-card--colleges .product-spec-title {
  color: var(--white);
}

.product-spec-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-spec-card--colleges .product-spec-desc {
  color: #B8C0D0;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.product-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.product-spec-item-icon {
  flex: none;
  stroke: #D8451F;
}

.product-spec-item-icon--colleges {
  stroke: var(--amber);
}

.product-spec-btn {
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-manrope);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-spec-btn:hover {
  transform: translateY(-2px);
}

.product-spec-btn--primary {
  background: linear-gradient(135deg, #FF7A33, #FF3B54);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(255, 59, 84, 0.4);
}

.product-spec-btn--white {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.2);
}


/* ── Responsive Overrides (Products Page Unique) ────────── */

@media (max-width: 991px) {
  .product-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-hero-section {
    padding: 40px 16px 44px;
  }

  .product-hero-watermark {
    font-size: 70px;
    top: 20px;
  }

  .product-hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .product-tour-title {
    font-size: 28px;
  }

  .product-tour-section {
    padding: 36px 0 40px;
  }

  .product-compare-section {
    padding: 36px 16px;
  }

  .product-spec-card,
  .product-spec-card--colleges {
    padding: 24px 18px;
  }


  .product-spec-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-float-wrapper,
  .product-hero-shadow {
    animation: none !important;
  }

  .product-hero-badge {
    animation: none !important;
  }
}

