/* ── Reset & Root ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #050f2c;
  --deep: #091a3e;
  --mid: #0d2d6b;
  --sky: #1a6fc4;
  --bright: #2196f3;
  --glow: #56b4ff;
  --light: #b8dbff;
  --white: #f0f7ff;
  --gray: #94aec8;
  --line: rgba(86,180,255,0.15);
  --ff-display: 'Playfair Display', serif;
  --ff-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 3px; }

/* ── WP Admin Bar offset ── */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar nav { top: 46px; }
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(5,15,44,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--glow); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--glow); }
.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--sky);
  color: #fff !important;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: var(--bright) !important; box-shadow: 0 0 20px rgba(33,150,243,0.4) !important; color: #fff !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--white); font-size: 1.3rem; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26,111,196,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(86,180,255,0.1) 0%, transparent 60%),
    linear-gradient(160deg, var(--deep) 0%, var(--navy) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 820px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(86,180,255,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 2rem;
  background: rgba(86,180,255,0.05);
  animation: fadeDown 0.8s ease both;
}
.hero-badge i { font-size: 0.65rem; }
.hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--glow), var(--bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.3s ease both;
}
.btn-primary {
  padding: 0.85rem 2.2rem;
  background: var(--sky);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(26,111,196,0.4);
}
.btn-primary:hover { background: var(--bright); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(33,150,243,0.5); }
.btn-outline {
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(86,180,255,0.35);
  color: var(--light);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--glow); color: var(--glow); background: rgba(86,180,255,0.06); }
.hero-stats {
  display: flex; gap: 3rem; justify-content: center; margin-top: 4rem; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.45s ease both;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--glow);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; }

/* ── SECTIONS SHARED ── */
section { padding: 6rem 5%; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--gray);
  font-size: 0.97rem;
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ── SERVICES ── */
#services { background: var(--deep); }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header .section-sub { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: rgba(13,45,107,0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.2rem 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--glow));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); border-color: rgba(86,180,255,0.3); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(26,111,196,0.2);
  border: 1px solid rgba(86,180,255,0.2);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--glow);
  margin-bottom: 1.4rem;
  transition: background 0.25s;
}
.service-card:hover .service-icon { background: rgba(26,111,196,0.4); }
.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.service-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.8; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--glow);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.7rem; }

/* ── WHY US ── */
#why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-visual {
  position: relative;
  height: 420px;
}
.why-card {
  position: absolute;
  background: rgba(13,45,107,0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: blur(8px);
}
.why-card.main {
  inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, rgba(13,45,107,0.6), rgba(5,15,44,0.9));
}
.why-card.pill {
  bottom: 2rem; right: -2rem;
  width: 200px;
  text-align: center;
  background: var(--sky);
  border-color: transparent;
}
.why-card.pill .num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.why-card.pill p { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin-top: 0.2rem; }
.why-card.top {
  top: -1.5rem; right: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
  width: 210px;
}
.why-card.top i { color: var(--glow); font-size: 1.5rem; }
.why-card.top p { font-size: 0.8rem; color: var(--light); line-height: 1.4; }
.grid-art {
  width: 100%; height: 100%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 12px;
}
.why-points { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2.5rem; }
.why-point {
  display: flex; gap: 1rem; align-items: flex-start;
}
.why-point-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(26,111,196,0.15);
  border: 1px solid rgba(86,180,255,0.2);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--glow);
  font-size: 1rem;
}
.why-point h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.why-point p { font-size: 0.83rem; color: var(--gray); line-height: 1.7; }

/* ── PROCESS ── */
#process { background: var(--deep); text-align: center; }
.process-header { margin-bottom: 4rem; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px; margin: 0 auto;
}
.process-step {
  background: var(--deep);
  padding: 2.5rem 1.8rem;
  transition: background 0.25s;
}
.process-step:hover { background: rgba(13,45,107,0.6); }
.step-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(86,180,255,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-icon { color: var(--glow); font-size: 1.6rem; margin-bottom: 0.8rem; }
.process-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.82rem; color: var(--gray); line-height: 1.7; }

/* ── TECH STACK ── */
#tech { overflow: hidden; }
.tech-header { text-align: center; margin-bottom: 3rem; }
.tech-track-wrap { overflow: hidden; position: relative; }
.tech-track-wrap::before,
.tech-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1;
}
.tech-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.tech-track-wrap::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.tech-track {
  display: flex; gap: 1.5rem;
  animation: scroll 28s linear infinite;
  width: max-content;
}
.tech-tag {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--light);
  white-space: nowrap;
  background: rgba(13,45,107,0.3);
}
.tech-tag i { color: var(--glow); }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--deep); }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.tcard {
  background: rgba(13,45,107,0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.25s;
}
.tcard:hover { transform: translateY(-4px); }
.tcard-stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.tcard p { color: var(--light); font-size: 0.9rem; line-height: 1.8; font-weight: 300; font-style: italic; margin-bottom: 1.5rem; }
.tcard-author { display: flex; align-items: center; gap: 0.8rem; }
.tcard-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--glow));
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-weight: 700; font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.tcard-name { font-weight: 600; font-size: 0.88rem; }
.tcard-role { font-size: 0.78rem; color: var(--gray); }

/* ── CTA BANNER ── */
#cta {
  text-align: center;
  background: linear-gradient(135deg, var(--mid) 0%, rgba(13,45,107,0.6) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(86,180,255,0.12) 0%, transparent 70%);
}
#cta .container { position: relative; z-index: 1; }
#cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
#cta p { color: var(--gray); font-size: 1rem; max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.8; }

/* ── CONTACT ── */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.contact-info h2 { font-family: var(--ff-display); font-size: 2rem; margin-bottom: 1rem; }
.contact-info p { color: var(--gray); font-size: 0.9rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 0.9rem; }
.contact-item i { color: var(--glow); font-size: 1rem; width: 20px; text-align: center; }
.contact-item a, .contact-item span { color: var(--light); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.contact-item a:hover { color: var(--glow); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(13,45,107,0.35);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,174,200,0.5); }
.form-group select option { background: var(--deep); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(86,180,255,0.5);
  box-shadow: 0 0 0 3px rgba(86,180,255,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--line);
  padding: 3.5rem 5% 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  color: var(--gray);
  font-size: 0.83rem;
  line-height: 1.8;
  margin-top: 0.8rem;
  max-width: 250px;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--gray); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--gray); }
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.social-links a:hover { color: var(--glow); border-color: rgba(86,180,255,0.35); background: rgba(86,180,255,0.06); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Form feedback states ── */
.btn-primary.success { background: #0d7a3e !important; }
.btn-primary.error   { background: #c0392b !important; }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #why { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
