/* ── Base ── */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: #0A1628;
      color: #E2E8F0;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* ── RTL overrides ── */
    html[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
    html[dir="rtl"] .rtl-ml { margin-left: 0 !important; margin-right: 0.5rem !important; }
    html[dir="rtl"] .lang-switcher { direction: ltr; }

    /* ── Scrollbar ── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: #0A1628; }
    ::-webkit-scrollbar-thumb { background: #00E5FF22; border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: #00E5FF44; }

    /* ── Selection ── */
    ::selection { background: #00E5FF33; color: #00E5FF; }

    /* ── Animations ── */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes pulseGlow {
      0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.15); }
      50% { box-shadow: 0 0 40px rgba(0, 229, 255, 0.3); }
    }
    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    @keyframes gridMove {
      0% { transform: translate(0, 0); }
      100% { transform: translate(40px, 40px); }
    }

    .animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
    .animate-fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
    .animate-pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }
    .animate-float { animation: float 6s ease-in-out infinite; }
    .animate-gradient { 
      background-size: 200% 200%;
      animation: gradientShift 4s ease infinite;
    }

    .delay-100 { animation-delay: 0.1s; }
    .delay-200 { animation-delay: 0.2s; }
    .delay-300 { animation-delay: 0.3s; }
    .delay-400 { animation-delay: 0.4s; }
    .delay-500 { animation-delay: 0.5s; }
    .delay-600 { animation-delay: 0.6s; }

    /* ── Background grid ── */
    .bg-grid {
      background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
      background-size: 40px 40px;
    }

    /* ── Glow orbs ── */
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
      opacity: 0.4;
    }
    .orb-1 { width: 500px; height: 500px; background: rgba(0, 229, 255, 0.08); top: -200px; right: -150px; }
    .orb-2 { width: 400px; height: 400px; background: rgba(0, 150, 255, 0.06); bottom: -100px; left: -200px; }
    .orb-3 { width: 300px; height: 300px; background: rgba(0, 229, 255, 0.05); top: 50%; left: 50%; transform: translate(-50%, -50%); }

    /* ── Agent card ── */
    .agent-card {
      background: linear-gradient(135deg, rgba(15, 31, 58, 0.8), rgba(10, 22, 40, 0.9));
      border: 1px solid rgba(0, 229, 255, 0.08);
      border-radius: 16px;
      padding: 24px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .agent-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, #00E5FF, transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .agent-card:hover {
      border-color: rgba(0, 229, 255, 0.25);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0, 229, 255, 0.08);
    }
    .agent-card:hover::before { opacity: 1; }

    .agent-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      background: rgba(0, 229, 255, 0.1);
      border: 1px solid rgba(0, 229, 255, 0.15);
      flex-shrink: 0;
    }

    /* ── Team card ── */
    .team-card {
      background: linear-gradient(135deg, rgba(15, 31, 58, 0.6), rgba(10, 22, 40, 0.8));
      border: 1px solid rgba(0, 229, 255, 0.08);
      border-radius: 20px;
      padding: 32px;
      transition: all 0.3s ease;
    }
    .team-card:hover {
      border-color: rgba(0, 229, 255, 0.2);
      transform: translateY(-2px);
    }

    /* ── CTA Button ── */
    .btn-cyan {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 36px;
      border-radius: 14px;
      font-weight: 700;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
      background: linear-gradient(135deg, #00E5FF, #00B8CC);
      color: #0A1628;
    }
    .btn-cyan:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(0, 229, 255, 0.3);
    }
    .btn-cyan:active {
      transform: translateY(0);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 36px;
      border-radius: 14px;
      font-weight: 600;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 1.5px solid rgba(0, 229, 255, 0.3);
      color: #00E5FF;
      background: transparent;
    }
    .btn-outline:hover {
      border-color: #00E5FF;
      background: rgba(0, 229, 255, 0.06);
      transform: translateY(-2px);
    }

    /* ── Section styling ── */
    .section-title {
      font-size: 2rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }
    @media (min-width: 768px) {
      .section-title { font-size: 2.8rem; }
    }

    .section-subtitle {
      font-size: 1.05rem;
      color: #94A3B8;
      line-height: 1.7;
      max-width: 640px;
    }

    /* ── Gradient text ── */
    .text-gradient {
      background: linear-gradient(135deg, #00E5FF, #60A5FA);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ── Hero badge ── */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 16px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 600;
      background: rgba(0, 229, 255, 0.08);
      color: #00E5FF;
      border: 1px solid rgba(0, 229, 255, 0.12);
    }

    /* ── Language flags / pills ── */
    .lang-pill {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 100px;
      font-size: 12px;
      font-weight: 600;
      background: rgba(0, 229, 255, 0.08);
      color: #00E5FF;
      border: 1px solid rgba(0, 229, 255, 0.1);
    }

    /* ── Glass divider ── */
    .glass-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
      margin: 0 auto;
    }

    /* ── Stat number ── */
    .stat-number {
      font-size: 2.5rem;
      font-weight: 900;
      background: linear-gradient(135deg, #00E5FF, #60A5FA);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    @media (min-width: 768px) {
      .stat-number { font-size: 3.5rem; }
    }

    /* ── Nav link underline effect ── */
    .nav-link {
      position: relative;
      color: #94A3B8;
      text-decoration: none;
      font-weight: 500;
      font-size: 14px;
      transition: color 0.2s;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: #00E5FF;
      transition: width 0.3s ease;
    }
    .nav-link:hover { color: #00E5FF; }
    .nav-link:hover::after { width: 100%; }

    /* ── Mobile menu ── */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 75%;
      max-width: 320px;
      height: 100vh;
      background: rgba(10, 22, 40, 0.98);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-left: 1px solid rgba(0, 229, 255, 0.08);
      padding: 24px;
      transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 200;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .mobile-menu.open { right: 0; }
    .mobile-menu a {
      display: block;
      padding: 14px 16px;
      border-radius: 12px;
      color: #CBD5E1;
      text-decoration: none;
      font-weight: 500;
      font-size: 16px;
      transition: all 0.2s;
    }
    .mobile-menu a:hover,
    .mobile-menu a:active {
      background: rgba(0, 229, 255, 0.06);
      color: #00E5FF;
    }
    .mobile-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 199;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }
    .mobile-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    /* ── Language Switcher ── */
    .lang-switcher {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      border: 1.5px solid rgba(0, 229, 255, 0.2);
      background: rgba(0, 229, 255, 0.06);
      color: #00E5FF;
      transition: all 0.2s ease;
      letter-spacing: 0.03em;
      user-select: none;
      white-space: nowrap;
    }
    .lang-switcher:hover {
      background: rgba(0, 229, 255, 0.12);
      border-color: rgba(0, 229, 255, 0.4);
    }
    .lang-switcher:active {
      transform: scale(0.95);
    }

    /* ── Language dropdown ── */
    .lang-dropdown {
      position: relative;
      display: inline-block;
    }
    .lang-dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      margin-top: 6px;
      background: rgba(10, 22, 40, 0.98);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(0, 229, 255, 0.15);
      border-radius: 12px;
      padding: 6px;
      min-width: 160px;
      display: none;
      z-index: 300;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    .lang-dropdown-menu.open { display: block; }
    .lang-option {
      display: block;
      width: 100%;
      padding: 10px 14px;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: #CBD5E1;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      text-align: left;
      transition: all 0.15s ease;
      font-family: 'Inter', sans-serif;
    }
    .lang-option:hover { background: rgba(0, 229, 255, 0.08); color: #00E5FF; }
    .lang-option:active { background: rgba(0, 229, 255, 0.12); }
    .lang-option.active { color: #00E5FF; background: rgba(0, 229, 255, 0.06); }
    .lang-option-mobile {
      display: block;
      width: 100%;
      padding: 10px 16px;
      border-radius: 10px;
      border: none;
      background: transparent;
      color: #CBD5E1;
      font-size: 15px;
      font-weight: 500;
      cursor: pointer;
      text-align: left;
      transition: all 0.15s ease;
      font-family: 'Inter', sans-serif;
    }
    .lang-option-mobile:hover { background: rgba(0, 229, 255, 0.08); color: #00E5FF; }
    .lang-option-mobile.active { color: #00E5FF; background: rgba(0, 229, 255, 0.06); }

    /* ── Marquee for languages ── */
    @keyframes marquee {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .marquee-track {
      animation: marquee 30s linear infinite;
    }

    /* ── Focus ── */
    a:focus-visible, button:focus-visible {
      outline: 2px solid #00E5FF;
      outline-offset: 2px;
      border-radius: 8px;
    }

    /* ── Responsive tweaks ── */
    @media (max-width: 420px) {
      .hero-title { font-size: 2rem !important; }
      .section-title { font-size: 1.6rem !important; }
      .btn-cyan, .btn-outline { padding: 14px 24px; font-size: 14px; }
      .agent-card { padding: 18px; }
      .team-card { padding: 24px; }
    }