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

:root {
  --primary: #EB5D20;
  --primary-dark: #d04d14;
  --primary-glow: rgba(235,93,32,0.12);
  --button: #536876;
  --background: #fbfdfd;
  --text-dark: #2b2f38;
  --text-light: #555555;
  --text-muted: #8b95a3;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --card-shadow: 0 2px 12px rgba(20, 23, 33, 0.07);
  --card-shadow-hover: 0 8px 28px rgba(20, 23, 33, 0.13);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ─── Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s var(--ease-out-expo);
}
nav.scrolled { border-color: var(--border); }
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-icon {
  height: 185px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--text-dark); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--primary-glow);
}

/* ─── Hero ─── */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 80px 120px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 strong {
  font-weight: 500;
  color: var(--primary);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px var(--primary-glow);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--surface-alt);
}

.hero-visual {
  /*position: relative;*/
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 48vw, 620px);
}
.hero-visual-bg {
  position: absolute;
  top: 0px;
  left: 200px;
  width: 100%;
      height: 100%;
  background:
    radial-gradient(ellipse 78% 68% at 62% 50%, rgba(235,93,32,0.26) 0%, rgba(235,93,32,0.10) 35%, transparent 65%),
    radial-gradient(ellipse 58% 58% at 42% 40%, rgba(235,93,32,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 58% 58% at 82% 60%, rgba(235,93,32,0.20) 0%, transparent 55%);
  pointer-events: none;
}
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}
.hero-visual::before {
  top: 6%;
  left: 38%;
  box-shadow:
    156px 24px 0 0 rgba(255, 255, 255, 0.55),
    40px 148px 0 0 rgba(255, 255, 255, 0.75),
    196px 166px 0 0 rgba(235, 93, 32, 0.22),
    268px 62px 0 0 rgba(255, 255, 255, 0.45),
    104px 262px 0 0 rgba(255, 255, 255, 0.50),
    246px 304px 0 0 rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.60);
}
.hero-visual::after {
  bottom: 6%;
  right: -4%;
  box-shadow:
    -156px -24px 0 0 rgba(255, 255, 255, 0.55),
    -40px -148px 0 0 rgba(255, 255, 255, 0.70),
    -196px -166px 0 0 rgba(235, 93, 32, 0.20),
    -268px -62px 0 0 rgba(255, 255, 255, 0.45),
    -104px -262px 0 0 rgba(255, 255, 255, 0.50),
    -246px -304px 0 0 rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.55);
}
.hero-stack {
  position: relative;
  z-index: 2;
  width: clamp(560px, 58vw, 780px);
  aspect-ratio: 5 / 4;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.hero-stack.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 70%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: var(--surface);
  box-shadow:
    0 22px 48px -14px rgba(20, 23, 33, 0.20),
    0 10px 22px -12px rgba(20, 23, 33, 0.12),
    0 1px 3px rgba(20, 23, 33, 0.06);
  transform-origin: center center;
  transition: transform 0.8s var(--ease-out-expo), box-shadow 0.8s var(--ease-out-expo);
  will-change: transform;
  user-select: none;
}
.hero-stack { pointer-events: none; }
.hero-stack img { pointer-events: auto; }
.hero-stack-back {
  max-width: 70%;
  max-height: 56%;
  transform: translate(-55%, -60%) translate(28%, -22%) rotate(5deg);
  box-shadow:
    0 18px 40px -14px rgba(20, 23, 33, 0.17),
    0 8px 18px -10px rgba(20, 23, 33, 0.10),
    0 1px 2px rgba(20, 23, 33, 0.06);
}
.hero-stack-mid {
  max-width: 60%;
  max-height: 40%;
  transform: translate(-40%, 30%) translate(14%, 8%) rotate(-2deg);
  box-shadow:
    0 22px 46px -14px rgba(20, 23, 33, 0.19),
    0 10px 22px -12px rgba(20, 23, 33, 0.12),
    0 1px 3px rgba(20, 23, 33, 0.06);
}
.hero-stack-front {
  max-width: 50%;
  max-height: 100%;
  transform: translate(-85%, -70%) translate(-38%, 18%) rotate(-4deg);
  z-index: 2;
}
.hero-stack-back:hover {
  transform: translate(-55%, -60%) translate(28.5%, -21%) rotate(5.2deg);
  z-index: 3;
}
.hero-stack-mid:hover {
  transform: translate(-40%, 30%) translate(15%, 7%) rotate(-2.2deg);
  z-index: 3;
}
.hero-stack-front:hover {
  transform: translate(-85%, -70%) translate(-37%, 18.5%) rotate(-4.2deg);
  z-index: 4;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 40px; height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--primary);
  animation: scroll-line 2.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* ─── Sections ─── */
section { padding: 140px 80px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 600px;
}

/* ─── Problem ─── */
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.problem-text .section-title {
  margin-bottom: 24px;
}

.problem-text .section-desc {
  margin-bottom: 20px;
}

/* Scale Cards */
.problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scale-cards {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 420px;
}

.scale-card {
  position: absolute;
  width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.scale-card-canvas {
  top: 0;
  left: 0;
  z-index: 1;
  transform: rotate(-5deg);
}

.scale-card-instructor {
  bottom: 0;
  right: 0;
  z-index: 2;
  transform: rotate(4deg);
}

.scale-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: rotate(0deg);
  z-index: 3;
}

.scale-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.scale-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.scale-card-dot.error {
  background: var(--primary);
}

.scale-card-dot.success {
  background: #22a67e;
}

.scale-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
}

.scale-card-body {
  padding: 40px 28px 28px;
  text-align: center;
}

.scale-card-value {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.scale-card-value.error {
  color: var(--primary);
}

.scale-card-value.success {
  color: #22a67e;
}

.scale-card-status {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}

.scale-card-status.fail {
  color: var(--primary);
}

.scale-card-status.pass {
  color: #22a67e;
}

/* ─── Solution ─── */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-text .section-title {
  margin-bottom: 24px;
}

.solution-text .section-desc {
  margin-bottom: 20px;
}

.solution-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}

/* Flow Diagram */
.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.flow-node-shape {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.4s var(--ease-out-expo);
}

.flow-node-shape svg {
  width: 30px;
  height: 30px;
}

.flow-node.primary .flow-node-shape {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 48px var(--primary-glow);
}

.flow-node.primary .flow-node-shape::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: var(--primary-glow);
  animation: pulse-node-glow 3s var(--ease-smooth) infinite;
  z-index: -1;
}

.flow-node-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.flow-node.primary .flow-node-label {
  color: var(--primary);
  font-weight: 600;
}

.flow-connector {
  flex: 1;
  width: 2px;
  min-height: 56px;
  position: relative;
}

.flow-line {
  height: 100%;
  width: 2px;
  background: var(--border);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.flow-particle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: flow-particle-vertical 2.5s var(--ease-smooth) infinite;
}

.flow-particle:nth-child(3) {
  animation-delay: -0.85s;
}

.flow-particle:nth-child(4) {
  animation-delay: -1.7s;
}

@keyframes flow-particle-vertical {
  0% { top: -6px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% + 6px); opacity: 0; }
}

@keyframes pulse-node-glow {
  0%, 100% { transform: scale(0.5); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ─── About ─── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border);
}
.about-text .section-desc { margin-bottom: 32px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.stat h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat p {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── Features ─── */
.features {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-header { margin-bottom: 80px; }
.features-masonry {
  column-count: 3;
  column-gap: 20px;
}
.feature-card {
  break-inside: avoid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.feature-card:hover {
  border-color: var(--border);
  box-shadow: var(--card-shadow-hover);
  background: var(--surface);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}
.feature-card:hover::before { opacity: 1; }
.feature-tall { padding: 56px 40px; }
.feature-wide { padding: 48px 40px; }
.feature-slim { padding: 32px 40px; }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--primary);
}
.feature-icon-lg {
  width: 52px; height: 52px;
  border-radius: 14px;
  font-size: 24px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}
.feature-card .feature-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(235,93,32,0.08);
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-stat {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* ─── Workflow ─── */
.workflow-header { margin-bottom: 80px; }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  position: relative;
}
.step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 64px;
  line-height: 1;
  color: var(--border);
  position: absolute;
  top: 40px; right: 40px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* ─── Testimonial ─── */
.testimonial {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 120px 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--card-shadow);
  max-width: 780px;
  margin: 48px auto 0;
  text-align: left;
}
.testimonial-quote {
  display: flex;
  gap: 16px;
}
.testimonial-quote-icon {
  color: var(--primary);
  opacity: 0.45;
  flex-shrink: 0;
  margin-top: 4px;
}
.testimonial-quote p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 48px;
}
.testimonial-logo {
  width: auto;
  height: 48px;
  flex-shrink: 0;
}
.testimonial-author-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-dark);
}
.testimonial-role {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 32px 24px;
  }
  .testimonial-quote {
    gap: 12px;
  }
  .testimonial-quote-icon {
    width: 24px;
    height: 24px;
  }
  .testimonial-quote p {
    font-size: 15px;
  }
  .testimonial-author {
    padding-left: 36px;
  }
}

/* ─── Contact ─── */
.contact-section {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-header {
  text-align: left;
  margin-bottom: 48px;
}

.contact-header .section-title {
  margin-bottom: 16px;
}

.contact-header .section-desc {
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-visual {
height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.contact-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, var(--primary-glow) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(235,93,32,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  align-content: center;
  justify-content: center;
}

.contact-grid-item {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), background 0.5s var(--ease-out-expo);
  cursor: pointer;
}
.contact-grid-item:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 14px 28px -10px rgba(235,93,32,0.35),
    0 6px 14px -6px rgba(20,23,33,0.18),
    0 1px 3px rgba(20,23,33,0.06);
  background: linear-gradient(135deg, rgba(235,93,32,0.18), rgba(235,93,32,0.04));
  border-color: rgba(235,93,32,0.30);
}
.contact-grid-item:nth-child(3n+1) { background: linear-gradient(135deg, rgba(235,93,32,0.12), transparent); }
.contact-grid-item:nth-child(3n+2) { background: linear-gradient(225deg, rgba(83,104,118,0.08), transparent); }
.contact-grid-item:nth-child(3n)   { background: linear-gradient(45deg,  rgba(235,93,32,0.08), transparent); }
.contact-grid-item:nth-child(5n)   { background: linear-gradient(135deg, rgba(83,104,118,0.10), transparent); }
.contact-grid-item:nth-child(7n)   { background: linear-gradient(225deg, rgba(235,93,32,0.10), transparent); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--surface);
  transition: all 0.4s var(--ease-out-expo);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #c8d0dc;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--primary);
  background: #fff8f5;
}

.form-group input:disabled,
.form-group textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--surface-alt);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-consent input[type='checkbox'] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-consent label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-light);
  cursor: pointer;
}

.form-consent a {
  color: var(--primary);
  font-weight: 500;
}

.form-consent a:hover {
  text-decoration: underline;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  margin-top: 8px;
}

.form-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px var(--primary-glow);
}

.form-button:active {
  transform: translateY(0);
}

.form-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.form-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.g-recaptcha {
  overflow: visible;
}

.form-recaptcha-notice {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.form-recaptcha-notice a {
  color: var(--text-muted);
  text-decoration: underline;
}

.form-recaptcha-notice a:hover {
  color: var(--primary);
}

.form-error-message {
  display: none;
  color: var(--primary);
  background: #fff5f0;
  border: 1px solid rgba(235, 93, 32, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.form-error-message.visible {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}
/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 80px 48px;
}

/* LMS Logos */
.lms-section {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.lms-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}

.lms-logos a {
  display: inline-block;
  line-height: 0;
}

.lms-logos img {
  height: 36px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s var(--ease-out-expo);
}

.lms-logo-blackboard {
  height: 28px !important;
}

.lms-logos a:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Link columns */
.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s var(--ease-out-expo);
}

.footer-col a:hover {
  color: var(--primary);
}

/* Brand column */
.footer-brand img {
  max-width: 160px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.3s var(--ease-out-expo);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Copyright */
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
/* ─── Trusted by ─── */
.trusted {
  padding: 40px 80px 100px;
  text-align: center;
}
.trusted-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.trusted-logos {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 64px;
  max-width: 1100px;
}
.trusted-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
}
.trusted-logos img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}
.trusted-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Back to top ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-dark);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  box-shadow: 0 4px 16px rgba(48, 60, 67, 0.2);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .problem { grid-template-columns: 1fr; gap: 48px; }
  .solution { grid-template-columns: 1fr; gap: 48px; }
  section { padding: 100px 40px; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 120px 40px 60px; }
  .hero-visual {
    display: flex;
    min-height: 320px;
    padding: 0 0 48px;
  }
  .hero-stack { width: min(460px, 86vw); }
  .hero-scroll { left: 40px; }

  .contact-container { grid-template-columns: 1fr; gap: 48px; }
  .contact-visual { min-height: 360px; }
  .contact-grid { gap: 8px; }

    .features-masonry { column-count: 2; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
  .footer-content { padding: 48px 40px 40px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .lms-logos { gap: 32px; }
  .lms-section { padding-bottom: 32px; margin-bottom: 32px; }
  .trusted { padding: 32px 40px 80px; }
  .trusted-logos { gap: 40px; }
  .trusted-logos img { height: 34px; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 80px 24px; }
  .hero-text { padding: 100px 24px 60px; }
  .hero-scroll { left: 24px; }
    .features-masonry { column-count: 1; }
  .workflow-steps { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-content { padding: 32px 24px 24px; }
  .footer-columns { grid-template-columns: 1fr; gap: 28px; }
  .lms-logos { gap: 24px; }
  .lms-section { padding-bottom: 24px; margin-bottom: 24px; }
  .trusted { padding: 24px 24px 60px; }
  .trusted-logos { gap: 28px; }
  .trusted-logos img { height: 28px; }
}
