/* ============================================================
   PaperGrad — Landing Page Styles
   Visual design: practiceai-web (dark, Inter, green #1a936f)
   Content:       papergrad_brochure_print.html
   ============================================================ */

/* ── Design tokens (directly from practiceai-web globals + page.js) ── */
:root {
  --bg:           #0a0a0a;
  --surface:      #111111;
  --border:       #222222;
  --white:        #ffffff;
  --muted:        #888888;
  --green:        #1a936f;
  --green-light:  #64d4a8;
  --amber:        #fbbf24;
  --red:          #f87171;   /* bright enough for dark bg */
  --max-w:        1280px;    /* max-w-7xl */
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body  {
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { display: block; max-width: 100%; }
em   { font-style: italic; }
strong { font-weight: 700; }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Utility classes (mirror practiceai-web Tailwind usage) ── */
.block        { display: block; }
.text-white   { color: var(--white); }
.italic       { font-style: italic; }

.gradient-text {
  background: linear-gradient(to right, var(--green), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max-w);
  padding: 0 1.5rem;        /* px-6 */
}
@media (min-width: 768px) {
  .container { padding: 0 2.5rem; } /* md:px-10 */
}

/* ════════════════════════════════════════════════════════════
   HEADER  — fixed, h-20, backdrop-blur (exact practiceai-web)
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  margin: 0 auto;
  max-width: var(--max-w);
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .header-inner { padding: 0 2.5rem; }
}
.logo-link { display: flex; align-items: center; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .header-right { gap: 2rem; }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .main-nav { display: flex; }
}
.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--white); }

/* ── Buttons ────────────────────────────────────────────── */
/* Outline button — practiceai-web: rounded-full border border-[#1a936f] */
.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--green);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

/* Primary button — practiceai-web: rounded-full bg-[#1a936f] px-10 py-4 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--green);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  transition: box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(26, 147, 111, 0.45);
}

/* ════════════════════════════════════════════════════════════
   HERO  — hero-grid from globals.css, full viewport height
   ════════════════════════════════════════════════════════════ */
.hero {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 5rem;    /* pt-28 pb-16 px-6 + bottom padding for stats */
}

/* exact .hero-grid from globals.css */
.hero-grid {
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  margin: 0 auto;
  max-width: 56rem;         /* max-w-4xl — but wider since we have a stats strip */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
@media (min-width: 768px) {
  .hero-inner { max-width: 72rem; }
}

/* Badge — rounded-full border border-[#1a936f] bg-[#111111] */
.hero-badge {
  margin-bottom: 2rem;
  display: inline-block;
  border: 1px solid var(--green);
  border-radius: 9999px;
  background: var(--surface);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
}

/* Heading — clamp from practiceai-web */
.hero-heading {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

/* Sub */
.hero-sub {
  max-width: 580px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-sub strong { color: rgba(255,255,255,0.88); font-weight: 600; }

/* CTA group */
.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; }
.hero-subtext {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Stats strip ───────────────────────────────────────────
   4-col on desktop, 2×2 on tablet, stacked on mobile
   Vertical dividers like the practiceai-web insights card
   ──────────────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 64rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.stat {
  padding: 0 1.5rem;
  border-left: 1px solid var(--border);
  text-align: left;
}
.stat:first-child { border-left: none; padding-left: 0; }

.stat-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}
.stat-num .gradient-text {
  /* inline gradient on a span inside the number */
}
.stat-lbl {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 120px;
}

/* ════════════════════════════════════════════════════════════
   TAGLINE STRIP  (brochure cover-bottom → practiceai-web border-y)
   ════════════════════════════════════════════════════════════ */
.tagline-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tagline-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}
.tagline-text em { color: rgba(255,255,255,0.8); font-style: italic; }
.tagline-url {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ════════════════════════════════════════════════════════════
   SHARED SECTION CHROME
   ════════════════════════════════════════════════════════════ */
.section { padding: 5rem 0; }  /* py-20, container handles horizontal */

/* Section divider with number — brochure .sec pattern in dark */
.sec-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}
.sec-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.sec-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ════════════════════════════════════════════════════════════
   §01  FOR TEACHERS
   (practiceai-web border-y 2-col teachers section)
   ════════════════════════════════════════════════════════════ */
.section-teachers {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.teachers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .teachers-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Badge */
.badge {
  display: inline-block;
  border: 1px solid var(--green);
  border-radius: 9999px;
  background: var(--surface);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.teachers-heading {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: block; } }

.teachers-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

/* List — practiceai-web ✓ check pattern */
.teachers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.teachers-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
}
.teachers-list strong { color: var(--white); font-weight: 600; }

/* Speed callout */
.speed-callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.speed-main {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.speed-main em {
  display: inline-block;
  padding-bottom: 3px;
}
.speed-sub {
  font-size: 13.5px;
  color: var(--muted);
}

.teachers-cta-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  transition: color 0.15s;
}
.teachers-cta-link:hover { color: var(--green-light); }

/* ── Insights card (practiceai-web right-col pattern) ── */
.insights-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .insights-card { padding: 2rem; }
}

.insights-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.insights-rows {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.insight-row { display: flex; flex-direction: column; gap: 6px; }
.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}
.insight-q { color: var(--white); }
.insight-pct { font-size: 0.875rem; font-weight: 500; }
.insight-pct.green { color: var(--green); }
.insight-pct.amber { color: var(--amber); }

.progress-track {
  height: 8px;
  border-radius: 9999px;
  background: var(--border);
  overflow: hidden;
}
.progress-bar {
  height: 8px;
  border-radius: 9999px;
  transition: width 0.7s ease;
}
.progress-bar.green { background: var(--green); }
.progress-bar.amber { background: var(--amber); }

.insights-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.insights-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--border);
  color: var(--muted);
}
.insights-chip.green-chip {
  background: rgba(26, 147, 111, 0.15);
  color: var(--green);
}

/* ════════════════════════════════════════════════════════════
   §02  COMPARISON TABLE
   ════════════════════════════════════════════════════════════ */
.section-compare { background: var(--bg); }

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.compare-table thead tr {
  background: var(--surface);
}
.compare-table th {
  padding: 12px 16px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
/* Highlight column headers */
.compare-table th:nth-child(2) {
  color: var(--green);
}
.compare-table th:last-child {
  color: var(--red);
}

.compare-table td {
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.4;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: var(--muted);
}
.compare-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.015);
}
.compare-table td:first-child { color: rgba(255,255,255,0.7); }

.compare-table td.bad  { color: var(--red);   font-weight: 600; }
.compare-table td.good { color: var(--green);  font-weight: 600; }

/* Row hover */
.compare-table tbody tr {
  transition: background 0.15s;
}
.compare-table tbody tr:hover {
  background: rgba(26,147,111,0.04);
}

/* ════════════════════════════════════════════════════════════
   §03  OFFERS / BONUS CARDS
   (practiceai-web step-card grid pattern)
   ════════════════════════════════════════════════════════════ */
.section-offers { background: var(--bg); }

.offers-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  text-align: center;
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .offers-grid { grid-template-columns: 1fr 1fr; }
}

/* Base card — practiceai-web: rounded-2xl border border-[#222222] bg-[#111111] p-8 */
.offer-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s;
}
.offer-card:hover { border-color: var(--green); }

/* Free card — subtle green tint border */
.offer-card--free { border-color: rgba(26,147,111,0.4); }
.offer-card--free:hover { border-color: var(--green); }

/* Badges */
.offer-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
}
.offer-badge--free  { background: var(--green); color: var(--white); }
.offer-badge--bonus { background: var(--border); color: var(--muted); }

.offer-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}
.offer-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.btn-offer {
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  align-self: flex-start;
}

/* ════════════════════════════════════════════════════════════
   CTA BLOCK  (brochure .cta → dark version)
   ════════════════════════════════════════════════════════════ */
.section-cta { background: var(--bg); }

.cta-block {
  border-radius: 1rem;
  border: 1px solid rgba(26,147,111,0.3);
  background: var(--surface);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 50px solid rgba(26,147,111,0.04);
  pointer-events: none;
}

.cta-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .cta-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.cta-text {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.cta-note {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
}

.cta-right { flex-shrink: 0; }
@media (min-width: 640px) { .cta-right { text-align: right; } }

.cta-for {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.cta-for em { color: var(--green); }
.cta-sub {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.cta-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.cta-phone:hover { color: var(--green); }

/* ── Contact form ───────────────────────────────────────── */
.contact-wrap {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 2.5rem 2.5rem;
}
.form-heading {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.form-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--green); }
.form-field textarea { resize: vertical; min-height: 90px; }

/* Select: remove default arrow, add a custom one */
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-field select option {
  background: #111111;
  color: #ffffff;
}

.btn-submit {
  align-self: flex-start;
  font-size: 1rem;
  padding: 0.875rem 2rem;
}
.form-status {
  font-size: 13px;
  font-weight: 500;
  min-height: 20px;
  color: var(--green);
}

/* ════════════════════════════════════════════════════════════
   FOOTER  (exact practiceai-web footer)
   ════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 2rem 1.5rem;
}
.footer-inner {
  margin: 0 auto;
  max-width: var(--max-w);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: center; }
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s;
}
.footer-logo-link:hover { color: var(--white); }
.footer-copy-text { white-space: nowrap; }

.footer-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-link { font-size: 0.875rem; color: var(--muted); transition: color 0.15s; }
.footer-link:hover { color: var(--white); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE OVERRIDES
   ════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  .hero { padding: 6.5rem 1.25rem 4rem; }
  .hero-heading { letter-spacing: -0.02em; }

  /* Stats: 2×2 grid */
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    row-gap: 1.5rem;
  }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 1rem; }
  .stat:first-child, .stat:nth-child(2) { border-top: none; padding-top: 0; }

  .tagline-strip { padding: 1rem 1.25rem; flex-direction: column; align-items: flex-start; gap: 6px; }

  .section { padding: 3.5rem 0; }
  .section-teachers, .section-compare, .section-offers, .section-cta {
    padding-left: 0; padding-right: 0;
  }

  .cta-block  { padding: 1.5rem 1.25rem; }
  .contact-wrap { padding: 1.5rem 1.25rem; }

  .btn-submit { width: 100%; text-align: center; }

  .footer-nav { gap: 1rem; }
}
