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

:root {
  --dark: #070d1a;
  --dark-2: #0d1628;
  --dark-3: #111c30;
  --blue: #1a6eff;
  --blue-2: #3d7fff;
  --blue-dim: rgba(26, 110, 255, 0.12);
  --white: #ffffff;
  --gray: #8892a4;
  --gray-2: #6b7280;
  --text: #111827;
  --text-light: #374151;
  --light: #f8fafc;
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-light: #e5e7eb;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(7, 13, 26, 0.98); }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text span:first-child {
  font-size: 16px; font-weight: 800; color: var(--white); letter-spacing: 1px;
}
.nav-logo-text span:first-child em { font-style: normal; color: var(--blue); }
.nav-logo-text span:last-child {
  font-size: 8px; font-weight: 500; color: var(--gray); letter-spacing: 3px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--blue); transform: scaleX(0);
  transition: transform 0.2s; border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

.btn-nav {
  padding: 10px 22px; background: var(--blue); color: var(--white) !important;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn-nav::after { display: none !important; }

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

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--blue); color: var(--white);
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--blue-2); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,110,255,0.35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; transition: 0.2s; cursor: pointer;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--dark); color: var(--white);
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: 0.2s; cursor: pointer; border: none;
}
.btn-dark:hover { background: var(--dark-3); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; transition: 0.2s; cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--white); background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--dark); overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,110,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(26,110,255,0.06) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 140px 5% 80px;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(26,110,255,0.12);
  border: 1px solid rgba(26,110,255,0.25); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: 1px;
  margin-bottom: 28px; text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px); font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 24px; letter-spacing: -1px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p {
  font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,0.65);
  max-width: 480px; margin-bottom: 40px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 48px;
  padding: 0 5% 60px;
  margin-top: -20px;
}
.hero-stat { }
.hero-stat strong {
  display: block; font-size: 32px; font-weight: 800; color: var(--white);
  line-height: 1;
}
.hero-stat strong em { font-style: normal; color: var(--blue); }
.hero-stat span { font-size: 13px; color: var(--gray); margin-top: 4px; display: block; }

/* ─── TRUSTED BY ──────────────────────────────────────────── */
.trusted {
  background: var(--light); padding: 48px 5%;
  border-top: 1px solid var(--border-light);
}
.trusted-label {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--gray-2); letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 32px;
}
.trusted-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 56px; flex-wrap: wrap;
}
.trusted-logos .logo-item {
  font-size: 16px; font-weight: 700; color: #9ca3af;
  letter-spacing: -0.5px; transition: color 0.2s; cursor: default;
}
.trusted-logos .logo-item:hover { color: var(--text); }
.trusted-logos .logo-item span { color: inherit; }

/* ─── SECTION COMMON ──────────────────────────────────────── */
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(30px, 3.5vw, 46px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.5px; color: var(--text);
}
.section-title.light { color: var(--white); }
.section-desc { font-size: 16px; color: var(--gray-2); line-height: 1.7; max-width: 520px; }
.section-desc.light { color: var(--gray); }

/* ─── SERVICES ────────────────────────────────────────────── */
.services { background: var(--white); padding: 100px 5%; }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 64px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--border-light); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
}
.service-card {
  background: var(--white); padding: 36px 28px 32px;
  transition: background 0.25s;
  display: flex; flex-direction: column; gap: 14px;
}
.service-card:hover { background: var(--light); }
.service-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim); border-radius: 10px; color: var(--blue);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; }
.service-card p { font-size: 14px; color: var(--gray-2); line-height: 1.6; flex: 1; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  margin-top: 8px; transition: gap 0.2s;
}
.service-card:hover .service-arrow { gap: 10px; }

/* ─── APPROACH ────────────────────────────────────────────── */
.approach { background: var(--dark); padding: 100px 5%; }
.approach-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center;
}
.approach-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { }
.pillar-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: rgba(26,110,255,0.1); border: 1px solid rgba(26,110,255,0.2);
  border-radius: 14px; color: var(--blue); margin-bottom: 20px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ─── PROCESS ─────────────────────────────────────────────── */
.process { background: var(--white); padding: 100px 5%; }
.process-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 72px;
}
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.process-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 28px; right: 28px; height: 1px;
  background: var(--border-light); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--border-light); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 13px; font-weight: 700; color: var(--gray-2);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.step:hover .step-num {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}
.step-icon { margin-bottom: 16px; color: var(--gray-2); transition: color 0.25s; }
.step:hover .step-icon { color: var(--blue); }
.step-icon svg { width: 28px; height: 28px; margin: 0 auto; }
.step h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray-2); line-height: 1.6; }

/* ─── CASE STUDY ──────────────────────────────────────────── */
.case-study {
  position: relative; padding: 100px 5%; overflow: hidden;
  background: var(--dark-2);
  min-height: 480px; display: flex; align-items: center;
}
.case-study-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, rgba(7,13,26,0.97) 45%, rgba(7,13,26,0.7) 100%);
}
.case-study-img {
  position: absolute; right: 0; top: 0; bottom: 0; width: 55%;
  object-fit: cover; opacity: 0.3; z-index: 0;
}
.case-study-content { position: relative; z-index: 1; max-width: 520px; }
.case-study-content .section-label { color: var(--blue); }
.case-study-content h2 {
  font-size: clamp(28px, 3vw, 42px); font-weight: 800; color: var(--white);
  line-height: 1.2; margin: 0 0 20px; letter-spacing: -0.5px;
}
.case-study-content p { font-size: 16px; color: var(--gray); line-height: 1.7; margin-bottom: 32px; }
.case-study-metric {
  display: flex; gap: 40px; margin-bottom: 36px;
}
.metric strong { display: block; font-size: 36px; font-weight: 800; color: var(--blue); }
.metric span { font-size: 13px; color: var(--gray); margin-top: 2px; display: block; }

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: var(--blue); padding: 72px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 800;
  color: var(--white); margin-bottom: 8px;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.75); }

/* ─── CONTACT SECTION ─────────────────────────────────────── */
.contact-section { background: var(--white); padding: 100px 5%; }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start;
}
.contact-info { }
.contact-info h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  color: var(--text); margin: 16px 0 20px; line-height: 1.2;
}
.contact-info p { font-size: 16px; color: var(--gray-2); line-height: 1.7; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--blue-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-detail span { font-size: 14px; color: var(--gray-2); }

.contact-form { background: var(--light); padding: 40px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-light); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm); font-size: 14px; font-family: 'Inter', sans-serif;
  color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,110,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { appearance: none; cursor: pointer; }
.form-submit { width: 100%; padding: 14px; background: var(--blue); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: 0.2s;
}
.form-submit:hover { background: var(--blue-2); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; display: none;
}
.form-message.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--dark); padding: 72px 5% 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 32px; width: auto; }
.footer-logo-text span:first-child {
  font-size: 15px; font-weight: 800; color: var(--white); letter-spacing: 1px;
}
.footer-logo-text span:first-child em { font-style: normal; color: var(--blue); }
.footer-logo-text span:last-child {
  font-size: 7px; font-weight: 500; color: var(--gray); letter-spacing: 3px;
}
.footer-brand p { font-size: 14px; color: var(--gray); line-height: 1.7; max-width: 240px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center;
  color: var(--gray); transition: 0.2s;
}
.footer-social:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--white);
  letter-spacing: 0.5px; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px; color: var(--gray); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 14px; color: var(--gray); line-height: 1.5; }

.footer-bottom {
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--gray); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--gray); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── INNER PAGES ─────────────────────────────────────────── */
.page-hero {
  background: var(--dark); padding: 140px 5% 80px;
  text-align: center;
}
.page-hero .section-label { display: block; text-align: center; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: var(--white);
  margin: 12px 0 20px; letter-spacing: -1px;
}
.page-hero p { font-size: 18px; color: var(--gray); max-width: 560px; margin: 0 auto; line-height: 1.7; }

.page-content { padding: 80px 5%; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .approach-inner { grid-template-columns: 1fr; gap: 48px; }
  .approach-pillars { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--dark); padding: 24px 5%; gap: 20px; border-bottom: 1px solid var(--border-dark); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 120px 5% 60px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; padding-bottom: 60px; }
  .services-header { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .approach-pillars { grid-template-columns: 1fr; gap: 28px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-section { flex-direction: column; text-align: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .case-study-metric { gap: 24px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .trusted-logos { gap: 28px; }
  .contact-form { padding: 24px; }
}
