:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F5F1;
  --ink: #12141A;
  --ink-70: rgba(18, 20, 26, 0.7);
  --ink-45: rgba(18, 20, 26, 0.45);
  --muted: #6B6F76;
  --line: #E7E5E0;
  --accent: #FF3D1A;
  --accent-dark: #D82F10;
  --accent-soft: rgba(255, 61, 26, 0.08);
  --lime: #D8FF3D;
  --white: #FFFFFF;
  --shadow: 0 20px 50px -24px rgba(18, 20, 26, 0.18);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 14.5px;
}

.btn-full {
  width: 100%;
}

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand-mark {
  background: var(--ink);
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  margin-right: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-70);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
}

.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  width: 22px;
  height: 16px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 7px;
}

.burger span:nth-child(3) {
  top: 14px;
}

/* ---------- marquee ---------- */
.marquee {
  margin-top: 84px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 14px;
  animation: scrollx 22s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.marquee-track .dot {
  color: var(--accent);
  font-size: 8px;
}

@keyframes scrollx {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- hero ---------- */
#hero {
  padding: 10px 32px 30px;
  background:
    radial-gradient(600px 300px at 90% 10%, var(--accent-soft), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  margin-bottom: 22px;
}

h1 .hl {
  background: linear-gradient(180deg, transparent 60%, var(--lime) 60%);
  padding: 0 2px;
}

.hero-desc {
  font-size: 16px;
  color: var(--ink-70);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.stat-row {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.stat-item .lbl {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- browser mock ---------- */
.browser-chrome {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chrome-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.chrome-url {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 10px;
  flex: 1;
}

.chrome-body {
  padding: 20px;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.mock-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--ink);
}

.mock-link {
  width: 34px;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}

.mock-cta {
  margin-left: auto;
  width: 52px;
  height: 16px;
  border-radius: 20px;
  background: var(--accent);
}

.mock-hero {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
}

.mock-lines span {
  display: block;
  height: 9px;
  border-radius: 4px;
  background: var(--line);
  margin-bottom: 8px;
  width: 100%;
}

.mock-lines span.short {
  width: 55%;
  margin-bottom: 14px;
}

.mock-btn {
  width: 110px;
  height: 24px;
  border-radius: 20px;
  background: var(--ink);
}

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

.mock-card {
  height: 60px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.chrome-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.chrome-status .sep {
  opacity: .4;
}

/* ---------- section heads ---------- */
.section {
  padding: 10px 32px;
}

.section-soft {
  background: var(--bg-soft);
}

.sec-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.sec-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sec-desc {
  font-size: 15px;
  color: var(--ink-70);
  margin-top: 14px;
  line-height: 1.7;
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
}

/* ---------- services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

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

.service-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.service-card.featured h3,
.service-card.featured .service-num {
  color: #fff;
}

.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.75);
}

.service-card.featured .service-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--lime);
}

.service-card.featured .service-foot {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.service-card.featured .service-foot strong {
  color: #fff;
}

.ribbon {
  position: absolute;
  top: -11px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.service-card h3 {
  font-size: 19px;
  margin: 10px 0 6px;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--ink-70);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-card li {
  font-size: 13px;
  color: var(--ink-70);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.service-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.service-foot strong {
  font-size: 15px;
  color: var(--ink);
}

/* ---------- process ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-item {
  padding: 0 20px 0 0;
  position: relative;
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  width: 100%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.process-item h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.6;
  padding-right: 10px;
}

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

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

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

.price-card.featured {
  border: 2px solid var(--accent);
}

.price-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.price-card h3 {
  font-size: 21px;
  margin: 8px 0 14px;
}

.price-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
}

.price-value small {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin-bottom: 26px;
  flex: 1;
}

.price-card li {
  font-size: 13.5px;
  color: var(--ink-70);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.price-card li:last-child {
  border-bottom: none;
}

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

.template-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}

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

.template-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.template-card:hover .template-thumb img {
  transform: scale(1.05);
}

.template-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 20, 26, 0.85);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.template-info {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.template-info h4 {
  font-size: 14px;
}

.template-info a {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- carousel ---------- */
.carousel-nav {
  display: flex;
  gap: 8px;
}

.carousel-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}

.carousel-nav button:hover {
  background: var(--ink);
  color: #fff;
}

.carousel-nav svg {
  width: 16px;
  height: 16px;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}

.project-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

.project-info {
  padding: 18px 20px;
}

.project-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-info h4 {
  font-size: 16px;
  margin: 8px 0 6px;
}

.project-info p {
  font-size: 13px;
  color: var(--ink-70);
}

@media (max-width:900px) {
  .project-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width:600px) {
  .project-card {
    flex: 0 0 100%;
  }
}

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

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}

.team-card h4 {
  font-size: 14.5px;
  margin-bottom: 4px;
}

.team-card small {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.section-cta {
  background: var(--ink);
  color: #fff;
  padding: 100px 32px;
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  margin-bottom: 34px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer {
  background: #fff;
  padding: 60px 32px 24px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.foot-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.foot-desc {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
}

.foot-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.foot-col a {
  display: block;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--ink-70);
  transition: color .2s;
}

.foot-col a:hover {
  color: var(--accent);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- floating buttons ---------- */
.floating-btns {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(18, 20, 26, 0.35);
  border: none;
  cursor: pointer;
  position: relative;
}

.fab svg {
  width: 20px;
  height: 20px;
}

.fab-call {
  background: var(--accent);
  color: #fff;
}

.fab-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ping 1.8s infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: .7;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.fab-top {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

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

/* ---------- responsive ---------- */
@media (max-width:1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

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

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

@media (max-width:760px) {
  .wrap {
    padding: 0 20px;
  }

  .section {
    padding-left: 0;
    padding-right: 0;
  }

  #hero {
    padding-left: 0;
    padding-right: 0;
  }

  .section-cta {
    padding-left: 0;
    padding-right: 0;
  }

  footer {
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  #nav-links.open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }

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

  .process-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

/* ---------- template coverflow slider active highlight ---------- */
.template-card.active {
  opacity: 1 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 30px 60px -15px rgba(255, 61, 26, 0.25) !important;
  border-color: var(--accent) !important;
  z-index: 5;
}

/* ---------- pagination ---------- */
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
}

.page-link:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.page-link.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}