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

:root {
  --bg-deep: #0F172A;
  --bg-card: #1E293B;
  --accent: #38BDF8;
  --accent-dark: #0EA5E9;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}
.nav-logo {
  text-decoration: none;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* LANG SWITCHER */
.lang-switcher {
  display: flex;
  gap: 0.4rem;
  margin-left: 2rem;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }
.lang-btn.active { color: var(--accent); border-color: var(--accent); background: rgba(56, 189, 248, 0.08); }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
}
.hero-inner { max-width: 720px; }
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
h1 span { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #0F172A;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

/* SECTIONS */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}
.section-title span { color: var(--accent); }

/* SERVICES */
#services { background: var(--bg-card); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-deep);
  border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; }

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-item {
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* CONTACT */
#contact { background: var(--bg-card); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); font-size: 0.95rem; }
form { display: flex; flex-direction: column; gap: 1rem; }
form input, form textarea {
  background: var(--bg-deep);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
form input:focus, form textarea:focus { border-color: var(--accent); }
form textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(56, 189, 248, 0.08);
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* MOBILE */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  nav { padding: 1rem; }
  .lang-switcher { margin-left: 0; }
}
