@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Urbanist:wght@400;500;600;700;800&display=swap");

:root {
  --black: #060606;
  --bg-1: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --white: #ffffff;
  --gray: #9a9a9a;
  --gray-light: #c9c9c9;
  --red: #E4192B;
  --red-dark: #b8121f;
  --border: rgba(255,255,255,.12);
  --radius: 12px;
  --font-primary: "Space Grotesk", sans-serif;
  --font-secondary: "Urbanist", sans-serif;
}

@property --fw-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--gray-light);
  font-family: var(--font-secondary);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-primary); color: var(--white); margin: 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.wa-float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(228,25,43,.5);
  animation: waPulse 2.4s infinite;
}
.wa-float-btn:hover { color: var(--white); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(228,25,43,.55); }
  70% { box-shadow: 0 0 0 16px rgba(228,25,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,25,43,0); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 60px;
}
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
}
.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) brightness(.35);
}
#fw-hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 20%, transparent 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.94) 100%),
    rgba(6,6,6,.55);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-headline {
  text-align: center;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 44px;
}
.hero-headline .fw-word {
  position: relative;
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  isolation: isolate;
}
.hero-headline .fw-word::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--fw-angle), transparent 0%, transparent 75%, var(--red) 88%, #fff 92%, var(--red) 96%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: fwAngleSpin 3.2s linear infinite;
  z-index: -1;
}
@keyframes fwAngleSpin { to { --fw-angle: 360deg; } }
.hero-headline .accent { color: var(--red); }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.kicker .dash { width: 20px; height: 2px; background: var(--red); display: inline-block; }

.hero-headline-v2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--white);
  margin: 0 0 22px;
}
.hero-headline-v2 .accent { color: var(--red); }

.hero-desc {
  color: var(--gray-light);
  font-size: 17px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 30px;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 26px;
  border-radius: 50px;
  transition: .2s;
  white-space: nowrap;
}
.btn-pill.primary {
  background: var(--red);
  color: #fff;
}
.btn-pill.primary:hover { background: var(--red-dark); color: #fff; }
.btn-pill.ghost {
  border: 1px solid var(--border);
  color: var(--white);
}
.btn-pill.ghost:hover { border-color: var(--red); color: var(--red); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-light);
  font-size: 14px;
  font-weight: 600;
}
.trust-row i { color: var(--red); font-size: 13px; }

.hero-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-chip {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--gray-light);
}
.hero-chip.strong { color: var(--white); font-weight: 600; }
.hero-chip.price { color: var(--white); font-weight: 700; border-color: var(--red); }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .5px;
  padding: 18px 26px;
  border-radius: 6px;
  border-left: 4px solid #fff;
  transition: .2s;
  animation: waPulse 2.4s infinite;
}
.hero-cta:hover { background: var(--red-dark); color: var(--white); }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 4px 2px;
}
.hero-badge .dots { display: flex; }
.hero-badge .dots img {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg-1);
  margin-left: -10px;
  object-fit: cover;
  background: var(--bg-2);
}
.hero-badge .dots img:first-child { margin-left: 0; }
.hero-badge p { font-size: 14px; color: var(--gray); margin: 0; }
.hero-badge .sub { font-size: 12px; color: #666; margin-top: 2px; }

.hero-deck {
  position: relative;
  aspect-ratio: 3 / 4;
}
.deck-card {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.deck-card.back2 {
  width: 78%; top: 12%; left: 30%;
  transform: rotate(9deg);
  filter: brightness(.55);
  z-index: 1;
}
.deck-card.back1 {
  width: 82%; top: 6%; left: 16%;
  transform: rotate(4deg);
  filter: brightness(.75);
  z-index: 2;
}
.deck-card.front {
  width: 86%; top: 0; left: 0;
  z-index: 3;
  border-color: var(--red);
}
.deck-tag {
  position: absolute;
  top: -14px;
  left: 20px;
  z-index: 4;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .hero-columns { grid-template-columns: 1fr; }
  .hero-deck { max-width: 340px; margin: 0 auto; }
}

/* ===== PRICING ===== */
.pricing { padding: 90px 0; }
.kicker.center { justify-content: center; }
.pricing-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 10px;
}
.pricing .portfolio-sub { margin-bottom: 48px; }

.price-card {
  max-width: 640px;
  margin: 0 auto 56px;
  background: var(--bg-2);
  border: 1px solid var(--red);
  border-radius: 16px;
  padding: 40px;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.price-big {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 42px;
  color: var(--white);
}
.price-or {
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
}
.price-note { color: var(--gray); font-size: 14px; margin: 0 0 26px; }
.price-includes { list-style: none; padding: 0; margin: 0 0 30px; }
.price-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-light);
  font-size: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.price-includes li:first-child { border-top: none; }
.price-includes i { color: var(--red); margin-top: 3px; }
.price-card .btn-pill { width: 100%; justify-content: center; }

.faq-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item h4 {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.faq-item p { color: var(--gray); font-size: 14px; margin: 0; line-height: 1.6; }

@media (max-width: 700px) {
  .faq-mini { grid-template-columns: 1fr; }
  .price-card { padding: 28px; }
}

/* ===== 3D COVERFLOW SITES CAROUSEL ===== */
.coverflow-section { padding: 100px 0 150px; overflow: hidden; }
.coverflow-viewport {
  position: relative;
  height: 620px;
  margin-top: 40px;
  perspective: 1400px;
}
.coverflow-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.coverflow-card {
  position: absolute;
  top: 50%; left: 50%;
  width: 260px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
  will-change: transform, opacity;
}
.coverflow-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.coverflow-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent 55%);
}
.coverflow-card .badge {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  background: rgba(20,20,20,.9);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .coverflow-viewport { height: 440px; }
  .coverflow-card { width: 180px; }
}

/* ===== NETFLIX-STYLE SITES CAROUSEL ===== */
.fw-marquee-row { position: relative; overflow: hidden; padding: 90px 0; }
.fw-marquee-track {
  display: flex;
  width: max-content;
  margin-top: 48px;
  animation: fwTrackLeft 55s linear infinite;
}
@keyframes fwTrackLeft { to { transform: translateX(-50%); } }
.fw-marquee-group { display: flex; gap: 20px; padding-right: 20px; flex-shrink: 0; }

.fw-card {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: visible;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.fw-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block; border-radius: inherit;
  transition: transform .5s ease;
}
.fw-card:hover img { transform: scale(1.06); }
.fw-card .shade {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, rgba(0,0,0,.88), transparent 55%);
  pointer-events: none;
}
.fw-card .tag {
  position: absolute;
  top: -18px; left: 16px;
  z-index: 3;
  background: var(--red);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 6px 6px 6px 0;
  white-space: nowrap;
}
.fw-card .name {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
}

.fw-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--fw-angle), transparent 0%, transparent 80%, var(--red) 90%, #fff 94%, var(--red) 98%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: fwAngleSpin 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.fw-marquee-group > *:nth-child(1)::before  { animation-delay: -0.0s; }
.fw-marquee-group > *:nth-child(2)::before  { animation-delay: -0.5s; }
.fw-marquee-group > *:nth-child(3)::before  { animation-delay: -1.0s; }
.fw-marquee-group > *:nth-child(4)::before  { animation-delay: -1.5s; }
.fw-marquee-group > *:nth-child(5)::before  { animation-delay: -2.0s; }
.fw-marquee-group > *:nth-child(6)::before  { animation-delay: -2.5s; }
.fw-marquee-group > *:nth-child(7)::before  { animation-delay: -3.0s; }
.fw-marquee-group > *:nth-child(8)::before  { animation-delay: -3.5s; }
.fw-marquee-group > *:nth-child(9)::before  { animation-delay: -4.0s; }
.fw-marquee-group > *:nth-child(10)::before { animation-delay: -4.5s; }
.fw-marquee-group > *:nth-child(11)::before { animation-delay: -5.0s; }

@media (max-width: 767px) {
  .fw-card { width: 200px; }
}

/* ===== MARQUEE MESSAGE BAR ===== */
.msg-bar {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  background: var(--red);
}
.msg-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  animation: fwScrollLeft 22s linear infinite;
}
.msg-track span {
  white-space: nowrap;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  padding-right: 40px;
}
@keyframes fwScrollLeft { to { transform: translateX(-50%); } }

.fw-row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.fw-row-label.light { color: #fff; }
.fw-row-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
.portfolio-sub {
  text-align: center;
  color: var(--gray);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ===== PORTFOLIO BENTO ===== */
.portfolio { padding: 90px 0; }
.filter-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.chip-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gray-light);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: .2s;
}
.chip-btn:hover { border-color: var(--red); color: var(--white); }
.chip-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.bento-tile {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.bento-tile.big { grid-column: span 3; grid-row: span 3; }
.bento-tile.tall { grid-column: span 2; grid-row: span 3; }
.bento-tile img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  transition: transform .6s ease;
}
.bento-tile:hover img { transform: scale(1.08); }
.bento-tile .ov {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent 60%);
}
.bento-tile .cat {
  color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase;
}
.bento-tile .name {
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bento-tile, .bento-tile.big, .bento-tile.tall { grid-column: span 1; grid-row: span 2; }
}

/* ===== FINAL CTA ===== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
}
.final-cta .cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: grayscale(.3) brightness(.4);
}
.final-cta .cta-fade {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(228,25,43,.35), transparent 55%), linear-gradient(to bottom, rgba(6,6,6,.55), rgba(6,6,6,.92));
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 18px;
}
.final-cta p {
  color: var(--gray-light);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ===== CLIENTS WALL ===== */
.clients-wall { padding: 90px 0; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.logo-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.logo-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.8);
  transition: .3s;
}
.logo-tile:hover img { filter: grayscale(0) brightness(1); transform: scale(1.05); }
.logo-tile.text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  color: var(--gray);
  text-align: center;
  padding: 10px;
  transition: .3s;
}
.logo-tile.text:hover { color: var(--white); }

@media (max-width: 700px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .logo span { color: var(--red); }
.footer-brand p { color: var(--gray); font-size: 14px; max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { color: var(--gray); font-size: 13px; margin: 0; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
