:root {
    --primary-color: #7F1BFF;
    --primary-light: #F9F5FF;
    --text-color: #1E212B;
    --white-color: #FFFFFF;
    --black-color: #000000;

    --heading-font: 'media_sans', sans-serif;
    /* --heading-font: 'neue_powerultra', 'media_sans', sans-serif; */
    --body-font: 'Instrument Sans', sans-serif;
}

@font-face {
    font-family: 'neue_powerultra';
    src: url('../fonts/neuepower-ultra-webfont.woff2') format('woff2'),
        url('../fonts/neuepower-ultra-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'media_sans';
    src: url('../fonts/media-sans/mediasansweb-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'media_sans';
    src: url('../fonts/media-sans/mediasansweb-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'media_sans';
    src: url('../fonts/media-sans/mediasansweb-ultra.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'media_sans';
    src: url('../fonts/media-sans/mediasansweb-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'media_sans';
    src: url('../fonts/media-sans/mediasansweb-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--heading-font);
    line-height: normal;
    font-weight: 400;
    color: var(--secondary-color);
}

h1 {
  font-size: clamp(36px, -49.6976px + 14.9038vw, 93.2px);
}

h2,
.h2 {
    font-size: clamp(30px, 1.1538px + 9.3750vw, 50px);  
}

h3 {
    font-size: clamp(28px, 6.3462px + 7.2115vw, 42px);
}

h4 {
    font-size: clamp(26px, 10.5769px + 5.4808vw, 35px);
}

.font-lg,
h5 {
    font-size: clamp(20px, 13.4615px + 3.2212vw, 26px);
}

h6 {
    font-size: clamp(16px, 9.4231px + 2.4038vw, 22px);
}

@media (width <=87.4375rem) {
  h1 {
    font-size: clamp(34px, -18.5248px + 9.1346vw, 72px);
  }

  h2,
  .h2 {
    font-size: clamp(30px, -0.408px + 5.2885vw, 52px);
  }

  h3,
  .h3 {
    font-size: clamp(26px, 14.9424px + 1.9231vw, 34px);
  }

  h4,
  .h4 {
    font-size: clamp(22px, 10.9424px + 1.9231vw, 30px);
  }

  h5,
  .h5 {
    font-size: clamp(20px, 11.7072px + 1.4423vw, 26px);
  }

  h6,
  .h6 {
    font-size: clamp(16px, 7.7072px + 1.4423vw, 22px);
  }

  .font-lg {
    font-size: clamp(16px, 4.0624px + 1.5564vw, 20px);
  }

  .font-md {
    font-size: clamp(16px, 10.0304px + 0.7782vw, 18px);
  }
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.spacer-y {
    padding-block: 100px
}

.button {
    text-align: center;
}

.button_theme {
    padding: 1rem 1.5rem;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-radius: .5rem;
    font-weight: 600;
}

.button_theme-primary {
    background: var(--primary-color);
    color: var(--text-color);
}

.spacer-y {
    padding-block: 5rem;
}

.gradient-border {
  --radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(2.5rem); */
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
}

.gradient-border.dark {
    background: rgba(0,0,0,0.5);
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: .0625rem;
  /* border: .0625rem solid; */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--primary-color) 100%);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  z-index: -1
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.bg-dark {
    color: var(--white-color);
    background-color: var(--black-color);
}

.primary-text {
    color: var(--primary-color) !important;
}

.mb-50 {
    margin-bottom: clamp(30px, 2.3552px + 4.8077vw, 50px);
}

.filter-invert {
    filter: invert(1);
}

/* ── Navigation Bar ── */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation-bar {
    background: var(--white-color);
    border-bottom: 1px solid #E5E7EB;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 1rem;
}

/* ── item-left ── */
.item-left {
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    color: var(--text-color);
}

/* ── item-center ── */
.item-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-wrap {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* .menu-wrap>li {
    position: relative;
} */

.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 220ms ease, color 220ms ease;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link-btn:hover,
.menu-wrap>li.open>.nav-link-btn {
    background: var(--primary-light);
    color: var(--primary-color);
}

.nav-link-btn .chevron {
    font-size: 0.7rem;
    transition: transform 220ms ease;
}

.menu-wrap>li.open>.nav-link-btn .chevron {
    transform: rotate(180deg);
}

/* ── Dropdown base ── */
.dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    background: var(--white-color);
    border: 1px solid #E5E7EB;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 999;
    animation: dropIn 200ms ease forwards;
    border-top: 0;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-wrap>li.open>.dropdown-panel {
    display: block;
}

/* ── Simple dropdown ── */
.dropdown-simple {
    left: 0;
    min-width: 210px;
    padding: 0.5rem;
}

.dropdown-simple a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: var(--text-color);
    border-radius: 8px;
    text-decoration: none;
    transition: background 220ms ease, color 220ms ease;
}

.dropdown-simple a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.dropdown-simple a i {
    font-size: 0.8rem;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* ── Mega panel ── */
.mega-panel {
    left: 0;
    top: 100%;
    transform: translateX(-50%);
    width: 100%;
    padding: 1.5rem;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.menu-wrap>li.open>.mega-panel {
    display: grid;
}

.mega-col {
    padding: 0 1rem;
    border-right: 1px solid #E5E7EB;
}

.mega-col:first-child {
    padding-left: 0;
}

.mega-col:last-child {
    padding-right: 0;
    border-right: none;
    min-width: 300px;
}

.mega-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #E5E7EB;
}

.mega-group {
    margin-bottom: 1rem;
}

.mega-group:last-child {
    margin-bottom: 0;
}

.mega-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.4rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px dashed #E5E7EB;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.4rem;
    font-family: var(--body-font);
    font-size: 0.83rem;
    color: var(--text-color);
    border-radius: 6px;
    text-decoration: none;
    transition: background 220ms ease, color 220ms ease;
}

.mega-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.mega-item i {
    color: #F97316;
    font-size: 0.7rem;
    flex-shrink: 0;
    width: 14px;
}

/* ── Mega CTA card ── */
.mega-cta {
    background: #0D0D1A;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mega-cta-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.mega-cta-desc {
    font-size: 0.8rem;
    color: var(--text-color);
    line-height: 1.55;
}

.mega-cta-title {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white-color);
    line-height: 1.3;
}

.mega-cta-title span {
    color: var(--primary-color);
}

.mega-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white-color);
    font-family: var(--body-font);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 220ms ease;
    margin-top: auto;
}

.mega-cta-btn:hover {
    background: #5A0FBD;
    color: var(--white-color);
}

/* ── item-right ── */
.item-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button_theme-primary {
    color: var(--white-color);
}

/* ── Hamburger ── */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 220ms ease;
}

.hamburger:hover {
    background: var(--primary-light);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 220ms ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav ── */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--white-color);
    overflow-y: auto;
    z-index: 998;
    padding: 1rem 1.25rem 2rem;
    border-top: 1px solid #E5E7EB;
}

.mobile-nav.open {
    display: block;
}

.mobile-item {
    border-bottom: 1px solid #E5E7EB;
}

.mobile-item-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 0;
    font-family: var(--body-font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-item-btn .chevron {
    font-size: 0.75rem;
    transition: transform 220ms ease;
}

.mobile-item.open .mobile-item-btn .chevron {
    transform: rotate(180deg);
}

.mobile-sub {
    display: none;
    padding-bottom: 0.75rem;
}

.mobile-item.open .mobile-sub {
    display: block;
}

.mobile-sub-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9CA3AF;
    padding: 0.6rem 0 0.4rem;
}

.mobile-sub a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: #6B7280;
    text-decoration: none;
    border-radius: 6px;
    transition: background 220ms ease, color 220ms ease;
}

.mobile-sub a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.mobile-sub a i {
    color: #F97316;
    font-size: 0.7rem;
    width: 14px;
}

.mobile-cta {
    margin-top: 1.25rem;
}

/* ── Hide desktop menu on mobile ── */
@media (max-width: 991px) {
    .item-center {
        display: none;
    }
}


/* ── FOOTER ─────────────────────────────────────────────── */

/* CTA Band */
/* Footer Body */
.site-footer {
    background: #000;
}
.footer-body {
    padding-block: 4rem 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(4, 1fr);
    gap: 2.5rem;
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo .nav-logo-text { color: var(--white-color); }
/* .footer-logo img { filter: brightness(0) invert(1); } */

.footer-brand-desc {
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.footer-social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* Link columns */
.footer-col { display: flex; flex-direction: column; }

.footer-col-title {
    font-family: var(--body-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links a {
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 220ms ease, padding-left 220ms ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--white-color);
    padding-left: 4px;
}

/* Contact list */
.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.footer-contact a i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact a:hover { padding-left: 0; }

/* Bottom bar */
.footer-bottom { padding-block: 1.25rem; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copy {
    font-family: var(--body-font);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}
.footer-copy a {
    color: var(--primary-color);
    text-decoration: none;
}
.footer-copy a:hover { color: #A855F7; }

.footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal a {
    font-family: var(--body-font);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 220ms ease;
}
.footer-legal a:hover { color: var(--white-color); }

/* ── Footer Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .footer-legal { gap: 1rem; }
}