/* ==================================================
   Variables!!!
================================================== */
:root {
    /* Dark mode only. This site has no light theme and no toggle: declaring
       the scheme here stops the UA from rendering form controls, scrollbars
       and autofill in light chrome on light-preference systems, which is what
       previously made the site look like it had "defaulted to light mode". */
    color-scheme: dark;

    /* Color Variables & Glassmorphism Settings */
    --primary-color: #A949F3;
    --primary-light: #ba72f1;
    --secondary-color: #E431F7;
    --secondary-light: #ea74f7;
    --background-color: #09090b;
    --text-color: #ffffff;
    --accent-color: #ff6b6b;
    --success-color: #4ecdc4;
    
    /* Glassmorphism */
    --glass-background: rgba(30, 30, 36, 0.4);
    --glass-background-raised: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.205);
    --glass-border-strong: rgba(255, 255, 255, 0.32);
    --glass-inner: rgba(255, 255, 255, 0.048);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-blur: 10px;
    --glass-saturate: 1.3;
    /* The exact glass recipe used by the scrolled header pill — shared so any
       other glass surface (e.g. the mega-menu panel) can match it precisely. */
    --header-glass-filter: blur(12px) contrast(1.1);
    --transition-speed: 0.3s;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 1rem;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    --dark-gradient: linear-gradient(135deg, #0f0f1a, #1a1a2e);
    --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.liquid-glass {
  position: relative;
  background: rgba(248, 250, 252, 0.1);
  backdrop-filter: 
    blur(4px) 
    contrast(1.18);
  -webkit-backdrop-filter: 
    blur(4px) 
    contrast(1.18);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 160% 160% at 50% 50%,
    rgba(99, 102, 241, 0.5) 0%,
    transparent 70%
  );
  filter: blur(10px);
  animation: liquidRefract 8s ease-in-out infinite;
}

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

html {
    scroll-behavior: smooth;
    /* Anchor jumps otherwise land the target underneath the fixed header. */
    scroll-padding-top: 90px;
}

@media (max-width: 900px) {
    html { scroll-padding-top: 78px; }
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all var(--transition-speed) ease;
    background-image:
        radial-gradient(60% 60% at 85% 10%, rgba(169, 73, 243, 0.2) 0%, transparent 60%),
        radial-gradient(50% 50% at 15% 80%, rgba(30, 136, 229, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(3, 6, 26, 1) 0%, rgba(5, 10, 30, 1) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* background-attachment: fixed forces a full-viewport repaint on every
   scroll frame on mobile GPUs (and is outright ignored by iOS Safari), which
   is the single biggest cause of the juddery scroll on phones. Every one of
   these sits at 4-10% opacity behind a mask, so scrolling with the page
   costs nothing visually. */
@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 150vh;
    background: radial-gradient(circle at top right, rgba(155, 39, 176, 0.123), transparent 60%),
                radial-gradient(circle at bottom left, rgba(30, 61, 233, 0.123), transparent 60%);
    z-index: -10;
}

/* Scrollbar Styling - glassy on WebKit (Chrome/Edge/Safari) and Firefox.
   Firefox's scrollbar-color only accepts flat colors (no blur/gradient), so
   its track is a solid translucent dark tone rather than fully transparent -
   at alpha 0 some Firefox builds fall back to a plain white native track
   instead of showing the page through it, which is the "white scrollbar"
   bug this replaces. */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--glass-background);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(169, 73, 243, 0.65), rgba(105, 60, 200, 0.5));
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(169, 73, 243, 0.85), rgba(105, 60, 200, 0.7));
}

* {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: rgba(169, 73, 243, 0.75) rgba(30, 30, 36, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 2rem a side eats a ninth of a 360px screen before any content starts. */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
}
  
  /* ==================================================
     HEADER & NAVIGATION (Glass UI)
  ================================================== */
  header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: fixed;
    z-index: 1000;
    align-items: center;
    transition: top 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                backdrop-filter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-radius 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0);
    box-shadow: none;
    
    /* Always centered with consistent width */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1100px;
    
    /* Default state: attached to top */
    top: 0;
    border-radius: 0 0 20px 20px;
  }
  
  /* Scrolled state: pill shape, detached */
  header.scrolled {
    top: 12px;
    padding: 4px 0;
    background: rgba(248, 250, 252, 0.05);
    backdrop-filter: var(--header-glass-filter);
    -webkit-backdrop-filter: var(--header-glass-filter);
    border-color: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  nav {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* Nav links sit in their own flexible track, centered within it
     (grid tracks, not absolute overlay, so they can never collide
     with the actions cluster even as its content grows) */
  nav .nav-links:not(.nav-actions) {
    justify-content: center;
  }

  nav .nav-actions {
    margin-left: 0;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    flex-shrink: 0;
  }
  .logo img {
    width: 32px;
    height: auto;
    transition: transform var(--transition-speed) ease;
    filter: drop-shadow(0 0 8px rgba(172, 104, 236, 0.61));
  }
  .logo:hover img {
    transform: scale(1.05);
  }
  .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #A949F3;
    text-shadow: 0 0 10px rgba(104, 147, 236, 0.3);
    transition: all var(--transition-speed) ease;
  }
  .logo:hover span {
    color: #E431F7;
    text-shadow: 0 0 15px rgba(206, 66, 245, 0.5);
  }
  .nav-links {
    display: flex;
    list-style: none;
  }
  .nav-links li {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 4px;
    position: relative;
  }
  
  /* ==================================================
     MEGA MENU (Products / Developers / Resources / Company)
  ================================================== */
  .nav-links li.nav-item-mega {
    display: flex;
    align-items: center;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }

  .nav-mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 50px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }

  .nav-mega-trigger:hover,
  .nav-mega-trigger[aria-expanded="true"] {
    background: rgba(248, 250, 252, 0.08);
    backdrop-filter: blur(12px) contrast(1.1);
    -webkit-backdrop-filter: blur(12px) contrast(1.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--primary-light);
  }

  .mega-chevron {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.25s ease;
  }

  .nav-mega-trigger[aria-expanded="true"] .mega-chevron {
    transform: rotate(180deg);
  }

  .mega-wrap {
    /* position: fixed, not absolute — this now lives outside <header> (see
       the comment in header.html), so it has no positioned ancestor to hang
       "top: 100%" off of. JS keeps `top` synced to the header's real bottom
       edge every frame it can change (scroll, resize, on open). */
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 1001;
  }

  .mega-panel {
    position: absolute;
    top: 12px;
    left: 50%;
    width: min(880px, calc(100vw - 32px));
    transform: translateX(-50%) translateY(-8px);
    background: rgba(248, 250, 252, 0.05);
    backdrop-filter: blur(40px) contrast(1.1);
    -webkit-backdrop-filter: blur(40px) contrast(1.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr 240px;
    gap: 8px 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.25s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .mega-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .mega-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mega-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
    opacity: 0.85;
    margin: 4px 0 8px;
  }

  .mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin: 0 -10px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .mega-link:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
  }

  /* Highlight one link per panel to point people at a specific page — add
     class="mega-link mega-link--featured" and a
     <span class="mega-link-badge">Label</span> inside the title to use it
     elsewhere. Not tied to any particular page; move it freely. */
  .mega-link--featured {
    background: rgba(169, 73, 243, 0.08);
    border: 1px solid rgba(169, 73, 243, 0.28);
  }

  .mega-link--featured:hover {
    background: rgba(169, 73, 243, 0.16);
  }

  /* Coming-soon state: dim the link and box it in a dashed border so it
     reads as "not live yet" without a pill badge. */
  .mega-link--soon {
    opacity: 0.55;
    border: 1px dashed var(--glass-border);
  }

  .mega-link--soon:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: none;
  }

  .mega-link-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 7px;
    padding: 2px 8px;
    background: rgba(169, 73, 243, 0.18);
    border: 1px solid rgba(169, 73, 243, 0.35);
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-light);
    vertical-align: middle;
    transform: translateY(-1px);
  }

  .mega-link .app-icon {
    pointer-events: none;
    /* The panel itself already carries a heavy backdrop-filter; a nested
       backdrop-filter here would sample that already-blurred panel instead
       of the real page behind it and just look flat. Skip it — the tile's
       gradient fill/border/shadow read fine sitting on top of the panel's
       own blur without adding a second one. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* The Nova mark fills its whole canvas, so at the default image size it
     crowds the tile next to the Font Awesome glyphs. Pull it in a bit. */
  .mega-link .app-icon img[src$="nova-white.png"] {
    width: calc(var(--icon-size) * 0.5);
    height: calc(var(--icon-size) * 0.5);
  }

  .mega-link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .mega-link-title {
    font-weight: 600;
    font-size: 0.92rem;
  }

  .mega-link-desc {
    font-size: 0.78rem;
    opacity: 0.65;
    line-height: 1.4;
  }

  .mega-seeall {
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
  }

  .mega-seeall i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
  }

  .mega-seeall:hover i {
    transform: translateX(3px);
  }

  .mega-footnote {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.6;
  }

  .mega-community {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
  }

  .mega-community-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
    opacity: 0.85;
    margin-bottom: 10px;
  }

  .mega-community-icons {
    display: flex;
    gap: 10px;
  }

  .mega-community-icons .bubble {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    /* Same reason as .mega-link .app-icon above: the panel already carries
       a heavy backdrop-filter, so a second one here just samples that
       already-blurred surface and looks flat instead of glassy. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mega-promo {
    grid-row: 1 / span 2;
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(155deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(169, 73, 243, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .mega-promo::before {
    content: '';
    position: absolute;
    inset: -30% -10% auto auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
    filter: blur(4px);
    pointer-events: none;
    z-index: 1;
  }

  .mega-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(169, 73, 243, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  /* Optional full-bleed photo mode — not currently used on any card, kept
     ready for whenever a real product shot should replace the flat gradient.
     Put a single <img class="mega-promo-media"> as the first child of
     .mega-promo; it fills the whole card behind the text, with a dark scrim
     so the eyebrow/title/desc/cta stay readable on top. */
  .mega-promo-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .mega-promo:has(.mega-promo-media) {
    background: #000;
  }

  .mega-promo:has(.mega-promo-media)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 6, 20, 0.25) 0%, rgba(10, 6, 20, 0.75) 60%, rgba(10, 6, 20, 0.92) 100%);
    z-index: 1;
  }

  .mega-promo-eyebrow,
  .mega-promo-title,
  .mega-promo-desc,
  .mega-promo-cta {
    position: relative;
    z-index: 2;
  }

  .mega-promo-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
  }

  .mega-promo-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 6px;
  }

  .mega-promo-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-top: 6px;
  }

  .mega-promo-cta {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .mega-promo-cta i {
    transition: transform 0.2s ease;
  }

  .mega-promo:hover .mega-promo-cta i {
    transform: translateX(3px);
  }

  @media (max-width: 1150px) {
    .mega-panel {
      grid-template-columns: 1fr 1fr;
      width: min(680px, calc(100vw - 32px));
    }

    .mega-promo {
      grid-row: auto;
      grid-column: 1 / span 2;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      margin-top: 12px;
    }

    .mega-promo-cta {
      padding-top: 0;
    }
  }

  .nav-btn-login {
    padding: 0.55rem 1.4rem;
    color: var(--text-color);
    background: rgba(248, 250, 252, 0.08);
    backdrop-filter: blur(12px) contrast(1.1);
    -webkit-backdrop-filter: blur(12px) contrast(1.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }

  .nav-btn-login::before {
    display: none;
  }

  .nav-btn-login:hover {
    background: rgba(248, 250, 252, 0.13);
    border-color: rgba(255, 255, 255, 0.25);
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .nav-links a:not(.btn)  {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-speed) ease;
    position: relative;
    padding: 5px 0;
  }
  .nav-links a::after:not(.btn) {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-gradient);
    transition: width var(--transition-speed) ease;
    border-radius: 2px;
  }
  .nav-links a:hover:not(.btn) {
    color: var(--primary-color);
  }
  .nav-links a:hover::after:not(.btn) {
    width: 100%;
  }
  
  .nav-actions .btn {
    padding: 0.55rem 1.4rem;
    background: rgba(248, 250, 252, 0.08);
    backdrop-filter: blur(12px) contrast(1.1);
    -webkit-backdrop-filter: blur(12px) contrast(1.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }
  
  .nav-actions .btn::before {
    display: none;
  }
  
  .nav-actions .btn:hover {
    background: rgba(248, 250, 252, 0.13);
    border-color: rgba(255, 255, 255, 0.25);
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px rgba(0, 0, 0, 0.12);
  }
  
.nav-actions {
    align-items: center;
    gap: 0.5rem;
}

.nav-actions li {
    display: flex;
    align-items: center;
    margin: 0;
}

  /* ==================================================
     MOBILE MENU BUTTON
     A real glass control rather than three bare bars floating in the
     corner, sized to a comfortable 42px touch target and folding into an
     X while the sheet is open, so the same button also closes it.
  ================================================== */
  .menu-icon {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(248, 250, 252, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
  }

  .menu-icon:active {
    background: rgba(248, 250, 252, 0.16);
  }

  .menu-icon.active {
    background: rgba(248, 250, 252, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
  }

  /* The bars are absolutely placed inside a fixed 18x12 box so the X they
     fold into is exactly centred - margins on stacked spans (the old
     approach) put the crossing point slightly off. */
  .menu-icon-bars {
    position: relative;
    display: block;
    width: 18px;
    height: 12px;
  }

  .menu-icon-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.18s ease;
  }

  .menu-icon-bars span:nth-child(1) { top: 0; }
  .menu-icon-bars span:nth-child(2) { top: 5px; }
  .menu-icon-bars span:nth-child(3) { top: 10px; }

  .menu-icon.active .menu-icon-bars span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-icon.active .menu-icon-bars span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }

  .menu-icon.active .menu-icon-bars span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* ==================================================
     MOBILE HEADER BAR
     The desktop bar is a four-track grid built around the mega-menu. None
     of that survives here, so below 900px it becomes what it actually is:
     three items in a row. The nested .container + nav padding also used to
     stack up to 56px of inset per side on a 360px screen, which is what
     pushed the logo and the menu button so far from the edges.
  ================================================== */
  @media (max-width: 900px) {
    header {
      width: calc(100% - 20px);
      padding: 6px 0;
      /* backdrop-filter and padding were in the transition list, so every
         crossing of the 50px scroll threshold animated a filter for 0.4s -
         the most expensive thing you can hand a phone mid-scroll. Only the
         cheap, composited properties still animate here. */
      transition: top 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
                  background 0.35s ease,
                  border-color 0.35s ease,
                  border-radius 0.35s ease,
                  box-shadow 0.35s ease;
    }

    header .container {
      padding: 0;
      max-width: none;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 12px;
      max-width: none;
    }

    .logo {
      margin-right: auto;
      min-width: 0;
    }

    .logo img { width: 30px; }
    .logo span { font-size: 1.25rem; }

    /* The sheet handles navigation; these triggers have no panels to open. */
    nav > .nav-links:not(.nav-actions) { display: none; }

    nav .nav-actions {
      display: flex;
      order: 2;
      margin: 0;
      gap: 0;
    }

    .menu-icon {
      display: flex;
      order: 3;
    }

    .nav-actions .btn,
    .nav-btn-login {
      padding: 0.5rem 1.05rem;
      font-size: 0.85rem;
      white-space: nowrap;
    }

    /* Desktop-only. Leaving them in the tree lets a stray focus event open
       one behind the sheet. */
    .mega-wrap { display: none; }
  }

  /* Below this the wordmark, the Login pill and the menu button stop
     fitting together. The sheet's own full-width Login button covers it. */
  @media (max-width: 380px) {
    nav .nav-actions { display: none; }
  }
  
  /* ==================================================
     HERO SECTION
  ================================================== */
.hero {
    max-height: 150vh;
    height: 150vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.021) .1em, transparent .1em), linear-gradient(90deg, rgba(255, 255, 255, 0.021) .1em, transparent .1em);
    background-size: 3em 3em;
    border-bottom: 1px solid var(--glass-border);
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 150vh;
    height: 150vh;
    opacity: 1;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--background-color));
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.h-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-top: 5vh;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;    
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    position: relative;
    align-items: center;
    text-align: center;
}

.hero-bannar {
    display: flex;    
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    align-items: center;
    margin-top: 1rem;
    text-align: center;
}

  /* ==================================================
     partners
  ================================================== */
.quick-stats {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 3rem;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--glass-border);
}
.stats-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
}
.stat-card.glass {
  background: var(--card-gradient, rgba(255,255,255,0.08));
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(80,80,120,0.08);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.12));
  padding: 1.1rem 1.2rem;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow 0.2s;
}
.stat-card i {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}
.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.98rem;
  color: var(--text-color);
  opacity: 0.85;
  display: block;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .stats-row {
    gap: 0.7rem;
  }
  .stat-card.glass {
    padding: 0.8rem 0.7rem;
    min-width: 90px;
  }
  .stat-card i {
    font-size: 1.3rem;
  }
  .stat-value {
    font-size: 1rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }
}
@media (max-width: 600px) {
  .stats-row {
    flex-direction: column;
    gap: 0.7rem;
  }
  .stat-card.glass {
    margin-bottom: 0.5rem;
  }
}

  /* ==================================================
     Compare
  ================================================== */

.compare {
    overflow: hidden;
    position: relative;
    align-items: center;
    background-size: 3em 3em;
    margin: 0;
    padding: 0; 
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.compare h1 {
    font-weight: 600;
    text-align: left;
}

.compare-card {
    background: rgba(30, 30, 36, 0.4);
    border-radius: var(--border-radius);
    padding: 2.2rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    height: 100%;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
    position: relative;
    display: flex;
    overflow: hidden;
    z-index: 1;
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.compare-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: -1;
}

.compare-card::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(30px);
    transition: var(--transition);
    z-index: -2;
}

.compare-card:hover {
    border-color: rgba(183, 30, 229, 0.4);
}

.compare-card:hover::before {
    transform: scaleX(1);
}

.compare-card:hover::after {
    opacity: 0.3;
    width: 150px;
    height: 150px;
}

.compare-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
.compare-support {
    display: block;
    max-width: 100%;
    margin-left: 0;
    margin-top: 2rem;
    padding: 1.5rem 1.2rem;
    align-items: flex-start;
    text-align: left;
}

.compare-card {
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: flex-start;
}

.compare-bars {
    width: 100%;
}

.compare-support {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 2rem;
    box-sizing: border-box;
}
}

.compare-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 110px;
    font-weight: 600;
    color: var(--text-color);
    align-items: left;
    text-align: left;
    font-size: 1rem;
}

.bar-track {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    height: 6px; 
    position: relative;
    overflow: hidden;
    margin: 0 0.5rem;
}

.bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bar-value {
    min-width: 1rem;
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    text-align: left;
}

.bar-fill.exphost {
    background: linear-gradient(90deg, #6893ec, #ce42f5);
}
.bar-fill.shockbyte {
    background: linear-gradient(90deg, #83e4fc, #47ff5f);
}
.bar-fill.pebblehost {
    background: linear-gradient(90deg, #4ecdc4, #96c7ff);
}
.bar-fill.apex {
    background: linear-gradient(90deg, #ff6b6b, #ffd86b);
}
.bar-fill.ggservers {
    background: linear-gradient(90deg, #bdbdbd, #78777e);
}

.compare-card {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: space-between;
}

.compare-bars {
    flex: 2;
    min-width: 0;
}

.compare-support {
    flex: 1;
    padding: 1.5rem 1.2rem;
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 340px;
}

.compare-support h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.compare-support p {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.92;
    margin: 0 0 0.5rem 0;
    /* Remove background and border */
    background: none;
    border: none;
    box-shadow: none;
}

.compare-support .support-extra {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.compare-support .support-extra .btn {
    align-self: flex-start;
    margin-left: 0;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
.compare-support {
display: block;
max-width: 100%;
margin-left: 0;
margin-top: 2rem;
padding: 0.5rem 0.5rem;
align-items: flex-start;
text-align: left;
}
}

.compare-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-info {
    display: flex;
    align-items: left;
    gap: 0.7rem;
    text-align: left;
    min-width: 180px;
    text-decoration: none;
}

.bar-logo {
    width: 38px;
    height: 38px;
    border-radius: 25%;
    object-fit: cover;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.bar-info:hover {
    opacity: 100% !important;
}

.bar-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.bar-label {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}

.bar-cpu {
    font-size: 0.92rem;
    color: #a6a6b3;
    font-weight: 500;
}

.bar-price {
    font-size: 0.92rem;
    font-weight: 600;
}

/* ==================================================
   NEW FEATURES SECTION
================================================== */
.features {
    padding: 6rem 0 6rem 0;
    background-color: var(--background-color);
    background-image: linear-gradient(rgba(255, 255, 255, 0.021) .1em, transparent .1em), linear-gradient(90deg, rgba(255, 255, 255, 0.021) .1em, transparent .1em);
    position: relative;
    z-index: 1;
    overflow: hidden;
    position: relative;
    align-items: center;
    background-size: 3em 3em;
    margin: 0;
    padding: 0; 
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100%;
    height: 100%;
    opacity: 1;
    background: linear-gradient(to top, rgba(255,255,255,0), var(--primary-light));
    z-index: 0;
    opacity: 20%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 30, 36, 0.4);
    border-radius: var(--border-radius);
    padding: 2.2rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    height: 100%;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: -1;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(30px);
    transition: var(--transition);
    z-index: -2;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(183, 30, 229, 0.4);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 0.3;
    width: 150px;
    height: 150px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.feature-icon::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.2;
    left: 0;
    top: 0;
    z-index: -1;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

  /* ==================================================
     Pricing
  ================================================== */

.services-section {
    overflow: hidden;
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(104, 147, 236, 0.1) 0%, rgba(206, 66, 245, 0.08) 90%),
        radial-gradient(circle at 80% 80%, rgba(206, 66, 245, 0.1) 0%, rgba(104, 147, 236, 0.08) 90%);
    background-attachment: fixed;
    position: relative;
    align-items: center;
    text-align: center;
    margin-top: 0;
    border-bottom: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.services-section h1 {
    font-weight: 600;
    color: #78777e;
}

.services-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: 3em 3em;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.services-section h2 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(30, 30, 36, 0.4);
    border-radius: var(--border-radius);
    padding: 2.2rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    height: 100%;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: -1;
}

.service-card::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(30px);
    transition: var(--transition);
    z-index: -2;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-card.coming-soon:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    opacity: 0.9;
    transition: var(--transition);
}

.service-features li:hover {
    opacity: 1;
    transform: translateX(5px);
}

.service-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.service-card:hover::after {
    opacity: 1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .h-content {
        flex-direction: column;
        max-width: 80vw;
    }
    .h-img {
display: none;
    }
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(183, 30, 229, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 0.3;
    width: 150px;
    height: 150px;
}

  /* ==================================================
     NEWS
  ================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}
.news {
    background: var(--background-color);
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    overflow: hidden;
    padding-top: 2rem;
}

.news-card {
    background: var(--glass-background);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 15px var(--glass-inner);
    max-width: 90vw;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.news-image {
    width: 100%;
    height: 200px;
    background-color: #555;
    object-fit: cover;
    z-index: -1;
}

.news-content {
    padding: 2rem;
}

.news-date {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-excerpt {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

  /* ==================================================
     Reviews!
  ================================================== */

#customer-reviews {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}
.reviews-header {
  text-align: center;
  margin-bottom: 2rem;
}
.reviews-header h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.reviews-cta .btn {
  margin: .5rem .5rem;
}
.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.review-card {
    background: var(--glass-background);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--glass-shadow);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 15px var(--glass-inner);
}
.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: -1;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--glass-shadow);
}
.stars {
  color: gold;
  margin-bottom: .75rem;
  font-size: 1.1rem;
}
.review-text {
  font-size: .95rem;
  margin-bottom: .75rem;
  flex-grow: 1;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}
.review-pfp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.reviewer-name {
  font-weight: 600;
}
.review-date {
  font-size: .85rem;
  color: gray;
}

.review-pfp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  background: gray; /* fallback */
  user-select: none;
  position: relative;
  overflow: hidden;
  z-index: 1; 
}

.review-pfp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(0,0,0,0.1) 45%);
  border-radius: 50%;
  z-index: 0;
}

.cta {
    align-items: center;
    align-self: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    display: flex;
    flex-direction: column;
    padding: 3.5rem;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    background: rgba(248, 250, 252, 0.08);
    backdrop-filter: blur(12px) contrast(1.15);
    -webkit-backdrop-filter: blur(12px) contrast(1.15);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(169, 73, 243, 0.2) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.cta-container > * {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-buttons .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(169, 73, 243, 0.3);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 73, 243, 0.4);
}

.cta-buttons .btn-outline:hover::before {
    display: none;
}

  
  /* ==================================================
     BUTTONS
  ================================================== */
.btn {
    /* inline-flex, not inline-block: as a block the label and its trailing
       icon were two inline runs that happily broke across two lines in any
       narrow column. As flex items they stay on one line, and the gap
       replaces the whitespace that used to space them. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.75rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.btn-primary {
    background: var(--secondary-gradient);
    background-size: 150%;
    background-position-x: center;
    color: white;
    border: none;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(189, 30, 229, 0.4);
    overflow: hidden;
}

.btn-primary img{
    align-self: center;
    vertical-align: middle;
    padding: 0;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 30, 219, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.74);
    color: var(--text);
}

.btn-outline {
    background: rgba(229, 30, 212, 0.1);
    border: 1px solid rgba(212, 30, 229, 0.3);
    color: var(--secondary-light);
    backdrop-filter: blur(var(--glass-blur));
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: white;
    background: rgba(229, 30, 229, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 30, 219, 0.25);
}

.btn-three {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 0.2rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-three:hover {
    background: rgba(212, 0, 255, 0.1);
    transform: scale(1.1);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(155, 39, 176, 0);

}
section {
    padding: 6rem 0;
}
  
  
  /* ==================================================
     RESPONSIVE STYLES
  ================================================== */
  @media screen and (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }
}

  /* The header's own mobile layout lives with the rest of the header rules
     further up; this block used to re-set nav padding, header padding and
     the logo size from down here and quietly win on source order. */
  @media screen and (max-width: 480px) {
    .comparison-table table {
      min-width: 550px;
      width: 100%;
    }
    th, td {
      font-size: 0.8rem;
      padding: 6px;
    }
    /* Was a bare `img` selector, so it shrank every unstyled image on the
       site to 30px wide on a phone - carousel screenshots, news thumbnails
       and the Aurora Mobile render included. */
    .comparison-table img {
      width: 30px;
    }
  }

  @media screen and (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
    }

    .pricing-card {
        width: 100%;
        margin-bottom: 20px;
    }
}
  
  /* ==================================================
     Footer
  ================================================== */
footer {
    background-color: rgba(10, 10, 25, 0.288);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    list-style-type: none;
    box-shadow: inset 0 0 15px var(--glass-inner);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 30px;
    
}

.powered-by-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.powered-by-footer span {
    margin-right: 10px;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.powered-by-footer img {
    max-width: 2rem;
    max-height: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-right: 60px;
    margin-bottom: 30px;
    list-style-type: none;
    color: var(--text);
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-column li {
    margin-bottom: 10px;
    list-style-type: none;
    color: var(--text);
    text-decoration: none;
}

.footer-column li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-column li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    text-decoration: none;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 10px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    text-decoration: none;
}

footer p {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.site-footer {
  background: var(--glass-background);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--border-radius);
  color: var(--text-color);
  box-shadow: inset 0 0 15px var(--glass-inner);
  align-items: center;
}
.footer-grid .footer-col h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}
.footer-link {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover {
  color: var(--primary-light);
}
.bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--glass-background);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  color: var(--text-color);
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}
.bubble:hover {
  background: var(--primary-gradient);
  color: #fff;
  transform: translateY(-3px);
}
.disabled {
  opacity: 0.5;
  pointer-events: none;
}
  /* ==================================================
     FAQ Section
  ================================================== */

.faq {
    background-color: rgba(255, 255, 255, 0);
    padding: 80px 20px;
    position: relative;
}

.faq h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-gradient);
    border-radius: 3px;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    grid-template-columns: 1fr;
}

.faq-item {
    background-color: var(--glass-background);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item h3 {
    padding: 18px;
    margin: 0;
    cursor: pointer;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-speed) ease;
    position: relative;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-item h3.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item h3:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

.faq-answer {
    max-height: 0px;
    padding: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    background-color: rgba(15, 15, 26, 0.3);
}

/* ==================================================
   MOBILE NAVIGATION SHEET

   Replaces the old 80%-wide left drawer of bunched-up pill buttons. This
   is a full-screen sheet that drops in under the header, carrying the same
   grouping, icons and one-line descriptions the desktop mega-menu uses.
   The header keeps its higher z-index so the logo stays put and the menu
   button (now an X) doubles as the close control.
================================================== */
.mnav { display: none; }

/* Scroll lock. `overflow: hidden` on <body> is quietly ignored by iOS
   Safari, which is why the page used to keep scrolling behind the drawer.
   Pinning the body at its current offset does hold; the JS stores and
   restores that offset so closing the sheet does not dump you at the top. */
body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 900px) {
  .mnav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(10, 10, 16, 0.86);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    /* Clears the floating header in its taller scrolled state (12px offset
       plus a ~54px bar), plus whatever the notch takes. */
    padding-top: calc(env(safe-area-inset-top, 0px) + 76px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s ease,
                transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.32s;
  }

  .mnav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mnav-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    /* Stops a flick at either end of the list from chaining into the
       (pinned) page behind it. */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.9rem 1.25rem;
  }

  .mnav-home,
  .mnav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.7rem;
    border-radius: 14px;
    color: var(--text-color);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
  }

  .mnav-home {
    margin-bottom: 0.25rem;
    font-weight: 600;
  }

  .mnav-home:active,
  .mnav-link:active {
    background: rgba(255, 255, 255, 0.07);
  }

  .mnav-home.is-current,
  .mnav-link.is-current {
    background: color-mix(in srgb, var(--primary-color) 16%, transparent);
  }

  .mnav-link-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    font-size: 0.95rem;
  }

  .mnav-link-text { min-width: 0; }

  .mnav-link-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .mnav-link-desc {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: color-mix(in srgb, var(--text-color) 50%, transparent);
  }

  /* Same "New" marker the desktop mega-menu carries on this link. */
  .mnav-link-badge {
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* Groups read as quiet section rules rather than another row of pills,
     so the links themselves are the only thing competing for attention. */
  .mnav-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.85rem 0.7rem;
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: color-mix(in srgb, var(--text-color) 60%, transparent);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s ease;
  }

  .mnav-group.is-open > .mnav-group-toggle {
    color: var(--primary-light);
  }

  .mnav-chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
  }

  .mnav-group.is-open .mnav-chevron {
    transform: rotate(180deg);
  }

  .mnav-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .mnav-foot {
    flex-shrink: 0;
    padding: 0.9rem 0.9rem calc(env(safe-area-inset-bottom, 0px) + 1.1rem);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.025);
  }

  .mnav-login {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
  }

  .mnav-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
  }

  .mnav-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: color-mix(in srgb, var(--text-color) 70%, transparent);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mnav-social a:active {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-color);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mnav,
  .mnav-sub,
  .menu-icon-bars span,
  .mnav-chevron {
    transition-duration: 0.01ms;
  }
}

/* Minecraft plans grid */
.minecraft-plans{
  background: var(--background-color);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 6rem 0;
}
.plans-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.plan-card{
  background: var(--glass-background);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  transition: transform .3s;
}
.plan-card:hover{ transform: translateY(-8px); }
.plan-card ul{
  list-style: none;
  margin: 1rem 0;
  text-align: left;
}
.plan-card li{ margin: .4rem 0; }
.price{
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}
.custom-cta{
  margin-top: 4rem;
  text-align: center;
}

/* ---------- Minecraft Plans (desktop 3-up) ---------- */
.minecraft-plans{
  background: var(--background-color);
  padding: 6rem 0;
}

.plans-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 cards per row */
  gap: 2rem;
  margin-top: 3rem;
}

.plan-card{
  background: var(--glass-background);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform .35s cubic-bezier(.25,.8,.25,1);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.plan-card:hover{ transform: translateY(-8px); }

/* Best-value ribbon (top-right) */
.plan-card.best-value::after{
  content: "Best Value";
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--secondary-gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem 2.5rem;
  transform: rotate(45deg);
  z-index: 3;
}

.plan-card h3{
  font-size: 1.5rem;
  margin-bottom: .25rem;
}

.plan-tagline{
  font-size: .9rem;
  opacity: .75;
  margin-bottom: 1rem;
}

.plan-card ul{ list-style: none; margin: 1rem 0; text-align: left; }
.plan-card li{
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .4rem 0;
  font-size: .95rem;
}

.price{
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 1rem 0;
}

@media (max-width: 1024px){ .plans-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){  .plans-grid{ grid-template-columns: 1fr; } }

.custom-cta{ margin-top: 3rem; text-align: center; }

/* ---------- Minecraft Plans background ---------- */
.minecraft-plans{
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(104,147,236,.15) 0%, rgba(206,66,245,.15) 100%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    var(--background-color);
  background-size: 100% 100%, 1.5rem 1.5rem, 1.5rem 1.5rem;
}

/* ---------- 3-per-row grid ---------- */
.plans-grid{
  display: inline-grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.plan-card{
  background: var(--glass-background);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform .35s cubic-bezier(.25,.8,.25,1);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.plan-card:hover{ transform: translateY(-8px); }

/* Best-value ribbon (top-right) */
.plan-card.best-value::after{
  content: "Best Value";
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--secondary-gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem 2.5rem;
  transform: rotate(45deg);
  z-index: 3;
}

.plan-card h3{
  font-size: 1.5rem;
  margin-bottom: .25rem;
}

.plan-tagline{
  font-size: .9rem;
  opacity: .75;
  margin-bottom: 1rem;
}

.plan-card ul{ list-style: none; margin: 1rem 0; text-align: left; }
.plan-card li{
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .4rem 0;
  font-size: .95rem;
}

.price{
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 1rem 0;
}

/* Custom card accent colour */
.custom-card{
  background: linear-gradient(135deg, rgba(104,147,236,.05), rgba(206,66,245,.05));
}

/* responsive tweaks */
@media (max-width: 1024px){ .plans-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){  .plans-grid{ grid-template-columns: 1fr; } }

/* 3-up grid that auto-wraps */
.plans-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.custom-full{
  grid-column: 1 / -1;            /* spans all columns */
  display: flex;
  margin-top: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
}

.custom-text h3{ margin: 0; }
.start-price{ color: var(--primary-color); }

/* ---- Bigger tier switcher ---- */
.tier-switcher{
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  margin-bottom: 2rem;
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  min-width: 220px;            /* bigger overall */
  height: 44px;                /* taller */
}

.tier-tab{
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 24px;
  cursor: pointer;
  transition: color .3s;
  z-index: 2;
}
.tier-tab:last-child{ border-right: none; }

.tier-tab.active{ color: var(--primary-color); }

/* liquid bubble – perfectly centred */
.tier-selector{
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 0;
  margin-left: -10px;
  background: var(--card-gradient);
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.3);
  z-index: 1;
  transition:
    transform .35s cubic-bezier(.25,.8,.25,1),
    width .35s ease;
}

/* responsive */
@media (max-width: 1024px){ .plans-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){  .plans-grid{ grid-template-columns: 1fr; } }

.plan-card.popular{
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(104,147,236,.3);
}
.plan-card.popular::before{
  content: "Best Value";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: 0 0 12px 12px;
  z-index: 4;
}

.plan-logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: .5rem;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  font-size: 1rem;
  color: var(--primary-color);
}

.all-plans-link{
  text-align: center;
  margin-top: 2.5rem;
  font-size: .9rem;
  opacity: .8;
}

.location-selector{
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* 1 — force stacked layout on mobile */
@media (max-width: 768px) {
  .plan-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .plan-card .price,
  .plan-card .btn{
    width: 100%;
    margin-top: .5rem;
  }
}

.plan-card.popular{
  position: relative;
  overflow: visible;          
}
.plan-card.popular::before{
  content: "Most Popular";
  position: absolute;
  top: -10px;         
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  z-index: 10;
  height: 1.3rem;
  white-space: nowrap;
}

/* ---------- Eco Plans Section ---------- */
.eco-plans {
  background: linear-gradient(180deg, rgba(0, 40, 0, 0.8), rgba(0, 7, 29, 0.95));
  position: relative;
  padding: 6rem 0;
  color: #e6ffe6;
  overflow: hidden;
}

.eco-bg-icon {
  position: absolute;
  font-size: 18rem;
  color: rgba(0, 255, 128, 0.08);
  top: 20%;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  pointer-events: none;
  z-index: 0;
}

.eco-plans .section-title {
  color: #00ff99;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eco-plans .section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  opacity: .8;
  z-index: 2;
  position: relative;
}

.eco-plans .plan-card {
  background: rgba(0, 64, 32, 0.6);
  border: 1px solid rgba(0, 255, 128, 0.2);
  color: #d9f9e9;
}

.eco-plans .plan-card:hover {
  transform: translateY(-8px);
  border-color: #00ff99;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.2);
}

.eco-plans .price {
  color: #00ff99;
}

.eco-note {
  text-align: center;
  margin-top: 2rem;
  font-size: .95rem;
  opacity: .8;
}
/* ECO Section Button Variants */
.eco-plans .btn-primary {
  background: linear-gradient(135deg, #00b894, #009966);
  border: 1px solid rgba(0, 255, 128, 0.4);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 200, 120, 0.4);
}

.eco-plans .btn-primary:hover {
  transform: translateY(-3px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 25px rgba(0, 255, 160, 0.5);
  color: #e6ffe6;
}

/* Outline Variant */
.eco-plans .btn-outline {
  background: rgba(0, 180, 120, 0.1);
  border: 1px solid rgba(0, 255, 128, 0.3);
  color: #00ff99;
}

.eco-plans .btn-outline:hover {
  background: rgba(0, 180, 120, 0.2);
  border-color: #00ffcc;
  color: #d9f9e9;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 160, 0.25);
}

.eco-plans {
    --primary-color: #00b894;
    --primary-light: #009966;
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

/* About Section */
.about-section {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.about-logo img {
  max-width: 180px;
  height: auto;
  opacity: 0.9;
}

.about-content {
  flex: 1;
  color: var(--text-color);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.about-stats span {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-content ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.about-content ul li {
  margin-bottom: 0.5rem;
}

.about-mission {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-logo {
    display: none; /* hide logo on mobile */
  }
  .about-stats {
    justify-content: center;
  }
}

.about social-bubbles {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.detail-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.detail-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.detail-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.detail-card p,
.detail-card a {
  font-size: 0.9rem;
  color: var(--text-color);
  word-break: break-word;
}

/* ==================================================
   HARDWARE / PERFORMANCE SECTION
================================================== */
.hardware-section {
  padding: 5rem 0;
  border-top: 1px solid var(--glass-border);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hardware-card {
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hardware-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hardware-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hardware-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* ==================================================
   GLOBAL PRESENCE / LOCATIONS SECTION
================================================== */
.global-section {
  padding: 5rem 0;
  border-top: 1px solid var(--glass-border);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.location-card {
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.location-flag {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.location-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .hardware-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .hardware-card {
    padding: 1.25rem 1rem;
  }
  .hardware-icon {
    font-size: 2rem;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   GLOBAL NODES SECTION
================================================== */
.nodes-section {
  padding: 5rem 0;
  position: relative;
}

.nodes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 560px;
}

/* Globe column — left side */
.nodes-globe-col {
  position: relative;
  height: 580px;
  overflow: hidden;
}

#nodes-globe {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Constrain globe.gl's internal canvas */
#nodes-globe canvas {
  max-width: 100% !important;
}

/* Info column — z-index ensures it's always above globe canvas */
.nodes-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.nodes-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(169, 73, 243, 0.12);
  border: 1px solid rgba(169, 73, 243, 0.3);
  color: var(--primary-light);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.nodes-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.nodes-title-accent {
  color: var(--primary-color);
}

.nodes-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* Location cards */
.nodes-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: border-color 0.35s, box-shadow 0.35s;
  gap: 1rem;
}

.node-card.best {
  border-color: rgba(169, 73, 243, 0.6);
  box-shadow: 0 0 22px rgba(169, 73, 243, 0.18);
}

.node-card-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.node-flag {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
}

.node-card-text { min-width: 0; }

.node-card-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.node-name {
  font-size: 0.97rem;
  font-weight: 700;
}

.node-crown { font-size: 0.88rem; }

.node-region {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.node-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.node-ping-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.node-ping-value {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary-light);
  min-width: 2.5ch;
  text-align: right;
}

.node-ping-unit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Signal bars */
.node-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.node-bars i {
  display: block;
  width: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  transition: background 0.4s;
}

.node-bars i:nth-child(1) { height: 4px; }
.node-bars i:nth-child(2) { height: 7px; }
.node-bars i:nth-child(3) { height: 10px; }
.node-bars i:nth-child(4) { height: 14px; }

.node-bars[data-quality="excellent"] i                    { background: #4ecdc4; }
.node-bars[data-quality="good"] i:nth-child(-n+3)         { background: #a8e063; }
.node-bars[data-quality="fair"] i:nth-child(-n+2)         { background: #f7b731; }
.node-bars[data-quality="poor"] i:nth-child(1)            { background: #ff6b6b; }

/* Hardware note */
.nodes-hw-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.nodes-hw-note i { color: var(--primary-color); }

/* "and more" note */
.nodes-more-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  margin: 0;
}

/* Callisto Shield badge */
.nodes-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(169, 73, 243, 0.08);
  border: 1px solid rgba(169, 73, 243, 0.25);
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 500;
  margin-top: 0.1rem;
  align-self: flex-start;
}

.nodes-shield-badge i {
  color: var(--primary-color);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 900px) {
  .nodes-layout {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: unset;
  }
  .nodes-globe-col {
    height: 320px;
    order: -1;
  }
  .nodes-title { font-size: 1.7rem; }
  .nodes-badge { align-self: flex-start; }
}

/* Same reasoning as the body rule near the top of this file: a fixed
   attachment repaints the full viewport every scroll frame on mobile. Lives
   down here rather than up there because a media query adds no specificity,
   so the override has to come after .services-section's own declaration. */
@media (max-width: 900px) {
    .services-section {
        background-attachment: scroll;
    }
}
