/* ===========================================
   RESET & BASE
   =========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  line-height: 1.5;
}

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

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

/* ===========================================
   VARIABLES
   =========================================== */
:root {
  --color-purple: #6E4FD6;
  --color-purple-dark: #5b3fc4;
  --color-yellow: #F2B544;
  --color-blue: #4FB3E8;
  --color-blue-dark: #3d9fd4;
  --header-height: 90px;
}

/* ===========================================
   HEADER
   =========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(110, 79, 214, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: 100%;
  height: 100%;
  padding: 0 12vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img {
  width: 150px;
  height: 52px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  margin-right: 40px;
  transform: translateX(-20%);
}

.main-nav a {
  color: var(--color-yellow);
  font-weight: 500;
  font-size: 19px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

/* Burger button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

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

.btn svg {
  flex-shrink: 0;
}

.btn-open-bot {
  background: var(--color-blue);
  color: #ffffff;
  padding: 12px 26px;
}

.btn-open-bot:hover {
  background: var(--color-blue-dark);
}

.btn-cta {
  background: var(--color-blue);
  color: #ffffff;
  padding: 16px 36px;
  font-size: 19px;
}

.btn-cta:hover {
  background: var(--color-blue-dark);
}

.hero-stats {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 500;
  color: #9CA3AF;
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 820px;
  display: flex;
  overflow: hidden;
}

.hero-left {
  position: relative;
  width: 60%;
  background-color: var(--color-purple);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Diamond pattern background */
.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 38px),
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 38px);
  pointer-events: none;
}

.hero-right {
  width: 40%;
  position: relative;
  background-color: #2b2f33;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20%;
  padding-top: var(--header-height);
}

.hero-title {
  font-size: 55px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* ===========================================
   STATS
   =========================================== */
.stats {
  width: 100%;
  background: #EBEBF0;
  padding: 72px 12vw;
  position: relative;
  overflow: hidden;
}

.stats-deco-tl {
  position: absolute;
  top: 30px;
  left: 20%;
  pointer-events: none;
  z-index: 0;
}


.stats-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.stats-item {
  flex: 1;
  padding: 0 40px;
}

.stats-item:first-child {
  padding-left: 0;
}

.stats-item:last-child {
  padding-right: 0;
}

.stats-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  margin: 8px 0;
}

.stats-number {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: #323943;
  line-height: 1;
  margin-bottom: 0;
}

.stats-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.stats-title {
  font-size: 20px;
  font-weight: 700;
  color: #6B6D78;
  margin-bottom: 0;
  white-space: nowrap;
}

.stats-text {
  font-size: 20px;
  line-height: 1.7;
  color: #6B6D78;
}


.showcase {
  width: 100%;
  background: #ffffff;
  padding: 100px 12vw;
}

.showcase-heading {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  color: #2D2D3A;
  margin-bottom: 64px;
}

.showcase-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  align-items: center;
  gap: 64px;
}

.showcase-col {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

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

.showcase-icon-wrap {
  position: relative;
  width: 83px;
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.showcase-icon-blob {
  position: absolute;
  inset: 0;
  background: rgba(110, 79, 214, 0.08);
  border-radius: 30% 70% 60% 40% / 40% 35% 65% 60%;
}

.showcase-icon {
  position: relative;
  color: var(--color-purple);
  z-index: 1;
}

.showcase-icon-wrap.color-blue .showcase-icon {
  color: var(--color-blue);
}

.showcase-icon-wrap.color-blue .showcase-icon-blob {
  background: rgba(79, 179, 232, 0.12);
}

.showcase-icon-wrap.color-yellow .showcase-icon {
  color: var(--color-yellow);
}

.showcase-icon-wrap.color-yellow .showcase-icon-blob {
  background: rgba(242, 181, 68, 0.14);
}

.showcase-title {
  font-size: 19px;
  font-weight: 700;
  color: #2D2D3A;
  margin-bottom: 10px;
}

.showcase-text {
  font-size: 19px;
  line-height: 1.7;
  color: #8B8D98;
}

.showcase-phone {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.showcase-intro {
  width: 100%;
  max-width: 1210px;
  margin: 184px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 59px;
}

.showcase-intro-col p {
  font-size: 20px;
  line-height: 1.75;
  color: #5A5C6A;
  text-align: left;
}

.showcase-intro-col p + p {
  margin-top: 12px;
}

.showcase-intro-highlight {
  font-weight: 700;
  font-size: 21px !important;
  color: #3A3C48 !important;
  margin-top: 28px !important;
  margin-bottom: 4px !important;
}

.showcase-intro-img {
  width: 530px;
  height: 794px;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* ===========================================
   FOR UNIVERSITIES
   =========================================== */
.unis {
  width: 100%;
  background: #ffffff;
  padding: 80px 12vw;
}

.unis-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.unis-content {
  flex: 1;
  background: linear-gradient(to bottom, #FBFBFD, #ffffff);
  border: 1px solid #E8E8F0;
  border-radius: 24px;
  padding: 56px;
}

.unis-heading {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  color: #2D2D3A;
  margin-bottom: 40px;
}

.unis-content p {
  font-size: 20px;
  line-height: 1.75;
  color: #5A5C6A;
  margin-bottom: 16px;
}

.unis-content p:last-of-type {
  margin-bottom: 32px;
}

.btn-unis {
  background: var(--color-purple);
  color: #ffffff;
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-unis:hover {
  background: var(--color-purple-dark);
  transform: translateY(-1px);
}

.unis-image {
  flex: 0 0 auto;
  background: linear-gradient(to bottom, #FBFBFD, #ffffff);
  border: 1px solid #E8E8F0;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unis-image img {
  width: 640px;
  height: 640px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 30px;
}

/* ===========================================
   CTA BANNER
   =========================================== */
.cta-banner {
  width: 100%;
  background: var(--color-purple);
  padding: 0 12vw;
  position: relative;
  overflow: hidden;
}

.cta-banner-deco {
  position: absolute;
  top: -60px;
  left: 120px;
  pointer-events: none;
  z-index: 0;
}

.cta-banner-inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.cta-banner-content {
  flex: 0 0 50%;
  padding: 59px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta-banner-title {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 24px;
  white-space: nowrap;
}

.cta-banner-text {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-banner-visual {
  flex: 0 0 38%;
  display: flex;
  justify-content: center;
  align-self: stretch;
  position: relative;
}

.cta-banner-visual-deco {
  position: absolute;
  bottom: -50px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}

.cta-illustration {
  width: 508px;
  max-width: 100%;
  height: 532px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ===========================================
   FAQ
   =========================================== */
.faq {
  width: 100%;
  background: #FBFBFD;
  padding: 100px 12vw;
}

.faq-inner {
  width: 100%;
}

.faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.faq-title {
  font-size: 44px;
  font-weight: 800;
  color: #2D2D3A;
  margin-bottom: 20px;
}

.faq-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #8B8D98;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}

.faq-item {
  margin-bottom: 48px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-size: 22px;
  font-weight: 700;
  color: #2D2D3A;
  margin-bottom: 16px;
}

.faq-answer {
  font-size: 20px;
  line-height: 1.7;
  color: #8B8D98;
}

.faq-answer + .faq-answer {
  margin-top: 16px;
}

/* ===========================================
   CONTACTS
   =========================================== */
.contacts {
  width: 100%;
  background: #2D2F38;
  padding: 100px 12vw;
}

.contacts-inner {
  width: 100%;
}

.contacts-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.contacts-title {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.contacts-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #B4B6BF;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 56px;
  margin-bottom: 44px;
}

.form-field {
  flex: 1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 0 0 12px;
  outline: none;
  resize: none;
  transition: border-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8A8C96;
  font-weight: 600;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--color-yellow);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-send {
  background: var(--color-yellow);
  color: #2D2F38;
  padding: 16px 40px;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.btn-send:hover {
  background: #d99e2f;
}

.btn-send:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form-error {
  background: rgba(242, 98, 77, 0.1);
  border: 1px solid rgba(242, 98, 77, 0.3);
  color: #F2624D;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 8px;
}

.contact-form-status {
  text-align: right;
  font-size: 14px;
  margin-top: 16px;
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
  width: 100%;
  background: #16161A;
  padding: 80px 12vw 0;
}

.footer-inner {
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-about {
  flex: 1.6;
  max-width: 360px;
}

.footer-logo img {
  width: 120px;
  height: 42px;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.7;
  color: #8A8C96;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col a {
  font-size: 15px;
  color: #8A8C96;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.footer-col a:last-child {
  margin-bottom: 0;
}

.footer-col a:hover {
  color: var(--color-yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 14px;
  color: #8A8C96;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A8C96;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--color-yellow);
}

/* ===========================================
   SCROLL TO TOP
   =========================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #D1D1D6;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-purple);
}


/* ===========================================
   RESPONSIVE
   =========================================== */

/* Tablets */
@media (max-width: 1024px) {
  .showcase {
    padding: 70px 24px;
  }

  .stats {
    padding: 56px 24px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 40px;
  }

  .stats-item {
    padding: 0;
  }

  .stats-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
    margin: 0;
  }

  .stats-number {
    font-size: 52px;
  }

  .showcase-heading {
    font-size: 36px;
    margin-bottom: 48px;
  }

  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .showcase-phone {
    order: -1;
  }

  .showcase-col {
    gap: 48px;
  }

  .showcase-intro {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 40px;
    margin-top: 80px;
  }

  .showcase-intro-col:first-child {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .showcase-intro-col:last-child {
    order: 1;
  }

  .hero-content {
    padding: 0 24px;
    padding-top: var(--header-height);
  }

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

  .hero-subtitle {
    font-size: 18px;
  }

  .main-nav {
    gap: 24px;
    margin-right: 24px;
  }

  .header-inner {
    padding: 0 24px;
  }

  .cta-banner {
    padding: 56px 24px;
  }

  .cta-banner-inner {
    flex-direction: column;
    gap: 48px;
  }

  .cta-banner-content {
    flex: 0 0 auto;
    text-align: center;
    align-items: center;
  }

  .cta-banner-visual {
    flex: 0 0 auto;
  }

  .cta-banner-title {
    font-size: 30px;
    white-space: normal;
  }

  .btn-cta {
    margin: 0 auto;
  }

  .faq {
    padding: 70px 24px;
  }

  .unis {
    padding: 56px 24px;
  }

  .unis-card {
    flex-direction: column;
    gap: 16px;
  }

  .unis-content {
    padding: 36px 28px;
  }

  .unis-image {
    flex: 0 0 auto;
    width: 100%;
    padding: 24px;
  }

  .unis-image img {
    width: 100%;
    height: 320px;
  }

  .faq-title {
    font-size: 36px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacts {
    padding: 70px 24px;
  }

  .contacts-title {
    font-size: 36px;
  }

  .form-row {
    gap: 32px;
  }

  .site-footer {
    padding: 56px 24px 0;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-about {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-col {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .logo img {
    width: 104px;
    height: 36px;
  }

  /* Hide nav links, show burger */
  .burger {
    display: flex;
  }

  /* Mobile dropdown menu */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 0;
    padding: 28px 20px 32px;
    background: rgba(91, 63, 196, 0.97);
    backdrop-filter: blur(10px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    font-size: 21px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    width: 100%;
    padding-bottom: 60px;
  }

  .hero-right {
    display: none;
  }

  .hero-content {
    padding: 0 20px;
    padding-top: calc(var(--header-height) + 32px);
    max-width: 100%;
  }

  .hero-title {
    font-size: 35px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.5;
  }

  .hero-subtitle br {
    display: none;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
  }

  .showcase {
    padding: 48px 20px;
  }

  .stats {
    padding: 48px 20px;
  }

  .stats-number {
    font-size: 44px;
  }

  .showcase-heading {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .showcase-inner {
    gap: 40px;
  }

  .showcase-col {
    gap: 36px;
  }

  .showcase-phone {
    display: none;
  }

  .showcase-intro {
    display: flex;
    flex-direction: column;
    margin: 48px auto 0;
    gap: 32px;
  }

  .showcase-intro-col:first-child {
    order: 2;
    display: flex;
    justify-content: center;
  }

  .showcase-intro-col:last-child {
    order: 1;
  }

  .showcase-intro-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 530 / 794;
    max-height: 397px;
  }

  .faq {
    padding: 56px 20px;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner-visual {
    display: none;
  }

  .cta-banner-title {
    font-size: 24px;
  }

  .cta-banner-text {
    font-size: 16px;
  }


  .unis {
    padding: 40px 20px;
  }

  .unis-card {
    gap: 12px;
  }

  .unis-content {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .unis-image {
    border-radius: 16px;
    padding: 20px;
  }

  .unis-heading {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .btn-unis {
    width: 100%;
    justify-content: center;
  }

  .faq-header {
    margin-bottom: 40px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-question {
    font-size: 19px;
  }

  .faq-item {
    margin-bottom: 36px;
  }

  .scroll-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 20px;
  }

  .contacts {
    padding: 56px 20px;
  }

  .contacts-header {
    margin-bottom: 40px;
  }

  .contacts-title {
    font-size: 28px;
  }

  .contacts-subtitle {
    font-size: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 36px;
  }

  .form-actions {
    justify-content: center;
  }

  .btn-send {
    width: 100%;
    text-align: center;
  }

  .site-footer {
    padding: 48px 20px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0 32px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero-title {
    font-size: 30px;
  }
}

/* ===========================================
   COOKIE CONSENT
   =========================================== */
.cookie-banner {
  position: fixed;
  left: 48px;
  right: 48px;
  bottom: 48px;
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(120, 120, 130, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  padding: 48px 56px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.cookie-text {
  font-size: 28px;
  line-height: 1.6;
  color: #ffffff;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.btn-cookie-decline,
.btn-cookie-accept {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 28px;
  padding: 20px 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cookie-decline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-cookie-accept {
  background: var(--color-purple);
  color: #ffffff;
}

.btn-cookie-accept:hover {
  background: var(--color-purple-dark);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .cookie-banner {
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 560px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 24px 28px;
  }

  .cookie-banner-inner {
    gap: 18px;
  }

  .cookie-text {
    font-size: 14px;
  }

  .cookie-actions {
    gap: 12px;
  }

  .btn-cookie-decline,
  .btn-cookie-accept {
    font-size: 14px;
    padding: 10px 22px;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px 20px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .btn-cookie-decline,
  .btn-cookie-accept {
    flex: 1;
    text-align: center;
  }
}

/* ===========================================
   STATIC TEXT PAGE (privacy, terms, etc.)
   =========================================== */
.static-page {
  width: 100%;
  background: #FBFBFD;
  padding: calc(var(--header-height) + 64px) 12vw 100px;
}

.static-page-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.static-page-title {
  font-size: 44px;
  font-weight: 800;
  color: #2D2D3A;
  line-height: 1.2;
  margin-bottom: 12px;
}

.static-page-updated {
  font-size: 15px;
  color: #8B8D98;
  margin-bottom: 48px;
}

.static-page-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #2D2D3A;
  margin-top: 44px;
  margin-bottom: 16px;
}

.static-page-body h2:first-child {
  margin-top: 0;
}

.static-page-body p {
  font-size: 20px;
  line-height: 1.75;
  color: #5A5C6A;
  margin-bottom: 20px;
}

.static-page-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.static-page-body li {
  font-size: 20px;
  line-height: 1.75;
  color: #5A5C6A;
  margin-bottom: 10px;
}

.static-page-body a {
  color: var(--color-purple);
  text-decoration: underline;
  text-decoration-color: rgba(110, 79, 214, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.static-page-body a:hover {
  text-decoration-color: var(--color-purple);
}

.static-divider {
  border: none;
  border-top: 1px solid #E8E8F0;
  margin: 48px 0;
}

.static-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 28px;
  border: 1px solid #E8E8F0;
  border-radius: 12px;
}

.static-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.static-table th,
.static-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #E8E8F0;
  line-height: 1.6;
  color: #5A5C6A;
}

.static-table th {
  background: #F7F7FB;
  font-weight: 700;
  color: #2D2D3A;
  white-space: nowrap;
}

.static-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .static-page {
    padding: calc(var(--header-height) + 40px) 24px 70px;
  }

  .static-page-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .static-page {
    padding: calc(var(--header-height) + 28px) 20px 56px;
  }

  .static-page-title {
    font-size: 28px;
  }

  .static-page-updated {
    margin-bottom: 32px;
  }

  .static-page-body h2 {
    font-size: 22px;
    margin-top: 32px;
  }

  .static-page-body p,
  .static-page-body li {
    font-size: 16px;
  }

  .static-table {
    font-size: 14px;
  }

  .static-table th,
  .static-table td {
    padding: 10px 12px;
  }
}

/* ============================================================
   Active nav item (added during header/footer refactor)
   Highlights the current section/page in the main navigation.
   ============================================================ */
.main-nav a.is-active {
  color: #ffffff;
  position: relative;
}
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
@media (max-width: 900px) {
  /* In the mobile drawer the underline looks odd — use weight instead */
  .main-nav a.is-active { font-weight: 700; }
  .main-nav a.is-active::after { display: none; }
}

/* ============================================================
   Section index — article/review cards & breadcrumbs
   (added for the Market Reviews section)
   ============================================================ */
.section-intro {
  margin-bottom: 48px;
}
.section-intro .static-page-title { margin-bottom: 16px; }
.section-lead {
  font-size: 20px;
  line-height: 1.6;
  color: #5A5C6A;
  max-width: 720px;
}

.article-list {
  display: grid;
  gap: 24px;
}
.article-card {
  display: block;
  background: #ffffff;
  border: 1px solid #ECECF3;
  border-radius: 20px;
  padding: 28px 30px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(45, 45, 58, 0.08);
  border-color: #DAD5F4;
}
.article-card-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-purple);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.article-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #2D2D3A;
  line-height: 1.3;
  margin-bottom: 10px;
}
.article-card-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #5A5C6A;
}

/* Breadcrumbs / back link */
.breadcrumbs {
  font-size: 15px;
  color: #8B8D98;
  margin-bottom: 28px;
}
.breadcrumbs a {
  color: var(--color-purple);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-purple);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .article-card { padding: 22px 20px; }
  .article-card-title { font-size: 20px; }
}
