/* ===== Block 1 ===== */


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



    :root {

      --bg-primary: #ffffff;

      --bg-secondary: #fafbfe;

      --bg-dark: #0a0a1a;

      --bg-dark-card: #111127;

      --accent: #635bff;

      --accent-light: #7a73ff;

      --accent-blue: #00d4ff;

      --accent-green: #00d924;

      --gradient-accent: linear-gradient(135deg, #635bff 0%, #00d4ff 100%);

      --gradient-cta: linear-gradient(135deg, #635bff 0%, #4b83ff 100%);

      --text-primary: #0a0a1a;

      --text-secondary: #425466;

      --text-muted: #6b7c93;

      --border: rgba(0,0,0,0.06);

      --border-on-dark: rgba(255,255,255,0.06);

      --radius: 16px;

      --radius-sm: 10px;

      --radius-lg: 24px;

      --radius-full: 9999px;

      --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);

      --shadow: 0 4px 24px rgba(0,0,0,0.06);

      --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);

      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    }



    html { scroll-behavior: smooth; }



    body {

      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

      background: var(--bg-primary);

      color: var(--text-primary);

      line-height: 1.6;

      overflow-x: hidden;

    }



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

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

    .container--narrow { max-width: 720px; }



    /* ========== HEADER — Floating Glassmorphism ========== */

    .header {

      position: fixed;

      top: 16px;

      left: 50%;

      transform: translateX(-50%);

      z-index: 1000;

      padding: 12px 32px;

      border-radius: var(--radius-full);

      background: rgba(255,255,255,0.82);

      backdrop-filter: blur(24px) saturate(1.6);

      -webkit-backdrop-filter: blur(24px) saturate(1.6);

      border: 1px solid rgba(0,0,0,0.04);

      box-shadow: 0 2px 16px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.02);

      display: flex;

      align-items: center;

      gap: 20px;

      transition: padding 0.4s var(--ease-out-expo), top 0.4s var(--ease-out-expo), opacity 0.3s ease, transform 0.4s var(--ease-out-expo);

      will-change: transform, padding, opacity;

      max-width: 1080px;

      width: calc(100% - 32px);

    }



    .header.shrink { padding: 8px 28px; }

    .header.hidden { opacity: 0; transform: translateX(-50%) translateY(-120%); }



    .brand-link {

      display: flex;

      align-items: center;

      gap: 0;

      text-decoration: none;

      flex-shrink: 0;

    }



    .brand-logo { height: 36px; width: 36px; border-radius: 8px; }



    .brand-text {

      font-family: 'Inter', sans-serif;

      font-size: 22px;

      font-weight: 800;

      letter-spacing: -0.5px;

      color: var(--text-primary);

      margin-left: 8px;

    }



    .brand-text .it { color: var(--accent); }



    .nav {

      display: flex;

      gap: 22px;

      align-items: center;

      flex: 1;

      justify-content: center;

    }



    .nav a {

      font-size: 0.88rem;

      font-weight: 500;

      color: var(--text-secondary);

      transition: color 0.2s;

      position: relative;

      padding: 4px 0;

    }



    .nav a::after {

      content: '';

      position: absolute;

      bottom: 0;

      left: 50%;

      width: 0;

      height: 2px;

      background: var(--accent);

      border-radius: 1px;

      transition: width 0.3s var(--ease-out-expo), left 0.3s var(--ease-out-expo);

    }



    .nav a:hover { color: var(--text-primary); }

    .nav a:hover::after { width: 100%; left: 0; }



    .nav-lang {

      display: flex;

      gap: 8px;

      align-items: center;

      margin-left: 4px;

    }



    .nav-lang a { font-size: 0.82rem; }

    .nav-lang a.active { color: var(--accent); font-weight: 600; }



    .header-cta {

      display: inline-flex;

      align-items: center;

      gap: 8px;

      padding: 9px 20px;

      border-radius: var(--radius-full);

      background: var(--gradient-cta);

      color: #fff;

      font-size: 0.85rem;

      font-weight: 600;

      transition: transform 0.2s, box-shadow 0.3s;

      white-space: nowrap;

      flex-shrink: 0;

    }



    .header-cta:hover {

      transform: translateY(-1px);

      box-shadow: 0 4px 20px rgba(99,91,255,0.4), 0 0 40px rgba(99,91,255,0.15);

    }



    .header-cta svg { width: 15px; height: 15px; }



    .header-cta-portal {

      background: transparent !important;

      border: 1.5px solid rgba(0,0,0,0.1) !important;

      color: var(--text-secondary) !important;

      padding: 8px 14px !important;

      box-shadow: none !important;

      font-size: 0.82rem !important;

    }

    .header-cta-portal:hover {

      border-color: var(--accent) !important;

      color: var(--accent) !important;

      background: rgba(99,91,255,0.04) !important;

      box-shadow: 0 4px 20px rgba(99,91,255,0.15) !important;

    }



    @media (max-width: 1100px) {

      .header-cta-portal { padding: 8px 10px !important; font-size: 0 !important; }

      .header-cta-portal svg { width: 16px; height: 16px; }

    }



    .menu-toggle {

      display: none;

      background: none;

      border: none;

      cursor: pointer;

      padding: 8px;

      margin-left: auto;

    }



    .menu-toggle span {

      display: block;

      width: 22px;

      height: 2px;

      background: var(--text-primary);

      margin: 5px 0;

      transition: 0.3s;

      border-radius: 2px;

    }



    .mobile-overlay {

      display: none;

      position: fixed;

      inset: 0;

      background: rgba(255,255,255,0.98);

      backdrop-filter: blur(20px);

      z-index: 999;

      flex-direction: column;

      align-items: center;

      justify-content: center;

      gap: 28px;

    }



    .mobile-overlay.active { display: flex; }

    .mobile-overlay a { font-size: 1.3rem; font-weight: 600; color: var(--text-primary); }



    .mobile-overlay .close-btn {

      position: absolute;

      top: 20px;

      right: 24px;

      background: none;

      border: none;

      color: var(--text-primary);

      font-size: 2rem;

      cursor: pointer;

    }



    /* ========== SUB-PAGE HERO (dark, compact) ========== */

    .hero-compact {

      background: var(--bg-dark);

      padding: 80px 0 60px;

      position: relative;

      overflow: hidden;

      text-align: center;

    }



    .hero-compact h1 {

      font-size: clamp(2rem, 4.5vw, 3rem);

      font-weight: 900;

      letter-spacing: -2px;

      line-height: 1.08;

      color: #fff;

      opacity: 0;

      animation: heroFadeIn 0.8s var(--ease-out-expo) 0.15s forwards;

    }



    .hero-compact h1 .gradient {

      background: linear-gradient(135deg, #635bff, #00d4ff, #635bff);

      background-size: 200% 100%;

      -webkit-background-clip: text;

      -webkit-text-fill-color: transparent;

      background-clip: text;

      animation: gradientShift 6s ease-in-out infinite;

    }



    @keyframes gradientShift {

      0%, 100% { background-position: 0% 50%; }

      50% { background-position: 100% 50%; }

    }



    @keyframes heroFadeIn {

      from { opacity: 0; transform: translateY(20px); }

      to { opacity: 1; transform: translateY(0); }

    }



    /* ========== LEGAL CONTENT ========== */

    .legal-content {

      padding: 80px 0 100px;

    }



    .legal-content h2 {

      margin-top: 48px;

      font-size: 1.3rem;

      font-weight: 700;

      color: var(--text-primary);

      letter-spacing: -0.3px;

    }



    .legal-content h2:first-of-type {

      margin-top: 0;

    }



    .legal-content p {

      margin: 12px 0;

      font-size: 0.95rem;

      color: var(--text-secondary);

      line-height: 1.7;

    }



    .legal-content a {

      color: var(--accent);

      text-decoration: underline;

      text-underline-offset: 2px;

    }



    .legal-content a:hover {

      color: var(--accent-light);

    }



    .legal-update {

      margin-top: 56px;

      padding-top: 24px;

      border-top: 1px solid var(--border);

      font-size: 0.85rem;

      color: var(--text-muted);

    }



    /* ========== FOOTER — Linear Style ========== */

    .footer {

      background: #050510;

      padding: 72px 0 32px;

      position: relative;

    }



    .footer::before {

      content: '';

      position: absolute;

      top: 0;

      left: 50%;

      transform: translateX(-50%);

      width: 300px;

      height: 1px;

      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);

    }



    .footer-grid {

      display: grid;

      grid-template-columns: 2fr 1fr 1fr 1fr;

      gap: 40px;

      margin-bottom: 48px;

    }



    .footer-brand p {

      font-size: 0.85rem;

      color: rgba(255,255,255,0.4);

      margin-top: 14px;

      line-height: 1.7;

    }



    .footer-col h4 {

      font-size: 0.75rem;

      font-weight: 700;

      text-transform: uppercase;

      letter-spacing: 1.5px;

      color: rgba(255,255,255,0.35);

      margin-bottom: 16px;

    }



    .footer-col a {

      display: block;

      font-size: 0.88rem;

      color: rgba(255,255,255,0.5);

      padding: 5px 0;

      transition: color 0.2s, transform 0.2s;

    }



    .footer-col a:hover { color: rgba(255,255,255,0.9); transform: translateX(2px); }



    .footer-bottom {

      border-top: 1px solid rgba(255,255,255,0.06);

      padding-top: 24px;

      display: flex;

      justify-content: space-between;

      align-items: center;

      flex-wrap: wrap;

      gap: 12px;

      font-size: 0.8rem;

      color: rgba(255,255,255,0.35);

    }



    .footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }

    .footer-bottom a:hover { color: rgba(255,255,255,0.8); }



    /* ========== FLOATING CTA ========== */

    .floating-cta {

      position: fixed;

      bottom: 24px;

      right: 24px;

      z-index: 900;

      padding: 14px 24px;

      border-radius: var(--radius-full);

      background: var(--gradient-cta);

      color: #fff;

      font-size: 0.9rem;

      font-weight: 600;

      box-shadow: 0 4px 24px rgba(99,91,255,0.4), 0 0 40px rgba(99,91,255,0.15);

      display: inline-flex;

      gap: 8px;

      align-items: center;

      transition: transform 0.2s;

      border: none;

      cursor: pointer;

    }



    .floating-cta:hover { transform: scale(1.05); }



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

    @media (max-width: 768px) {

      .nav, .header-cta, .nav-lang { display: none; }

      .menu-toggle { display: block; }



      .header {

        top: 12px;

        padding: 10px 20px;

        gap: 12px;

      }



      .hero-compact { padding: 80px 0 48px; }



      .footer-grid { grid-template-columns: 1fr; gap: 24px; }

      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }



      .legal-content { padding: 60px 0 80px; }

    }



    /* ========== REDUCED MOTION ========== */

    @media (prefers-reduced-motion: reduce) {

      *, *::before, *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

      }

    }

  

.nav-dropdown { position: relative; }

.nav-dropdown > a { display:inline-flex; align-items:center; gap:4px; }





.nav-dropdown-menu { display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); padding-top:12px; z-index:100; }

.nav-dropdown:hover .nav-dropdown-menu { display:block; }

.nav-dropdown-menu ul { list-style:none; background:rgba(15,15,30,0.95); backdrop-filter:blur(20px); border:1px solid rgba(255,255,255,0.08); border-radius:12px; padding:8px 0; min-width:200px; box-shadow:0 12px 40px rgba(0,0,0,0.5); }

.nav-dropdown-menu li a { display:block; padding:10px 20px; font-size:0.85rem; color:rgba(255,255,255,0.7); transition:all 0.15s; }

.nav-dropdown-menu li a:hover { color:#fff; background:rgba(255,255,255,0.06); }

.nav-nis2 { position:relative; }

.nav-nis2::after { content:''; position:absolute; top:-2px; right:-8px; width:6px; height:6px; background:#ff4444; border-radius:50%; }