/* =====================================================================
   v2.css — Appther New Design System
   Dark-first theme matching the React site exactly
   ===================================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #0080ff;
  --primary-dark: #0066cc;
  --primary-glow: rgba(0, 128, 255, 0.3);
  --bg-dark: #0b0e14;
  --bg-dark2: #0d1117;
  --bg-dark3: #161b22;
  --bg-card: rgba(255,255,255,0.04);
  --border-dark: rgba(255,255,255,0.07);
  --border-dark2: rgba(255,255,255,0.10);
  --text-white: #ffffff;
  --text-slate-300: #cbd5e1;
  --text-slate-400: #94a3b8;
  --text-slate-500: #64748b;
  --text-slate-900: #0f172a;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-primary: 0 10px 40px rgba(0,128,255,0.25);
  --container-max: 1280px;
  --container-pad: clamp(16px, 4vw, 64px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Dark page base ── */
.v2-dark-page {
  background: var(--bg-dark);
  color: var(--text-white);
}
.v2-light-page {
  background: #ffffff;
  color: var(--text-slate-900);
}

/* ── Skip link ── */
.v2-skip {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.v2-skip:focus { left: 16px; }

/* ══════════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════════ */
.v2-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.v2-dark-page .v2-header { background: transparent; }
.v2-light-page .v2-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,0.08); }
.v2-header.v2-header-scrolled { background: rgba(255,255,255,0.97) !important; backdrop-filter: blur(16px); box-shadow: 0 2px 20px rgba(0,0,0,0.12) !important; }
.v2-header.v2-header-scrolled .v2-nav-btn,
.v2-header.v2-header-scrolled .v2-nav-link { color: #0f172a !important; }
.v2-header.v2-header-scrolled .v2-cta-btn { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; }

.v2-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  height: 72px;
  gap: 16px;
  position: relative;
}
.v2-logo { display: flex; align-items: center; flex-shrink: 0; }
.v2-logo img { height: 36px; width: auto; transition: opacity 0.2s; }

.v2-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}
@media (min-width: 1024px) { .v2-nav-links { display: flex; } }

/* Nav buttons */
.v2-nav-btn, .v2-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-white);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}
.v2-dark-page .v2-nav-btn, .v2-dark-page .v2-nav-link { color: #fff; }
.v2-light-page .v2-nav-btn, .v2-light-page .v2-nav-link { color: #0f172a; }
.v2-nav-btn:hover, .v2-nav-link:hover { color: var(--primary) !important; }
.v2-chevron { transition: transform 0.2s; flex-shrink: 0; }
.v2-mega-open + * .v2-chevron,
[aria-expanded="true"] .v2-chevron { transform: rotate(180deg); }

/* AI pill */
.v2-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 6px 14px 6px 12px;
  margin-right: 8px;
  border-radius: 100px;
  background: #0b0b1a;
  border: 1px solid rgba(168,85,247,0.4);
  box-shadow: 0 0 20px rgba(168,85,247,0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.v2-ai-pill:hover { box-shadow: 0 0 28px rgba(168,85,247,0.55); border-color: rgba(168,85,247,0.7); }
.v2-ai-halo {
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(168,85,247,0.55), rgba(217,70,239,0.45), rgba(99,102,241,0.55));
  opacity: 0.7;
  filter: blur(8px);
  pointer-events: none;
}
.v2-ai-grad {
  background: linear-gradient(90deg, #a78bfa, #22d3ee, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* CTA button */
.v2-cta-btn {
  display: none;
  padding: 9px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 8px;
  border: 1.5px solid;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}
@media (min-width: 1024px) { .v2-cta-btn { display: inline-flex; align-items: center; } }
.v2-dark-page .v2-cta-btn:not(.v2-cta-solid) {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.v2-dark-page .v2-cta-btn:not(.v2-cta-solid):hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.v2-cta-solid, .v2-light-page .v2-cta-btn, .v2-header-scrolled .v2-cta-btn {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.v2-cta-solid:hover, .v2-light-page .v2-cta-btn:hover { background: var(--primary-dark) !important; }

/* ── Mega menus ── */
.v2-mega-wrap { position: static; }
.v2-mega {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-8px);
  background: #0a0e1c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 999;
}
.v2-mega.v2-mega-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Services mega */
.v2-services-mega {
  width: min(90vw, 900px);
  left: 0;
}
.v2-services-mega.v2-mega-open { transform: translateY(0); }
.v2-mega-layout { display: flex; height: 480px; }
.v2-mega-cats {
  width: 220px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 20px 12px;
  flex-shrink: 0;
  overflow-y: auto;
}
.v2-mega-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; padding-left: 4px; }
.v2-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  color: #94a3b8;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 2px;
}
.v2-cat-btn:hover, .v2-cat-active { background: var(--primary) !important; color: #fff !important; }
.v2-cat-icon { font-size: 16px; width: 28px; text-align: center; }
.v2-cat-name { display: block; font-size: 12px; font-weight: 600; }
.v2-cat-count { display: block; font-size: 10px; opacity: 0.7; margin-top: 1px; }

.v2-mega-services {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: start;
}
.v2-srv-card {
  display: block;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  height: fit-content;
}
.v2-srv-card:hover { border-color: rgba(0,128,255,0.4); background: rgba(0,128,255,0.06); }
.v2-srv-card strong { display: block; font-size: 12px; color: #fff; margin-bottom: 5px; line-height: 1.3; }
.v2-srv-card p { font-size: 11px; color: #64748b; line-height: 1.5; margin: 0; }

.v2-mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 12px 12px;
  gap: 16px;
}
.v2-mega-footer p { font-size: 12px; color: #94a3b8; }
.v2-mega-footer strong { color: #fff; }
.v2-mega-footer-btns { display: flex; gap: 8px; flex-shrink: 0; }
.v2-btn-ghost-sm {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.v2-btn-ghost-sm:hover { background: rgba(255,255,255,0.14); }
.v2-btn-primary-sm {
  padding: 6px 16px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.v2-btn-primary-sm:hover { background: var(--primary-dark); }

/* Industries mega */
.v2-industries-mega {
  width: min(90vw, 860px);
  left: 0;
  border-radius: 0 0 12px 12px;
  padding: 28px var(--container-pad);
}
.v2-industries-mega.v2-mega-open { transform: translateY(0); }
.v2-ind-container { max-width: 860px; }
.v2-ind-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 24px; }
.v2-ind-header-left { display: flex; align-items: center; gap: 12px; }
.v2-ind-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(0,128,255,0.15); border: 1px solid rgba(0,128,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.v2-ind-stats { display: flex; gap: 32px; }
.v2-ind-stats div { text-align: right; }
.v2-ind-stats strong { display: block; font-size: 15px; color: #fff; }
.v2-ind-stats span { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; }
.v2-ind-group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(0,128,255,0.8);
  margin-bottom: 14px;
}
.v2-ind-line { height: 1px; width: 24px; background: rgba(0,128,255,0.6); flex-shrink: 0; }
.v2-ind-line-full { height: 1px; flex: 1; background: rgba(255,255,255,0.06); }
.v2-ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 768px) { .v2-ind-grid { grid-template-columns: repeat(2, 1fr); } }
.v2-ind-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.v2-ind-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: #fff; }
.v2-ind-card-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.v2-ind-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 14px 20px;
  background: rgba(0,128,255,0.08);
  border: 1px solid rgba(0,128,255,0.2);
  border-radius: 16px;
}
.v2-ind-cta p { font-size: 13px; color: #94a3b8; }
.v2-ind-cta strong { color: #fff; }

/* Resources dropdown */
.v2-res-wrap { position: relative; }
.v2-res-wrap .v2-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: #0a0e1c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.v2-res-wrap .v2-dropdown.v2-mega-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.v2-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  color: inherit;
  transition: background 0.15s;
}
.v2-dropdown-item:hover { background: rgba(255,255,255,0.05); }
.v2-dropdown-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.v2-dropdown-item strong { display: block; font-size: 13px; color: #fff; margin-bottom: 2px; }
.v2-dropdown-item p { font-size: 11px; color: #64748b; margin: 0; }
.v2-badge { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; border: 1px solid; flex-shrink: 0; }
.v2-dropdown-divider { display: flex; align-items: center; gap: 8px; padding: 10px 14px 6px; }
.v2-dropdown-divider span { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: #475569; text-transform: uppercase; white-space: nowrap; }
.v2-dropdown-divider::before { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.07); }
.v2-dropdown-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.07); }

/* ── Mobile menu ── */
.v2-mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
@media (min-width: 1024px) { .v2-mobile-toggle { display: none; } }
.v2-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.v2-dark-page.v2-header-scrolled .v2-mobile-toggle span,
.v2-light-page .v2-mobile-toggle span { background: #0f172a; }
.v2-toggle-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-toggle-open span:nth-child(2) { opacity: 0; }
.v2-toggle-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.v2-mobile-menu {
  display: none;
  padding: 20px var(--container-pad) 24px;
  background: rgba(10,14,28,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.v2-mobile-menu.v2-mobile-open { display: block; }
@media (min-width: 1024px) { .v2-mobile-menu { display: none !important; } }
.v2-mob-link {
  display: block;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.v2-mob-link:hover { color: var(--primary); }
.v2-btn-primary-mob {
  display: block;
  margin-top: 20px;
  padding: 14px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.v2-btn-primary-mob:hover { background: var(--primary-dark); }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.v2-offices {
  background: #0f172a;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.v2-offices-title { font-size: 16px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 28px; letter-spacing: 0.1em; }
.v2-offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
@media (max-width: 768px) { .v2-offices-grid { grid-template-columns: 1fr; gap: 20px; } }
.v2-office { display: flex; align-items: center; gap: 16px; justify-content: center; padding: 16px; }
.v2-office-border { border-left: 1px solid rgba(255,255,255,0.08); border-right: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 768px) { .v2-office-border { border: none; } }
.v2-office img { height: 48px; width: auto; object-fit: contain; flex-shrink: 0; }
.v2-office h3 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: 0.05em; }
.v2-office address { font-size: 12px; color: #94a3b8; line-height: 1.6; font-style: normal; }

.v2-footer { background: #080d1a; color: #fff; margin-top: 0; }
.v2-footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 48px;
}
@media (max-width: 1200px) { .v2-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@media (max-width: 768px) { .v2-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 640px) { .v2-footer-grid { grid-template-columns: 1fr; } }
.v2-footer-grid h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 20px; letter-spacing: 0.08em; }
.v2-footer-grid ul { list-style: none; }
.v2-footer-grid li { margin-bottom: 10px; }
.v2-footer-grid a { font-size: 13px; color: #94a3b8; transition: color 0.2s; }
.v2-footer-grid a:hover { color: var(--primary); }
.v2-footer-connect { }
.v2-footer-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.v2-footer-contact-item { display: flex; align-items: center; gap: 12px; }
.v2-footer-contact-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.v2-footer-contact-label { font-size: 10px; color: #64748b; display: block; margin-bottom: 2px; }
.v2-footer-contact a { font-size: 13px; color: var(--primary); }
.v2-footer-social { display: flex; gap: 8px; }
.v2-social-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.v2-social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.v2-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); }
.v2-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.v2-footer-bottom-left { display: flex; align-items: center; gap: 20px; }
.v2-footer-bottom-left img { height: 22px; width: auto; }
.v2-footer-bottom-left p { font-size: 12px; color: #64748b; }
.v2-footer-legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.v2-footer-legal a { font-size: 12px; color: #64748b; transition: color 0.2s; }
.v2-footer-legal a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════════
   SHARED LAYOUT
══════════════════════════════════════════════════════════════════ */
.v2-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.v2-section { padding: 96px 0; }
.v2-section-sm { padding: 64px 0; }
.v2-section-border { border-top: 1px solid var(--border-dark); }

/* Section header */
.v2-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.v2-h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.v2-h2 { font-size: clamp(1.75rem, 3vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.v2-h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.25; }
.v2-grad-text {
  background: linear-gradient(135deg, var(--primary), #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.v2-lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #94a3b8; line-height: 1.7; }
.v2-text { font-size: 14px; color: #94a3b8; line-height: 1.7; }

/* ── Cards ── */
.v2-card {
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}
.v2-card:hover { border-color: rgba(0,128,255,0.3); }
.v2-glass-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

/* ── Grids ── */
.v2-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.v2-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.v2-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 1024px) { .v2-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) {
  .v2-grid-2, .v2-grid-3, .v2-grid-4 { grid-template-columns: 1fr; }
}

/* ── Buttons ── */
.v2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.v2-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-primary); }
.v2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.v2-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* ── Stats bar ── */
.v2-stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 768px) { .v2-stats-bar { grid-template-columns: repeat(2,1fr); } }
.v2-stat { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 24px; text-align: center; }
.v2-stat-value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; }
.v2-stat-label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ── Decorative ── */
.v2-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.v2-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.v2-timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

/* ── Reveal animations ── */
.v2-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.v2-revealed { opacity: 1 !important; transform: none !important; }

/* ── FAQ ── */
.v2-faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.v2-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}
.v2-faq-icon { width: 24px; height: 24px; border-radius: 6px; background: rgba(0,128,255,0.1); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v2-faq-icon::after { content: '+'; font-size: 16px; color: var(--primary); font-weight: 700; }
.v2-faq-open .v2-faq-icon { background: var(--primary); }
.v2-faq-open .v2-faq-icon::after { content: '−'; color: #fff; }
.v2-faq-a { display: none; padding-bottom: 20px; color: #94a3b8; font-size: 14px; line-height: 1.7; }
.v2-faq-open .v2-faq-a { display: block; }

/* ── Contact form (light) ── */
.v2-form-card {
  background: #fff;
  border: 2px solid rgba(0,128,255,0.15);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
@media (max-width: 640px) { .v2-form-card { padding: 28px 20px; } }
.v2-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.2s;
  outline: none;
}
.v2-input:focus { border-color: var(--primary); }
.v2-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition: border-color 0.2s;
}
.v2-textarea:focus { border-color: var(--primary); }
.v2-label-text { display: block; font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.v2-form-btn {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.v2-form-btn:hover { background: var(--primary-dark); }
.v2-form-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Hero ── */
.v2-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.v2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,128,255,0.1);
  border: 1px solid rgba(0,128,255,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 28px;
}
.v2-pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: v2-pulse 2s infinite; }
@keyframes v2-pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

/* ── Testimonials ── */
.v2-testi-card {
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.3s;
}
.v2-testi-card:hover { border-color: rgba(0,128,255,0.3); }
.v2-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.v2-star { color: #f59e0b; font-size: 14px; }
.v2-quote-mark { font-size: 40px; color: rgba(0,128,255,0.2); line-height: 1; margin-bottom: 12px; }
.v2-testi-text { font-size: 13px; color: #94a3b8; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.v2-testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; }
.v2-testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0,128,255,0.2); }
.v2-testi-name { font-size: 13px; font-weight: 600; color: #fff; }
.v2-testi-role { font-size: 11px; color: #64748b; }

/* ── Tech marquee ── */
.v2-marquee-wrap { overflow: hidden; }
.v2-marquee { display: flex; gap: 12px; animation: v2-marquee 30s linear infinite; width: max-content; }
.v2-marquee-rev { animation-direction: reverse; }
.v2-marquee:hover { animation-play-state: paused; }
@keyframes v2-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.v2-tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #cbd5e1;
  white-space: nowrap;
}

/* ── Process steps ── */
.v2-process { display: flex; gap: 0; position: relative; }
.v2-process::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,128,255,0.3) 20%, rgba(0,128,255,0.3) 80%, transparent);
}
@media (max-width: 768px) { .v2-process { flex-direction: column; gap: 24px; } .v2-process::before { display: none; } }
.v2-process-step { flex: 1; padding: 0 16px; text-align: center; position: relative; }
.v2-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 1; }
.v2-step-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.v2-step-desc { font-size: 12px; color: #64748b; line-height: 1.5; }

/* ── Value cards ── */
.v2-value-card {
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.v2-value-card:hover { border-color: rgba(0,128,255,0.35); }
.v2-value-icon { width: 48px; height: 48px; background: rgba(0,128,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; transition: background 0.3s; }
.v2-value-card:hover .v2-value-icon { background: rgba(0,128,255,0.2); }
.v2-value-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.v2-value-desc { font-size: 13px; color: #64748b; line-height: 1.7; }

/* ── CTA banner ── */
.v2-cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.v2-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,128,255,0.1), transparent, rgba(139,92,246,0.08));
}

/* ── Timeline ── */
.v2-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.v2-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1) 10%, rgba(255,255,255,0.1) 90%, transparent);
  transform: translateX(-50%);
}
@media (max-width: 768px) { .v2-timeline::before { left: 20px; } }
.v2-tl-item { display: flex; gap: 0; margin-bottom: 32px; position: relative; }
.v2-tl-item:nth-child(even) { flex-direction: row-reverse; }
@media (max-width: 768px) { .v2-tl-item, .v2-tl-item:nth-child(even) { flex-direction: row; padding-left: 48px; } }
.v2-tl-card {
  width: calc(50% - 48px);
  background: var(--bg-dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 24px;
}
@media (max-width: 768px) { .v2-tl-card { width: 100%; } }
.v2-tl-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  transform: translateX(-50%);
  z-index: 1;
}
@media (max-width: 768px) { .v2-tl-dot { left: 20px; } }

/* ── Portfolio grid ── */
.v2-portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .v2-portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .v2-portfolio-grid { grid-template-columns: 1fr; } }
.v2-portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
}
.v2-portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.v2-portfolio-card:hover img { transform: scale(1.05); }
.v2-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.v2-portfolio-card:hover .v2-portfolio-overlay { opacity: 1; }

/* ── Hire page hero ── */
.v2-hire-hero { background: linear-gradient(135deg, #0b0e14 0%, #0f172a 100%); }

/* ── Chips/tags ── */
.v2-chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #94a3b8;
  transition: border-color 0.2s;
}
.v2-chip:hover { border-color: rgba(0,128,255,0.4); color: #fff; }

/* ── Scroll to top ── */
.v2-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 100;
  box-shadow: var(--shadow-primary);
  transition: background 0.2s;
}
.v2-scroll-top.visible { display: flex; }
.v2-scroll-top:hover { background: var(--primary-dark); }
