/* CUCL Teachers — landing v2 */

:root {
  --ct-bg: #07080d;
  --ct-bg-elevated: #10141f;
  --ct-surface: #161b28;
  --ct-surface-hover: #1c2233;
  --ct-text: #eef2ff;
  --ct-muted: #94a3b8;
  --ct-border: rgba(255, 255, 255, 0.08);
  --ct-primary: #7c5cff;
  --ct-primary-2: #5b8cff;
  --ct-cyan: #22d3ee;
  --ct-glow: rgba(124, 92, 255, 0.45);
  --ct-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ct-radius: 16px;
  --ct-max: 1140px;
  --ct-nav-h: 72px;
  --ct-icon-color: #c4b5fd;
  --ct-mesh: radial-gradient(ellipse 70% 55% at 15% 0%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(34, 211, 238, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(91, 140, 255, 0.1), transparent 55%);
}

[data-theme='light'] {
  --ct-bg: #f6f7fb;
  --ct-bg-elevated: #ffffff;
  --ct-surface: #ffffff;
  --ct-surface-hover: #f1f5f9;
  --ct-text: #0f172a;
  --ct-muted: #64748b;
  --ct-border: rgba(15, 23, 42, 0.1);
  --ct-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --ct-icon-color: #6366f1;
  --ct-mesh: radial-gradient(ellipse 70% 55% at 15% 0%, rgba(124, 92, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(34, 211, 238, 0.1), transparent 50%);
}

[data-theme='light'] .ct-nav {
  background: rgba(246, 247, 251, 0.92);
}

[data-theme='light'] .ct-icon {
  background: linear-gradient(135deg, #6366f1, #0891b2);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ct-text);
  background: var(--ct-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--ct-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.ct-wrap {
  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 0 20px;
}

.ct-wrap--narrow { max-width: 760px; }

/* Icons via CSS mask */
.ct-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-cyan));
  -webkit-mask: var(--ct-icon-url) center / contain no-repeat;
  mask: var(--ct-icon-url) center / contain no-repeat;
}

.ct-icon--xl { width: 40px; height: 40px; }

.ct-icon--curriculum { --ct-icon-url: url(/icons/curriculum.svg); }
.ct-icon--pencil { --ct-icon-url: url(/icons/pencil.svg); }
.ct-icon--schedule { --ct-icon-url: url(/icons/schedule.svg); }
.ct-icon--calendar { --ct-icon-url: url(/icons/calendar.svg); }
.ct-icon--chat { --ct-icon-url: url(/icons/chat.svg); }
.ct-icon--analytics { --ct-icon-url: url(/icons/analytics.svg); }
.ct-icon--notifications { --ct-icon-url: url(/icons/notifications.svg); }
.ct-icon--users { --ct-icon-url: url(/icons/users.svg); }
.ct-icon--groups { --ct-icon-url: url(/icons/groups.svg); }
.ct-icon--logs { --ct-icon-url: url(/icons/logs.svg); }
.ct-icon--requests { --ct-icon-url: url(/icons/requests.svg); }
.ct-icon--export { --ct-icon-url: url(/icons/export.svg); }
.ct-icon--db-import { --ct-icon-url: url(/icons/db-import-white.svg); }
.ct-icon--logo { --ct-icon-url: url(/icons/curriculum.svg); width: 22px; height: 22px; background: #fff; }
.ct-icon--theme-dark { --ct-icon-url: url(/icons/theme-dark.svg); background: var(--ct-text); }
.ct-icon--theme-light { --ct-icon-url: url(/icons/theme-light.svg); background: var(--ct-text); }

[data-theme='light'] .ct-icon--db-import { --ct-icon-url: url(/icons/db-import-dark.svg); }

.ct-btn-icon .ct-icon { width: 18px; height: 18px; }
.ct-btn-icon { display: inline-flex; align-items: center; justify-content: center; }

.ct-check {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background: var(--ct-cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: -2px;
}

/* Scroll progress */
.ct-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--ct-primary), var(--ct-cyan));
  box-shadow: 0 0 12px var(--ct-glow);
  transition: width 0.08s linear;
}

/* Cursor glow */
.ct-cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.ct-cursor-active .ct-cursor-glow { opacity: 1; }

/* Nav */
.ct-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ct-nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ct-border);
  background: color-mix(in srgb, var(--ct-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ct-nav .ct-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ct-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.ct-brand:hover { text-decoration: none; }

.ct-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-cyan));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px var(--ct-glow);
}

.ct-brand-text strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.ct-brand-text span {
  display: block;
  font-size: 11px;
  color: var(--ct-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ct-nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
}

.ct-nav-links a {
  color: var(--ct-muted);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.ct-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ct-primary), var(--ct-cyan));
  border-radius: 2px;
  transition: width 0.25s ease;
}

.ct-nav-links a:hover,
.ct-nav-links a.is-active {
  color: var(--ct-text);
  text-decoration: none;
}

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

.ct-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.ct-btn:hover { text-decoration: none; }

.ct-btn-primary {
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-primary-2));
  color: #fff;
  box-shadow: 0 10px 30px var(--ct-glow);
}

.ct-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px var(--ct-glow); }

.ct-btn-ghost {
  background: var(--ct-surface);
  color: var(--ct-text);
  border: 1px solid var(--ct-border);
}

.ct-btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  color: var(--ct-text);
}

.ct-btn-lg { padding: 14px 28px; font-size: 15px; }

.ct-btn-icon .ct-theme-icon[hidden] { display: none; }

@media (min-width: 900px) {
  .ct-nav-links { display: flex; }
  .ct-nav-actions .ct-btn-ghost { display: inline-flex; }
}

@media (max-width: 899px) {
  .ct-nav-actions .ct-btn-ghost { display: none; }
}

/* Hero */
.ct-hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ct-mesh);
  pointer-events: none;
}

.ct-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ct-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: ct-float 14s ease-in-out infinite;
}

.ct-orb--1 {
  width: 320px;
  height: 320px;
  background: rgba(124, 92, 255, 0.35);
  top: 10%;
  left: -5%;
}

.ct-orb--2 {
  width: 260px;
  height: 260px;
  background: rgba(34, 211, 238, 0.25);
  top: 30%;
  right: 5%;
  animation-delay: -4s;
}

.ct-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(91, 140, 255, 0.3);
  bottom: 10%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes ct-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.95); }
}

.ct-hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .ct-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.ct-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(124, 92, 255, 0.15);
  color: var(--ct-primary);
  border: 1px solid rgba(124, 92, 255, 0.25);
  margin-bottom: 18px;
}

.ct-badge a { color: inherit; font-weight: 700; }

.ct-badge-icon { width: 16px; height: 16px; }

.ct-hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.ct-hero-title__line { display: block; }

.ct-hero-title__gradient {
  display: block;
  background: linear-gradient(135deg, var(--ct-primary) 0%, var(--ct-cyan) 50%, var(--ct-primary-2) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ct-shimmer 6s linear infinite;
}

@keyframes ct-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.ct-hero-lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--ct-muted);
  max-width: 54ch;
}

.ct-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ct-hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ct-muted);
}

.ct-hero-visual {
  position: relative;
  perspective: 1200px;
}

.ct-hero-visual__frame {
  position: relative;
  border-radius: 20px;
  padding: 12px;
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  animation: ct-hero-float 6s ease-in-out infinite;
}

@keyframes ct-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ct-hero-visual__frame img {
  border-radius: 12px;
  width: 100%;
}

.ct-hero-visual__shine {
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  pointer-events: none;
  animation: ct-shine 4s ease-in-out infinite;
}

@keyframes ct-shine {
  0%, 100% { opacity: 0; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}

.ct-hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ct-surface) 92%, transparent);
  border: 1px solid var(--ct-border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: ct-float-badge 5s ease-in-out infinite;
}

.ct-hero-float--1 { top: 8%; right: -4%; animation-delay: 0s; }
.ct-hero-float--2 { bottom: 18%; left: -6%; animation-delay: -2.5s; }

@keyframes ct-float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ct-hero-caption {
  margin: 12px 4px 0;
  font-size: 13px;
  color: var(--ct-muted);
  text-align: center;
}

/* Marquee */
.ct-marquee {
  overflow: hidden;
  border-block: 1px solid var(--ct-border);
  background: var(--ct-bg-elevated);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ct-marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ct-marquee 28s linear infinite;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-muted);
}

.ct-marquee__track span {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ct-marquee__track span::after {
  content: '◆';
  font-size: 8px;
  color: var(--ct-primary);
  opacity: 0.6;
}

@keyframes ct-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Stats */
.ct-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 48px auto 64px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .ct-stats { grid-template-columns: repeat(4, 1fr); }
}

.ct-stat {
  text-align: center;
  padding: 22px 14px;
  border-radius: var(--ct-radius);
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ct-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
}

.ct-stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-stat span {
  font-size: 12px;
  color: var(--ct-muted);
}

/* Sections */
.ct-section { padding: 64px 0; position: relative; }

.ct-section--how { background: var(--ct-bg-elevated); }

.ct-section--features {
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.04), transparent);
}

.ct-section-head {
  margin-bottom: 36px;
  max-width: 680px;
}

.ct-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ct-cyan);
}

.ct-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ct-section-head p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 1.05rem;
}

/* Compare */
.ct-compare {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 800px) {
  .ct-compare { grid-template-columns: 1fr auto 1fr; }
}

.ct-compare-card {
  padding: 24px;
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  background: var(--ct-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-compare-card:hover { transform: translateY(-3px); }

.ct-compare-card--accent {
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.15), var(--ct-shadow);
}

.ct-compare-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1rem;
}

.ct-compare-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ct-compare-arrow {
  display: none;
  align-self: center;
  font-size: 28px;
  color: var(--ct-primary);
  font-weight: 300;
}

@media (min-width: 800px) {
  .ct-compare-arrow { display: block; }
}

/* Feature tabs */
.ct-feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ct-feature-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--ct-border);
  background: var(--ct-surface);
  color: var(--ct-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ct-feature-tab:hover {
  border-color: rgba(124, 92, 255, 0.35);
  color: var(--ct-text);
}

.ct-feature-tab.is-active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(34, 211, 238, 0.1));
  border-color: rgba(124, 92, 255, 0.45);
  color: var(--ct-text);
  box-shadow: 0 4px 20px rgba(124, 92, 255, 0.15);
}

.ct-feature-preview {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  margin-bottom: 28px;
  border-radius: var(--ct-radius);
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  transition: opacity 0.25s ease;
}

.ct-feature-preview.is-changing { opacity: 0.5; }

.ct-feature-preview__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.12);
  flex-shrink: 0;
}

.ct-feature-preview h3 { margin: 0 0 8px; font-size: 1.1rem; }
.ct-feature-preview p { margin: 0; color: var(--ct-muted); font-size: 15px; }

/* Grid & cards */
.ct-grid-3 { display: grid; gap: 18px; }

@media (min-width: 720px) {
  .ct-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.ct-grid-2 { display: grid; gap: 18px; }

@media (min-width: 720px) {
  .ct-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.ct-card {
  padding: 24px;
  border-radius: var(--ct-radius);
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.ct-card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.12);
}

.ct-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.12);
  margin-bottom: 14px;
}

.ct-card h3 { margin: 0 0 8px; font-size: 1.05rem; }

.ct-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ct-muted);
  line-height: 1.55;
}

.ct-role { border-left: 3px solid var(--ct-primary); }
.ct-role--tutor { border-left-color: #7c5cff; }
.ct-role--student { border-left-color: #22d3ee; }
.ct-role--parent { border-left-color: #34d399; }
.ct-role--admin { border-left-color: #f472b6; }

/* Steps */
.ct-steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  position: relative;
}

@media (min-width: 800px) {
  .ct-steps { grid-template-columns: repeat(3, 1fr); }
}

.ct-step {
  padding: 22px;
  border-radius: var(--ct-radius);
  background: var(--ct-bg-elevated);
  border: 1px solid var(--ct-border);
  counter-increment: step;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ct-step:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
}

.ct-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ct-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ct-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.1);
  margin-bottom: 12px;
}

.ct-step h3 { margin: 0 0 8px; font-size: 1rem; }
.ct-step p { margin: 0; color: var(--ct-muted); font-size: 14px; }

/* FAQ */
.ct-faq { display: grid; gap: 10px; }

.ct-faq-item {
  border-radius: 14px;
  border: 1px solid var(--ct-border);
  background: var(--ct-surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.ct-faq-item[open] { border-color: rgba(124, 92, 255, 0.35); }

.ct-faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.ct-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--ct-primary);
  transition: transform 0.2s ease;
}

.ct-faq-item[open] summary::after { transform: rotate(45deg); }

.ct-faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Contacts */
.ct-person {
  padding: 24px;
  border-radius: var(--ct-radius);
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  transition: transform 0.2s ease;
}

.ct-person h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.ct-person-icon { width: 20px; height: 20px; }

.ct-person-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.ct-person-links small {
  display: block;
  color: var(--ct-muted);
  font-size: 12px;
  margin-bottom: 2px;
}

.ct-person-highlight {
  animation: ct-pulse 2.5s ease;
  border-color: rgba(124, 92, 255, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2), var(--ct-shadow) !important;
}

@keyframes ct-pulse {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.02); }
}

.ct-cta-band {
  position: relative;
  margin: 48px 0 0;
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(124, 92, 255, 0.25);
  overflow: hidden;
}

.ct-cta-band__orbs {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(124, 92, 255, 0.2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(34, 211, 238, 0.15), transparent 50%);
  animation: ct-cta-pulse 8s ease-in-out infinite;
}

@keyframes ct-cta-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.ct-cta-band h2,
.ct-cta-band p,
.ct-cta-band .ct-btn {
  position: relative;
  z-index: 1;
}

.ct-cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.ct-cta-band p {
  margin: 0 0 22px;
  color: var(--ct-muted);
}

/* Footer */
.ct-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--ct-border);
  text-align: center;
}

.ct-footer p {
  margin: 0 0 8px;
  color: var(--ct-muted);
  font-size: 14px;
}

.ct-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 14px;
}

/* Mobile menu */
.ct-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.ct-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ct-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ct-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ct-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.ct-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .ct-burger { display: none; }
}

.ct-mobile-menu {
  display: none;
  position: fixed;
  inset: var(--ct-nav-h) 0 0 0;
  background: var(--ct-bg);
  padding: 24px 20px;
  z-index: 99;
  border-top: 1px solid var(--ct-border);
}

.ct-mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--ct-text);
  text-decoration: none;
  padding: 8px 0;
}

code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(124, 92, 255, 0.12);
}

/* Reveal animations */
.ct-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ct-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ct-reveal--delay { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ct-reveal { opacity: 1; transform: none; }
  .ct-cursor-glow { display: none; }
}
