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


:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f9fc;
  --bg-card: #ffffff;
  --bg-dark: #0a2540;
  --text-primary: #0a2540;
  --text-secondary: #425466;
  --text-light: #6b7c93;
  --accent: #635bff;
  --accent-light: #7a73ff;
  --accent-blue: #00d4ff;
  --accent-green: #00d924;
  --gradient-accent: linear-gradient(135deg, #635bff, #00d4ff);
  --gradient-cta: linear-gradient(135deg, #635bff, #4b83ff);
  --border: #e3e8ee;
  --border-light: #f0f3f7;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(99,91,255,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text-primary); font-weight: 700; }
.brand-logo { height: 36px; width: auto; }
.nav-desktop { display: flex; gap: 40px; align-items: center; }
.nav-desktop a { text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.nav-desktop a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.lang-switch { display: flex; gap: 16px; align-items: center; }
.lang-switch a { text-decoration: none; color: var(--text-light); font-size: 13px; font-weight: 500; transition: color 0.2s ease; }
.lang-switch a.lang-active { color: var(--accent); font-weight: 600; }
.lang-switch a:hover { color: var(--accent); }
.btn-phone { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-primary); font-size: 14px; font-weight: 600; padding: 10px 20px; border: 1px solid var(--border); border-radius: 50px; transition: all 0.2s ease; }
.btn-phone:hover { border-color: var(--accent); color: var(--accent); }
.phone-icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; }
.hamburger { display: none; flex-direction: column; background: none; border: none; cursor: pointer; gap: 6px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 1px; transition: all 0.3s ease; }
.nav-mobile { display: none; flex-direction: column; gap: 16px; padding: 24px; border-top: 1px solid var(--border); }
.nav-mobile a { text-decoration: none; color: var(--text-secondary); font-weight: 500; transition: color 0.2s ease; }
.nav-mobile a:hover { color: var(--accent); }
main { margin-top: 72px; }

.btn-primary {
  display: inline-block; background: var(--gradient-cta); color: white;
  padding: 14px 30px; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
  transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(99, 91, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99, 91, 255, 0.4); }
.btn-secondary {
  display: inline-block; background: white; color: var(--accent);
  padding: 14px 30px; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 14px; border: 2px solid var(--accent);
  cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { background: var(--accent); color: white; }

section { padding: 80px 0; }
section.hero { padding: 120px 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 24px; color: var(--text-primary); }
.section-subtitle { font-size: 18px; color: var(--text-secondary); margin-bottom: 48px; max-width: 600px; }

.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.3s ease; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--accent); }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.card-description { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

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

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
.hero-content p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.hero-visual { background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(99, 91, 255, 0.1)); border-radius: var(--radius); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 64px; }

.features-list { list-style: none; margin: 24px 0; }
.features-list li { padding: 12px 0; padding-left: 32px; position: relative; color: var(--text-secondary); font-size: 14px; }
.features-list li:before { content: "\2713"; position: absolute; left: 0; color: var(--accent-green); font-weight: bold; font-size: 18px; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

footer { background: var(--bg-dark); color: white; padding: 60px 0 20px; }
footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; margin-bottom: 48px; }
.footer-column h3 { font-size: 14px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-column a:hover { color: white; }
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-description { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-desktop { display: none; }
  body.menu-open .nav-mobile { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; }
  section { padding: 60px 0; }
  section.hero { padding: 80px 0; }
  footer .container { grid-template-columns: 1fr; gap: 32px; }
  .btn-phone { font-size: 12px; padding: 8px 16px; }
}

.floating-cta { display: none; position: fixed; bottom: 24px; right: 24px; z-index: 900; padding: 14px 24px; border-radius: 50px; background: linear-gradient(135deg, #635bff, #4b83ff); color: #fff; font-size: 0.9rem; font-weight: 600; box-shadow: 0 4px 24px rgba(99,91,255,0.35); gap: 8px; align-items: center; transition: transform 0.2s; border: none; cursor: pointer; text-decoration: none; }
.floating-cta:hover { transform: scale(1.05); }
@media (max-width: 768px) { .floating-cta { display: inline-flex; } }

  
.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%; }