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

:root {
  --blue: #0078D4;
  --blue-light: #00BCF2;
  --blue-dark: #005a9e;
  --bg: #0a0f1e;
  --bg2: #0d1526;
  --bg3: #111d35;
  --card: #111d35;
  --card-border: #1e3056;
  --text: #e8f0fe;
  --text-muted: #7a9bc4;
  --white: #ffffff;
  --green: #22c55e;
  --radius: 14px;
  --shadow: 0 4px 32px rgba(0,120,212,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--card-border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { text-decoration: none; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-luna { color: var(--white); }
.logo-soft { color: var(--blue); }

.nav-links {
  list-style: none; display: flex; gap: 8px; align-items: center;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links .nav-cta {
  background: var(--blue); color: var(--white); padding: 7px 18px;
}
.nav-links .nav-cta:hover { background: var(--blue-dark); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  background: var(--card); border: 1px solid var(--card-border);
  color: var(--text-muted); font-size: 0.8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 8px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { color: var(--white); border-color: var(--blue); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px; transition: 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(0,120,212,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 70%, rgba(0,188,242,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,120,212,0.12); border: 1px solid rgba(0,120,212,0.3);
  color: var(--blue-light); font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.ms-trust-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -2px;
  color: var(--white); margin-bottom: 24px;
}
.hero-title .accent { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); max-width: 560px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.btn-primary {
  display: inline-block; background: var(--blue); color: var(--white);
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; text-align: center; font-size: 1rem; padding: 15px; }

.btn-ghost {
  display: inline-block; color: var(--text); border: 1px solid var(--card-border);
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--card-border); }

.hero-shield {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: clamp(120px, 18vw, 220px); opacity: 0.6;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%,100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-16px); }
}

/* ── SECTION COMMON ── */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  color: var(--white); letter-spacing: -1px; line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted); max-width: 600px;
  margin-bottom: 56px; line-height: 1.7;
}

/* ── SERVICES ── */
.services { padding: 100px 0; background: var(--bg2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(0,120,212,0.4); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(0,120,212,0.5); background: linear-gradient(135deg, #111d35 0%, #0d1a33 100%); }
.service-card.featured::before { opacity: 1; }

.featured-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--blue); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 999px;
}
.service-icon { margin-bottom: 20px; }
.service-icon svg { width: 40px; height: 40px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-size: 0.8rem; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
}

/* ── WHY ── */
.why { padding: 100px 0; background: var(--bg); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(0,120,212,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 20px; height: 20px; }
.why-feature h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.why-feature p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.why-visual { display: flex; justify-content: center; align-items: center; }
.ms-badge-stack { position: relative; width: 260px; height: 280px; }
.ms-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 10px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
}
.score-ring { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
.floating-card {
  position: absolute; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 8px 14px; font-size: 0.78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.fc1 { left: -10px; top: 50%; }
.fc2 { right: -10px; top: 60%; animation-delay: 2s; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fc-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.fc-dot.blue { background: var(--blue); box-shadow: 0 0 6px var(--blue); }

/* ── ABOUT ── */
.about { padding: 80px 0; background: var(--bg2); text-align: center; }
.about .section-title { margin: 0 auto 16px; }
.about .section-sub { margin: 0 auto; }

/* ── CONTACT ── */
.contact { padding: 100px 0; background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-item a, .contact-item span {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--blue); }

.contact-form {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 11px 14px; color: var(--white);
  font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s;
  outline: none; resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #3a5070; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
}
.form-group select option { background: var(--bg2); color: var(--white); }

.form-success {
  display: none; align-items: center; gap: 10px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: var(--green); padding: 12px 16px; border-radius: 8px; font-size: 0.875rem;
}
.form-success.visible { display: flex; }

/* ── FOOTER ── */
.footer { background: var(--bg2); border-top: 1px solid var(--card-border); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; flex-wrap: wrap; gap: 32px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; max-width: 260px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--card-border); font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; gap: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(10,15,30,0.97); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid var(--card-border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-shield { display: none; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .contact-form { padding: 24px; }
}
