/* Webnix Premium Agency Website */
/* Clean static build: no framework, no dependency, easy to deploy. */

:root {
  --navy: #081A3A;
  --slate: #0F172A;
  --blue: #2563EB;
  --cyan: #38BDF8;
  --white: #FFFFFF;
  --soft: #F6F9FF;
  --muted: #64748B;
  --line: rgba(15, 23, 42, 0.10);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 90px rgba(8, 26, 58, 0.16);
  --shadow-soft: 0 16px 45px rgba(8, 26, 58, 0.10);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

[data-theme="dark"] {
  --white: #07111F;
  --soft: #0B1528;
  --navy: #EAF2FF;
  --slate: #F8FAFC;
  --muted: #9AA8BD;
  --line: rgba(226, 232, 240, 0.13);
  --glass: rgba(15, 23, 42, 0.72);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 45px rgba(0, 0, 0, 0.24);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background:
    radial-gradient(circle at 15% 5%, rgba(56, 189, 248, 0.16), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(180deg, var(--white), var(--soft));
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--blue); color: white; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 110px 0;
}

.section-sm {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 64px 0;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: -0.055em;
  color: var(--navy);
  margin: 0;
}

h1 {
  font-size: clamp(3.6rem, 7.9vw, 8rem);
  line-height: 0.88;
  max-width: 920px;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.05;
}

p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.42), transparent);
  transform: translateX(-120%);
  transition: transform .75s ease;
}

.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #0A57FF 45%, var(--cyan));
  box-shadow: 0 16px 45px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  color: var(--navy);
  background: var(--glass);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.btn-whatsapp {
  background: #0EA65B;
  color: white;
  box-shadow: 0 16px 35px rgba(14, 166, 91, 0.22);
}

.btn:hover {
  transform: translateY(-3px);
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #081A3A;
  color: white;
  transition: opacity .5s ease, visibility .5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.loader-mark span { color: var(--cyan); }

.loader-line {
  position: absolute;
  bottom: 18%;
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}

.loader-line span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: loadLine 1.1s ease infinite;
}

@keyframes loadLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(240%); }
}

/* Header */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 999;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 36px));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 50px rgba(8, 26, 58, .08);
}

[data-theme="dark"] .site-header {
  background: rgba(7,17,31,.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.brand .accent { color: var(--blue); }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
}

.brand-mark svg {
  width: 24px;
  fill: white;
}

.desktop-nav {
  display: flex;
  gap: 6px;
}

.desktop-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 700;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.desktop-nav a:hover {
  color: var(--navy);
  background: rgba(37,99,235,.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: white;
  background: var(--navy);
  font-weight: 800;
  font-size: .88rem;
}

[data-theme="dark"] .nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.theme-toggle,
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--navy);
}

.theme-toggle {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.theme-toggle span {
  position: absolute;
  transition: transform .25s ease, opacity .25s ease;
}

[data-theme="light"] .theme-toggle .moon { opacity: 0; transform: translateY(18px); }
[data-theme="dark"] .theme-toggle .sun { opacity: 0; transform: translateY(-18px); }

.menu-btn {
  display: none;
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  transition: transform .25s ease, top .25s ease;
}

.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 25px; }
body.menu-open .menu-btn span:first-child { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 850;
  top: 88px;
  left: 18px;
  right: 18px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  padding: 15px 10px;
  font-weight: 800;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-menu .mobile-cta {
  margin-top: 14px;
  border: 0;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  text-align: center;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  align-items: center;
  position: relative;
  padding-top: 150px;
}

.hero-bg {
  position: absolute;
  inset: 0 -12vw;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: .38;
}

.orb-one {
  width: 360px; height: 360px;
  left: -4%; top: 16%;
  background: var(--cyan);
  animation: floatOrb 8s ease-in-out infinite;
}

.orb-two {
  width: 420px; height: 420px;
  right: 8%; bottom: 12%;
  background: var(--blue);
  animation: floatOrb 9s ease-in-out infinite reverse;
}

.grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 68%);
  opacity: .5;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(24px,-28px,0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  font-size: .88rem;
  font-weight: 800;
}

.pulse {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(56,189,248,.18);
}

.hero-copy {
  max-width: 670px;
  margin-top: 28px;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
  max-width: 650px;
}

.hero-proof div {
  padding: 18px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-proof strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--navy);
}

.hero-proof span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.laptop {
  width: min(580px, 100%);
  transform: rotateX(7deg) rotateY(-13deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.laptop-screen {
  aspect-ratio: 16 / 10.2;
  border: 12px solid #111827;
  border-bottom-width: 18px;
  border-radius: 28px 28px 18px 18px;
  overflow: hidden;
  background: white;
  box-shadow: 0 45px 90px rgba(8,26,58,.22);
}

.laptop-base {
  width: 92%;
  height: 20px;
  margin: -3px auto 0;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(180deg, #CBD5E1, #94A3B8);
  box-shadow: 0 30px 80px rgba(8,26,58,.2);
}

.mock-browser {
  display: flex;
  gap: 6px;
  padding: 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.mock-browser span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
}

.mock-site {
  min-height: 100%;
  display: grid;
  grid-template-columns: 110px 1fr;
  color: #0F172A;
}

.mock-site aside {
  padding: 18px 14px;
  background: #081A3A;
}

.mini-logo {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  margin-bottom: 34px;
}

.mock-site aside span {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
  margin: 14px 0;
}

.mock-site section {
  padding: 28px;
  background:
    radial-gradient(circle at 78% 12%, rgba(37,99,235,.14), transparent 34%),
    white;
}

.mock-pill {
  width: 120px; height: 24px;
  border-radius: 999px;
  background: #EAF2FF;
  margin-bottom: 18px;
}

.mock-site h3 {
  max-width: 360px;
  font-size: 2rem;
  color: #081A3A;
}

.mock-site p {
  width: 72%;
  height: 44px;
  border-radius: 14px;
  background: #EEF4FF;
  margin: 18px 0;
}

.mock-cta {
  width: 140px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB, #38BDF8);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.mock-grid i {
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(180deg, #F8FAFC, #EAF2FF);
  border: 1px solid #E2E8F0;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 170px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .floating-card {
  background: rgba(15, 23, 42, .72);
}

.floating-card span,
.floating-card small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.floating-card strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 2rem;
  margin: 8px 0;
}

.card-top { top: 86px; right: 0; animation: softFloat 5s ease-in-out infinite; }
.card-bottom { bottom: 80px; left: 0; animation: softFloat 5s ease-in-out infinite reverse; }

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Clients */
.clients {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clients p {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}

.industry-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.industry-strip span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--muted);
  font-weight: 700;
}

/* Headings */
.section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-heading h2 { margin-top: 14px; }
.section-heading p {
  margin-top: 18px;
  max-width: 690px;
  font-size: 1.08rem;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.split-heading h2 { margin-top: 14px; }
.split-heading p { font-size: 1.05rem; }

/* Work */
.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
  transition: .2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.project-card {
  grid-column: span 4;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.project-card:nth-child(1),
.project-card:nth-child(2) { grid-column: span 6; }

.project-preview {
  min-height: 250px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(37,99,235,.1), rgba(56,189,248,.16)),
    #F8FAFC;
  overflow: hidden;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 70px rgba(8,26,58,.12);
}

.project-preview::after {
  content: "";
  position: absolute;
  left: 66px;
  right: 66px;
  top: 86px;
  height: 120px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, var(--blue), var(--cyan)),
    var(--blue);
  opacity: .9;
}

.hygienetek { background: linear-gradient(135deg, #EAFBF6 0%, #F8FCFF 46%, #DDF7EE 100%); }
.hygienetek::after { background: linear-gradient(90deg, #0B7A68, #18B78F); }
.dental { background-color: #EAF9FF; }
.restaurant { background-color: #FFF7ED; }
.realestate { background-color: #EFF6FF; }
.construction { background-color: #F8FAFC; }
.fitness { background-color: #ECFEFF; }
.software { background-color: #EEF2FF; }
.luxury { background-color: #F8FAFC; }

.project-info {
  padding: 24px;
}

.project-info span {
  color: var(--blue);
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-info h3 {
  margin-top: 10px;
}

.project-info div {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.project-info a {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 240px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  right: -70px; top: -70px;
  background: radial-gradient(circle, rgba(56,189,248,.3), transparent 68%);
  transition: transform .4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, .28);
}

.service-card:hover::before { transform: scale(1.6); }

.service-card span {
  color: var(--blue);
  font-weight: 900;
}

.service-card h3 { margin-top: 44px; }
.service-card p { margin-top: 12px; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  padding: 26px;
  border-radius: 26px;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: transform .25s ease, background .25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(37,99,235,.06);
}

.why-card b {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 9px;
}

.why-card span {
  color: var(--muted);
  line-height: 1.6;
}

/* Before after */
.compare {
  position: relative;
  height: 620px;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0B1220;
  isolation: isolate;
}

.compare-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.before {
  background:
    linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.92)),
    radial-gradient(circle at 70% 30%, rgba(148,163,184,.25), transparent 30%);
}

.after {
  clip-path: inset(0 45% 0 0);
  background:
    radial-gradient(circle at 70% 20%, rgba(56,189,248,.28), transparent 34%),
    linear-gradient(135deg, #081A3A, #0F4DE0 62%, #38BDF8);
}

.old-site,
.new-site {
  width: min(640px, calc(100% - 50px));
  min-height: 350px;
  border-radius: 34px;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
}

.old-site {
  background: rgba(255,255,255,.08);
  filter: grayscale(.55);
}

.new-site {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(18px);
}

.old-site span,
.new-site span {
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #93C5FD;
}

.old-site h3,
.new-site h3 {
  color: white;
  max-width: 500px;
  font-size: clamp(2rem, 4vw, 4rem);
  margin-top: 14px;
}

.old-site p,
.new-site p {
  color: rgba(255,255,255,.78);
  max-width: 420px;
  margin-top: 16px;
}

.old-site i {
  display: block;
  height: 34px;
  width: 82%;
  border-radius: 99px;
  background: rgba(255,255,255,.16);
  margin-top: 18px;
}

.new-site div {
  width: 150px;
  height: 50px;
  margin-top: 26px;
  border-radius: 999px;
  background: white;
}

.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 2px;
  background: white;
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: white;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.compare-handle span::before {
  content: "↔";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.3rem;
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: .35;
}

.timeline-step {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

.timeline-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  margin-bottom: 28px;
}

.timeline-step p {
  font-size: .92rem;
  margin-top: 10px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .stat {
  background: linear-gradient(135deg, #102B5E, #0F172A);
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat span {
  display: block;
  color: rgba(255,255,255,.72);
  margin-top: 10px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  background:
    radial-gradient(circle at 70% 0%, rgba(56,189,248,.18), transparent 42%),
    linear-gradient(180deg, rgba(37,99,235,.08), var(--glass));
  border-color: rgba(37,99,235,.34);
  transform: translateY(-16px);
}

.popular {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: .74rem;
  font-weight: 900;
}

.price-card span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.price-card h3 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.price-card p {
  margin-top: 12px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 12px;
}

.price-card li {
  color: var(--slate);
  font-weight: 700;
}

.price-card li::before {
  content: "✓";
  color: var(--blue);
  margin-right: 10px;
}

/* Testimonial */
.testimonial {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .testimonial {
  background: linear-gradient(135deg, #102B5E, #0F172A);
}

.testimonial h2,
.testimonial .label {
  color: white;
}

.testimonial p {
  color: rgba(255,255,255,.75);
  font-size: 1.12rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

summary {
  padding: 24px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

details p {
  padding: 0 24px 24px;
}

/* CTA/Form */
.final-cta {
  width: min(1080px, calc(100% - 40px));
}

.cta-card {
  padding: clamp(32px, 6vw, 76px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 80% 10%, rgba(56,189,248,.18), transparent 34%),
    linear-gradient(135deg, var(--navy), #0A1F47 58%, #0F4DE0);
  box-shadow: var(--shadow);
  color: white;
}

.cta-card .label,
.cta-card h2 { color: white; }

.cta-card p {
  color: rgba(255,255,255,.76);
  max-width: 720px;
  margin-top: 16px;
  font-size: 1.08rem;
}

.consultation-form {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.consultation-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 15px 16px;
  outline: none;
  background: rgba(255,255,255,.11);
  color: white;
  transition: border-color .2s ease, box-shadow .2s ease;
}

select option { color: #0F172A; }
textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(56,189,248,.18);
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-note {
  color: rgba(255,255,255,.62) !important;
  font-size: .86rem !important;
  margin-top: 0 !important;
}

.form-note code {
  color: white;
  font-weight: 800;
}

/* Footer */
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 42px;
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin-top: 14px;
  max-width: 300px;
}

.footer h4 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: var(--font-head);
}

.footer a {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin: 10px 0;
}

.newsletter {
  display: grid;
  gap: 12px;
}

.newsletter input {
  color: var(--slate);
  background: var(--glass);
  border-color: var(--line);
}

.newsletter button {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--navy);
  font-weight: 900;
}

[data-theme="dark"] .newsletter button {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

/* Floating */
.floating-whatsapp,
.back-top {
  position: fixed;
  z-index: 780;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.floating-whatsapp {
  right: 22px;
  bottom: 88px;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: white;
  background: #0EA65B;
  font-size: 1.6rem;
}

.back-top {
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--navy);
  background: var(--glass);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  z-index: 1000;
  width: min(440px, calc(100% - 36px));
  padding: 18px;
  border-radius: 22px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
  transition: transform .28s ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

.toast strong,
.toast span {
  display: block;
}

.toast span {
  margin-top: 5px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

/* Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  display: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--blue);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(37,99,235,.55);
  border-radius: 50%;
  transition: transform .15s ease, opacity .15s ease;
}

@media (pointer: fine) and (min-width: 900px) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .16s; }

/* Responsive */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 40px;
  }

  .laptop {
    transform: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before { display: none; }

  .portfolio-grid .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2) {
    grid-column: span 6;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .section,
  .section-sm {
    width: min(100% - 26px, 1180px);
    padding: 72px 0;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(3.05rem, 16vw, 5rem);
  }

  .hero-proof,
  .stats,
  .pricing-grid,
  .why-grid,
  .split-heading,
  .testimonial,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2) {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .compare {
    height: 520px;
    border-radius: 28px;
  }

  .old-site,
  .new-site {
    padding: 28px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: .95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-buttons,
  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .mock-site {
    grid-template-columns: 72px 1fr;
  }

  .mock-site section {
    padding: 18px;
  }

  .mock-site h3 {
    font-size: 1.45rem;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .mock-grid i {
    height: 52px;
  }

  .laptop-screen {
    border-width: 7px;
    border-bottom-width: 12px;
    border-radius: 18px 18px 12px 12px;
  }

  .project-preview {
    min-height: 210px;
  }

  .project-preview::before {
    inset: 24px;
  }

  .project-preview::after {
    left: 44px;
    right: 44px;
    top: 75px;
  }

  .cta-card {
    border-radius: 30px;
  }

  .testimonial {
    padding: 30px;
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}


/* Requested revisions: cleaner responsiveness, modals, stronger comparison contrast */
html { -webkit-text-size-adjust: 100%; }
body.modal-open { overflow: hidden; }

.site-header {
  gap: 14px;
}

.desktop-nav a[data-open-modal] {
  cursor: pointer;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
}

.hero-content,
.hero-visual,
.section-heading,
.split-heading,
.cta-card,
.portfolio-grid,
.pricing-grid {
  min-width: 0;
}

.hero-copy {
  max-width: 720px;
}

.work {
  padding-top: 92px;
}

.old-site {
  background:
    linear-gradient(135deg, rgba(15,23,42,.48), rgba(30,41,59,.34)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px);
  filter: grayscale(1) contrast(.78) brightness(.72);
  opacity: .88;
}

.old-site::after {
  content: "";
  display: block;
  margin-top: 24px;
  width: 100%;
  height: 90px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px dashed rgba(255,255,255,.22);
}

.new-site {
  background:
    radial-gradient(circle at 80% 20%, rgba(56,189,248,.38), transparent 38%),
    linear-gradient(135deg, rgba(37,99,235,.94), rgba(8,26,58,.92));
  border-color: rgba(255,255,255,.42);
}

.new-site div {
  box-shadow: 0 18px 45px rgba(56,189,248,.28);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 26, 58, .56);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.modal-layer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-panel {
  width: min(720px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border-radius: 34px;
  padding: clamp(26px, 4vw, 46px);
  background:
    radial-gradient(circle at 86% 0%, rgba(56,189,248,.14), transparent 34%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(22px) scale(.98);
  transition: transform .22s ease;
}

.modal-layer.active .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-wide {
  width: min(1020px, 100%);
}

.modal-panel h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.modal-panel > p,
.selected-plan {
  margin-top: 14px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
}

.modal-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.modal-timeline div {
  padding: 20px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--line);
}

.modal-timeline span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
  margin-bottom: 14px;
}

.modal-timeline h3 {
  font-size: 1.15rem;
}

.modal-timeline p {
  margin-top: 8px;
  font-size: .92rem;
}

.modal-faq {
  margin-top: 24px;
}

.project-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.project-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.project-form input,
.project-form textarea {
  color: var(--slate);
  background: rgba(255,255,255,.7);
  border-color: var(--line);
}

[data-theme="dark"] .project-form input,
[data-theme="dark"] .project-form textarea,
[data-theme="dark"] .newsletter input {
  color: #F8FAFC;
  background: rgba(255,255,255,.08);
}

@media (max-width: 1180px) {
  .site-header {
    width: calc(100% - 24px);
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-content {
    max-width: 880px;
  }
}

@media (max-width: 960px) {
  .portfolio-grid .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2) {
    grid-column: span 6;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 820px) {
  .desktop-nav, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero { min-height: auto; }
  .laptop { max-width: 100%; }
  .compare { height: 560px; }
  .modal-layer { padding: 14px; }
  .modal-panel { border-radius: 26px; }
  .modal-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.85rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .section, .section-sm { width: min(100% - 24px, 1180px); padding: 62px 0; }
  .hero { padding-top: 112px; }
  .hero-buttons .btn { width: 100%; }
  .portfolio-toolbar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-btn { flex: 0 0 auto; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .project-card,
  .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: span 1; }
  .compare { height: 500px; border-radius: 26px; }
  .old-site, .new-site { width: calc(100% - 30px); min-height: 310px; padding: 24px; }
  .old-site h3, .new-site h3 { font-size: 2rem; }
  .footer { width: min(100% - 24px, 1180px); }
}


/* Portfolio revision: no empty screenshot/mockup area. Name-first premium cards. */
.project-card {
  min-height: 260px;
  padding: 30px;
  justify-content: space-between;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .24), transparent 70%);
  pointer-events: none;
}

.project-info {
  padding: 0;
  position: relative;
  z-index: 1;
}

.project-info h3 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  max-width: 520px;
}

.project-copy {
  margin-top: 14px;
  max-width: 520px;
  font-size: .98rem;
}

.project-url {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -.01em;
}

.project-info div {
  margin-top: 28px;
}

.project-preview {
  display: none !important;
}

@media (max-width: 820px) {
  .project-card {
    min-height: auto;
    padding: 24px;
  }
}

/* Portfolio final list: four live projects, balanced two-column desktop layout. */
@media (min-width: 821px) {
  .portfolio-grid .project-card {
    grid-column: span 6;
  }
}


.error-toast {
  background: #7F1D1D;
}

button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}
