.home-redesign {
  --home-bg: #f4f7ff;
  --home-surface: #ffffff;
  --home-ink: #10182b;
  --home-sub: #55607a;
  --home-line: #dfe5f3;
  --home-accent: #ef4f2f;
  --home-accent-2: #ff7c48;
  --home-deep: #111c35;
  --home-glow: 0 24px 60px rgba(18, 30, 59, 0.12);
  --home-radius: 22px;
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--home-ink);
  background:
    radial-gradient(900px 600px at 85% 0%, rgba(255, 124, 72, 0.18), transparent 65%),
    radial-gradient(700px 500px at 0% 28%, rgba(79, 130, 255, 0.12), transparent 62%),
    var(--home-bg);
}

.home-redesign .hero {
  margin: 22px auto 36px;
  min-height: min(860px, 92vh);
  max-width: 1240px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 34px;
  background:
    radial-gradient(320px 240px at 68% 12%, rgba(255, 132, 79, 0.42), transparent 75%),
    linear-gradient(125deg, #ffffff 0%, #f8f4ff 52%, #f6fbff 100%);
  box-shadow: var(--home-glow);
  overflow: hidden;
  isolation: isolate;
}

.home-redesign .hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-redesign .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(0.95) brightness(0.8);
}

.home-redesign .hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(8, 16, 34, 0.72) 0%, rgba(13, 24, 48, 0.58) 44%, rgba(14, 28, 56, 0.4) 100%),
    radial-gradient(540px 320px at 82% 14%, rgba(255, 132, 79, 0.2), transparent 70%);
}

.home-redesign .hero.has-video-bg .hero-fluid {
  opacity: 0.38;
}

.home-redesign .hero.has-video-bg {
  max-width: none;
  margin: 0 0 36px;
  min-height: 100vh;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.home-redesign .hero.has-video-bg .hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.home-redesign .hero.has-video-bg .hero-text h1,
.home-redesign .hero.has-video-bg .hero-sub,
.home-redesign .hero.has-video-bg .hero-social-proof p,
.home-redesign .hero.has-video-bg .hero-social-proof strong {
  color: #ffffff;
}

.home-redesign .hero.has-video-bg .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.home-redesign .hero.has-video-bg .btn-outline-dark:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.home-redesign .hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 55%;
  background: radial-gradient(70% 100% at 50% 0%, rgba(17, 28, 53, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.home-redesign .hero-fluid {
  opacity: 0.95;
  right: -86px;
  top: -42px;
  width: min(760px, 66vw);
}

.home-redesign .hero-inner {
  max-width: 1220px;
  padding: 0 48px;
}

.home-redesign .hero-text {
  max-width: 670px;
}

.home-redesign .hero-badge {
  background: rgba(255, 124, 72, 0.12);
  border-color: rgba(239, 79, 47, 0.26);
  color: #c23f23;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.home-redesign .hero-text h1 {
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #0f1930;
}

.home-redesign .red-pill-wrap {
  color: #ffffff;
}

.home-redesign .red-pill-bg {
  background: linear-gradient(120deg, var(--home-accent), var(--home-accent-2));
  border-radius: 12px;
  transform: rotate(-1.4deg);
}

.home-redesign .hero-sub {
  max-width: 595px;
  color: #44506b;
  font-size: 1.08rem;
}

.home-redesign .btn-dark {
  background: linear-gradient(120deg, #13254d, #2b3f6f);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.home-redesign .btn-dark:hover {
  background: linear-gradient(120deg, #ef4f2f, #ff7c48);
}

.home-redesign .btn-outline-dark {
  border-color: #bac6e0;
  color: #1d2b4e;
  background: rgba(255, 255, 255, 0.7);
}

.home-redesign .btn-outline-dark:hover {
  border-color: var(--home-accent);
}

.home-redesign .hero-social-proof p {
  color: #4f5d7e;
}

.home-redesign .hero-social-proof strong {
  color: #1b2d52;
}

.home-redesign .hsp-av {
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 30, 59, 0.2);
}

.home-redesign .hf-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(16, 32, 68, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.home-redesign .hf-wide {
  border-radius: 999px;
}

.home-redesign .ticker-strip {
  margin: 0 auto 36px;
  max-width: 1220px;
  border: 1px solid #e0e7f6;
  border-radius: 20px;
  background: var(--home-surface);
  box-shadow: 0 14px 30px rgba(20, 38, 74, 0.08);
}

.home-redesign .ticker-label {
  color: #637093;
  font-weight: 800;
}

.home-redesign .ticker-track span {
  color: #22355c;
}

.home-redesign .stats-section {
  margin: 0 auto 34px;
  max-width: 1220px;
  padding: 34px 26px;
  border-radius: 26px;
  background:
    linear-gradient(120deg, #121f3d 0%, #1f2f58 65%, #2a3a6c 100%);
  box-shadow: var(--home-glow);
}

.home-redesign .stat-block .sn {
  font-family: "Sora", "Inter", sans-serif;
}

.home-redesign .section {
  padding: 88px 28px;
}

.home-redesign .section-head h2 {
  font-family: "Sora", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #112043;
}

.home-redesign .section-head p {
  color: #5b6887;
}

.home-redesign .tag-chip {
  background: #f0f4ff;
  color: #1f3f87;
  border: 1px solid #d5dff8;
}

.home-redesign .about-inner,
.home-redesign .process-inner,
.home-redesign .courses-inner {
  max-width: 1220px;
}

.home-redesign .code-mockup {
  border: 1px solid #233255;
  box-shadow: 0 22px 60px rgba(14, 28, 55, 0.32);
}

.home-redesign .about-float {
  border-radius: 16px;
  border: 1px solid #dde6fa;
  box-shadow: 0 12px 28px rgba(20, 42, 84, 0.12);
}

.home-redesign .about-text .lead {
  color: #445271;
}

.home-redesign .ai-row {
  border-radius: 15px;
  border: 1px solid #e2e8f7;
  background: #ffffff;
}

.home-redesign .process-row {
  gap: 18px;
}

.home-redesign .pcard {
  border: 1px solid #dbe4f7;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 35, 70, 0.08);
}

.home-redesign .pcard:hover {
  transform: translateY(-8px);
}

.home-redesign .pc-n {
  font-family: "Sora", "Inter", sans-serif;
  color: #e8edf9;
}

.home-redesign .pc-i {
  background: linear-gradient(130deg, #17294f, #324d88);
  color: #ffffff;
}

.home-redesign .courses-section {
  background: transparent;
}

.home-redesign .courses-grid {
  gap: 20px;
}

.home-redesign .ccard {
  border-radius: 20px;
  border: 1px solid #dce4f6;
  box-shadow: 0 16px 34px rgba(20, 42, 84, 0.08);
}

.home-redesign .ccard-top {
  min-height: 110px;
}

.home-redesign .clevel {
  top: 14px;
  right: 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.home-redesign .ccard-body h3 {
  color: #18294e;
  font-size: 1.05rem;
}

.home-redesign .cprice {
  color: #0f2447;
}

.home-redesign .cpill {
  background: linear-gradient(120deg, var(--home-accent), var(--home-accent-2));
}

.home-redesign .syllabus-preview {
  border-top: 1px solid #e1e8f8;
  border-bottom: 1px solid #e1e8f8;
  background:
    radial-gradient(520px 280px at 18% 14%, rgba(76, 128, 255, 0.09), transparent 70%),
    linear-gradient(135deg, rgba(255, 85, 55, 0.05), rgba(255, 126, 78, 0.03));
}

.home-redesign .syllabus-preview [style*="background:#fff;border-radius:12px"] {
  border-radius: 18px !important;
  border-color: #dae3f7 !important;
  box-shadow: 0 16px 35px rgba(18, 36, 72, 0.08);
}

.home-redesign .batch-preview {
  background: transparent !important;
}

.home-redesign .batch-preview table {
  border: 1px solid #dde5f6;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(17, 34, 64, 0.08);
}

.home-redesign .batch-preview thead tr {
  background: linear-gradient(120deg, #1a2d5a, #2f4b8a) !important;
}

.home-redesign .batch-preview tbody tr:hover {
  background: #f7faff;
}

.home-redesign .partners-band {
  margin: 8px auto 36px;
  max-width: 1220px;
  border: 1px solid #dee6f7;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(15, 34, 64, 0.08);
  background: #ffffff;
}

.home-redesign .cta-section {
  margin: 0 auto 30px;
  max-width: 1220px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(460px 280px at 20% 24%, rgba(255, 140, 92, 0.24), transparent 70%),
    linear-gradient(125deg, #0f1a34, #1a2f5f 58%, #2d4f91);
  box-shadow: var(--home-glow);
}

.home-redesign .cta-inner h2 {
  font-family: "Sora", "Inter", sans-serif;
}

.home-redesign .cta-note {
  color: #b6c4e6;
}

.home-redesign .cta-section .btn-outline-dark {
  color: #f6f8ff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.home-redesign .cta-section .btn-outline-dark:hover {
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 1040px) {
  .home-redesign .hero {
    margin: 14px 14px 26px;
    border-radius: 24px;
    min-height: auto;
    padding-bottom: 38px;
  }

  .home-redesign .hero-inner {
    padding: 0 26px;
  }

  .home-redesign .section {
    padding: 72px 18px;
  }
}

@media (max-width: 820px) {
  .home-redesign .hero-fluid {
    width: 94vw;
    right: -180px;
    top: -80px;
    opacity: 0.62;
  }

  .home-redesign .hero-scroll-hint {
    display: none;
  }

  .home-redesign .ticker-strip,
  .home-redesign .stats-section,
  .home-redesign .partners-band,
  .home-redesign .cta-section {
    margin-left: 10px;
    margin-right: 10px;
  }

  .home-redesign .stats-section {
    border-radius: 18px;
    padding: 26px 14px;
  }

  .home-redesign .stat-block {
    min-width: 140px;
    padding: 14px 10px;
  }
}

@media (max-width: 640px) {
  .home-redesign .hero {
    margin: 10px;
    border-radius: 20px;
    padding-top: 110px;
  }

  .home-redesign .hero.has-video-bg {
    margin: 0 0 24px;
    border-radius: 0;
  }

  .home-redesign .hero-inner {
    padding: 0 16px;
  }

  .home-redesign .hero-text h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .home-redesign .hero-sub {
    font-size: 0.97rem;
  }

  .home-redesign .section {
    padding: 60px 12px;
  }

  .home-redesign .section-head h2 {
    font-size: 1.8rem;
  }
}
