/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #1a1a2e;
  --primary-light: #16213e;
  --accent: #6c3dff;
  --accent-hover: #5a2de0;
  --accent-soft: rgba(108, 61, 255, 0.12);
  --accent-border: rgba(108, 61, 255, 0.3);
  --green: #00c853;
  --red: #ff3367;
  --amber: #ffab00;
  --text: #2d2d3a;
  --text-light: #6b6b80;
  --bg: #f8f9fc;
  --white: #ffffff;
  --border: #e2e4ea;
  --shadow: 0 2px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 8px 30px rgba(26, 26, 46, 0.12);
  --radius: 10px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* === Typography === */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.25;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Nav === */
.nav {
  background: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-brand {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5.5rem 0 5rem;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  max-width: 750px;
  margin: 0 auto 1.25rem;
  font-size: 2.75rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* === Sections === */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* === How It Works (Steps) === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === Features === */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.feature h3 {
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* === Status Indicator === */
.status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.pass { background: var(--green); }
.status-dot.warn { background: var(--amber); }
.status-dot.fail { background: var(--red); }

.status-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-label.pass { color: var(--green); }
.status-label.warn { color: var(--amber); }
.status-label.fail { color: var(--red); }

/* === Professor Section === */
.professor {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.professor-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.professor-faces {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.professor-face {
  text-align: center;
}

.professor-face .emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.35rem;
}

.professor-face .label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.professor-text h2 {
  margin-bottom: 0.75rem;
}

.professor-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === Trust Banner === */
.trust {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.trust h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.trust p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.trust-points {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-point {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-point span {
  color: var(--green);
  margin-right: 0.4rem;
}

/* === Print Tips === */
.tips {
  background: var(--white);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.tip {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.tip h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.tip p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* === Footer === */
.footer {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* === Legal Pages === */
.legal {
  padding: 3.5rem 0 5rem;
}

.legal h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.legal .effective-date {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  word-break: break-all;
}

/* === Responsive === */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }

  .section { padding: 3.5rem 0; }

  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .tips-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .professor-inner {
    flex-direction: column;
    text-align: center;
  }

  .trust-points {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
