:root {
  --bg: #0b1220;
  --surface: #121b2e;
  --surface-2: #17233b;
  --text: #e8eefc;
  --muted: #a6b3cc;
  --primary: #3b82f6;
  --primary-2: #60a5fa;
  --accent: #22c55e;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 20px 50px rgba(0,0,0,0.25);
  --radius: 20px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #08101d 0%, #0e1830 100%);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 12, 24, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-logo {
  height: 54px;
  width: auto;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; font-weight: 800; letter-spacing: 1px;
  box-shadow: var(--shadow);
}
.brand-text small { display: block; color: var(--muted); font-size: 12px; }
.brand-text strong { font-size: 15px; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.nav-links a {
  padding: 10px 14px; border-radius: 999px; color: var(--muted); transition: .25s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,0.06); color: #fff;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  transition: .3s ease;
  gap: 5px;
}
.burger-menu:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--primary);
}
.burger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.burger-menu.active .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu.active .burger-bar:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger-menu.active .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero {
  position: relative;
  padding: 88px 0 48px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px; filter: blur(60px); opacity: .35;
}
.hero::before { width: 260px; height: 260px; background: var(--primary); top: 30px; right: -60px; }
.hero::after { width: 220px; height: 220px; background: var(--accent); left: -70px; bottom: 20px; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.kicker {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(59,130,246,0.12); color: #cfe1ff; border: 1px solid rgba(96,165,250,0.2);
  font-size: 14px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  margin: 16px 0 14px;
  letter-spacing: -0.03em;
}
.hero p { color: var(--muted); font-size: 17px; max-width: 760px; }
.hero-card, .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 24px; }
.hero-card h3 { margin-top: 0; font-size: 18px; }
.hero-list { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 12px; }
.hero-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 14px; background: rgba(255,255,255,0.03);
}
.section { padding: 20px 0 72px; }
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}
.section-lead { color: var(--muted); max-width: 820px; margin: 0 0 24px; }
.grid-2, .grid-3, .grid-4 {
  display: grid; gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { padding: 24px; }
.card h3 { margin-top: 0; margin-bottom: 12px; }
.card p, .card li { color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; }
.stat {
  padding: 22px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.stat strong { display: block; font-size: 30px; margin-bottom: 6px; }
.tag-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center; padding: 10px 14px;
  border-radius: 999px; background: rgba(255,255,255,0.05); color: #dbe7ff; border: 1px solid var(--border);
}
.info-block {
  padding: 22px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.info-block strong { display: block; margin-bottom: 8px; }
.notice {
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  background: rgba(59,130,246,0.1);
  border-radius: 14px;
  color: #d8e6ff;
}
.legal-content {
  display: grid; gap: 18px;
}
.legal-content section {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.legal-content h3 { margin-top: 0; margin-bottom: 10px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { margin: 0; padding-left: 20px; }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px;
}
.form-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px;
}
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 14px; color: #d6e2fb; }
input, textarea, select {
  width: 100%; border: 1px solid var(--border); background: rgba(11,18,32,0.75);
  color: var(--text); border-radius: 14px; padding: 14px 14px; font: inherit;
}
textarea { min-height: 160px; resize: vertical; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 14px; font-weight: 600; transition: .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; }
.btn-secondary { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #fff; }
.btn:hover { transform: translateY(-1px); }
.footer {
  padding: 24px 0 40px; border-top: 1px solid var(--border); background: rgba(0,0,0,0.15);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px;
}
.footer p, .footer li, .footer a { color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.small { font-size: 14px; color: var(--muted); }
hr.sep { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .burger-menu { display: flex; }
  .nav { min-height: 70px; }
  .nav-links {
    position: fixed;
    top: 70px; /* Match nav height */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 18, 30, 0.95);
    backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 12px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
    height: calc(100vh - 70px);
    overflow-y: auto;
    display: flex;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    font-size: 17px;
    font-weight: 500;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: #fff;
  }
  .nav-links a:hover {
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.3);
  }
  .dropdown { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .dropdown-toggle { display: flex; justify-content: space-between; align-items: center; }
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 8px;
    box-shadow: none;
  }
  .dropdown-menu a {
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
  }
  .dropdown.active .dropdown-menu { display: flex; }
  .dropdown.active .dropdown-toggle::after { transform: rotate(180deg); }
  .dropdown-toggle::after { transition: transform 0.3s ease; }
}

@media (max-width: 680px) {
  .nav { padding: 10px 0; align-items: center; flex-direction: row; }
  .brand-logo { height: 44px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-card, .card, .legal-content section { padding: 20px; }
}


.dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle::after { content: "▾"; margin-left: 8px; font-size: 12px; opacity: 0.8; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 240px; padding: 12px;
  background: rgba(11,18,32,0.96); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow);
  display: none; flex-direction: column; gap: 8px;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: flex; }
.dropdown-menu a {
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.02); border: 1px solid transparent;
}
.dropdown-menu a:hover { border-color: rgba(96,165,250,0.35); background: rgba(59,130,246,0.08); }
.menu-subtitle { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.page-hero-tight { padding: 72px 0 28px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.service-card {
  background: linear-gradient(180deg, rgba(18,27,46,0.95), rgba(11,18,32,0.92));
  border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.service-card h3 { margin: 0 0 12px; font-size: 22px; }
.service-card p { color: var(--muted); margin: 0 0 18px; }
.service-list { margin: 0 0 22px; padding-left: 18px; color: var(--text); }
.service-list li { margin-bottom: 10px; }
.service-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.2); color: #c9f7d8; font-size: 13px;
}
.solution-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center; }
.info-panel {
  background: linear-gradient(180deg, rgba(18,27,46,0.95), rgba(11,18,32,0.92));
  border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.info-panel h3 { margin-top: 0; }
.video-showcase {
  position: relative; padding: 20px 0 30px;
}
.video-stage {
  display: grid; grid-template-columns: 0.75fr 1.4fr 0.75fr; gap: 18px; align-items: center;
}
.video-card {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--border);
  background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9;
  width: 100%; transition: transform .35s ease, opacity .35s ease;
}
.video-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.video-card.center { max-width: 800px; margin: 0 auto; z-index: 2; }
.video-card.side { max-width: 400px; opacity: 0.4; transform: scale(0.85); }
.video-card video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.video-card.center { opacity: 1; transform: scale(1.05); }
.slider-controls { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.slider-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--text); font-size: 20px; cursor: pointer;
}
.slider-btn:hover { background: rgba(59,130,246,0.14); }
.timeline-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.timeline-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,0.22);
}
.timeline-dots button.active { background: var(--primary-2); }
.highlight-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 24px;
}
.highlight-box {
  padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
@media (max-width: 980px) {
  .services-grid, .highlight-strip, .solution-grid { grid-template-columns: 1fr; }
  .video-stage { grid-template-columns: 1fr; }
  .video-card.side { display: none; }
  .dropdown-menu { position: static; margin-top: 10px; }
}
