/* =====================================================
   MANAVTACLASS LANDING PAGE
   COMPLETE CSS
===================================================== */

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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #60a5fa;
  --dark: #222222;
  --gray: #777777;
  --light: #f7f9fc;
  --cream: #eff6ff;
  --border: #e5eaf2;
}

/* =====================================================
   HTML / BODY
===================================================== */

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #eeeeee;
  color: var(--dark);
  overflow: hidden;
}

/* =====================================================
   MAIN PAGE
===================================================== */

.page {
  width: 100%;
  max-width: 1450px;
  height: 100vh;
  margin: auto;
  display: grid;
  grid-template-columns: 48% 52%;
  background: white;
}

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

.hero {
  position: relative;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 80% 20%,
      rgba(147, 197, 253, 0.30),
      transparent 28%),
    linear-gradient(135deg,
      #1d4ed8,
      #2563eb,
      #3b82f6);
}

/* =====================================================
   LEFT SIDE OWN SCROLL
===================================================== */

.hero-scroll {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  padding-bottom: 70px;
}

.hero-scroll::-webkit-scrollbar {
  width: 7px;
}

.hero-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.12);
}

.hero-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 10px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* =====================================================
   LOGO
===================================================== */

.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.logo span {
  color: #bfdbfe;
}

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

.hero-badge {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 800;
}

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

.hero h1 {
  margin-top: 20px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.97;
  letter-spacing: -2px;
}

.hero h1 span {
  color: #dbeafe;
}

.hero-description {
  max-width: 600px;
  margin-top: 20px;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.93);
}

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

.hero-features {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  margin-bottom: 35px;
}

.hero-feature {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 600;
}

.hero-feature span {
  margin-right: 8px;
  color: #bfdbfe;
}

/* =====================================================
   EVERYTHING A STUDENT NEEDS
===================================================== */

.benefits-section {
  margin-top: 25px;
  margin-bottom: 35px;
}

.benefits-section>h3 {
  margin-bottom: 13px;
  font-size: 22px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.benefit-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.benefit-icon {
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.benefit-card h4 {
  margin-bottom: 3px;
  font-size: 13px;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.35;
}

/* =====================================================
   LEARNING SYSTEM
===================================================== */

.learning-system {
  padding: 17px;
  margin-bottom: 35px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.learning-system h3 {
  margin-bottom: 13px;
  font-size: 16px;
}

.learning-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.learning-steps div {
  text-align: center;
}

.learning-steps span,
.learning-steps strong,
.learning-steps small {
  display: block;
}

.learning-steps span {
  color: #bfdbfe;
  font-size: 9px;
  font-weight: 900;
}

.learning-steps strong {
  margin: 3px 0;
  font-size: 11px;
}

.learning-steps small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
}

/* =====================================================
   EXPERIENCE
===================================================== */

.experience-section {
  margin-bottom: 45px;
}

.experience-label {
  color: #bfdbfe;
  font-size: 9px;
  font-weight: 900;
}

.experience-section>h3 {
  margin-top: 5px;
  margin-bottom: 14px;
  font-size: 21px;
}

.experience-card {
  display: flex;
  gap: 11px;
  padding: 13px;
  margin-bottom: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
}

.experience-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 900;
}

.experience-card strong {
  font-size: 12px;
}

.experience-card p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.4;
}

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

.hero-bottom {
  position: relative;
  bottom: 0;
  z-index: 50;
  left: 0;
  width: 100%;
  padding: 21px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

/* =====================================================
   RIGHT COURSE PANEL
===================================================== */

.course-section {
  position: relative;
  min-width: 0;
  height: 100vh;
  background: white;
  overflow: hidden;
}

/* =====================================================
   RIGHT SIDE OWN SCROLL
===================================================== */

.course-scroll {
  height: calc(100vh - 105px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px 40px 45px;
  scrollbar-width: thin;
}

.course-scroll::-webkit-scrollbar {
  width: 7px;
}

.course-scroll::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.course-scroll::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 10px;
}

/* =====================================================
   COURSE HEADER
===================================================== */

.course-header {
  margin-bottom: 18px;
}

.brand-label {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.course-header h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
}

.course-subtitle {
  margin-top: 8px;
  color: #888;
  font-size: 13px;
}

/* =====================================================
   CLASS SELECTOR
===================================================== */

.quick-class-selector {
  margin-bottom: 18px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  box-shadow:
    0 5px 18px rgba(0, 0, 0, 0.06);
}

.quick-class-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 11px;
}

.quick-class-title>div {
  font-size: 19px;
  font-weight: 900;
}

.quick-class-title small {
  color: #999;
  font-size: 10px;
}

.fire-icon {
  margin-right: 3px;
}

/* =====================================================
   CLASS GRID
===================================================== */

.class-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.class-button {
  min-height: 54px;
  border: 2px solid #93c5fd;
  border-bottom-width: 5px;
  border-radius: 10px;
  background:
    linear-gradient(#dbeafe,
      #bfdbfe);
  color: #1e40af;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
}

.class-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 5px 12px rgba(37, 99, 235, 0.18);
}

.class-button.active {
  color: white;
  border-color: #1d4ed8;
  background:
    linear-gradient(#3b82f6,
      #1d4ed8);
  box-shadow:
    0 5px 12px rgba(37, 99, 235, 0.25);
}

.selected-class {
  margin-top: 9px;
  padding: 7px;
  text-align: center;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
}

/* =====================================================
   TIMER
===================================================== */

.timer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 35px;
}

.timer-item {
  min-width: 52px;
  padding: 7px 5px;
  text-align: center;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.timer-item strong {
  display: block;
  font-size: 18px;
}

.timer-item span {
  display: block;
  margin-top: 2px;
  color: #999;
  font-size: 7px;
  font-weight: 700;
}

.timer-colon {
  font-size: 20px;
  font-weight: 900;
  color: #999;
}

/* =====================================================
   LEARNING IMAGE
===================================================== */

.learning-image-section {
  margin-top: 20px;
  margin-bottom: 40px;
}

.learning-image-label {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.learning-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   DESKTOP CHECKOUT
===================================================== */

.desktop-checkout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 40px;
  background: rgba(239, 246, 255, 0.98);
  border-top: 1px solid #dbeafe;
  box-shadow:
    0 -8px 25px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   ENROLL BUTTON
===================================================== */

.enroll-button {
  min-height: 55px;
  padding: 0 40px;
  border: none;
  border-radius: 35px;
  background:
    linear-gradient(90deg,
      #3b82f6,
      #1d4ed8);
  color: white;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 7px 18px rgba(37, 99, 235, 0.25);
  transition: 0.18s ease;
}

.enroll-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.enroll-button:disabled {
  background: #cfcfcf;
  color: #eeeeee;
  cursor: not-allowed;
  box-shadow: none;
}

/* =====================================================
   MOBILE CHECKOUT
===================================================== */

.mobile-checkout {
  display: none;
}

.mobile-price {
  min-width: 95px;
}

.mobile-price small {
  display: block;
  color: #888;
  font-size: 9px;
}

.mobile-price strong {
  display: inline-block;
  color: var(--blue);
  font-size: 22px;
}

.mobile-price del {
  display: inline-block;
  margin-left: 4px;
  color: #777;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

/* =====================================================
   TOAST
===================================================== */

.toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 25px;
  transform:
    translate(-50%, 100px);
  padding: 11px 17px;
  border-radius: 9px;
  background: #222;
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform:
    translate(-50%, 0);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

  .page {
    grid-template-columns: auto auto;
  }

  .hero-content {
    padding: 30px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .course-scroll {
    padding: 25px;
  }

  .desktop-checkout {
    padding: 15px 25px;
  }

  .class-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   MOBILE
   ONE CONTINUOUS PAGE
   NO HERO SCROLL
   NO COURSE SCROLL
   COURSE FIXED ABOVE PAYMENT BAR
===================================================== */

@media (max-width: 600px) {

  /* ===================================================
     BODY
  =================================================== */

  body {
    width: 100%;
    background: white;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  /* ===================================================
     ONE CONTINUOUS PAGE
  =================================================== */

  .page {
    display: block;
    width: 100%;
    max-width: none;
    height: 100vh;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
  }

  /* ===================================================
     MOBILE HERO
     NORMAL DOCUMENT FLOW
     NO OWN SCROLL
  =================================================== */

  .hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .hero-scroll {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .hero-content {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  /* ===================================================
     MOBILE LOGO
  =================================================== */

  .logo {
    font-size: 17px;
    margin-bottom: 13px;
  }

  .hero-badge {
    font-size: 7px;
    padding: 6px 10px;
  }

  .hero h1 {
    margin-top: 15px;
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-description {
    margin-top: 13px;
    font-size: 11px;
    line-height: 1.4;
    max-width: 340px;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
    margin-top: 15px;
    margin-bottom: 30px;
  }

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

  .hero-feature span {
    margin-right: 4px;
  }

  /* ===================================================
     MOBILE BENEFITS
  =================================================== */

  .benefits-section {
    margin-bottom: 24px;
  }

  .benefits-section>h3 {
    font-size: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 13px;
  }

  /* ===================================================
     MOBILE LEARNING CYCLE
  =================================================== */

  .learning-system {
    margin-bottom: 25px;
    padding: 15px;
  }

  .learning-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* ===================================================
     MOBILE EXPERIENCE
  =================================================== */

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

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

  .hero-bottom {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 8px;
    margin-bottom: 225px;
  }

  /* ===================================================
     COURSE SECTION
     FIXED DIRECTLY ABOVE PAYMENT BAR
     NO MARGIN
     NO PADDING
     NO SCROLL
  =================================================== */

  .course-section {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 69px;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    background: white;
    overflow: visible;
    z-index: 900;
  }

  /* ===================================================
     COURSE CONTENT
     NO SCROLL
     NO PADDING
     NO MARGIN
  =================================================== */

  .course-scroll {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  /* ===================================================
     COURSE HEADER
  =================================================== */

  .course-header {
    margin: 0;
    padding: 0;
  }

  .brand-label {
    font-size: 8px;
  }

  .course-header h2 {
    font-size: 23px;
  }

  .course-subtitle {
    margin-top: 5px;
    font-size: 10px;
  }

  /* ===================================================
     CLASS SELECTOR
  =================================================== */

  .quick-class-selector {
    position: relative;
    top: auto;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border-radius: 0;
    background: ghostwhite;
    box-shadow:
      0 5px 15px rgba(0, 0, 0, 0.08);
  }

  .quick-class-title {
    margin-bottom: 9px;
    gap: 5px;
  }

  .quick-class-title>div {
    font-size: 17px;
  }

  .quick-class-title small {
    display: none;
  }

  .class-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .class-button {
    min-height: 48px;
    border-radius: 8px;
    border-width: 2px;
    border-bottom-width: 4px;
    font-size: 15px;
  }

  .selected-class {
    margin-top: 6px;
    padding: 5px;
    font-size: 9px;
  }

  /* ===================================================
     MOBILE TIMER
  =================================================== */

  .timer {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 25px;
    gap: 4px;
  }

  .timer-item {
    flex: 1;
    min-width: 0;
    padding: 7px 3px;
  }

  .timer-item strong {
    font-size: 17px;
  }

  .timer-colon {
    font-size: 18px;
  }

  /* ===================================================
     MOBILE IMAGE
  =================================================== */

  .learning-image-section {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .learning-image-label {
    font-size: 8px;
    margin-bottom: 8px;
  }

  .learning-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  /* ===================================================
     DESKTOP CHECKOUT HIDDEN
  =================================================== */

  .desktop-checkout {
    display: none;
  }

  /* ===================================================
     MOBILE CHECKOUT
     FIXED AT VERY BOTTOM
     NO MARGIN
  =================================================== */

  .mobile-checkout {
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 69px;
    min-height: 69px;
    margin: 0;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 246, 255, 0.98);
    border-top: 1px solid #dbeafe;
    box-shadow:
      0 -7px 20px rgba(0, 0, 0, 0.12);
  }

  .mobile-checkout .enroll-button {
    flex: 1;
    min-height: 51px;
    padding: 0;
    font-size: 16px;
  }

  .toast {
    bottom: 90px;
  }
}

/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

  .class-button {
    font-size: 10px;
    min-height: 44px;
  }

  .quick-class-title>div {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .timer-item strong {
    font-size: 15px;
  }

  .timer-colon {
    font-size: 16px;
  }
}

/* =====================================================
   ADDITIONAL LEARNING CONTENT
   FULL WIDTH / NO MARGIN / NO PADDING
===================================================== */

.hero-learning-content {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.hero-learning-content img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

/* =====================================================
   MOBILE LEARNING CONTENT
===================================================== */

@media (max-width: 600px) {

  .hero-learning-content {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
  }

  .hero-learning-content img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
  }
}

/* =====================================================
   SMALL MOBILE LEARNING CONTENT
===================================================== */

@media (max-width: 380px) {

  .hero-learning-content {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero-learning-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
}