/* =========================================
   BRAINBUDDY AI — TEACHERS PAGE
   Matches the original BrainBuddy website
========================================= */

:root {
  --bg: #f8f9fc;
  --surface: #ffffff;
  --text: #11131a;
  --muted: #6d7280;
  --line: #e7e8ee;

  --primary: #6758e8;
  --primary-dark: #5144d1;

  --blue: #4e8df7;
  --orange: #f3a24d;
  --green: #43b883;
  --pink: #e86aa4;
  --violet: #9b69ed;

  --shadow: 0 24px 70px rgba(26, 29, 53, .10);
  --radius: 26px;
}

/* =========================================
   RESET & GLOBAL
========================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: "DM Sans", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1250px, calc(100% - 12vw));
  margin: 0 auto;
}

.section-padding {
  padding: 120px 0;
}

h1,
h2,
h3,
h4,
strong {
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
}

::selection {
  background: #eeecff;
  color: var(--primary-dark);
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
  height: 82px;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 249, 252, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 232, 238, .75);
  transition: box-shadow .25s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(20, 24, 40, .06);
}

.nav-container {
  max-width: 1500px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.055em;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-ai {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.nav-links a {
  color: #686b77;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  transition: color .2s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--primary);
  transition: width .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7567ed, #5749d6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(103, 88, 232, .19);
  transition: transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}

.nav-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(103, 88, 232, .28);
}

.nav-login span {
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  cursor: pointer;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 99px;
  transition: .2s ease;
}

/* =========================================
   SHARED LABELS & BUTTONS
========================================= */

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 9px 14px;
  border: 1px solid #e4e1fb;
  border-radius: 99px;
  background: rgba(255, 255, 255, .8);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(67, 184, 131, .12);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.btn span {
  font-size: 16px;
  transition: transform .2s ease;
}

.btn:hover span {
  transform: translate(3px, -2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7567ed, #5749d6);
  box-shadow: 0 10px 25px rgba(103, 88, 232, .20);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(103, 88, 232, .28);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: #444653;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: #d7d2fa;
  box-shadow: 0 12px 25px rgba(20, 24, 40, .07);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5145cb;
  font-size: 13px;
  font-weight: 800;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translate(4px, -3px);
}

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

.teacher-hero {
  min-height: 720px;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(103, 88, 232, .055), transparent 34%),
    var(--bg);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  position: relative;
  z-index: 2;
}

.hero-background {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

.hero-glow-one {
  width: 400px;
  height: 400px;
  background: rgba(103, 88, 232, .09);
  top: -150px;
  right: 10%;
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  background: rgba(78, 141, 247, .07);
  bottom: -130px;
  left: 10%;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 800;
  margin: 25px 0;
}

.hero-content h1 span {
  display: block;
  color: var(--primary);
}

.hero-description {
  max-width: 580px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  color: #858895;
  font-size: 11px;
  font-weight: 600;
}

.note-check {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8f2;
  color: #35a875;
  font-size: 11px;
  font-weight: 800;
}

/* =========================================
   HERO DASHBOARD VISUAL
========================================= */

.hero-visual {
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1200px;
}

.visual-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: rgba(103, 88, 232, .16);
  border-radius: 50%;
  filter: blur(75px);
}

.dashboard-window {
  width: 100%;
  max-width: 560px;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #e6e4f2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 35px 85px rgba(39, 34, 105, .13),
    0 8px 25px rgba(20, 24, 40, .05);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .4s ease, box-shadow .4s ease;
}

.dashboard-window:hover {
  transform: rotateY(0) rotateX(0) translateY(-5px);
  box-shadow: 0 40px 90px rgba(39, 34, 105, .17);
}

.dashboard-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  border-bottom: 1px solid #eeedf3;
  background: #fff;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dedee6;
}

.window-dots span:first-child {
  background: #f1a2a2;
}

.window-dots span:nth-child(2) {
  background: #f2cf83;
}

.window-dots span:nth-child(3) {
  background: #83cda8;
}

.dashboard-label {
  color: #6f7180;
  font-size: 10px;
  font-weight: 700;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #777987;
  font-size: 9px;
  font-weight: 700;
}

.dashboard-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.dashboard-body {
  padding: 26px;
  background: #fcfcfe;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.dashboard-overline {
  color: #a0a1ad;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.dashboard-heading h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.04em;
  margin-top: 7px;
}

.dashboard-avatar {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: #eeecff;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.dashboard-search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  margin: 23px 0;
  background: #fff;
  border: 1px solid #e9e8f0;
  border-radius: 10px;
  color: #a1a2ad;
  font-size: 10px;
}

.dashboard-search span:first-child {
  font-size: 19px;
}

.dashboard-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.dashboard-tool {
  min-height: 110px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  border: 1px solid #edecf3;
  border-radius: 13px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.dashboard-tool:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(20, 24, 40, .07);
}

.tool-symbol {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 800;
}

.dashboard-tool>span:nth-child(2) {
  font-size: 10px;
  font-weight: 800;
  color: #292b36;
}

.dashboard-tool small {
  color: #9a9ca7;
  font-size: 8px;
}

.tool-blue .tool-symbol {
  background: #eaf3ff;
  color: var(--blue);
}

.tool-orange .tool-symbol {
  background: #fff1df;
  color: var(--orange);
}

.tool-purple .tool-symbol {
  background: #eeecff;
  color: var(--primary);
}

.tool-green .tool-symbol {
  background: #eaf8f2;
  color: var(--green);
}

.dashboard-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid #eeedf3;
  color: #9a9ca7;
  font-size: 8px;
}

.bottom-arrow {
  color: var(--primary);
  font-size: 15px;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid #e9e7f3;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 35px rgba(30, 25, 70, .10);
  animation: floatNote 5s ease-in-out infinite;
}

.floating-note-top {
  top: 38px;
  right: -15px;
}

.floating-note-bottom {
  bottom: 28px;
  left: -20px;
  animation-delay: -2.5s;
}

.floating-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eeecff;
  color: var(--primary);
  font-size: 16px;
}

.orange-icon {
  background: #fff1df;
  color: var(--orange);
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  font-size: 10px;
  font-weight: 800;
}

.floating-note small {
  margin-top: 3px;
  color: #999ba5;
  font-size: 8px;
}

@keyframes floatNote {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* =========================================
   INTRODUCTION
========================================= */

.teacher-intro {
  background: #fff;
  text-align: center;
}

.intro-container {
  max-width: 900px;
}

.intro-container h2 {
  font-size: clamp(39px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.055em;
  margin: 18px auto 22px;
}

.intro-container h2 span {
  color: var(--primary);
}

.intro-container p {
  max-width: 720px;
  margin: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* =========================================
   TEACHER TOOLS
========================================= */

.teacher-tools {
  background: #f8f9fc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 67px);
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 16px 0 19px;
}

.section-heading h2 span {
  color: var(--primary);
}

.section-heading p {
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.teacher-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.teacher-card {
  min-height: 280px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition:
    transform .28s cubic-bezier(.2, .8, .2, 1),
    box-shadow .28s ease,
    border-color .28s ease;
}

.teacher-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -75px;
  bottom: -85px;
  background: var(--card-glow, rgba(103, 88, 232, .055));
  transition: transform .3s ease;
  pointer-events: none;
}

.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 50px rgba(20, 24, 40, .10),
    0 8px 18px rgba(103, 88, 232, .06);
  border-color: rgba(103, 88, 232, .22);
}

.teacher-card:hover::after {
  transform: scale(1.5);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--icon-bg, #eeecff);
  color: var(--icon-color, var(--primary));
  font-size: 19px;
  font-weight: 800;
  transition: transform .25s ease;
}

.teacher-card:hover .card-icon {
  transform: scale(1.09) rotate(-4deg);
}

.card-number {
  color: #b0b1bc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.teacher-card h3 {
  position: relative;
  z-index: 1;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.04em;
  margin-bottom: 11px;
}

.teacher-card p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.card-category {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 24px;
  color: #999ba5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.card-blue {
  --icon-bg: #eaf3ff;
  --icon-color: var(--blue);
  --card-glow: rgba(78, 141, 247, .09);
}

.card-orange {
  --icon-bg: #fff1df;
  --icon-color: var(--orange);
  --card-glow: rgba(243, 162, 77, .10);
}

.card-purple {
  --icon-bg: #eeecff;
  --icon-color: var(--primary);
  --card-glow: rgba(103, 88, 232, .10);
}

.card-green {
  --icon-bg: #eaf8f2;
  --icon-color: var(--green);
  --card-glow: rgba(67, 184, 131, .10);
}

.card-yellow {
  --icon-bg: #fff7df;
  --icon-color: #d6a32f;
  --card-glow: rgba(214, 163, 47, .10);
}

.card-pink {
  --icon-bg: #fff0f6;
  --icon-color: var(--pink);
  --card-glow: rgba(232, 106, 164, .10);
}

.card-dark {
  --icon-bg: #eeecff;
  --icon-color: var(--primary);
  --card-glow: rgba(103, 88, 232, .10);
}

/* =========================================
   PHILOSOPHY / OUR APPROACH
========================================= */

.teacher-philosophy {
  background: #fff;
  overflow: hidden;
}

.philosophy-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.philosophy-content {
  max-width: 600px;
}

.philosophy-content h2 {
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: -.06em;
  margin: 17px 0 22px;
}

.philosophy-content h2 span {
  color: var(--primary);
}

.philosophy-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 26px;
}

.philosophy-visual {
  min-height: 480px;
  position: relative;
  display: grid;
  place-items: center;
}

.philosophy-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid #dedcf8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 290px;
  height: 290px;
}

.orbit-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
  border-color: #e5e2f8;
}

.philosophy-center {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e3f8;
  box-shadow: 0 25px 70px rgba(103, 88, 232, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.philosophy-center>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eeecff;
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 12px;
}

.philosophy-center strong {
  font-size: 17px;
  letter-spacing: -.04em;
}

.philosophy-center small {
  color: #999ba5;
  font-size: 10px;
  margin-top: 5px;
}

.orbit-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #e6e5ef;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 32, 50, .08);
  color: #333541;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  animation: labelFloat 5s ease-in-out infinite;
}

.orbit-label span {
  color: var(--primary);
  font-size: 14px;
}

.orbit-label-one {
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-label-two {
  right: -5px;
  top: 50%;
  animation-delay: -1.7s;
}

.orbit-label-three {
  left: 50%;
  bottom: 35px;
  transform: translateX(-50%);
  animation-delay: -3.3s;
}

@keyframes labelFloat {
  0%, 100% {
    margin-top: 0;
  }

  50% {
    margin-top: -9px;
  }
}

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

.teacher-faq {
  background: #f8f9fc;
}

.faq-container {
  max-width: 1050px;
}

.teacher-faq .section-heading {
  margin-bottom: 45px;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  border-top: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 8px;
  transition: background .2s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item.open {
  background: #f0effb;
}

.faq-question {
  width: 100%;
  padding: 23px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #20212a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.025em;
  transition: color .2s ease;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-plus {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eeecfc;
  color: var(--primary);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition:
    transform .3s cubic-bezier(.34, 1.56, .64, 1),
    background .2s ease,
    color .2s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-answer p {
  padding: 0 50px 23px 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================
   FINAL CTA
========================================= */

.teacher-cta {
  padding: 80px 0;
  background: #fff;
}

.teacher-cta .container {
  max-width: 1250px;
}

.cta-content {
  padding: 100px 35px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #151620;
  color: #fff;
  text-align: center;
}

.cta-content::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 330px;
  border-radius: 50%;
  background: rgba(103, 88, 232, .34);
  filter: blur(85px);
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-content>* {
  position: relative;
  z-index: 1;
}

.cta-content .section-tag {
  color: #aaa3ff;
}

.cta-content h2 {
  max-width: 850px;
  margin: 19px auto 20px;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.cta-content h2 span {
  display: block;
  color: #aaa3ff;
}

.cta-content p {
  max-width: 620px;
  margin: 0 auto 29px;
  color: #a6a7b2;
  font-size: 15px;
  line-height: 1.75;
}

.btn-white {
  background: #fff;
  color: #171824;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .13);
}

.btn-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .23);
}

.cta-free-note {
  margin-top: 19px;
  color: #9293a1;
  font-size: 10px;
}

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

.footer {
  padding: 65px 0 25px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .brand {
  margin-bottom: 17px;
}

.footer-brand>p {
  color: #858895;
  font-size: 12px;
  line-height: 1.8;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column h4 {
  margin-bottom: 7px;
  color: #252733;
  font-size: 12px;
  font-weight: 800;
}

.footer-column a {
  color: #777987;
  font-size: 11px;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1250px;
  margin: 45px auto 0;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  color: #a0a2ab;
  font-size: 10px;
  line-height: 1.6;
}

/* =========================================
   RESPONSIVE — TABLETS
========================================= */

@media (max-width: 1100px) {

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero-container {
    gap: 35px;
  }

  .hero-content h1 {
    font-size: clamp(45px, 5.5vw, 64px);
  }

  .floating-note-top {
    right: -5px;
  }

  .floating-note-bottom {
    left: -5px;
  }

  .philosophy-container {
    gap: 45px;
  }

  .footer-main {
    gap: 30px;
  }
}

/* =========================================
   RESPONSIVE — MOBILE NAVIGATION
========================================= */

@media (max-width: 850px) {

  .navbar {
    height: 78px;
  }

  .nav-container {
    gap: 15px;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 22px 6vw 28px;
    background: rgba(248, 249, 252, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    margin: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-links a::after {
    bottom: -5px;
  }

  .nav-login {
    margin-left: auto;
    padding: 10px 15px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-login {
    order: 2;
  }

  .brand {
    order: 1;
  }

  .teacher-hero {
    padding-top: 75px;
    padding-bottom: 85px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero-content {
    max-width: 760px;
    text-align: center;
    margin: auto;
  }

  .hero-description {
    margin: auto;
  }

  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 650px;
    margin: auto;
  }

  .dashboard-window {
    transform: none;
  }

  .dashboard-window:hover {
    transform: translateY(-4px);
  }

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

  .philosophy-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-content {
    max-width: 720px;
  }

  .philosophy-visual {
    max-width: 550px;
    width: 100%;
    margin: auto;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: 450px;
  }
}

/* =========================================
   RESPONSIVE — SMALL TABLETS
========================================= */

@media (max-width: 600px) {

  .container {
    width: calc(100% - 48px);
  }

  .section-padding {
    padding: 80px 0;
  }

  .navbar {
    height: 70px;
    padding: 0 24px;
  }

  .brand {
    font-size: 17px;
    gap: 8px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    top: 70px;
    padding: 22px 24px 27px;
  }

  .nav-login {
    padding: 9px 12px;
    font-size: 11px;
    gap: 7px;
  }

  .menu-toggle {
    width: 39px;
    height: 39px;
  }

  .teacher-hero {
    padding: 65px 0 75px;
  }

  .hero-container {
    gap: 35px;
  }

  .hero-content h1 {
    font-size: clamp(43px, 11vw, 58px);
    margin: 22px 0;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-note {
    font-size: 10px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .dashboard-window {
    border-radius: 16px;
  }

  .dashboard-topbar {
    height: 44px;
    padding: 0 12px;
  }

  .dashboard-body {
    padding: 17px;
  }

  .dashboard-heading h3 {
    font-size: 16px;
  }

  .dashboard-tool-grid {
    gap: 8px;
  }

  .dashboard-tool {
    min-height: 105px;
    padding: 10px;
  }

  .dashboard-tool>span:nth-child(2) {
    font-size: 9px;
  }

  .floating-note {
    padding: 10px;
    gap: 8px;
  }

  .floating-note-top {
    top: 0;
    right: -4px;
  }

  .floating-note-bottom {
    bottom: 0;
    left: -4px;
  }

  .floating-icon {
    width: 29px;
    height: 29px;
    font-size: 13px;
  }

  .floating-note strong {
    font-size: 9px;
  }

  .floating-note small {
    font-size: 7px;
  }

  .intro-container h2,
  .section-heading h2 {
    font-size: clamp(37px, 9vw, 49px);
  }

  .intro-container p {
    font-size: 14px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .teacher-tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .teacher-card {
    min-height: 245px;
    padding: 25px;
  }

  .card-top {
    margin-bottom: 23px;
  }

  .teacher-card h3 {
    font-size: 20px;
  }

  .philosophy-content h2 {
    font-size: clamp(38px, 9vw, 49px);
  }

  .philosophy-content p {
    font-size: 14px;
  }

  .philosophy-visual {
    min-height: 360px;
  }

  .orbit-one {
    width: 240px;
    height: 240px;
  }

  .orbit-two {
    width: 340px;
    height: 340px;
  }

  .philosophy-center {
    width: 145px;
    height: 145px;
  }

  .orbit-label {
    padding: 8px 11px;
    font-size: 9px;
  }

  .orbit-label-one {
    top: 15px;
  }

  .orbit-label-two {
    right: -5px;
  }

  .orbit-label-three {
    bottom: 12px;
  }

  .faq-question {
    font-size: 13px;
    padding: 20px 6px;
  }

  .faq-answer p {
    padding: 0 35px 20px 6px;
    font-size: 12px;
  }

  .teacher-cta {
    padding: 55px 0;
  }

  .cta-content {
    padding: 75px 22px;
    border-radius: 23px;
  }

  .cta-content h2 {
    font-size: clamp(37px, 9vw, 49px);
  }

  .cta-content p {
    font-size: 13px;
  }

  .footer {
    padding: 50px 0 22px;
  }

  .footer-main {
    gap: 35px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 35px;
  }

  .footer-bottom p {
    font-size: 9px;
  }
}

/* =========================================
   RESPONSIVE — VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

  .container {
    width: calc(100% - 36px);
  }

  .navbar {
    padding: 0 18px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 29px;
    height: 29px;
  }

  .nav-login {
    padding: 8px 10px;
  }

  .hero-content h1 {
    font-size: 41px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .dashboard-body {
    padding: 12px;
  }

  .dashboard-tool {
    min-height: 100px;
  }

  .dashboard-heading h3 {
    font-size: 14px;
  }

  .floating-note {
    transform: scale(.88);
  }

  .floating-note-top {
    right: -10px;
  }

  .floating-note-bottom {
    left: -10px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 14px;
  }
}

/* =========================================
   ACCESSIBILITY & REDUCED MOTION
========================================= */

:focus-visible {
  outline: 3px solid rgba(103, 88, 232, .45);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
