/* Base */
:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --text: #1f2937;
  --muted: #667085;
  --line: rgba(17, 24, 39, .08);
  --brand: #a855f7;
  --brand-dark: #7c3aed;
  --brand-soft: #efe0ff;
  --navy: #16263f;
  --shadow: 0 20px 60px rgba(17, 24, 39, .08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 15%, rgba(168, 85, 247, .09), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, .10), transparent 20%),
    radial-gradient(circle at 50% 48%, rgba(248, 250, 252, .85), rgba(248, 250, 252, 1) 35%, #fff 70%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; }
.panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.section-header { max-width: 740px; margin: 0 auto 36px; }
.section-header.center { text-align: center; }
.section-header p { color: var(--muted); line-height: 1.75; margin: 12px 0 0; }

.section-intro h2,
.section-header h2,
.about-copy h2,
.contact-info h2,
.cta-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 2.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-intro p,
.about-copy p,
.contact-info p,
.process-card p,
.service-card p,
.testimonial-card p,
.stat-card span {
  color: var(--muted);
  line-height: 1.75;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--brand);
  font-size: .78rem;
}
.section-kicker.light { color: #d8bbff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.8);
}
.nav-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 24px rgba(168, 85, 247, .35);
}
.brand-text { font-size: 1.05rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #334155;
  font-size: .95rem;
}
.nav a { opacity: .88; transition: opacity .2s ease, color .2s ease; }
.nav a:hover { opacity: 1; color: var(--brand-dark); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(168, 85, 247, .25);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #0f172a;
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  padding-top: 54px;
  background:
    radial-gradient(circle at 82% 20%, rgba(168, 85, 247, .14), transparent 16%),
    radial-gradient(circle at 88% 40%, rgba(34, 211, 238, .10), transparent 18%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}
.hero-copy {
  padding: 28px 0;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: .92rem;
  color: var(--muted);
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 5.7rem);
  line-height: .96;
  letter-spacing: -0.06em;
}
.hero h1 span { display: inline-block; }
.lead {
  max-width: 560px;
  font-size: 1.02rem;
  color: var(--muted);
  margin: 18px 0 26px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 30px rgba(168, 85, 247, .26);
}
.btn-primary:hover { box-shadow: 0 18px 34px rgba(168, 85, 247, .34); }
.btn-ghost {
  color: #5b21b6;
  border-color: rgba(168, 85, 247, .16);
  background: rgba(168, 85, 247, .06);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
}
.stat-card {
  padding: 18px 20px;
  background: rgba(168, 85, 247, .08);
  border: 1px solid rgba(168, 85, 247, .10);
  border-radius: 16px;
}
.stat-card strong {
  display: block;
  font-size: 1.2rem;
  color: #1e293b;
}
.stat-card span {
  font-size: .94rem;
  margin-top: 4px;
  display: inline-block;
}
.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.visual-glow {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at 25% 20%, rgba(168, 85, 247, .22), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(34, 211, 238, .14), transparent 24%),
    linear-gradient(135deg, rgba(168, 85, 247, .11), rgba(34, 211, 238, .11));
  filter: blur(8px);
}
.hero-image {
  position: relative;
  width: min(100%, 470px);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .12);
}

.about-panel { padding: 28px; }
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: center;
}
.about-visual { position: relative; }
.about-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(15,23,42,.10);
}
.social-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 28px rgba(15,23,42,.12);
}
.social-bar a {
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  border-radius: 8px;
  color: #6b7280;
  background: #fafafa;
  border: 1px solid rgba(17,24,39,.05);
  font-size: .84rem;
  font-weight: 700;
}
.about-copy p { margin: 0 0 16px; }
.hero-actions .btn-ghost { background: transparent; }

.section-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.process {
  background: linear-gradient(180deg, rgba(245,247,251,1) 0%, rgba(245,247,251,.88) 100%);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.process-card {
  padding: 22px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15,23,42,.05);
}
.process-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.process-card h3 { margin: 0 0 10px; font-size: 1.05rem; }

.card-grid {
  display: grid;
  gap: 22px;
}
.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.08);
  background: #fff;
  box-shadow: 0 12px 36px rgba(15,23,42,.06);
}
.card-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  background: #eef2ff;
}
.card-body { padding: 18px; }
.card-tag {
  display: inline-block;
  color: var(--brand);
  background: rgba(168,85,247,.08);
  border: 1px solid rgba(168,85,247,.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.card-title {
  margin: 14px 0 8px;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.card-text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.7;
}
.card-link {
  color: #5b21b6;
  font-weight: 700;
  font-size: .94rem;
}
.section-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.cta-band {
  padding: 56px 0;
  background: linear-gradient(135deg, #13263f 0%, #0f1d32 100%);
  color: #fff;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  color: #fff;
}

.blog {
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(248,232,255,.75), rgba(235,255,255,.72));
}
.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services {
  background: linear-gradient(180deg, rgba(245,247,251,.84), rgba(245,247,251,.92));
}
.services-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: start;
}
.service-stack {
  display: grid;
  gap: 16px;
}
.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 12px 32px rgba(15,23,42,.05);
}
.service-card h3 { margin: 0 0 6px; }
.service-index {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.clients { padding-top: 70px; }
.clients-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}
.clients-row img {
  width: 100%;
  height: auto;
  opacity: .88;
  transition: transform .18s ease, opacity .18s ease;
}
.clients-row img:hover { transform: translateY(-2px); opacity: 1; }

.testimonial { padding-top: 56px; }
.testimonial-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-card p {
  margin: 0;
  font-size: 1.02rem;
}
.testimonial-meta {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}
.testimonial-meta strong { font-size: 1.02rem; }
.testimonial-meta span { color: var(--muted); font-size: .95rem; }

.contact-panel { padding: 28px; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 20px;
}
.contact-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 16px;
}
.contact-item span {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(168,85,247,.12);
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-social { position: static; transform: none; background: transparent; box-shadow: none; padding: 0; }
.contact-form {
  display: grid;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: .92rem;
  font-weight: 600;
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, textarea:focus {
  border-color: rgba(168,85,247,.45);
  box-shadow: 0 0 0 4px rgba(168,85,247,.11);
}
textarea { resize: vertical; min-height: 140px; }
.form-note { min-height: 1.25em; margin: 0; color: var(--brand-dark); font-size: .92rem; }

.site-footer {
  padding: 22px 0 32px;
  background: #13263f;
  color: rgba(255,255,255,.88);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(255,255,255,.78);
}
.footer-nav a:hover { color: #fff; }

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .section-grid,
  .services-grid,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 360px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .container { width: min(100% - 20px, 1180px); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a { padding: 12px 10px; border-radius: 12px; }
  .nav-cta { text-align: center; }

  .stats { grid-template-columns: 1fr; max-width: 100%; }
  .process-grid,
  .portfolio-grid,
  .blog-grid,
  .clients-row,
  .form-row { grid-template-columns: 1fr; }
  .about-panel,
  .contact-panel { padding: 18px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .cta-inner { text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
