/* SciStack Theme — Academic, sharp, science-first */

:root {
  --bg: #F5F0E8;
  --bg-dark: #14303A;
  --fg: #14303A;
  --fg-muted: #5A6E75;
  --accent: #3D9B8C;
  --accent-light: rgba(61, 155, 140, 0.1);
  --cream: #F5F0E8;
  --sage: #8BAA9B;
  --border: rgba(20, 48, 58, 0.12);
  --shadow: rgba(20, 48, 58, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--cream);
  padding: 100px 0 90px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(61,155,140,0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(61,155,140,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233D9B8C' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(61,155,140,0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.65);
  max-width: 520px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  gap: 36px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.proof-label {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Product Card */
.product-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px;
  color: var(--fg);
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}

.card-label {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 12px;
}

.card-icon {
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--fg);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
}

.price-tag {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.card-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── MANIFESTO ───────────────────────────────── */
.manifesto {
  background: var(--cream);
  padding: 90px 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 24px;
}

.manifesto-statement.accent {
  color: var(--fg-muted);
  font-size: 1.05rem;
  font-style: italic;
}

/* ── PRODUCTS ────────────────────────────────── */
.products {
  background: #EDEAE3;
  padding: 90px 0;
}

.products-header {
  margin-bottom: 60px;
}

.products-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg);
  max-width: 560px;
  margin-top: 12px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-item {
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--shadow);
}

.product-icon {
  margin-bottom: 16px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.products-platforms {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.platforms-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.platforms-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-chip {
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  color: var(--fg-muted);
}

/* ── DIFFERENTIATOR ──────────────────────────── */
.differentiator {
  background: var(--cream);
  padding: 90px 0;
}

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

.diff-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  margin-top: 16px;
  margin-bottom: 40px;
}

.diff-bio {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-dark);
  border-radius: 14px;
  color: var(--cream);
}

.bio-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
}

.bio-role {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.55);
  margin-top: 2px;
}

.diff-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.diff-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-icon {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.diff-point h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}

.diff-point p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── CLOSING ─────────────────────────────────── */
.closing {
  background: var(--bg-dark);
  padding: 110px 0;
  color: var(--cream);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-decoration {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245,240,232,0.6);
  margin-bottom: 20px;
}

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: #0D1F26;
  padding: 48px 0 32px;
  color: rgba(245,240,232,0.5);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.brand-tagline {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.4);
}

.footer-note {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.4);
  max-width: 280px;
  text-align: right;
  line-height: 1.5;
}

.footer-bottom {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.25);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-right {
    max-width: 420px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-note { text-align: left; }
}

@media (max-width: 600px) {
  .hero { padding: 70px 0 60px; min-height: auto; }

  .hero-proof { gap: 24px; }

  .products-grid { grid-template-columns: 1fr; }

  .hero-headline { font-size: 2rem; }

  .proof-number { font-size: 1.5rem; }
}