/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #101828;
  background-color: #f9fafb;
  line-height: 1.6;
}

/* ========== THEME ========== */
:root {
  --bg: #f9fafb;
  --bg-alt: #ffffff;
  --bg-alt-soft: #f3f4f6;
  --border-subtle: #e5e7eb;
  --accent: #111827;
  --accent-soft: #11182710;
  --accent-strong: #0f172a;
  --accent-muted: #6b7280;
  --primary: #111827;
  --primary-soft: #11182708;
  --primary-hover: #020617;
  --chip-bg: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 1.5rem;
  --radius-md: 0.9rem;
  --radius-sm: 999px;
  --transition: 180ms ease-out;
}

/* ========== PAGE WATERMARK ========== */

.page-watermark {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05; /* adjust strength here */
}

.page-watermark::before {
  content: "";
  background: url("assets/avara-logo.png") no-repeat center / contain;
  width: min(70vw, 900px);
  height: min(30vw, 350px);
  filter: grayscale(1);
}

/* Make actual content sit above watermark */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ========== GLOBAL LAYOUT ========== */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--accent-strong);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 3.2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.4rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 0.8rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-muted);
}

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

.section-header.align-left {
  text-align: left;
}

.section-subtitle {
  max-width: 620px;
  margin: 0.3rem auto 0;
  color: var(--accent-muted);
}

/* ========== BUTTONS & CHIPS ========== */

.btn,
.btn-link {
  font: inherit;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition),
    box-shadow var(--transition), transform var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #f9fafb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid #11182720;
  background-color: #ffffff;
  color: var(--accent-strong);
}

.btn-outline:hover {
  border-color: #11182740;
  background-color: var(--primary-soft);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-weight: 600;
}

.btn-link {
  padding-inline: 0;
  background: none;
  color: var(--accent-muted);
}

.btn-link:hover {
  color: var(--accent-strong);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  background: var(--chip-bg);
  color: #111827;
}

.badge {
  border-radius: var(--radius-sm);
  background-color: var(--primary-soft);
  color: var(--accent-strong);
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
}

/* ========== HEADER / NAV ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(249, 250, 251, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--accent-muted);
  padding: 0.2rem 0;
}

.nav-list a:hover {
  color: var(--accent-strong);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 2.25rem;
  padding: 0.35rem 0.3rem;
  gap: 0.3rem;
  border-radius: 999px;
  border: 1px solid #11182720;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: #111827;
  border-radius: 999px;
}

/* ========== HERO ========== */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  max-width: 540px;
  color: var(--accent-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-metas {
  margin-top: 1.6rem;
  color: var(--accent-muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

/* Hero panel */

.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: radial-gradient(circle at top left, #ffffff, #f3f4f6);
  border-radius: 1.7rem;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  width: min(420px, 100%);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.hero-card-header h2 {
  font-size: 1.05rem;
  margin: 0;
}

.hero-card-metrics {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric {
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background-color: #ffffffc7;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--accent-muted);
}

.metric-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.metric-trend {
  font-size: 0.8rem;
  color: #6b7280;
}

.metric-trend.up {
  color: #15803d;
}

.hero-card-footer {
  border-top: 1px dashed #e5e7eb;
  padding-top: 0.95rem;
  font-size: 0.86rem;
  color: var(--accent-muted);
}

.hero-card-person {
  display: block;
  margin-top: 0.4rem;
  font-weight: 500;
  color: var(--accent-strong);
}

/* ========== SOCIAL PROOF ========== */

.social-proof {
  padding: 0.6rem 0 1.4rem;
}

.social-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-muted);
  text-align: center;
}

.logo-row {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.logo-pill {
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}

/* ========== STUDENTS IMAGE STRIP ========== */

.section-students {
  background: #02252c;
  color: #f9fafb;
}

.section-students .section-header h2 {
  color: #f9fafb;
}

.section-students .section-header .section-subtitle {
  color: #d1d5db;
}

.student-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.student-card {
  border-radius: 1.3rem;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
  position: relative;
}

.student-card-media {
  position: relative;
  overflow: hidden;
}

.student-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 200ms ease-out;
}

/* teal-ish gradient at the bottom of the image */
.student-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(
    to top,
    rgba(6, 95, 102, 0.9),
    rgba(6, 95, 102, 0.6),
    transparent
  );
  pointer-events: none;
}

.student-card-content {
  position: absolute;
  inset: auto 1.4rem 1.4rem 1.4rem;
  z-index: 1;
}

.student-card-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: #f9fafb;
}

.student-card-content p {
  margin: 0;
  font-size: 0.92rem;
  color: #e5e7eb;
}

/* hover effect */
.student-card:hover .student-card-media img {
  transform: scale(1.06);
}

/* ========== FEATURE GRID ========== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.feature-card p {
  color: var(--accent-muted);
}

.feature-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #4b5563;
}

/* ========== HOW IT WORKS / STEPS ========== */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.step {
  background-color: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem 1.3rem;
  border: 1px dashed #e5e7eb;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  background: #111827;
  color: #f9fafb;
  margin-bottom: 0.65rem;
}

/* ========== SOLUTIONS ========== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.solutions-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid #e5e7eb;
}

.solutions-card p {
  color: var(--accent-muted);
}

.solutions-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #4b5563;
}

/* ========== TESTIMONIALS ========== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  background: #111827;
  color: #f9fafb;
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-quote {
  font-size: 0.98rem;
}

.testimonial-name {
  margin-top: 0.8rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.88rem;
  color: #d1d5db;
}

/* ========== PRICING ========== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.pricing-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.4rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-card-featured {
  border: 1px solid #111827;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pill-highlight {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-size: 0.8rem;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
}

.pricing-price {
  font-size: 1.7rem;
  font-weight: 600;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--accent-muted);
}

.pricing-tagline {
  font-size: 0.92rem;
  color: var(--accent-muted);
}

.pricing-list {
  list-style: none;
  padding-left: 1rem;
  margin: 0.4rem 0 0.6rem;
  font-size: 0.92rem;
  color: #4b5563;
}

.pricing-list li::before {
  content: "•";
  display: inline-block;
  margin-right: 0.4rem;
}

.full-width {
  width: 100%;
}

/* ========== FAQ ========== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 2.5rem;
}

.faq-items {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 0.8rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: right;
  color: #9ca3af;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: #4b5563;
}

/* ========== DEMO / CONTACT FORM ========== */

.demo-section {
  background: radial-gradient(circle at top left, #f3f4f6, #e5e7eb);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.demo-grid h2 {
  margin-top: 0;
}

.demo-grid p {
  color: #374151;
}

.demo-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b5563;
}

.form-row input,
.form-row textarea,
.form-row select {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition),
    background-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px #11182720;
  background: #ffffff;
}

.form-footnote {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #6b7280;
}

/* ========== FOOTER ========== */

.site-footer {
  padding: 2.8rem 0 2rem;
  background: #020617;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  filter: invert(1);
}

.footer-blurb {
  max-width: 320px;
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 0.7rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.15rem;
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.8rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  padding-top: 1.1rem;
  color: #9ca3af;
}

.footer-meta-links {
  display: flex;
  gap: 0.9rem;
}

.footer-meta-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-meta-links a:hover {
  color: #ffffff;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }

  .feature-grid,
  .steps,
  .solutions-grid,
  .testimonial-grid,
  .pricing-grid,
  .demo-grid,
  .faq-layout,
  .footer-grid,
  .student-card-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(249, 250, 251, 0.98);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    padding: 0.8rem 1.1rem 0.9rem;
    flex-direction: column;
    gap: 0.75rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-card {
    border-radius: 1.35rem;
  }
}
