@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg-main: #05060d;
  --bg-soft: #0e1020;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --text: #f7f8ff;
  --muted: #bec5ea;
  --accent: #8f79ff;
  --accent-2: #30d8ca;
  --accent-3: #ff7cb8;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.62;
  min-height: 100vh;
  background:
    radial-gradient(980px 520px at -10% -10%, rgba(143, 121, 255, 0.22), transparent 62%),
    radial-gradient(760px 460px at 110% 110%, rgba(48, 216, 202, 0.2), transparent 66%),
    linear-gradient(160deg, #04050a 0%, #0b1022 46%, #121736 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

body::before {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: 14%;
  right: 4%;
  background: rgba(255, 124, 184, 0.24);
  animation: floaty 14s ease-in-out infinite alternate;
}

body::after {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  bottom: 8%;
  left: 2%;
  background: rgba(48, 216, 202, 0.2);
  animation: floaty 12s ease-in-out infinite alternate-reverse;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
  margin-top: 0;
}

p,
li {
  color: var(--muted);
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.top-blur {
  position: fixed;
  top: -210px;
  left: 50%;
  transform: translateX(-50%);
  width: 1040px;
  height: 440px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(143, 121, 255, 0.24), rgba(48, 216, 202, 0.2), rgba(255, 124, 184, 0.2));
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 18, 0.78);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(48, 216, 202, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #d4daf6;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(143, 121, 255, 0.2), rgba(48, 216, 202, 0.18));
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.glass,
.feature-card,
.course-card,
.blog-card,
.info-card,
.faq-item,
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(12px);
}

.hero {
  padding: 96px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 121, 255, 0.36), transparent 65%);
}

.hero h1 {
  margin-bottom: 14px;
  line-height: 1.18;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}

.hero .highlight {
  background: linear-gradient(130deg, #f5f6ff 10%, #81fff2 52%, #d0b9ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-badges span {
  font-size: 0.82rem;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.hero-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-media:hover img {
  transform: scale(1.06);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(95deg, transparent 24%, rgba(255, 255, 255, 0.45) 50%, transparent 77%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(143, 121, 255, 0.33);
}

.btn-secondary {
  color: #f0f3ff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

main section {
  padding: 36px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
}

.section-title p {
  margin: 0;
  max-width: 690px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.course-card,
.blog-card,
.info-card {
  padding: 24px;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.feature-card:hover,
.course-card:hover,
.blog-card:hover,
.info-card:hover {
  transform: translateY(-7px);
  border-color: rgba(143, 121, 255, 0.56);
  box-shadow: 0 28px 46px rgba(9, 10, 18, 0.5), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(143, 121, 255, 0.3), rgba(48, 216, 202, 0.23));
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.course-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  height: 186px;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card:hover .course-thumb img {
  transform: scale(1.08);
}

.blog-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  height: 175px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover img {
  transform: scale(1.06);
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ebeeff;
  background: linear-gradient(130deg, rgba(143, 121, 255, 0.3), rgba(48, 216, 202, 0.2));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  text-align: center;
  padding: 22px;
}

.metric strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.trust-strip {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-strip div {
  text-align: center;
  font-size: 0.86rem;
  color: #dce2ff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 22px;
}

.testimonial-meta {
  margin-top: 12px;
  font-size: 0.88rem;
  color: #d0d8ff;
}

.faq-item {
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 1rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.13);
}

.faq-item.active .faq-question span {
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  padding: 0 18px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

select option {
  color: #111527;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.14);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.error {
  color: #ffd6e3;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.map-wrap iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
  min-height: 330px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.page-banner {
  padding: 82px 0 26px;
}

.page-banner .glass {
  overflow: hidden;
}

.page-banner-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: stretch;
}

.page-banner-copy {
  padding: 34px;
}

.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.page-banner-media:hover img {
  transform: scale(1.05);
}

.footer {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(8, 9, 16, 0.62), rgba(7, 8, 14, 0.93));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 34px 0;
}

.footer h4 {
  margin-bottom: 10px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 7px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 9px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  transition: 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(143, 121, 255, 0.35), rgba(48, 216, 202, 0.3));
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0 18px;
  color: #c4cbed;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 430px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(140deg, rgba(11, 13, 25, 0.96), rgba(20, 23, 39, 0.95));
  box-shadow: var(--shadow);
  z-index: 60;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: rise 0.35s ease;
}

.cookie-banner p {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floaty {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(16px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-banner-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 300px;
  }

  .grid-3,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 77px;
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: stretch;
    display: none;
    border-radius: 14px;
    padding: 12px;
    background: rgba(7, 9, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav.show {
    display: flex;
  }
}

@media (max-width: 680px) {
  .grid-3,
  .grid-2,
  .metrics,
  .testimonial-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .page-banner-copy,
  .feature-card,
  .course-card,
  .blog-card,
  .info-card,
  .testimonial-card {
    padding: 18px;
  }

  .hero {
    padding-top: 74px;
  }
}
