/* Tessera Website - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #5C6BC0;
  --primary-dark: #3F51B5;
  --primary-light: #9FA8DA;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --accent-green: #4CAF50;
  --accent-blue: #1565C0;
  --accent-purple: #7B1FA2;
  --accent-orange: #FF9800;
  --accent-red: #D32F2F;
  --accent-grey: #78909C;
  --radius: 16px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 107, 192, 0.1);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-brand span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

.hero-inner {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
  font-style: italic;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 24px 48px rgba(92, 107, 192, 0.25));
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(92, 107, 192, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92, 107, 192, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- FEATURE CARDS ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: white;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- DUAL AUDIENCE ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.audience-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.audience-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.audience-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.audience-card.students {
  border-top: 4px solid var(--accent-purple);
}

.audience-card.parents {
  border-top: 4px solid var(--primary);
}

/* ---------- PIPELINE ---------- */
.pipeline {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-purple));
  color: white;
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
}

.pipeline h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pipeline p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.pipeline .btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pipeline .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(92, 107, 192, 0.1);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- PAGE CONTENT (support, privacy) ---------- */
.page-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(92, 107, 192, 0.06), transparent);
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.page-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.page-content p,
.page-content li {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content a {
  color: var(--primary);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-top: 32px;
}

.contact-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.effective-date {
  display: inline-block;
  background: rgba(92, 107, 192, 0.08);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    max-width: 280px;
  }

  .btn-group {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .pipeline {
    padding: 40px 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
