* { box-sizing: border-box; }
:root {
  --ink: #14171E;
  --gray: #5A6479;
  --gray-soft: #8FA0C4;
  --blue: #2C6FF0;
  --blue-dark: #1B37D1;
  --blue-light: #6FC0F7;
  --navy: #141a33;
  --navy-soft: #1b2547;
  --bg-soft: #F7F9FD;
  --bg-card: #F2F6FD;
  --border: #E6EAF2;
  --border-soft: #D8DEEB;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; margin: 0; }
p { margin: 0; }
input, textarea, button { font-family: 'IBM Plex Sans', sans-serif; }
input::placeholder, textarea::placeholder { color: #98a2b6; }
img, svg { max-width: 100%; }

.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--blue-light); }

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { color: #fff; background: var(--blue-dark); }

.section { padding: 72px 6vw; }

/* ---------- NAV ---------- */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 6vw;
  max-width: 1440px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex: none; overflow: visible; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-name span { font-weight: 500; color: var(--gray); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--gray); font-weight: 500; }
.nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: flex; gap: 6px; }
.lang-toggle button {
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--gray);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.lang-toggle button.on {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 600;
}
.nav-whats { display: flex; align-items: center; gap: 10px; }
.whats-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #EAF6EF;
  display: flex; align-items: center; justify-content: center;
  color: #25D366;
  font-size: 18px;
  flex: none;
}
.whats-text { line-height: 1.3; }
.whats-label { display: block; font-size: 11px; color: #98a2b6; }
.whats-value { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.6;
  background-image:
    repeating-linear-gradient(60deg, transparent, transparent 26px, rgba(58,74,122,0.35) 26px, rgba(58,74,122,0.35) 27px),
    repeating-linear-gradient(-60deg, transparent, transparent 26px, rgba(58,74,122,0.35) 26px, rgba(58,74,122,0.35) 27px);
}
.hero-glow {
  position: absolute; top: -120px; right: 20%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(44,111,240,0.35), rgba(44,111,240,0) 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 64px 6vw;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-copy h1 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
}
.hero-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: #aeb8d2;
  margin: 0 0 32px;
  max-width: 480px;
}
.hero-ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-whats { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; font-size: 15px; }
.play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.hero-visual { display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.hero-illus-card {
  width: 100%; max-width: 480px;
  background: #fff; border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 70px rgba(11,14,25,0.4);
}

/* ---------- SERVICES ---------- */
.services { max-width: 1440px; margin: 0 auto; text-align: center; }
.services h2 {
  font-weight: 600; font-size: clamp(26px, 3vw, 38px);
  margin: 0 auto 48px; max-width: 640px; letter-spacing: -0.015em; line-height: 1.15;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20,23,30,0.05);
}
.service-thumb {
  aspect-ratio: 16/10;
  background: var(--bg-card);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.service-thumb .badge {
  position: absolute; bottom: -22px; left: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  box-shadow: 0 8px 20px rgba(44,111,240,0.4);
  z-index: 2;
}
.service-body { padding: 34px 24px 28px; }
.service-body h3 { font-weight: 600; font-size: 20px; margin: 0 0 10px; }
.service-body p { font-size: 15px; line-height: 1.6; color: var(--gray); margin: 0 0 16px; }
.service-body a { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; }

/* ---------- WHY ---------- */
.why { padding: 72px 0; background: var(--bg-soft); }
.why-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-copy h2 { font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 16px; letter-spacing: -0.015em; line-height: 1.15; }
.why-copy p { font-size: 15px; line-height: 1.65; color: var(--gray); margin: 0 0 32px; max-width: 480px; }
.steps-list { display: flex; flex-direction: column; gap: 16px; }
.step-card {
  display: flex; align-items: center; gap: 18px; padding: 18px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
}
.step-card .num {
  flex: none; width: 48px; height: 48px; border-radius: 10px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px;
}
.step-card h3 { font-weight: 600; font-size: 17px; margin: 0 0 4px; }
.step-card p { font-size: 14px; line-height: 1.5; color: var(--gray); margin: 0; }
.why-visual { position: relative; }
.why-illus-card {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--border); padding: 20px;
  box-shadow: 0 20px 50px rgba(20,23,30,0.06);
}
.why-illus-accent {
  position: absolute; bottom: -18px; right: -18px;
  width: 120px; height: 120px; background: var(--blue-light);
  border-radius: 16px; z-index: -1;
}

/* ---------- PROJECTS ---------- */
.projects { max-width: 1440px; margin: 0 auto; text-align: center; }
.projects h2 { font-weight: 600; font-size: clamp(26px, 3vw, 38px); margin: 0 auto 28px; max-width: 620px; letter-spacing: -0.015em; line-height: 1.15; }
.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-pill {
  background: #F0F3F9; color: var(--gray);
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
}
.filter-pill.on { background: var(--blue); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: 0 12px 30px rgba(20,23,30,0.05); text-align: left;
}
.project-thumb { background: var(--bg-card); padding: 14px; display: flex; align-items: center; justify-content: center; }
.project-body { padding: 18px 20px 20px; }
.project-body .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.project-body .title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; margin-top: 6px; }

/* ---------- HOW ---------- */
.how { padding: 72px 0; background: var(--bg-soft); text-align: center; }
.how-inner { max-width: 1440px; margin: 0 auto; padding: 0 6vw; }
.how h2 { font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); margin: 0 auto 48px; max-width: 560px; letter-spacing: -0.015em; line-height: 1.15; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-card { text-align: center; }
.how-icon {
  position: relative; width: 88px; height: 88px; margin: 0 auto 20px;
  border-radius: 50%; background: #eaf0fc;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--blue);
}
.how-icon .badge {
  position: absolute; top: -4px; right: -4px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.how-card h3 { font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.how-card p { font-size: 14px; line-height: 1.6; color: var(--gray); margin: 0 auto; max-width: 280px; }

/* ---------- TECH ---------- */
.tech { padding: 72px 0; background: var(--bg-soft); }
.tech-inner { max-width: 1440px; margin: 0 auto; padding: 0 6vw; }
.tech-heading { text-align: center; }
.tech-heading h2 { font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); margin: 0 auto 44px; max-width: 560px; letter-spacing: -0.015em; line-height: 1.15; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
.tech-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.tech-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tech-card-head .icon {
  width: 34px; height: 34px; border-radius: 9px; background: #EAF0FC;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.tech-card-head .title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; }
.tech-items { display: flex; flex-direction: column; gap: 11px; }
.tech-items span { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #3D465C; }
.tech-items .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }

/* ---------- INDUSTRIES ---------- */
.industries-wrap { padding: 0 6vw; }
.industries {
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  padding: 48px 6vw;
}
.industries-heading { text-align: center; margin-bottom: 32px; }
.industries-heading .eyebrow { color: #bcd4ff; }
.industries-heading h2 { font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); color: #fff; margin: 0; letter-spacing: -0.015em; }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.industry-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px; padding: 22px 24px;
}
.industry-card h3 { font-weight: 600; font-size: 18px; color: #fff; margin: 0 0 6px; }
.industry-card p { font-size: 14px; line-height: 1.5; color: #cfe0ff; margin: 0; }

/* ---------- FINAL CTA ---------- */
.final-cta-wrap { padding: 80px 6vw 0; }
.final-cta {
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  padding: 56px 6vw;
  position: relative;
  overflow: hidden;
}
.final-cta-glow {
  position: absolute; top: -120px; right: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(44,111,240,0.35), rgba(44,111,240,0) 70%);
}
.final-cta-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.final-copy { max-width: 600px; }
.final-copy h2 { font-weight: 700; font-size: clamp(26px, 3vw, 38px); color: #fff; margin: 0 0 12px; letter-spacing: -0.02em; line-height: 1.12; }
.final-copy p { font-size: 17px; line-height: 1.6; color: #aeb8d2; margin: 0; }
.guarantees { display: flex; flex-direction: column; gap: 18px; }
.guarantee { display: flex; align-items: center; gap: 12px; }
.guarantee .icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(44,111,240,0.18); color: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.guarantee .title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.guarantee .sub { font-size: 13px; color: var(--gray-soft); }

/* ---------- CONTACT ---------- */
.contact-section {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 80px 6vw;
  align-items: stretch;
}
.expert-panel {
  background: linear-gradient(150deg, var(--navy-soft), var(--navy));
  border-radius: 16px 0 0 16px;
  padding: 48px;
  color: #fff;
}
.expert-panel h2 { font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 16px; letter-spacing: -0.015em; line-height: 1.15; }
.expert-panel p { font-size: 15px; line-height: 1.65; color: #aeb8d2; margin: 0 0 28px; }
.perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #dfe5f2; }
.perk .check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.expert-panel .btn-primary { margin-top: 32px; border-radius: 8px; display: inline-flex; align-items: center; gap: 10px; }
.form-panel {
  background: #fff; border: 1px solid var(--border); border-left: none;
  border-radius: 0 16px 16px 0; padding: 48px;
  box-shadow: 0 20px 50px rgba(20,23,30,0.08);
}
.form-panel h3 { font-weight: 600; font-size: 24px; margin: 0 0 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-panel input, .form-panel textarea {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 9px; padding: 13px 15px; color: var(--ink); font-size: 15px; width: 100%;
}
.form-panel textarea { margin-top: 14px; resize: none; }
.form-panel button {
  width: 100%; margin-top: 16px; background: var(--ink); color: #fff;
  border: none; border-radius: 9px; padding: 15px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.form-panel button:hover { background: #000; }

/* ---------- FOOTER ---------- */
.footer { background: #0F1220; }
.contact-bar {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 36px 6vw; border-bottom: 1px solid #1e2333;
}
.contact-bar-item { display: flex; align-items: center; gap: 16px; }
.contact-bar-item .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(44,111,240,0.15); color: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-bar-item .label { font-size: 12px; color: #8892a8; }
.contact-bar-item .value { font-size: 15px; color: #fff; font-weight: 500; }
.footer-main {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding: 52px 6vw 40px;
}
.footer-brand p { font-size: 14px; line-height: 1.65; color: #8892a8; margin: 18px 0 20px; max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--gray-soft); }
.social-row { display: flex; gap: 10px; }
.social-row span {
  width: 34px; height: 34px; border-radius: 8px; background: #1a1f30; color: #8892a8;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.footer-links h4, .footer-contact h4 { font-weight: 600; font-size: 16px; color: #fff; margin: 0 0 18px; }
.footer-links-list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-links-list a { color: #8892a8; }
.footer-contact p { font-size: 14px; line-height: 1.7; color: #8892a8; margin: 0; }
.footer-contact a { color: #8892a8; }
.footer-bottom-wrap { border-top: 1px solid #1e2333; }
.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  padding: 20px 6vw; font-size: 13px; color: #6b7488;
  font-family: 'IBM Plex Mono', monospace; text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .why-inner, .contact-section { grid-template-columns: 1fr; }
  .expert-panel, .form-panel { border-radius: 16px; border: 1px solid var(--border); }
  .form-panel { border-top: none; margin-top: -1px; }
  .services-grid, .projects-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-bar { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

@media (max-width: 640px) {
  .section, .final-cta-wrap, .industries-wrap { padding-left: 5vw; padding-right: 5vw; }
  .services-grid, .projects-grid, .how-grid, .tech-grid, .industries-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .contact-bar { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .expert-panel, .form-panel { padding: 32px 24px; }
  .whats-text { display: none; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn-primary { display: none; }
}
