/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07080d;
  --bg2: #0d0f18;
  --bg3: #111420;
  --surface: #131620;
  --surface2: #191d2e;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #e8eaf0;
  --text2: #9095a8;
  --text3: #5a5f72;
  --accent: #2563eb;
  --accent2: #3b82f6;
  --accent-glow: rgba(37,99,235,0.18);
  --green: #10b981;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: var(--surface2); color: var(--text); }

/* === TOPBAR === */
.topbar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  color: var(--text3);
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text3);
  transition: color 0.15s;
}
.topbar-item:hover { color: var(--text2); }
.topbar-item svg { flex-shrink: 0; }
.topbar-divider { width: 1px; height: 14px; background: var(--border2); }
@media (max-width: 680px) { .topbar { display: none; } }

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,8,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.6); border-bottom-color: var(--border2); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
}
.logo {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-right: 16px;
  flex-shrink: 0;
}
.logo span { color: var(--accent2); }
.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  align-items: center;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-links a.active { color: var(--text); background: var(--surface2); }
.nav-cta { margin-left: auto; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text2);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
}
.mobile-menu a:hover { color: var(--text); background: var(--surface2); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* === HERO === */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 50% -100px, rgba(37,99,235,0.12), transparent),
    radial-gradient(ellipse 600px 400px at 80% 60%, rgba(59,130,246,0.06), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  border: 1px solid rgba(59,130,246,0.25);
  background: rgba(37,99,235,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text3); font-weight: 500; }
.stat-divider { width: 1px; height: 36px; background: var(--border2); }

/* === SECTION === */
.section { padding: 96px 0; }
.section-dark { background: var(--bg2); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 14px;
}
.section-header p { color: var(--text2); font-size: 16px; line-height: 1.7; }

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
}
.service-card:hover {
  border-color: rgba(59,130,246,0.3);
  background: var(--surface2);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .section-tag { display: block; text-align: left; }
.about-text h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 20px;
}
.about-text p { color: var(--text2); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.about-points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.about-point { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text2); }
.point-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); flex-shrink: 0; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text2);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.status-text { font-size: 13px; color: var(--green); font-weight: 500; }
.about-metrics { padding: 8px 0; }
.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.metric:last-child { border-bottom: none; }
.metric-label { font-size: 13px; color: var(--text2); }
.metric-value { font-size: 15px; font-weight: 700; color: var(--text); }

/* === WHY US === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s;
}
.why-card:hover { border-color: var(--border2); }
.why-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent2);
  opacity: 0.7;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.why-card p { font-size: 14px; color: var(--text2); line-height: 1.75; }

/* === CTA BANNER === */
.cta-banner {
  background: #0a0f1e;
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.cta-inner p { color: var(--text2); font-size: 15px; }

/* === FOOTER === */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 12px; font-size: 18px; }
.footer-brand p { font-size: 13px; color: var(--text3); max-width: 260px; line-height: 1.7; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text2); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 13px;
  color: var(--text3);
}

/* === LANG TOGGLE === */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 5px;
  border: none;
  background: none;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.lang-btn:hover { color: var(--text2); }
.lang-btn.active { background: var(--accent); color: #fff; }

/* === NAV DROPDOWN === */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.nav-dropdown-btn:hover { color: var(--text); background: var(--surface2); }
.nav-dropdown-btn svg { transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s;
}
.nav-dropdown-item:hover { background: var(--surface2); }
.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent2);
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.dropdown-item-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.dropdown-item-sub { font-size: 11px; color: var(--text3); }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.dropdown-cta {
  display: block;
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  transition: background 0.15s;
}
.dropdown-cta:hover { background: rgba(37,99,235,0.08); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #team .container > div > div:first-child { width: 100% !important; min-height: 260px !important; }
  #team .container > div { flex-direction: column !important; }
  #team .container > div > div:last-child { padding: 24px !important; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .section { padding: 64px 0; }
}

/* === SECTION DIVIDERS === */
.section-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-top: -1px;
}
.section-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--surface);
  border-top: 1px solid var(--border2);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text p { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0; }
.cookie-text a { color: var(--accent2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept {
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.cookie-accept:hover { background: var(--accent2); }
.cookie-decline {
  padding: 10px 18px;
  background: transparent;
  color: var(--text3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.cookie-decline:hover { color: var(--text2); background: var(--surface2); }
@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}

/* === PRIVACY PAGE === */
.priv-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.priv-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.priv-section p { font-size: 14px; color: var(--text2); line-height: 1.8; }
.priv-section a { color: var(--accent2); }
.priv-section ul {
  margin: 12px 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.priv-section li { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* === MOBILE IMPROVEMENTS === */
@media (max-width: 680px) {
  .lang-toggle { display: none; }
  .topbar-right { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .section-header h2 { font-size: clamp(24px, 6vw, 40px); }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { gap: 20px; }
  .cta-inner .btn { width: 100%; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .contact-info { margin-top: 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 60px; }
  .topbar { height: 32px; font-size: 11px; }
  .hero { padding: 48px 0 40px; }
  h1 { font-size: clamp(28px, 8vw, 48px) !important; }
  .service-card, .why-card { padding: 24px 20px; }
}

/* === CONTACT PAGE === */
.contact-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.contact-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 14px;
}
.contact-hero p { font-size: 16px; color: var(--text2); max-width: 480px; line-height: 1.7; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  padding: 64px 0 96px;
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-card h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text3); }
input:focus, textarea:focus, select:focus { border-color: rgba(59,130,246,0.5); }
select { cursor: pointer; }
select option { background: var(--bg2); }
textarea { resize: vertical; min-height: 130px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--text3); text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}
.form-success h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text2); }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.info-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  flex-shrink: 0;
}
.info-card h3 { font-size: 14px; font-weight: 600; color: var(--text); }
.info-card p { font-size: 13px; color: var(--text2); line-height: 1.6; }
.info-card a { color: var(--accent2); }
.info-card a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
