/* =========================================================
   SNK IT INSTITUTE — STUDENT PORTAL
   Step 1.19.1
   FULL style.css
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
  --bg-main: #070b18;
  --bg-secondary: #0b1020;
  --bg-card: rgba(16, 23, 43, 0.78);
  --bg-card-solid: #11182b;

  --text-main: #f8fafc;
  --text-secondary: #aeb8cc;
  --text-muted: #7e8aa3;

  --primary: #7c3aed;
  --primary-light: #9f67ff;
  --secondary: #06b6d4;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --border: rgba(255, 255, 255, 0.09);
  --border-light: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.42);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --container: 1180px;

  --transition: 0.25s ease;
}


/* =========================================================
   2. LIGHT THEME
========================================================= */

body.light-theme {
  --bg-main: #f6f8fc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-solid: #ffffff;

  --text-main: #101828;
  --text-secondary: #475467;
  --text-muted: #667085;

  --border: rgba(16, 24, 40, 0.09);
  --border-light: rgba(16, 24, 40, 0.14);

  --shadow-sm: 0 8px 25px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 18px 45px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 30px 80px rgba(16, 24, 40, 0.15);
}


/* =========================================================
   3. RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    "Inter",
    "Noto Sans Bengali",
    Arial,
    sans-serif;

  background: var(--bg-main);
  color: var(--text-main);

  line-height: 1.6;

  overflow-x: hidden;

  transition:
    background var(--transition),
    color var(--transition);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}


/* =========================================================
   4. CONTAINER
========================================================= */

.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}


/* =========================================================
   5. HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(7, 11, 24, 0.78);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background var(--transition),
    box-shadow var(--transition);
}

body.light-theme .site-header {
  background: rgba(255, 255, 255, 0.88);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}


/* =========================================================
   6. NAV CONTAINER
========================================================= */

.nav-container {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 22px;
}


/* =========================================================
   7. BRAND
========================================================= */

.brand {
  display: inline-flex;
  align-items: center;

  gap: 11px;

  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  overflow: hidden;

  box-shadow:
    0 8px 24px rgba(124, 58, 237, 0.3);
}

.brand-logo img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  padding: 5px;

  background: #ffffff;
}

.brand-logo.small {
  width: 40px;
  height: 40px;
}

.logo-fallback-text {
  display: none;

  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
}

.logo-fallback .logo-fallback-text {
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 800;

  letter-spacing: -0.2px;
}

.brand-text span {
  margin-top: 4px;

  color: var(--text-muted);

  font-size: 10px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1px;
}


/* =========================================================
   8. MAIN NAV
========================================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 4px;

  flex: 1;

  justify-content: center;
}

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding: 9px 10px;

  color: var(--text-secondary);

  font-size: 12px;
  font-weight: 600;

  border-radius: 10px;

  white-space: nowrap;

  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.nav-link i {
  font-size: 11px;
}

.nav-link:hover {
  color: var(--text-main);

  background: rgba(255, 255, 255, 0.06);

  transform: translateY(-1px);
}

body.light-theme .nav-link:hover {
  background: rgba(16, 24, 40, 0.05);
}

.nav-link.active {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      rgba(124, 58, 237, 0.22),
      rgba(6, 182, 212, 0.13)
    );
}

body.light-theme .nav-link.active {
  color: var(--primary);

  background: rgba(124, 58, 237, 0.08);
}


/* =========================================================
   9. NAV ACTIONS
========================================================= */

.nav-actions {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-shrink: 0;
}

.nav-action-btn,
.nav-icon-btn,
.mobile-menu-btn {
  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.04);

  color: var(--text-secondary);

  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.nav-action-btn {
  min-height: 38px;

  padding: 0 11px;

  display: inline-flex;
  align-items: center;

  gap: 6px;

  border-radius: 10px;

  font-size: 11px;
  font-weight: 700;
}

.nav-icon-btn,
.mobile-menu-btn {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
}

.nav-action-btn:hover,
.nav-icon-btn:hover,
.mobile-menu-btn:hover {
  color: #ffffff;

  background: rgba(124, 58, 237, 0.18);

  border-color: rgba(124, 58, 237, 0.4);

  transform: translateY(-1px);
}

body.light-theme .nav-action-btn:hover,
body.light-theme .nav-icon-btn:hover,
body.light-theme .mobile-menu-btn:hover {
  color: var(--primary);
}


/* =========================================================
   10. LOGIN BUTTON
========================================================= */

.nav-login-btn {
  min-height: 38px;

  padding: 0 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  border-radius: 10px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #5b21b6
    );

  font-size: 11px;
  font-weight: 700;

  box-shadow:
    0 8px 22px rgba(124, 58, 237, 0.22);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.nav-login-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(124, 58, 237, 0.32);
}


/* =========================================================
   11. MOBILE MENU
========================================================= */

.mobile-menu-btn {
  display: none;
}


/* =========================================================
   12. HERO
========================================================= */

.hero-section {
  position: relative;

  min-height: 690px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(124, 58, 237, 0.20),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 35%,
      rgba(6, 182, 212, 0.15),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #070b18 0%,
      #080d1c 100%
    );
}

body.light-theme .hero-section {
  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(124, 58, 237, 0.10),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 35%,
      rgba(6, 182, 212, 0.09),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #f7f9ff,
      #eef3ff
    );
}


/* =========================================================
   13. GALAXY BACKGROUND
========================================================= */

.galaxy-bg {
  position: absolute;
  inset: 0;

  pointer-events: none;

  overflow: hidden;
}

.galaxy-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(5px);

  opacity: 0.7;

  animation:
    galaxyFloat 8s ease-in-out infinite alternate;
}

.glow-one {
  width: 420px;
  height: 420px;

  top: -170px;
  left: -80px;

  background:
    radial-gradient(
      circle,
      rgba(124, 58, 237, 0.28),
      transparent 68%
    );
}

.glow-two {
  width: 500px;
  height: 500px;

  right: -180px;
  top: 70px;

  background:
    radial-gradient(
      circle,
      rgba(6, 182, 212, 0.22),
      transparent 68%
    );

  animation-delay: -2s;
}

.glow-three {
  width: 350px;
  height: 350px;

  bottom: -180px;
  left: 40%;

  background:
    radial-gradient(
      circle,
      rgba(168, 85, 247, 0.18),
      transparent 70%
    );

  animation-delay: -4s;
}


/* =========================================================
   14. GALAXY STARS
========================================================= */

.galaxy-star {
  position: absolute;

  width: 2px;
  height: 2px;

  border-radius: 50%;

  background: #ffffff;

  opacity: 0.55;

  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.8);

  animation:
    starTwinkle 3s ease-in-out infinite;
}

.star-1 {
  top: 14%;
  left: 8%;
}

.star-2 {
  top: 24%;
  left: 23%;

  animation-delay: -1s;
}

.star-3 {
  top: 12%;
  right: 26%;

  animation-delay: -2s;
}

.star-4 {
  top: 42%;
  right: 8%;

  animation-delay: -0.5s;
}

.star-5 {
  bottom: 22%;
  left: 14%;

  animation-delay: -1.5s;
}

.star-6 {
  bottom: 12%;
  right: 20%;

  animation-delay: -2.5s;
}

.star-7 {
  top: 62%;
  left: 40%;

  animation-delay: -1.2s;
}

.star-8 {
  top: 34%;
  left: 54%;

  animation-delay: -0.8s;
}

.star-9 {
  bottom: 30%;
  right: 42%;

  animation-delay: -2.2s;
}

.star-10 {
  top: 18%;
  right: 45%;

  animation-delay: -1.8s;
}


/* =========================================================
   15. ORBITS
========================================================= */

.galaxy-orbit {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.05);

  border-radius: 50%;

  transform: rotate(-20deg);
}

.orbit-one {
  width: 700px;
  height: 290px;

  right: -200px;
  top: 100px;

  animation:
    orbitRotate 18s linear infinite;
}

.orbit-two {
  width: 540px;
  height: 220px;

  right: -120px;
  top: 145px;

  animation:
    orbitRotate 24s linear infinite reverse;
}


/* =========================================================
   16. HERO CONTAINER
========================================================= */

.hero-container {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(350px, 0.85fr);

  align-items: center;

  gap: 70px;

  padding-top: 65px;
  padding-bottom: 65px;
}


/* =========================================================
   17. HERO CONTENT
========================================================= */

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding: 8px 13px;

  margin-bottom: 22px;

  border: 1px solid rgba(124, 58, 237, 0.25);

  border-radius: 999px;

  background:
    rgba(124, 58, 237, 0.10);

  color: #c8b5ff;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--success);

  box-shadow:
    0 0 12px rgba(34, 197, 94, 0.7);
}

.hero-content h1 {
  max-width: 760px;

  margin-bottom: 22px;

  font-size: clamp(46px, 6vw, 78px);

  line-height: 0.98;

  letter-spacing: -3.5px;

  font-weight: 800;
}

.hero-content h1 span {
  display: inline-block;

  background:
    linear-gradient(
      135deg,
      #a78bfa,
      #22d3ee
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-description {
  max-width: 650px;

  margin-bottom: 26px;

  color: var(--text-secondary);

  font-size: 16px;

  line-height: 1.8;
}


/* =========================================================
   18. CLASS NOTICE
========================================================= */

.class-start-notice {
  max-width: 550px;

  display: flex;
  align-items: center;

  gap: 13px;

  padding: 14px 16px;

  margin-bottom: 20px;

  border: 1px solid rgba(34, 197, 94, 0.18);

  border-radius: 15px;

  background:
    rgba(34, 197, 94, 0.06);
}

.notice-icon {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 12px;

  background:
    rgba(34, 197, 94, 0.12);

  color: var(--success);
}

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

.notice-content strong {
  color: var(--text-main);

  font-size: 13px;
}

.notice-content span {
  margin-top: 2px;

  color: var(--text-secondary);

  font-size: 12px;
}


/* =========================================================
   19. COUNTDOWN
========================================================= */

.countdown-box {
  max-width: 550px;

  padding: 16px;

  margin-bottom: 26px;

  border: 1px solid var(--border);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.025);

  backdrop-filter: blur(10px);
}

.countdown-box.course-started {
  border-color:
    rgba(34, 197, 94, 0.2);

  background:
    rgba(34, 197, 94, 0.04);
}

.countdown-title {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 11px;

  color: var(--text-secondary);

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.countdown-title i {
  color: var(--secondary);
}

.countdown {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 8px;
}

.count-item {
  padding: 10px;

  text-align: center;

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.04);

  border: 1px solid var(--border);
}

.count-item strong {
  display: block;

  color: var(--text-main);

  font-size: 22px;
  font-weight: 800;

  line-height: 1;
}

.count-item span {
  display: block;

  margin-top: 5px;

  color: var(--text-muted);

  font-size: 9px;
  font-weight: 700;

  text-transform: uppercase;
}


/* =========================================================
   20. BUTTONS
========================================================= */

.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;

  gap: 11px;

  flex-wrap: wrap;
}

.btn {
  min-height: 46px;

  padding: 0 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border: 1px solid transparent;

  border-radius: 12px;

  font-size: 12px;
  font-weight: 700;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

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

.btn-primary {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #5b21b6
    );

  box-shadow:
    0 10px 28px rgba(124, 58, 237, 0.24);
}

.btn-primary:hover {
  box-shadow:
    0 15px 35px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
  color: var(--text-main);

  background:
    rgba(255, 255, 255, 0.045);

  border-color: var(--border-light);
}

.btn-secondary:hover {
  background:
    rgba(255, 255, 255, 0.08);
}


/* =========================================================
   21. HERO STUDENT CARD
========================================================= */

.hero-visual {
  display: flex;
  justify-content: center;

  perspective: 1000px;
}

.student-card {
  position: relative;

  width: min(100%, 400px);

  padding: 24px;

  border: 1px solid rgba(255, 255, 255, 0.10);

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(24, 31, 55, 0.92),
      rgba(11, 16, 32, 0.88)
    );

  box-shadow:
    var(--shadow-lg);

  overflow: hidden;

  transform:
    rotateY(-5deg)
    rotateX(2deg);

  transition:
    transform 0.45s ease;
}

.student-card:hover {
  transform:
    rotateY(0)
    rotateX(0)
    translateY(-6px);
}

.student-card::before {
  content: "";

  position: absolute;

  width: 230px;
  height: 230px;

  top: -130px;
  right: -80px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(124, 58, 237, 0.35),
      transparent 68%
    );
}

.student-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  bottom: -120px;
  left: -70px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(6, 182, 212, 0.20),
      transparent 68%
    );
}

.student-card-top,
.student-card-info,
.student-course-box,
.student-card-footer {
  position: relative;
  z-index: 2;
}

.student-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 20px;
}

.portal-icon {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background:
    rgba(124, 58, 237, 0.14);

  color: #b69cff;
}

.active-status {
  display: inline-flex;
  align-items: center;

  gap: 6px;

  padding: 6px 9px;

  border-radius: 999px;

  color: #86efac;

  background:
    rgba(34, 197, 94, 0.08);

  border: 1px solid rgba(34, 197, 94, 0.15);

  font-size: 10px;
  font-weight: 700;
}

.active-status span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--success);
}

.student-avatar {
  display: flex;
  justify-content: center;

  margin-bottom: 17px;
}

.avatar-ring {
  width: 105px;
  height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #d8ccff;

  font-size: 38px;

  background:
    linear-gradient(
      145deg,
      rgba(124, 58, 237, 0.28),
      rgba(6, 182, 212, 0.14)
    );

  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 0 8px rgba(124, 58, 237, 0.05),
    0 15px 40px rgba(0, 0, 0, 0.25);
}

.student-card-info {
  text-align: center;

  margin-bottom: 20px;
}

.student-label {
  display: block;

  margin-bottom: 5px;

  color: var(--text-muted);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 1.5px;
}

.student-card-info h2 {
  font-size: 24px;

  line-height: 1.2;

  font-weight: 800;
}

.student-card-info p {
  margin-top: 4px;

  color: var(--text-secondary);

  font-size: 11px;
}

.student-course-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 14px;

  margin-bottom: 15px;

  border: 1px solid var(--border);

  border-radius: 15px;

  background:
    rgba(255, 255, 255, 0.04);
}

.student-course-box div {
  min-width: 0;
}

.student-course-box span {
  display: block;

  color: var(--text-muted);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 1px;
}

.student-course-box strong {
  display: block;

  margin-top: 4px;

  color: var(--text-main);

  font-size: 12px;
}

.student-course-box > i {
  color: var(--secondary);

  font-size: 19px;
}

.student-card-footer {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 8px;
}

.student-card-footer > div {
  padding: 10px;

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.035);
}

.student-card-footer span {
  display: block;

  color: var(--text-muted);

  font-size: 8px;
}

.student-card-footer strong {
  display: block;

  margin-top: 3px;

  color: var(--text-main);

  font-size: 10px;
}


/* =========================================================
   22. SECTION COMMON
========================================================= */

.quick-access-section,
.course-section,
.features-section,
.cta-section {
  padding: 90px 0;
}

.quick-access-section,
.features-section {
  background: var(--bg-main);
}

.course-section {
  background:
    linear-gradient(
      180deg,
      var(--bg-secondary),
      var(--bg-main)
    );
}

.section-heading {
  max-width: 650px;

  margin-bottom: 38px;
}

.section-kicker {
  display: inline-block;

  margin-bottom: 10px;

  color: var(--secondary);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 9px;

  font-size: clamp(30px, 4vw, 44px);

  line-height: 1.1;

  letter-spacing: -1.5px;
}

.section-heading p {
  color: var(--text-secondary);

  font-size: 14px;
}


/* =========================================================
   23. QUICK ACCESS GRID
========================================================= */

.access-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 14px;
}

.access-card {
  position: relative;

  min-height: 145px;

  padding: 20px;

  display: flex;
  flex-direction: column;

  justify-content: space-between;

  gap: 20px;

  border: 1px solid var(--border);

  border-radius: 18px;

  background: var(--bg-card);

  backdrop-filter: blur(12px);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.access-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(124, 58, 237, 0.35);

  box-shadow: var(--shadow-md);

  background:
    rgba(124, 58, 237, 0.07);
}

.access-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background:
    rgba(124, 58, 237, 0.12);

  color: #b69cff;

  font-size: 17px;
}

.access-card h3 {
  margin-bottom: 3px;

  font-size: 14px;
  font-weight: 800;
}

.access-card p {
  color: var(--text-muted);

  font-size: 11px;
}

.card-arrow {
  position: absolute;

  right: 17px;
  bottom: 17px;

  color: var(--text-muted);

  font-size: 11px;

  transition:
    transform var(--transition),
    color var(--transition);
}

.access-card:hover .card-arrow {
  color: var(--secondary);

  transform: translateX(4px);
}


/* =========================================================
   24. COURSE SECTION
========================================================= */

.course-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(320px, 0.8fr);

  gap: 60px;

  align-items: center;
}

.course-content h2 {
  max-width: 700px;

  margin-bottom: 14px;

  font-size: clamp(32px, 4vw, 50px);

  line-height: 1.08;

  letter-spacing: -1.8px;
}

.course-content > p {
  max-width: 650px;

  margin-bottom: 28px;

  color: var(--text-secondary);

  font-size: 14px;

  line-height: 1.8;
}

.course-meta-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 11px;

  margin-bottom: 28px;
}

.course-meta-item {
  display: flex;
  align-items: center;

  gap: 11px;

  padding: 13px;

  border: 1px solid var(--border);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.025);
}

.course-meta-item > i {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  color: var(--secondary);

  background:
    rgba(6, 182, 212, 0.08);

  font-size: 13px;
}

.course-meta-item span {
  display: block;

  color: var(--text-muted);

  font-size: 9px;
}

.course-meta-item strong {
  display: block;

  margin-top: 2px;

  color: var(--text-main);

  font-size: 11px;
}


/* =========================================================
   25. PROGRESS CARD
========================================================= */

.course-progress-card {
  padding: 25px;

  border: 1px solid var(--border);

  border-radius: 23px;

  background:
    linear-gradient(
      145deg,
      rgba(124, 58, 237, 0.10),
      rgba(6, 182, 212, 0.05)
    );

  box-shadow: var(--shadow-md);
}

.progress-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 24px;
}

.progress-card-header span {
  display: block;

  color: var(--text-muted);

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 1px;
}

.progress-card-header h3 {
  margin-top: 5px;

  font-size: 38px;
  font-weight: 800;

  line-height: 1;
}

.progress-icon {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background:
    rgba(124, 58, 237, 0.13);

  color: #b69cff;
}

.progress-track {
  width: 100%;
  height: 9px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.07);
}

.progress-fill {
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--secondary)
    );

  transition:
    width 0.6s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;

  margin-top: 10px;

  color: var(--text-muted);

  font-size: 10px;
}

.progress-info strong {
  color: var(--text-secondary);
}

.course-start-mini {
  display: flex;
  align-items: center;

  gap: 11px;

  padding: 13px;

  margin-top: 22px;

  border-radius: 14px;

  background:
    rgba(34, 197, 94, 0.06);

  border: 1px solid rgba(34, 197, 94, 0.13);
}

.course-start-mini > i {
  color: var(--success);
}

.course-start-mini span {
  display: block;

  color: var(--text-muted);

  font-size: 9px;
}

.course-start-mini strong {
  display: block;

  margin-top: 2px;

  color: var(--text-main);

  font-size: 11px;
}


/* =========================================================
   26. FEATURES
========================================================= */

.features-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 14px;
}

.feature-card {
  padding: 22px;

  border: 1px solid var(--border);

  border-radius: 18px;

  background:
    var(--bg-card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(6, 182, 212, 0.30);

  box-shadow: var(--shadow-md);
}

.feature-card > i {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 17px;

  border-radius: 12px;

  color: var(--secondary);

  background:
    rgba(6, 182, 212, 0.08);
}

.feature-card h3 {
  margin-bottom: 5px;

  font-size: 14px;
  font-weight: 800;
}

.feature-card p {
  color: var(--text-muted);

  font-size: 11px;

  line-height: 1.6;
}


/* =========================================================
   27. CTA
========================================================= */

.cta-section {
  background:
    linear-gradient(
      180deg,
      var(--bg-main),
      var(--bg-secondary)
    );
}

.cta-card {
  position: relative;

  padding: 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  overflow: hidden;

  border: 1px solid var(--border);

  border-radius: 26px;

  background:
    linear-gradient(
      135deg,
      rgba(124, 58, 237, 0.14),
      rgba(6, 182, 212, 0.07)
    );
}

.cta-card::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  right: -100px;
  top: -130px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(124, 58, 237, 0.28),
      transparent 70%
    );
}

.cta-content,
.cta-actions {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-bottom: 8px;

  font-size: clamp(26px, 4vw, 38px);

  line-height: 1.1;

  letter-spacing: -1px;
}

.cta-content p {
  color: var(--text-secondary);

  font-size: 13px;
}


/* =========================================================
   28. FOOTER
========================================================= */

.site-footer {
  border-top: 1px solid var(--border);

  background: #050812;
}

body.light-theme .site-footer {
  background: #101828;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    1fr;

  gap: 40px;

  padding-top: 65px;
  padding-bottom: 55px;
}

.footer-brand p {
  max-width: 300px;

  margin-top: 15px;

  color: #8d98ae;

  font-size: 12px;

  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.footer-links h3 {
  margin-bottom: 7px;

  color: #ffffff;

  font-size: 12px;
  font-weight: 800;
}

.footer-links a {
  color: #8994a9;

  font-size: 11px;

  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-links a:hover {
  color: #ffffff;

  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
  min-height: 65px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
}

.footer-bottom p {
  color: #6f7b91;

  font-size: 10px;
}


/* =========================================================
   29. TOAST
========================================================= */

.toast-container {
  position: fixed;

  right: 20px;
  bottom: 20px;

  z-index: 3000;

  display: flex;
  flex-direction: column;

  gap: 10px;
}

.toast {
  min-width: 260px;
  max-width: 360px;

  padding: 13px 15px;

  display: flex;
  align-items: center;

  gap: 10px;

  border: 1px solid var(--border);

  border-radius: 13px;

  background:
    rgba(17, 24, 43, 0.95);

  color: #ffffff;

  box-shadow: var(--shadow-md);

  animation:
    toastIn 0.3s ease;
}

.toast.success {
  border-color:
    rgba(34, 197, 94, 0.25);
}

.toast.error {
  border-color:
    rgba(239, 68, 68, 0.25);
}

.toast i {
  color: var(--secondary);
}

.toast.success i {
  color: var(--success);
}

.toast.error i {
  color: var(--danger);
}


/* =========================================================
   30. MODAL
========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;

  z-index: 2500;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, 0.72);

  backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;

  width: min(100%, 430px);

  padding: 32px;

  text-align: center;

  border: 1px solid var(--border-light);

  border-radius: 24px;

  background:
    var(--bg-card-solid);

  box-shadow: var(--shadow-lg);

  transform: translateY(15px) scale(0.97);

  transition:
    transform var(--transition);
}

.modal-overlay.show .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;

  top: 15px;
  right: 15px;

  width: 34px;
  height: 34px;

  border: 1px solid var(--border);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.04);

  color: var(--text-secondary);
}

.modal-icon {
  width: 60px;
  height: 60px;

  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background:
    rgba(124, 58, 237, 0.12);

  color: var(--primary-light);

  font-size: 22px;
}

.modal-card h2 {
  margin-bottom: 8px;

  font-size: 22px;
}

.modal-card > p {
  margin-bottom: 22px;

  color: var(--text-secondary);

  font-size: 12px;
}

.modal-actions {
  display: flex;

  justify-content: center;

  gap: 10px;

  flex-wrap: wrap;
}


/* =========================================================
   31. ANIMATIONS
========================================================= */

@keyframes galaxyFloat {

  from {
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  to {
    transform:
      translate3d(20px, -15px, 0)
      scale(1.06);
  }

}

@keyframes starTwinkle {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.4);
  }

}

@keyframes orbitRotate {

  from {
    transform:
      rotate(-20deg)
      translateY(0);
  }

  to {
    transform:
      rotate(340deg)
      translateY(0);
  }

}

@keyframes toastIn {

  from {
    opacity: 0;

    transform:
      translateY(12px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}


/* =========================================================
   32. SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(25px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* =========================================================
   33. MOBILE — 1100px
========================================================= */

@media (max-width: 1100px) {

  .main-nav {
    gap: 1px;
  }

  .nav-link {
    padding-inline: 7px;

    font-size: 11px;
  }

  .nav-link i {
    display: none;
  }

  .hero-container {
    gap: 45px;
  }

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

}


/* =========================================================
   34. TABLET — 900px
========================================================= */

@media (max-width: 900px) {

  .nav-container {
    min-height: 68px;
  }

  .main-nav {
    position: absolute;

    top: calc(100% + 1px);
    left: 20px;
    right: 20px;

    display: none;

    flex-direction: column;

    align-items: stretch;

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 16px;

    background:
      rgba(10, 15, 30, 0.97);

    box-shadow: var(--shadow-md);

    backdrop-filter: blur(18px);
  }

  body.light-theme .main-nav {
    background:
      rgba(255, 255, 255, 0.97);
  }

  .main-nav.mobile-open {
    display: flex;
  }

  .nav-link {
    width: 100%;

    padding: 12px 13px;

    justify-content: flex-start;

    font-size: 12px;
  }

  .nav-link i {
    display: inline-block;

    width: 18px;

    text-align: center;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-container,
  .course-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .student-card {
    max-width: 430px;
  }

  .access-grid,
  .features-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   35. MOBILE — 600px
========================================================= */

@media (max-width: 600px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text span {
    font-size: 8px;
  }

  .nav-action-btn span {
    display: none;
  }

  .nav-action-btn {
    width: 38px;
    padding: 0;

    justify-content: center;
  }

  .nav-login-btn span {
    display: none;
  }

  .nav-login-btn {
    width: 38px;
    padding: 0;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-container {
    padding-top: 55px;
    padding-bottom: 55px;

    gap: 40px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 14vw, 62px);

    letter-spacing: -2.5px;
  }

  .hero-description {
    font-size: 13px;
  }

  .class-start-notice {
    align-items: flex-start;
  }

  .countdown {
    gap: 5px;
  }

  .count-item {
    padding: 8px 4px;
  }

  .count-item strong {
    font-size: 18px;
  }

  .count-item span {
    font-size: 7px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .student-card {
    padding: 20px;

    border-radius: 22px;

    transform: none;
  }

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

  .quick-access-section,
  .course-section,
  .features-section,
  .cta-section {
    padding: 65px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .access-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .course-content h2 {
    font-size: 34px;
  }

  .course-meta-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 28px 22px;

    flex-direction: column;

    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-bottom-inner {
    padding: 18px 0;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
  }

  .toast-container {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }

}


/* =========================================================
   36. VERY SMALL MOBILE — 380px
========================================================= */

@media (max-width: 380px) {

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 12px;
  }

  .nav-actions {
    gap: 4px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

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

  .student-card-footer > div {
    display: flex;

    align-items: center;
    justify-content: space-between;
  }

}


/* =========================================================
   37. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}


/* =========================================================
   38. PRINT
========================================================= */

@media print {

  .site-header,
  .nav-actions,
  .main-nav,
  .hero-actions,
  .cta-section,
  .toast-container,
  .modal-overlay {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .hero-section,
  .quick-access-section,
  .course-section,
  .features-section {
    background: #ffffff !important;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-container {
    padding: 30px 0;
  }

  .student-card,
  .access-card,
  .feature-card,
  .course-progress-card {
    box-shadow: none !important;
    color: #000000 !important;
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
  }

}


/* =========================================================
   39. UTILITY
========================================================= */

.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden !important;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}
```
