@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

.home-page {
  --home-bg: #030712;
  --home-panel: rgba(12, 18, 36, 0.88);
  --home-text: #f8fafc;
  --home-muted: #94a3b8;
  --home-cyan: #22d3ee;
  --home-violet: #818cf8;
  --home-green: #34d399;
  --home-red: #ef4444;
  --home-border: rgba(148, 163, 184, 0.16);
  --home-max: 1180px;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--home-text);
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(34, 211, 238, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(239, 68, 68, 0.08), transparent 45%),
    var(--home-bg);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
}

.home-shell {
  width: min(var(--home-max), calc(100% - 40px));
  margin: 0 auto;
}

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

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.home-hero-intro {
  min-width: 0;
}

.home-hero-cta-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.08);
  color: var(--home-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.home-title {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.02;
  font-weight: 700;
}

.home-title span {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, var(--home-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-lead {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--home-muted);
}

.home-lead strong {
  color: #e2e8f0;
  font-weight: 600;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-2px);
}

.home-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.32);
}

.home-btn--primary:hover {
  box-shadow: 0 22px 48px rgba(99, 102, 241, 0.4);
}

.home-btn--ghost {
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-border);
  box-shadow: none;
}

.home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.28);
}

.home-btn--student {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.28);
}

.home-btn--student:hover {
  box-shadow: 0 22px 48px rgba(220, 38, 38, 0.36);
}

.home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--home-muted);
}

.home-trust-item svg {
  flex-shrink: 0;
  color: var(--home-green);
}

/* Hero mockup */
.home-preview {
  position: relative;
}

.home-preview-glow {
  position: absolute;
  inset: 10% -8% -10% -8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.home-preview-frame {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(3, 7, 18, 0.92));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.home-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.home-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.home-preview-dot:first-child { background: #ef4444; }
.home-preview-dot:nth-child(2) { background: #f59e0b; }
.home-preview-dot:nth-child(3) { background: #22c55e; }

.home-preview-url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  color: #64748b;
  text-align: center;
}

.home-preview-body {
  padding: 20px;
}

.home-preview-spotlight {
  position: relative;
  min-height: 180px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(15, 23, 42, 0.2)),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home-preview-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-preview-spotlight h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.home-preview-spotlight p {
  margin: 0 0 14px;
  max-width: 220px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.home-preview-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-preview-row {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.home-preview-tile {
  flex: 0 0 88px;
  aspect-ratio: 9 / 14;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(99,102,241,0.35), rgba(15,23,42,0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-preview-tile:nth-child(2) {
  background: linear-gradient(180deg, rgba(34,211,238,0.3), rgba(15,23,42,0.8));
}

.home-preview-tile:nth-child(3) {
  background: linear-gradient(180deg, rgba(52,211,153,0.28), rgba(15,23,42,0.8));
}

.home-preview-tile:nth-child(4) {
  background: linear-gradient(180deg, rgba(251,191,36,0.25), rgba(15,23,42,0.8));
}

/* Stats strip */
.home-stats {
  padding: 0 0 72px;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-stat {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: var(--home-panel);
  backdrop-filter: blur(12px);
}

.home-stat-value {
  display: block;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
}

.home-stat-label {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--home-muted);
}

/* Sections */
.home-section {
  padding: 72px 0;
}

.home-section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.home-section-head--center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.home-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-violet);
}

.home-section-title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
}

.home-section-desc {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--home-muted);
}

/* Features */
.home-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-feature {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--home-border);
  background: var(--home-panel);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.home-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.35);
}

.home-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: var(--home-violet);
}

.home-feature:nth-child(2) .home-feature-icon {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.22);
  color: var(--home-cyan);
}

.home-feature:nth-child(3) .home-feature-icon {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.22);
  color: var(--home-green);
}

.home-feature:nth-child(4) .home-feature-icon {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.22);
  color: #f87171;
}

.home-feature h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.home-feature p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--home-muted);
}

/* Flow */
.home-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: home-step;
}

.home-flow-step {
  position: relative;
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.02);
}

.home-flow-step::before {
  counter-increment: home-step;
  content: counter(home-step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.home-flow-step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.home-flow-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--home-muted);
}

/* Student banner */
.home-student-banner {
  position: relative;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(239, 68, 68, 0.22);
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(15, 23, 42, 0.6)),
    var(--home-panel);
  overflow: hidden;
}

.home-student-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), transparent 70%);
  pointer-events: none;
}

.home-student-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.home-student-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fecaca;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-student-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.home-student-banner p {
  margin: 0;
  max-width: 560px;
  line-height: 1.7;
  color: var(--home-muted);
}

/* Plans */
.home-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-plan {
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.02);
}

.home-plan--highlight {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.5));
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
}

.home-plan-name {
  display: block;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.home-plan-price {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-plan-price-currency {
  margin-right: 2px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-muted);
  vertical-align: top;
}

.home-plan-price-period {
  display: block;
  margin-top: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--home-muted);
}

.home-plan-price--free {
  font-size: 1.65rem;
  color: var(--home-green);
}

.home-plan--highlight .home-plan-price {
  color: #e0e7ff;
}

.home-plan-price--intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.home-plan-intro-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(252, 211, 77, 0.35);
  background: rgba(252, 211, 77, 0.12);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fcd34d;
}

.home-plan-price-amount {
  display: block;
  line-height: 1.1;
}

.home-plan-price--intro .home-plan-price-period {
  margin-top: 0;
}

.home-plan-desc {
  margin: 0 0 16px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--home-muted);
}

.home-plan-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-plan-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.home-plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
}

/* Pagina de planos */
.planos-page .planos-main {
  padding: 48px 0 80px;
}

.planos-header {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.planos-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.planos-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--home-muted);
}

.planos-notice {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.planos-notice a {
  color: var(--home-cyan);
  font-weight: 600;
  text-decoration: none;
}

.planos-notice a:hover {
  text-decoration: underline;
}

.planos-notice--login {
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: rgba(34, 211, 238, 0.08);
  color: #e2e8f0;
}

.planos-notice--email {
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a;
}

.planos-notice--email code {
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.88em;
}

.planos-notice--info {
  border: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--home-muted);
}

.planos-grid {
  align-items: stretch;
}

.planos-grid .home-plan {
  display: flex;
  flex-direction: column;
}

.home-plan--current {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.18);
}

.planos-current-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.planos-plan-actions {
  margin-top: auto;
  padding-top: 18px;
}

.planos-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.planos-plan-btn--primary {
  color: #031018;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
}

.planos-plan-btn--primary:hover {
  transform: translateY(-1px);
}

.planos-plan-btn--ghost {
  color: #e2e8f0;
  border: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.03);
}

.planos-plan-btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.35);
}

.planos-plan-btn--disabled {
  color: var(--home-muted);
  border: 1px dashed var(--home-border);
  background: rgba(255, 255, 255, 0.02);
  cursor: not-allowed;
}

.planos-plan-hint {
  margin: 10px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--home-muted);
  text-align: center;
}

.planos-faq {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.02);
}

.planos-faq h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.planos-faq ul {
  margin: 0;
  padding-left: 20px;
  color: var(--home-muted);
  line-height: 1.7;
}

.planos-faq li + li {
  margin-top: 8px;
}

/* CTA */
.home-cta {
  padding: 72px 0 88px;
}

.home-cta-box {
  padding: 56px 48px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background:
    radial-gradient(circle at top, rgba(99, 102, 241, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(12, 18, 36, 0.95), rgba(3, 7, 18, 0.9));
}

.home-cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.home-cta-box p {
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.7;
  color: var(--home-muted);
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
.home-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--home-border);
}

.home-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.home-footer-links a {
  font-size: 0.88rem;
  color: var(--home-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-footer-links a:hover {
  color: var(--home-text);
}

.home-footer-copy {
  width: 100%;
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: rgba(148, 163, 184, 0.7);
}

/* Aviso de cookies */
.home-cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 950;
  width: min(560px, calc(100% - 24px));
  transform: translateX(-50%);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.home-cookie-notice.is-hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.home-cookie-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}

.home-cookie-notice-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.88);
}

.home-cookie-notice-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.home-cookie-notice-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.home-cookie-notice-link:hover {
  color: #e2e8f0;
}

.home-cookie-notice-ok {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-cookie-notice-ok:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(129, 140, 248, 0.4);
}

@media (max-width: 640px) {
  .home-cookie-notice {
    bottom: 12px;
    width: calc(100% - 20px);
  }

  .home-cookie-notice-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .home-cookie-notice-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 1024px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-preview {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .home-stats-grid,
  .home-flow,
  .home-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-student-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-shell {
    width: min(var(--home-max), calc(100% - 20px));
  }

  .home-hero {
    padding: 20px 0 44px;
  }

  .home-hero-copy {
    gap: 22px;
  }

  .home-hero-cta-block {
    gap: 16px;
  }

  .home-eyebrow {
    margin-bottom: 14px;
    padding: 6px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    max-width: 100%;
  }

  .home-title {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 8.2vw, 2.5rem);
    line-height: 1.08;
  }

  .home-title span {
    margin-top: 4px;
  }

  .home-lead {
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.65;
    max-width: none;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0;
  }

  .home-actions .home-btn--primary {
    grid-column: 1 / -1;
  }

  .home-btn {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.88rem;
    width: 100%;
  }

  .home-btn svg {
    width: 16px;
    height: 16px;
  }

  .home-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-trust-item {
    font-size: 0.82rem;
  }

  .home-preview-glow {
    display: none;
  }

  .home-preview-frame {
    border-radius: 18px;
  }

  .home-preview-bar {
    padding: 10px 12px;
  }

  .home-preview-url {
    min-width: 0;
    font-size: 0.62rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-preview-body {
    padding: 14px;
  }

  .home-preview-spotlight {
    min-height: 0;
    margin-bottom: 12px;
    padding: 16px;
  }

  .home-preview-spotlight h3 {
    font-size: 1rem;
  }

  .home-preview-spotlight p {
    max-width: none;
    font-size: 0.74rem;
  }

  .home-preview-play {
    padding: 7px 12px;
    font-size: 0.72rem;
  }

  .home-preview-tile {
    flex: 0 0 72px;
  }

  .home-stats {
    padding-bottom: 48px;
  }

  .home-features,
  .home-stats-grid,
  .home-flow,
  .home-plans {
    grid-template-columns: 1fr;
  }

  .home-cta-actions {
    flex-direction: column;
  }

  .home-student-banner,
  .home-cta-box {
    padding: 32px 24px;
  }

  .home-section {
    padding: 56px 0;
  }
}

@media (max-width: 400px) {
  .home-hero {
    padding-top: 16px;
  }

  .home-title {
    font-size: 1.72rem;
  }

  .home-lead {
    font-size: 0.9rem;
  }

  .home-actions {
    grid-template-columns: 1fr;
  }

  .home-preview {
    max-width: 100%;
  }

  .home-preview-row {
    gap: 8px;
  }

  .home-preview-tile {
    flex: 0 0 62px;
  }
}
