:root {
  --navy: #07152f;
  --navy-2: #0f172a;
  --blue: #2563eb;
  --cyan: #00c2ff;
  --purple: #8b5cf6;
  --green: #22c55e;
  --white: #ffffff;
  --muted: #64748b;
  --light: #f8fafc;
  --line: #e5e7eb;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--navy-2);
  background: var(--white);
  line-height: 1.6;
}

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

.navbar {
  width: 100%;
  padding: 22px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  z-index: 10;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--blue), var(--cyan));
  box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
}

.brand h1 {
  font-size: 1.25rem;
  letter-spacing: .12em;
  font-weight: 900;
}

.brand p {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600;
}

.menu {
  display: flex;
  gap: 28px;
  font-weight: 700;
  color: #334155;
  font-size: .95rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.login {
  padding: 10px 18px;
}

.signup, .primary-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
  display: inline-block;
}

.secondary-btn {
  border: 1px solid rgba(15, 23, 42, .15);
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 800;
  display: inline-block;
  background: white;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding: 90px 6%;
  background:
    radial-gradient(circle at 90% 20%, rgba(37, 99, 235, .20), transparent 34%),
    radial-gradient(circle at 85% 50%, rgba(0, 194, 255, .12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pill {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37,99,235,.08);
  font-size: .85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 22px;
}

.hero h2 {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: .95;
  letter-spacing: -0.07em;
  max-width: 820px;
  margin-bottom: 26px;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 650px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 680px;
}

.quick-stats div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

.quick-stats strong {
  display: block;
  font-size: 1.25rem;
  color: var(--blue);
}

.quick-stats span {
  font-size: .9rem;
  color: var(--muted);
}

.hero-card {
  min-height: 500px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #07152f, #0f2a55);
  border-radius: 42px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  top: -100px;
  right: -70px;
}

.course-card {
  width: min(420px, 88%);
  background: rgba(255,255,255,.96);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 24px;
}

.card-top strong {
  color: var(--navy);
}

.progress-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
  background:
    radial-gradient(white 55%, transparent 57%),
    conic-gradient(var(--blue) 68%, #dbeafe 0);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.skill-grid div {
  background: #f8fafc;
  border-radius: 16px;
  padding: 14px;
  font-weight: 700;
  font-size: .9rem;
}

.course-card button {
  width: 100%;
  border: none;
  padding: 15px;
  border-radius: 16px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.section {
  padding: 90px 6%;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading span,
.download-box span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}

.section-heading h2,
.download-box h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin: 12px 0;
}

.section-heading p,
.download-box p {
  color: var(--muted);
  font-size: 1.08rem;
}

.language-grid,
.features-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
}

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

.language-grid article,
.features-grid article,
.plan {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  background: white;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.language-grid article {
  text-align: center;
  font-size: 2.4rem;
}

.language-grid h3 {
  font-size: 1.2rem;
  margin-top: 12px;
}

.language-grid p,
.features-grid p,
.plan li {
  color: var(--muted);
}

.dark {
  background: var(--navy);
  color: white;
}

.dark .section-heading p {
  color: #cbd5e1;
}

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

.features-grid article {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.features-grid h3 {
  margin-bottom: 10px;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  align-items: stretch;
}

.plan {
  position: relative;
}

.plan h3 {
  font-size: 1.6rem;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  margin: 16px 0;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  margin: 24px 0;
}

.plan li {
  margin-bottom: 12px;
}

.plan li:before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 10px;
}

.premium-plan {
  border: 2px solid var(--blue);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #dbeafe;
  color: var(--blue);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
}

.download-box {
  border-radius: 36px;
  background: linear-gradient(135deg, #07152f, #123c85, #2563eb);
  color: white;
  padding: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow);
}

.download-box p {
  color: #dbeafe;
  max-width: 620px;
}

.download-box .primary-btn {
  background: white;
  color: var(--blue);
  flex: none;
}

.app-section {
  background: #f8fafc;
}

footer {
  padding: 48px 6%;
  text-align: center;
  background: var(--navy);
  color: white;
}

footer strong {
  letter-spacing: .16em;
  font-size: 1.2rem;
}

footer p {
  margin: 8px 0;
  color: #cbd5e1;
}

footer small {
  color: #94a3b8;
}

@media (max-width: 980px) {
  .menu, .nav-actions {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .quick-stats,
  .language-grid,
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .download-box {
    flex-direction: column;
    text-align: center;
  }
}
