:root {
  --bg: #f8f6ff;
  --surface: #ffffff;
  --text: #1f1a2f;
  --muted: #60597a;
  --line: #dcd5ee;
  --brand: #8a80b1;
  --brand-strong: #796ea7;
  --brand-soft: #efeafb;
  --accent: #d3af61;
  --accent-soft: #fbf2df;
  --danger-soft: #fce8ee;
  --purple-soft: #f3edff;
  --footer: #1e1b2e;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;

}

body.landing-page {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(160deg, #f5f1ff 0%, #faf8ff 52%, #f1ecff 100%);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  letter-spacing: -0.02em;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(121, 110, 167, 0.16);
  backdrop-filter: blur(10px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  font-weight: 700;
  font-size: 1.08rem;
  color: #2c2640;
}

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

.login-link,
.signup-link {
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.login-link {
  color: #2c2640;
  border: 1px solid var(--line);
  background: #ffffff;
}

.login-link:hover {
  border-color: #bdb2da;
}

.signup-link {
  color: #ffffff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 24px rgba(121, 110, 167, 0.34);
}

.signup-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

main {
  padding-top: 100px;
}

.hero-section {
  padding: 28px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  margin: 8px 0 0;
  line-height: 1.03;
}

.eyebrow {
  margin: 0;
  color: var(--brand-strong);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.typed-text,
.typed-cursor {
  color: var(--brand);
  font-weight: 700;
}

.hero-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 620px;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 20px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

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

.hero-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 12px 26px rgba(121, 110, 167, 0.35);
}

.hero-btn-primary:hover {
  color: #ffffff;
}

.hero-btn-secondary {
  color: #2c2640;
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-btn-secondary:hover {
  color: #2c2640;
}

.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 670px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(220, 213, 238, 0.9);
  border-radius: 14px;
  padding: 14px 12px;
}

.stat-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--brand-strong);
}

.stat-card p {
  margin: 5px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-panel {
  background: linear-gradient(160deg, #30274b 0%, #4b3c73 100%);
  color: #f0ebff;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 22px 50px rgba(48, 39, 75, 0.34);
}

.panel-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: #c9bfeb;
}

.hero-panel h2 {
  margin: 10px 0 0;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #ffffff;
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  flex-shrink: 0;
}

.focus-list h3 {
  margin: 1px 0 0;
  font-size: 1rem;
  color: #ffffff;
}

.focus-list p {
  margin: 4px 0 0;
  color: #ddd4f8;
  font-size: 0.86rem;
}

.panel-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 600;
}

.panel-link:hover {
  color: #ffffff;
}

.section-block {
  padding: 80px 0 20px;
}

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

.heading-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--brand-strong);
}

.section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 14px;
}

.subject-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px 18px;
  min-height: 185px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(31, 26, 47, 0.11);
}

.subject-card h3 {
  margin: 0;
  font-size: 1.07rem;
}

.subject-card p {
  margin: 10px 0 0;
  font-size: 0.87rem;
  line-height: 1.58;
  color: var(--muted);
  flex: 1;
}

.subject-card a {
  margin-top: 13px;
  color: var(--brand-strong);
  font-weight: 600;
  font-size: 0.88rem;
}

.subject-card a i {
  font-size: 0.8rem;
}

.subject-tech {
  border-top: 4px solid #4f8bd8;
}

.subject-general {
  border-top: 4px solid var(--accent);
}

.subject-brain {
  border-top: 4px solid #7b90c8;
}

.subject-entertainment {
  border-top: 4px solid #d07e93;
}

.subject-custom {
  border-top: 4px solid #a477c2;
}

.subject-creator {
  border-top: 4px solid #16a34a;
}

.features-section .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 16px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.icon-orange {
  color: #b1842f;
  background: var(--accent-soft);
}

.icon-red {
  color: #bf5f77;
  background: var(--danger-soft);
}

.icon-purple {
  color: #7653b0;
  background: var(--purple-soft);
}

.icon-blue {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.feature-card h3 {
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 9px 0 0;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 14px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 16px;
}

.step-number {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-strong);
  padding: 5px 10px;
  background: var(--brand-soft);
  border-radius: 999px;
}

.step-card h3 {
  margin: 12px 0 0;
  font-size: 1.05rem;
}

.step-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta-section {
  padding: 94px 0 86px;
}

.cta-shell {
  background: linear-gradient(135deg, #2f274a 0%, #4b3e72 100%);
  border-radius: 22px;
  padding: 46px 24px;
  color: #ffffff;
}

.cta-shell .heading-tag {
  color: #d7cdf2;
}

.cta-shell h2 {
  margin: 8px auto 0;
  max-width: 680px;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
}

.cta-shell p {
  margin: 13px auto 0;
  max-width: 580px;
  color: #e8e1fb;
}

.cta-shell .hero-btn {
  margin-top: 24px;
}

.site-footer {
  background: var(--footer);
  padding: 20px 0;
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: #cbc4e4;
  font-size: 0.85rem;
}

.site-footer span {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 1190px) {
  .subject-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }

  .features-section .feature-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (max-width: 991px) {
  main {
    padding-top: 90px;
  }

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

  .hero-panel {
    order: -1;
    margin-bottom: 10px;
  }

  .hero-copy h1 {
    max-width: 690px;
  }
}

@media (max-width: 768px) {
  .nav-shell {
    min-height: 70px;
  }

  .brand span {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .login-link,
  .signup-link {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.84rem;
  }

  .hero-section {
    padding-top: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .section-block {
    padding-top: 60px;
  }

  .subject-grid,
  .step-grid,
  .features-section .feature-grid {
    grid-template-columns: 1fr;
  }
  .cta-section {
    padding: 85px 10px;
  }

  .cta-shell {
    padding: 34px 16px;
    border-radius: 18px;
     
}
}
