/* ═══════════════════════════════════════════════════════════════
   SHARED STYLESHEET — Server & Tech Solutions
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --ink:          #0a0f1e;
  --ink-soft:     #1b2540;
  --gold:         #c9a84c;
  --gold-lt:      #e8c96b;
  --gold-dim:     #7a6230;
  --blue:         #2a5cff;
  --blue-dim:     #1a3a9f;
  --mist:         #f2f4f8;
  --mist2:        #e8ecf5;
  --slate:        #5a6480;
  --border:       rgba(255,255,255,0.08);
  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ─── SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  transition: background 0.35s, box-shadow 0.35s;
}
/* Transparent hero nav — becomes solid on scroll */
nav.transparent {
  background: transparent;
  box-shadow: none;
}
nav.transparent.scrolled,
nav.solid {
  background: rgba(10,15,30,0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-links a.nav-contact {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #fff;
  font-weight: 600;
  padding: 7px 16px;
  margin-left: 6px;
}
.nav-links a.nav-contact:hover {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
}
.nav-lang {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  min-width: 40px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.nav-lang:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ─── HAMBURGER BUTTON ───────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 100px 0 48px;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 12px 24px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 28px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.mobile-menu-close:hover { color: #fff; }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes scrollDrop {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ─── REVEAL ON SCROLL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── TYPOGRAPHY / SHARED COMPONENTS ────────────────────────── */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title-light { color: #fff; }
.section-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--slate);
  max-width: 600px;
  margin-top: 14px;
  line-height: 1.75;
}
.section-sub-light { color: rgba(255,255,255,0.52); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold), #a8832a);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(201,168,76,0.3), 0 0 0 1px rgba(201,168,76,0.15);
  transition: 0.3s;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201,168,76,0.4), 0 0 0 1px rgba(201,168,76,0.2);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: 0.3s;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--mist2);
  color: var(--slate);
  transition: 0.3s;
}
.btn-ghost-dark:hover {
  color: var(--ink);
  border-color: rgba(42,92,255,0.25);
  background: var(--mist);
}

/* ─── HERO EYEBROW (shared) ──────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
  color: var(--gold-lt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-eyebrow span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── HERO INNER BASE PADDING ────────────────────────────────── */
.hero-inner {
  padding: 140px 48px 100px;
}

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────────── */
.hero h1,
.contact-copy h1 {
  font-size: clamp(36px, 4vw, 60px);
}
.section-title {
  font-size: clamp(26px, 2.4vw, 40px);
}
.card h3,
.service-card h3,
.feature-card h3 {
  font-size: clamp(18px, 1.6vw, 24px);
}

/* ─── ORB / GRID BACKGROUNDS ─────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-col p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 280px;
  margin-top: 14px;
}
.footer-service-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-area-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── CARD HOVER STANDARD ────────────────────────────────────── */
.card,
.service-card,
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover,
.service-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* ─── CARD / ICON UTILITIES ──────────────────────────────────── */
.ci-blue   { background: rgba(42,92,255,0.07);  border: 1px solid rgba(42,92,255,0.1); }
.ci-green  { background: rgba(5,150,105,0.07);  border: 1px solid rgba(5,150,105,0.1); }
.ci-gold   { background: rgba(201,168,76,0.1);  border: 1px solid rgba(201,168,76,0.15); }
.ci-purple { background: rgba(124,58,237,0.07); border: 1px solid rgba(124,58,237,0.1); }
.ci-teal   { background: rgba(20,184,166,0.07); border: 1px solid rgba(20,184,166,0.1); }
.ci-red    { background: rgba(220,38,38,0.06);  border: 1px solid rgba(220,38,38,0.09); }

/* ─── FORM SHARED ────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #dde3ef;
  border-radius: var(--radius-md);
  background: #f8f9fc;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-input::placeholder { color: #6b7a8d; font-weight: 300; }
.form-input:hover { border-color: rgba(42,92,255,0.25); background: #fff; }
.form-input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42,92,255,0.08);
}

/* ─── MOBILE LANG TOGGLE ──────────────────────────────────────── */
.mobile-lang {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 8px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-lang:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ─── CASE STUDIES ───────────────────────────────────────────── */
.case-studies {
  background: var(--ink);
  padding: 100px 48px;
}
.case-studies-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.case-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.case-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.case-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.case-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.case-block p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}
.case-block.result p {
  color: rgba(255,255,255,0.85);
}
@media (max-width: 768px) {
  .case-studies { padding: 56px 24px 72px; }
  .case-studies-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-card { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .case-studies { padding: 72px 24px; }
  .case-studies-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-card { padding: 32px 24px; }
}

/* ─── RESPONSIVE BREAKPOINTS ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .section-wrap { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
