:root {
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --panel: #ffffff;
  --dark: #0f172a;
  --dark-2: #111827;
  --soft: #f1f5f9;
  --shadow-sm: 0 10px 30px -10px rgba(15, 23, 42, 0.14);
  --shadow-md: 0 30px 60px -15px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 50px 100px -20px rgba(15, 23, 42, 0.25);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 36px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 140ms linear;
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-size: 1.40rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navlinks a {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  transition: color 180ms ease;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 180ms ease;
}

.navlinks a:hover {
  color: var(--ink);
}

.navlinks a:hover::after {
  width: 100%;
}

.navlinks a.is-disabled,
.navlinks a.is-disabled:hover {
  color: #94a3b8;
  cursor: not-allowed;
}

.navlinks a.is-disabled::after,
.navlinks a.is-disabled:hover::after {
  width: 0;
}

.btn {
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 200ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  padding: 12px 20px;
  box-shadow: 0 14px 28px -12px rgba(15, 23, 42, 0.46);
}

.btn-primary:hover {
  background: #111827;
  box-shadow: 0 20px 34px -12px rgba(15, 23, 42, 0.56);
}

.btn-portfolio-mobile {
  display: none;
  background: #e2e8f0;
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.btn-portfolio-mobile:hover {
  background: #cbd5e1;
}

.btn-portfolio-mobile:disabled,
.btn-portfolio-mobile:disabled:hover {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 96px 0 110px;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mesh {
  position: absolute;
  border-radius: 999px;
}

.blob-a {
  width: 60vw;
  max-width: 900px;
  height: 60vw;
  max-height: 900px;
  left: -14vw;
  top: -35vw;
  background: rgba(219, 234, 254, 0.5);
  filter: blur(120px);
  animation: pulseSlow 11s ease-in-out infinite;
}

.blob-b {
  width: 48vw;
  max-width: 760px;
  height: 48vw;
  max-height: 760px;
  right: -12vw;
  top: -10vw;
  background: rgba(226, 232, 240, 0.9);
  filter: blur(130px);
  animation: float 10s ease-in-out infinite;
}

.blob-c {
  width: 72vw;
  max-width: 1080px;
  height: 44vw;
  max-height: 680px;
  bottom: -28vw;
  left: 8vw;
  background: rgba(224, 231, 255, 0.4);
  filter: blur(120px);
}

.grain {
  inset: 0;
  border-radius: 0;
  opacity: 0.03;
  background-image: radial-gradient(#0f172a 1px, transparent 0);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, white, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 62px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.12);
  margin-bottom: 28px;
}

.hero-kicker span:last-child {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 900;
  color: #475569;
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
}

.pulse i,
.pulse::before {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.pulse i {
  background: #0f172a;
}

.pulse::before {
  content: "";
  background: #64748b;
  animation: ping 1.9s ease-out infinite;
}

.hero-title {
  margin: 0;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: #0f172a;
}

.hero-title span {
  color: #64748b;
}

.hero-title em {
  color: #94a3b8;
  font-style: italic;
}

.hero-sub {
  margin: 50px 0 0;
  max-width: 640px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  font-weight: 500;
  color: #475569;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn-hero {
  padding: 20px 34px;
  font-size: 18px;
  border-radius: 18px;
  color: #fff;
  background: #0f172a;
  box-shadow: 0 28px 48px -20px rgba(15, 23, 42, 0.5);
  position: relative;
  overflow: hidden;
}

.btn-hero::after {
  content: "";
  position: absolute;
  top: -180%;
  left: -130%;
  width: 240%;
  height: 240%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  animation: shine 4s linear infinite;
  pointer-events: none;
}

.btn-outline {
  padding: 18px 32px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.btn-outline:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.hero-window {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(100%, 640px);
  padding: 38px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.window-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.window-head span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.window-head span:nth-child(1) {
  background: #fecaca;
}

.window-head span:nth-child(2) {
  background: #fde68a;
}

.window-head span:nth-child(3) {
  background: #a7f3d0;
}

.window-body {
  display: grid;
  gap: 16px;
}

.window-body .line {
  height: 16px;
  border-radius: 999px;
  background: #e2e8f0;
}

.window-body .line-1 {
  width: 38%;
}

.window-body .line-2 {
  width: 75%;
}

.dropzone {
  margin-top: 8px;
  height: 186px;
  border: 1px dashed #cbd5e1;
  border-radius: 34px;
  background: rgba(248, 250, 252, 0.75);
  display: grid;
  place-items: center;
}

.plus {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
}

.window-actions {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.line-btn {
  height: 58px;
  border-radius: 18px;
  background: rgba(241, 245, 249, 0.8);
}

.line-btn.dark {
  background: #0f172a;
}

.stat-card {
  position: absolute;
  right: -20px;
  top: -56px;
  width: 185px;
  height: 185px;
  background: #fff;
  border-radius: 42px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
  animation: bounceSlow 9s ease-in-out infinite;
}

.stat-card strong {
  display: block;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  color: #0f172a;
}

.stat-card small {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 900;
  color: #64748b;
}

.shadow-card {
  position: absolute;
  left: -60px;
  bottom: 96px;
  width: 230px;
  height: 136px;
  border-radius: 42px;
  background: #0f172a;
  box-shadow: 0 35px 55px -22px rgba(15, 23, 42, 0.7);
  z-index: 1;
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 0 34px;
  animation: float 8.2s ease-in-out infinite;
}

.shadow-card span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.shadow-card span:nth-child(2) {
  width: 76%;
}

.shadow-card span:nth-child(3) {
  width: 58%;
}

/* Generic section header */
.section-head {
  text-align: center;
  margin: 0 auto 74px;
  max-width: 700px;
}

.section-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  font-weight: 900;
  color: #475569;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #0f172a;
}

/* Services */
.services {
  background: #fff;
  padding: 126px 0;
  scroll-margin-top: 90px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.service-card {
  position: relative;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 40px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  min-height: 580px;
  transition: transform 450ms ease, box-shadow 450ms ease, border-color 250ms ease;
}

.service-card:hover {
  transform: translateY(-14px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.service-card.featured {
  background: #0f172a;
  color: #fff;
  border-color: #0b1220;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 1;
}

.service-card.featured:hover {
  transform: scale(1.03) translateY(-14px);
}

.featured-badge {
  position: absolute;
  right: 38px;
  top: 36px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  transition: transform 350ms ease;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.service-card p {
  margin: 18px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.56;
  font-weight: 500;
}

.service-card.featured p {
  color: #cbd5e1;
}

.service-price {
  margin-top: 30px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.service-price strong {
  font-size: 36px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.service-price span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-weight: 900;
  color: #64748b;
  margin-bottom: 6px;
}

.service-card.featured .service-price span {
  color: #94a3b8;
}

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

.service-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.service-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0f172a;
}

.service-card.featured li {
  color: #f1f5f9;
}

.service-card.featured li::before {
  background: rgba(255, 255, 255, 0.58);
}

.btn-block {
  margin-top: auto;
  width: 100%;
  padding: 19px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.btn-block:hover {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.btn-block.btn-light {
  border: 0;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 16px 26px -12px rgba(0, 0, 0, 0.45);
}

.btn-block.btn-light:hover {
  background: #f8fafc;
}

/* About */
.about {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  padding: 130px 0 140px;
  scroll-margin-top: 86px;
}

.about-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: radial-gradient(#0f172a 1px, transparent 0);
  background-size: 60px 60px;
}

.about-skew {
  position: absolute;
  top: 0;
  right: -16%;
  width: 40%;
  height: 100%;
  background: #f8fafc;
  transform: skewX(-12deg);
}

.about-wrap {
  position: relative;
  z-index: 1;
}

.about-intro {
  max-width: 970px;
  margin-bottom: 100px;
}

.about-kicker {
  margin: 36px 0 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 14px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.46;
}

.about-intro h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.about-intro h2 span {
  color: #94a3b8;
  font-style: italic;
}

.about-intro-copy {
  margin: 36px 0 0;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.46;
  color: #475569;
  font-weight: 400;
  max-width: 960px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px;
}

.pillar {
  position: relative;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 22px 38px -18px rgba(15, 23, 42, 0.6);
  margin-bottom: 28px;
  transition: transform 350ms ease;
}

.pillar:hover .pillar-icon {
  transform: translateY(-4px) scale(1.06) rotate(-3deg);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
}

.pillar h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.pillar h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}

.pillar p {
  margin: 18px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.58;
  font-weight: 500;
}

/* Social proof */
.social-proof {
  background: #fff;
  padding: 32px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.social-proof-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.avatar-row {
  display: flex;
  align-items: center;
}

.avatar-row span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid #fff;
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #475569;
  box-shadow: var(--shadow-sm);
}

.avatar-row span:first-child {
  margin-left: 0;
}

.avatar-row .a1 { background: #dbeafe; }
.avatar-row .a2 { background: #d1fae5; }
.avatar-row .a3 { background: #fef3c7; }
.avatar-row .a4 { background: #e0e7ff; }
.avatar-row .a5 { background: #ffe4e6; }
.avatar-row .a6 {
  background: #0f172a;
  color: #fff;
}

.social-proof-wrap p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 126px 0;
}

.testimonial-head h2 span {
  color: #94a3b8;
  font-style: italic;
}

.testimonial-shell {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 18px;
}

.carousel-btn {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #94a3b8;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  transition: transform 220ms ease, color 180ms ease, box-shadow 220ms ease;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-btn:hover {
  color: #0f172a;
  transform: scale(1.08);
  box-shadow: 0 22px 36px -18px rgba(15, 23, 42, 0.3);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.testimonial-card {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 48px;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.08);
  padding: 66px 72px;
  text-align: center;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quote-mark {
  font-size: 70px;
  line-height: 1;
  color: #cbd5e1;
}

.testimonial-card blockquote {
  margin: 20px 0 0;
  max-width: 820px;
  font-size: clamp(21px, 3vw, 24px);
  line-height: 1.44;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #0f172a;
}

.testimonial-name {
  margin: 30px 0 0;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.testimonial-role {
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  color: #64748b;
}

.testimonial-progress-track {
  margin-top: 34px;
  width: 122px;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.testimonial-progress {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #0f172a;
  transition: width 100ms linear;
}

.testimonial-dots {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.testimonial-dots button {
  position: relative;
  border-radius: 999px;
  border: 0;
  background: #cbd5e1;
  width: 11px;
  height: 11px;
  transition: width 340ms ease, background-color 240ms ease;
}

.testimonial-dots button[aria-selected="true"] {
  width: 46px;
  background: #0f172a;
}

/* FAQ */
.faq {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 110px 0;
}

.faq-wrap {
  max-width: 980px;
}

.faq-head {
  margin-bottom: 44px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #0f172a;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #64748b;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item > p {
  margin: 0;
  padding: 0 20px 18px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  font-weight: 500;
}

.faq-answer {
  padding: 14px 20px 18px;
  border-top: 1px solid #f1f5f9;
  color: #475569;
}

.faq-answer p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

.faq-answer ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.faq-answer li {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 130px 0;
}

.cta-glow {
  position: absolute;
  inset: -24% 8% auto;
  height: 420px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), transparent);
  filter: blur(100px);
}

.cta-wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.cta-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  animation: pulse 1.5s infinite;
}

.cta-kicker p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 10px;
  font-weight: 900;
}

.cta h2 {
  margin: 30px 0 0;
  font-size: clamp(46px, 8vw, 120px);
  line-height: 0.93;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.cta > .container > p {
  margin: 30px auto 0;
  max-width: 860px;
  color: #94a3b8;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.4;
  font-weight: 500;
}

.cta-actions {
  margin-top: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-cta {
  background: #fff;
  color: #0f172a;
  border-radius: 32px;
  padding: 20px 40px;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 28px 48px -20px rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: -160%;
  left: -120%;
  width: 220%;
  height: 220%;
  background: linear-gradient(45deg, transparent 40%, rgba(15, 23, 42, 0.18) 50%, transparent 60%);
  animation: shine 4s linear infinite;
}

.btn-cta:hover {
  background: #f8fafc;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  padding: 96px 0 44px;
}

.footer-glow {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(120px);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .brand-mark {
  background: #fff;
  color: #0f172a;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand-block p {
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
}

.social-links {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: grid;
  place-items: center;
  transition: all 220ms ease;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.footer-nav h3,
.footer-contact h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f8fafc;
}

.footer-nav {
  padding-top: 8px;
}

.footer-nav a {
  display: block;
  margin-top: 16px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 34px;
}

.footer-contact h3 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-transform: none;
}

.footer-contact > p {
  margin: 12px 0 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.55;
}

#contactForm {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.3;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

#contactForm textarea {
  resize: vertical;
  min-height: 112px;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: #64748b;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

#contactForm button {
  margin-top: 2px;
  width: 100%;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  transition: transform 180ms ease, background-color 180ms ease;
}

#contactForm button:hover {
  transform: translateY(-1px);
  background: #f1f5f9;
}

.form-success {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.form-success .icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  margin: 0 auto 10px;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  display: grid;
  place-items: center;
}

.form-success .icon svg {
  width: 24px;
  height: 24px;
}

.form-success h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.form-success p {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 14px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.4;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom button {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 180ms ease;
}

.footer-bottom button:hover {
  color: #cbd5e1;
}

/* Portfolio Drawer */
body.drawer-open,
body.lightbox-open {
  overflow: hidden;
}

.portfolio-backdrop {
  position: fixed;
  inset: 0;
  z-index: 68;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.portfolio-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-drawer {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 69;
  width: min(680px, 100%);
  height: 100dvh;
  color: #0f172a;
  background:
    radial-gradient(circle at 96% 4%, rgba(148, 163, 184, 0.36), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(15, 23, 42, 0.08), transparent 46%),
    #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -42px 0 90px -36px rgba(15, 23, 42, 0.42);
  transform: translateX(104%);
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.portfolio-drawer.active {
  transform: translateX(0);
}

.portfolio-drawer-shell {
  position: relative;
  height: 100%;
  overflow: auto;
  padding: 36px 26px 30px;
}

.portfolio-close {
  position: absolute;
  top: 26px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  color: #64748b;
  transition: background-color 180ms ease, color 180ms ease;
}

.portfolio-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.portfolio-close svg {
  width: 20px;
  height: 20px;
}

.portfolio-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
}

.portfolio-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #0f172a;
}

.portfolio-drawer h2 {
  margin: 16px 0 0;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.portfolio-sub {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: #475569;
}

.portfolio-filters {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-filter {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.portfolio-filter:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.portfolio-filter.active {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.portfolio-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  grid-column: 1 / -1;
}

.portfolio-card {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  text-align: left;
  display: grid;
  gap: 10px;
  box-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.55);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 44px -28px rgba(15, 23, 42, 0.6);
  border-color: #cbd5e1;
}

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-thumb::after {
  content: "View large";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.portfolio-meta {
  display: grid;
  gap: 4px;
}

.portfolio-meta strong {
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f172a;
}

.portfolio-meta span {
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: #64748b;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.portfolio-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-lightbox-close {
  position: fixed;
  right: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
}

.portfolio-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.portfolio-lightbox-figure {
  margin: 0;
  width: min(1080px, 100%);
  max-height: 100%;
  border-radius: 24px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 10px;
}

.portfolio-lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
}

.portfolio-lightbox-figure figcaption {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #475569;
  text-align: center;
}

/* Modal */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal-root.active {
  display: grid;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}

.modal {
  position: relative;
  width: min(980px, 100%);
  max-height: min(92vh, 920px);
  background: #fff;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal.small {
  width: min(560px, 100%);
}

.modal.medium {
  width: min(760px, 100%);
}

.modal.large {
  width: min(1180px, 100%);
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f8fafc;
  color: #94a3b8;
  display: grid;
  place-items: center;
  z-index: 3;
}

.modal-close:hover {
  color: #0f172a;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  overflow: auto;
  max-height: inherit;
  padding: 36px;
}

.modal-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #0f172a;
}

.modal-sub {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  color: #475569;
}

.modal-form {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-field {
  display: grid;
  gap: 8px;
}

.modal-field label {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: #334155;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.4;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.modal-field textarea {
  resize: vertical;
  min-height: 96px;
}

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: #334155;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.choice input {
  width: 15px;
  height: 15px;
  accent-color: #0f172a;
}

.pay-row {
  margin-top: 8px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.pay-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}

.modal-submit {
  width: 100%;
  border-radius: 12px;
  padding: 14px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: background-color 180ms ease;
}

.modal-submit:hover {
  background: #111827;
}

.modal-note {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}

.modal-success {
  text-align: center;
  padding: 30px 10px 20px;
}

.modal-success .icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.modal-success .icon svg {
  width: 34px;
  height: 34px;
}

.modal-success h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.modal-success p {
  margin: 12px auto 0;
  max-width: 570px;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

.modal-back {
  margin-top: 20px;
  width: 100%;
  max-width: 270px;
  border-radius: 12px;
  padding: 13px;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.plan-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  border: 1px solid #f1f5f9;
  background: #fff;
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 350ms ease, box-shadow 350ms ease, border-color 200ms ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: #e2e8f0;
}

.plan-card.featured {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.plan-badge {
  align-self: center;
  margin-top: -46px;
  margin-bottom: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 12px;
  font-weight: 900;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.plan-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 900;
  color: #64748b;
}

.plan-card.featured .plan-name {
  color: #94a3b8;
}

.plan-price {
  margin-top: 10px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.plan-price strong {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.plan-price span {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.plan-card.featured .plan-price span {
  color: #94a3b8;
}

.plan-lines {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.plan-lines p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.plan-divider {
  margin: 16px 0 14px;
  height: 1px;
  background: #f1f5f9;
}

.plan-card.featured .plan-divider {
  background: rgba(255, 255, 255, 0.14);
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  font-weight: 600;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  margin-top: 2px;
  flex-shrink: 0;
}

.plan-card.featured .plan-features li {
  color: #cbd5e1;
}

.plan-card.featured .plan-features li svg {
  color: #94a3b8;
}

.plan-select {
  margin-top: 20px;
  width: 100%;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  background: #0f172a;
  color: #fff;
}

.plan-card.featured .plan-select {
  background: #fff;
  color: #0f172a;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.back-link:hover {
  color: #0f172a;
}

.legal-block {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.legal-block h4 {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.2;
  color: #0f172a;
  font-weight: 800;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 26px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.5);
  color: #0f172a;
  display: grid;
  place-items: center;
  z-index: 35;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease, box-shadow 220ms ease;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  box-shadow: 0 24px 42px -18px rgba(15, 23, 42, 0.5);
}

.scroll-top span {
  position: relative;
  z-index: 2;
}

.scroll-top span svg {
  width: 20px;
  height: 20px;
}

.scroll-top .progress {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.scroll-top circle {
  fill: none;
  stroke-width: 2.5;
}

.scroll-top circle:first-child {
  stroke: #e2e8f0;
}

.scroll-top circle:last-child {
  stroke: #0f172a;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 100ms linear;
}

/* Responsive */
@media (max-width: 1220px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 520px;
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .hero-window {
    left: 50%;
    transform: translateX(-50%);
  }

  .stat-card {
    right: 8%;
  }

  .shadow-card {
    left: 10%;
  }

  .service-grid,
  .pillar-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured,
  .plan-card.featured {
    transform: none;
  }

  .service-card.featured:hover,
  .plan-card.featured:hover {
    transform: translateY(-10px);
  }

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

  .footer-contact {
    order: 2;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(1240px, calc(100% - 24px));
  }

  .nav-wrap {
    min-height: 68px;
    gap: 12px;
  }

  .brand-name {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .navlinks {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .btn-portfolio-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  .nav-actions > .btn-primary {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-kicker {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(36px, 9vw, 58px);
  }

  .hero-sub {
    margin-top: 28px;
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .hero-actions {
    margin-top: 24px;
    gap: 12px;
    width: 100%;
  }

  .btn-hero,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
    font-size: 16px;
  }

  .hero-visual {
    min-height: 460px;
    width: 100%;
  }

  .hero-window {
    width: 100%;
    max-width: 540px;
    padding: 24px;
    border-radius: 32px;
  }

  .dropzone {
    height: 130px;
    border-radius: 24px;
  }

  .window-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    top: -12px;
    right: 2px;
  }

  .stat-card strong {
    font-size: 30px;
  }

  .shadow-card {
    width: 150px;
    height: 94px;
    border-radius: 24px;
    left: 0;
    bottom: 48px;
    padding: 0 20px;
  }

  .services {
    padding: 84px 0;
  }

  .service-grid {
    gap: 16px;
  }

  .service-card {
    padding: 24px;
    border-radius: 28px;
    min-height: auto;
  }

  .featured-badge {
    top: 18px;
    right: 20px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .service-price {
    margin-top: 20px;
  }

  .service-card ul {
    margin: 20px 0 26px;
  }

  .btn-block {
    padding: 15px;
    font-size: 16px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .about {
    padding: 76px 0;
  }

  .about-intro {
    margin-bottom: 38px;
  }

  .about-kicker {
    margin: 6px 0 12px;
  }

  .about-intro-copy {
    margin-top: 22px;
  }

  .about-skew {
    display: none;
  }

  .pillar-grid {
    gap: 24px;
  }

  .pillar {
    padding: 8px 0;
  }

  .pillar h3 {
    font-size: 22px;
  }

  .pillar h3::after {
    display: none;
  }

  .pillar p {
    font-size: 16px;
  }

  .social-proof {
    padding: 24px 0;
  }

  .social-proof-wrap {
    gap: 10px;
    text-align: center;
  }

  .social-proof-wrap p {
    width: 100%;
    font-size: 13px;
  }

  .testimonials {
    padding: 84px 0;
  }

  .faq {
    padding: 78px 0;
  }

  .faq-head {
    margin-bottom: 28px;
  }

  .faq-item summary {
    padding: 16px 16px;
    font-size: 16px;
  }

  .faq-item > p {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-answer p,
  .faq-answer li {
    font-size: 14px;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .testimonial-card {
    border-radius: 28px;
    padding: 28px 18px;
    min-height: 0;
  }

  .testimonial-card blockquote {
    font-size: clamp(18px, 5.6vw, 22px);
    line-height: 1.5;
  }

  .testimonial-name {
    margin-top: 20px;
    font-size: 16px;
  }

  .testimonial-role {
    font-size: 10px;
  }

  .testimonial-dots {
    margin-top: 24px;
  }

  .cta {
    padding: 76px 0;
  }

  .cta h2 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .cta > .container > p {
    margin-top: 20px;
    font-size: clamp(17px, 5vw, 21px);
  }

  .cta-actions {
    margin-top: 28px;
  }

  .btn-cta {
    font-size: 18px;
    padding: 14px 24px;
    width: 100%;
    max-width: 360px;
  }

  .footer {
    padding: 72px 0 34px;
  }

  .footer-grid {
    gap: 30px;
    padding-bottom: 34px;
  }

  .footer-brand-block p {
    max-width: none;
  }

  .footer-nav {
    padding-top: 0;
  }

  .footer-contact {
    padding: 24px;
    border-radius: 24px;
  }

  .footer-contact h3 {
    font-size: 22px;
  }

  .footer-contact > p {
    font-size: 14px;
  }

  .footer-bottom {
    padding-top: 16px;
    gap: 10px;
  }

  .footer-bottom div {
    gap: 12px;
  }

  .form-row,
  .modal-grid,
  .choice-grid,
  .choice-grid.four {
    grid-template-columns: 1fr;
  }

  .modal-root {
    padding: 12px;
  }

  .modal {
    border-radius: 22px;
    max-height: calc(100vh - 20px);
  }

  .modal-body {
    padding: 24px 18px;
  }

  .modal-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .modal-sub {
    font-size: 15px;
  }

  .plan-grid {
    gap: 14px;
  }

  .modal-close {
    right: 14px;
    top: 14px;
  }

  .portfolio-drawer {
    width: min(620px, 100%);
  }

  .portfolio-drawer-shell {
    padding: 28px 18px 20px;
  }

  .portfolio-drawer h2 {
    font-size: clamp(30px, 7.4vw, 42px);
  }

  .portfolio-sub {
    font-size: 15px;
  }

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

  .portfolio-lightbox {
    padding: 18px;
  }

  .portfolio-lightbox-figure {
    padding: 10px;
    border-radius: 18px;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1240px, calc(100% - 18px));
  }

  .nav-wrap {
    min-height: 60px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

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

  .brand-mark svg {
    width: 15px;
    height: 15px;
  }

  .brand-name {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .nav-actions > .btn-primary {
    padding: 9px 12px;
    font-size: 12px;
  }

  .btn-portfolio-mobile {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 56px 0 62px;
  }

  .hero-kicker {
    padding: 8px 12px;
    gap: 8px;
  }

  .hero-kicker span:last-child {
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: clamp(32px, 11vw, 44px);
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-window {
    padding: 16px;
    border-radius: 22px;
  }

  .window-head {
    margin-bottom: 18px;
  }

  .window-head span {
    width: 10px;
    height: 10px;
  }

  .window-body {
    gap: 10px;
  }

  .window-body .line {
    height: 10px;
  }

  .dropzone {
    height: 110px;
    border-radius: 16px;
  }

  .plus {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .line-btn {
    height: 44px;
    border-radius: 12px;
  }

  .stat-card {
    width: 96px;
    height: 96px;
    top: 4px;
    right: 0;
    border-radius: 18px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .stat-card small {
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .shadow-card {
    display: none;
  }

  .services {
    padding: 66px 0;
  }

  .section-kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .section-head h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .service-card {
    padding: 18px;
    border-radius: 22px;
  }

  .featured-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 10px;
    font-size: 9px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 15px;
    line-height: 1.5;
  }

  .service-price strong {
    font-size: 32px;
  }

  .service-card li {
    font-size: 13px;
  }

  .btn-block {
    font-size: 15px;
  }

  .about {
    padding: 62px 0;
  }

  .about-kicker {
    padding: 6px 12px;
    margin: 0 0 10px;
  }

  .about-intro h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .about-intro-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .pillar-icon svg {
    width: 22px;
    height: 22px;
  }

  .pillar h3 {
    font-size: 19px;
  }

  .pillar p {
    font-size: 15px;
  }

  .avatar-row span {
    width: 34px;
    height: 34px;
    font-size: 9px;
  }

  .testimonials {
    padding: 62px 0;
  }

  .faq {
    padding: 62px 0;
  }

  .faq-item {
    border-radius: 14px;
  }

  .faq-item summary {
    font-size: 15px;
    padding: 14px 14px;
  }

  .faq-item > p {
    font-size: 13px;
    padding: 12px 14px 14px;
  }

  .faq-answer {
    padding: 12px 14px 14px;
  }

  .faq-answer p,
  .faq-answer li {
    font-size: 13px;
  }

  .testimonial-card {
    border-radius: 22px;
    padding: 22px 14px;
  }

  .quote-mark {
    font-size: 46px;
  }

  .testimonial-card blockquote {
    font-size: 17px;
  }

  .testimonial-progress-track {
    margin-top: 20px;
    width: 96px;
    height: 5px;
  }

  .cta {
    padding: 62px 0;
  }

  .cta-kicker {
    padding: 7px 12px;
  }

  .cta-kicker p {
    letter-spacing: 0.18em;
  }

  .cta h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .cta > .container > p {
    font-size: 16px;
    line-height: 1.5;
  }

  .btn-cta {
    max-width: 100%;
    font-size: 16px;
    padding: 13px 20px;
    border-radius: 20px;
  }

  .footer {
    padding: 58px 0 26px;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-contact {
    padding: 18px;
    border-radius: 18px;
  }

  .footer-contact h3 {
    font-size: 20px;
  }

  .footer-contact > p {
    font-size: 13px;
  }

  #contactForm input,
  #contactForm textarea {
    padding: 11px 12px;
  }

  #contactForm button {
    padding: 12px;
  }

  .footer-bottom p,
  .footer-bottom button {
    font-size: 12px;
  }

  .modal-root {
    padding: 8px;
  }

  .modal-body {
    padding: 18px 14px;
  }

  .modal-close {
    width: 32px;
    height: 32px;
  }

  .modal-submit,
  .modal-back {
    padding: 12px;
    font-size: 14px;
  }

  .portfolio-kicker {
    padding: 7px 12px;
    letter-spacing: 0.16em;
  }

  .portfolio-drawer-shell {
    padding: 22px 14px 16px;
  }

  .portfolio-close,
  .portfolio-lightbox-close {
    width: 36px;
    height: 36px;
  }

  .portfolio-sub {
    font-size: 14px;
    line-height: 1.5;
  }

  .portfolio-filter {
    font-size: 12px;
    padding: 9px 12px;
  }

  .portfolio-card {
    border-radius: 16px;
    padding: 8px;
  }

  .portfolio-thumb {
    border-radius: 11px;
  }

  .portfolio-meta strong {
    font-size: 14px;
  }

  .portfolio-meta span {
    font-size: 10px;
  }

  .portfolio-lightbox {
    padding: 10px;
  }

  .portfolio-lightbox-figure {
    border-radius: 14px;
    padding: 8px;
    gap: 8px;
  }

  .portfolio-lightbox-figure img {
    border-radius: 10px;
  }

  .portfolio-lightbox-figure figcaption {
    font-size: 12px;
  }

  .plan-card {
    padding: 18px;
    border-radius: 20px;
  }

  .plan-price strong {
    font-size: 34px;
  }

  .choice {
    padding: 9px;
    font-size: 12px;
  }

  .scroll-top {
    width: 48px;
    height: 48px;
  }

  .scroll-top span svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Animations */
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  75%,
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes shine {
  0% {
    transform: translate(-70%, -70%) rotate(45deg);
  }
  100% {
    transform: translate(70%, 70%) rotate(45deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.8deg);
  }
}

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

@keyframes pulseSlow {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.04);
  }
}
