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

  :root {
    --bg-dark: #05080F;
    --bg-darker: #020308;
    --card-bg: rgba(15, 20, 35, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-active: #4A9EFF;
    --text-primary: #FFFFFF;
    --text-secondary: #8A94A6;
    --text-muted: #5A6478;
    --accent-blue: #A8CFFF;
    --accent-green: #4ADE80;
    --button-bg: #B8D4FF;
    --button-text: #0A0F1C;
  }

  body {
    font-family: 'Google Sans Flex', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    background: #020308;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* ============ NAV ============ */
  nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 48px; max-width: 1400px; margin: 0 auto;
    gap: 24px;
    width: 100%;
  }

  .logo {
    display: flex; align-items: center; gap: 12px;
    font-size: 26px; font-weight: 700; letter-spacing: -0.5px;
    color: var(--text-primary); text-decoration: none;
    flex-shrink: 0;
  }
  .logo-img {
    height: 38px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex; align-items: center; gap: 12px;
    list-style: none;
  }
  .nav-links > li { position: relative; }
  .nav-links > li > a {
    color: var(--text-primary); text-decoration: none; font-size: 16px;
    font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 100px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
  .nav-links > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
  }
  .nav-links > li.has-dropdown:hover > a,
  .nav-links > li.has-dropdown.open > a {
    background: rgba(20, 25, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
    color: white;
  }

  .chevron {
    width: 7px; height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s ease;
    opacity: 0.75;
    margin-left: 2px;
  }
  .has-dropdown:hover .chevron,
  .has-dropdown.open .chevron {
    transform: rotate(-135deg) translate(-2px, -2px);
    opacity: 1;
  }

  /* ============ DROPDOWN ============ */
  .dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(12, 16, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 18px;
    min-width: 620px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s;
    border: 1px solid transparent;
  }
  .dropdown-item:hover {
    background: rgba(30, 38, 58, 0.6);
    border-color: rgba(255, 255, 255, 0.06);
  }

  .dropdown-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }

  .dropdown-text { display: flex; flex-direction: column; gap: 2px; }
  .dropdown-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: #fff;
  }
  .dropdown-desc {
    font-size: 13px; color: var(--text-secondary);
  }

  .dropdown-coming-soon {
    padding: 14px;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
  }

  /* Nav right group */
  .nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Language switcher */
  .lang-switcher {
    position: relative;
    flex-shrink: 0;
  }
  .lang-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px 10px 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    font-family: inherit;
    line-height: 1;
    transition: color 0.15s, border-color 0.15s;
  }
  .lang-trigger:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
  }
  .lang-chevron {
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.18s;
    flex-shrink: 0;
  }
  .lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
  }
  .lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(16, 20, 36, 0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
    z-index: 200;
    backdrop-filter: blur(12px);
  }
  .lang-switcher.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .lang-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    text-align: left;
    transition: background 0.15s, color 0.15s;
  }
  .lang-btn:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
  }
  .lang-btn.active {
    color: #fff;
    font-weight: 600;
  }
  @media (max-width: 860px) {
    .lang-switcher { display: none; }
  }

  /* Mobile language switcher inside the menu */
  .mobile-lang { display: none; }
  @media (max-width: 860px) {
    .nav-links .mobile-lang {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      margin-top: 8px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .mobile-lang-label {
      font-size: 13px;
      color: var(--text-secondary);
      letter-spacing: 0.04em;
    }
    .mobile-lang-options {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(255,255,255,0.04);
      border-radius: 100px;
      padding: 4px;
    }
    .mobile-lang-options .lang-btn {
      width: auto;
      padding: 6px 12px;
      border-radius: 100px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.06em;
      color: var(--text-secondary);
      background: transparent;
    }
    .mobile-lang-options .lang-btn:hover {
      background: rgba(255,255,255,0.06);
      color: #fff;
    }
    .mobile-lang-options .lang-btn.active {
      background: #fff;
      color: #0A0F1C;
    }
  }

  .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: none;
    letter-spacing: 0;
  }
  .badge-new {
    background: #4ADE80;
    color: #052e13;
  }
  .badge-new-blue {
    background: #7DD3FC;
    color: #082f49;
  }
  .badge-premium {
    background: #A8CFFF;
    color: #0A0F1C;
  }

  /* ============ CTA ============ */
  .cta-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
  }
  .cta-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.06);
  }

  /* ============ MOBILE ============ */
  .mobile-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 18px;
    align-items: center; justify-content: center;
  }

  @media (max-width: 1024px) {
    nav { padding: 20px 28px; gap: 16px; }
    .nav-links { gap: 4px; }
    .nav-links > li > a { padding: 10px 14px; font-size: 14px; }
    .dropdown { min-width: 560px; }
  }

  @media (max-width: 860px) {
    nav { padding: 18px 20px; flex-wrap: wrap; }
    .mobile-toggle { display: flex; }
    .nav-right > .cta-btn { display: none; }
    .nav-links {
      order: 3;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 4px;
      margin-top: 16px;
      padding: 12px;
      background: rgba(12, 16, 28, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
      display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links > li > a { justify-content: space-between; padding: 12px 16px; }
    .nav-links .mobile-cta {
      display: block;
      margin-top: 8px;
      padding: 0 4px;
    }
    .nav-links .mobile-cta .cta-btn {
      display: block;
      width: 100%;
      padding: 14px 20px;
      font-size: 15px;
      background: var(--button-bg);
      color: var(--button-text);
      border-color: transparent;
      font-weight: 600;
      text-align: center;
    }
    .nav-links .mobile-cta .cta-btn:hover {
      background: #cfe0ff;
      border-color: transparent;
    }
    .dropdown {
      position: static;
      transform: none;
      opacity: 1;
      visibility: visible;
      display: none;
      grid-template-columns: 1fr;
      min-width: 0;
      width: 100%;
      margin-top: 6px;
      box-shadow: none;
      background: rgba(255,255,255,0.02);
    }
    .has-dropdown.open .dropdown { display: grid; transform: none; }
  }

  .mobile-cta { display: none; }

  /* ============ FOOTER ============ */
  main {
    flex: 1;
  }

  footer {
    margin-top: auto;
    padding: 80px 48px 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    padding-bottom: 60px;
  }

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

  .footer-col h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.2s;
    letter-spacing: -0.005em;
  }

  .footer-col ul a:hover {
    color: var(--text-primary);
  }

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

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
  }

  .footer-logo img {
    height: 30px;
    width: auto;
    display: block;
  }

  .footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
  }

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

  .footer-lang-label {
    color: var(--text-secondary);
    font-size: 14px;
  }

  /* Footer lang switcher: keep visible on mobile (override the desktop hide rule) */
  .footer-lang .lang-switcher { display: block; }
  .footer-lang .lang-dropdown-menu {
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateY(6px);
  }
  .footer-lang .lang-switcher.open .lang-dropdown-menu {
    transform: translateY(0);
  }

  .lang-select {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 4px;
    font-family: inherit;
  }

  .lang-select .chevron-down {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: 0.8;
  }

  @media (max-width: 1024px) {
    footer { padding: 60px 28px 32px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  }

  @media (max-width: 640px) {
    footer { padding: 48px 20px 28px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; padding-bottom: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-col h4 { font-size: 15px; }
    .footer-col ul a { font-size: 14px; }
  }