/* =========================================================
   THUMBNAILER — styles.css
   Fonts: Poppins (body/headings) + Ogg Text Trial (accent italics)
   ========================================================= */

/* ---------- Ogg Text (accent serif) ----------
   Extrabold Italic is used for the accent words throughout the site. */
@font-face {
  font-family: 'Ogg Text';
  src: url('assets/fonts/OggText-ExtraboldItalic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg:        #05070a;
  --bg-2:      #0a0e15;
  --card:      #0c1018;
  --card-2:    #0e131c;
  /* translucent box fill — lets the section glow bleed through */
  --card-bg:   linear-gradient(180deg, rgba(22,29,43,0.55), rgba(11,15,24,0.45));
  --card-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 0 60px -30px rgba(120,170,210,0.25);
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);

  --text:      #f4f6fa;
  --muted:     #8a94a6;
  --muted-2:   #6a7385;

  --accent:     #30f8f8;       /* matches the logo cyan */
  --accent-2:   #10cfe0;       /* deeper cyan for gradients */
  --accent-rgb: 48, 248, 248;  /* for rgba() glows */
  --accent-ink: #04282b;       /* dark text on cyan buttons */
  --red:       #ff4d4f;
  --green:     #3ddc84;
  --discord:   #5865f2;

  --serif: 'Ogg Text', 'Times New Roman', Georgia, serif;
  --sans:  'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 18px;
  --radius-lg: 26px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
/* visually hidden (for SEO/accessibility headings) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
ul { list-style: none; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- Accent serif words ---------- */
em, .accent-red, .accent-green {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.hero__title em, .section__title em { color: var(--accent); }
.section__title em.accent-red,   .accent-red   { color: var(--red); }
.section__title em.accent-green, .accent-green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.1px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff; text-shadow: 0 1px 7px rgba(2,28,31,0.45);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, #0bb6c9 100%);
  box-shadow: 0 8px 26px -8px rgba(var(--accent-rgb), 0.7), inset 0 1px 0 rgba(255,255,255,0.4);
}
/* moving sheen */
.btn--accent::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 55%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: skewX(-18deg); transition: left .6s cubic-bezier(.2,.7,.2,1);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -8px rgba(var(--accent-rgb), 0.9), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn--accent:hover::after { left: 120%; }
/* sparkle effect — spans injected by script.js */
.btn--accent .sparkle {
  position: absolute; transform: translate(-50%, -50%) scale(0); pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 7 4 11 12 12-8 1-11 5-12 12-1-7-4-11-12-12 8-1 11-5 12-12z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.85));
  opacity: 0; animation: sparkleTwinkle 2.2s ease-in-out infinite;
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(90deg); }
}
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); }
.btn--block { width: 100%; }
.btn--discord {
  background: var(--discord); color: #fff;
  box-shadow: 0 8px 30px -8px rgba(88,101,242,0.7);
  padding: 15px 30px; font-size: 1rem;
}
.btn--discord:hover { background: #6b78ff; box-shadow: 0 12px 40px -8px rgba(88,101,242,0.9); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; color: var(--text);
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.badge__star { color: var(--accent); }
.badge--red   { color: #ffd2d2; border-color: rgba(255,77,79,0.35); background: rgba(255,77,79,0.08); }
.badge--green { color: #c9ffe2; border-color: rgba(61,220,132,0.35); background: rgba(61,220,132,0.08); }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding-inline: 16px; }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 20px;
  background: rgba(10,14,21,0.72);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px -16px rgba(0,0,0,0.8);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: 0.4px; }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__text { font-size: 1.02rem; }
.brand__logo { height: 24px; width: auto; aspect-ratio: 6297 / 806; display: block; }
.brand__logo--footer { height: 22px; }

.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links > a, .nav__drop-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.9rem; font-weight: 500; color: var(--muted);
  padding: 9px 14px; border-radius: 999px; background: none; border: none;
  transition: color .15s ease, background .15s ease;
}
.nav__links > a:hover, .nav__drop-btn:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav__dropdown { position: relative; }
/* invisible bridge so the menu doesn't vanish when crossing the gap */
.nav__dropdown::after { content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 20px; }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 190px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(12,16,24,0.97); border: 1px solid var(--border-2); border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.9);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.nav__menu a { font-size: 0.88rem; color: var(--muted); padding: 9px 12px; border-radius: 10px; }
.nav__menu a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.nav__cta { margin-left: 4px; padding: 11px 22px; font-size: 0.9rem; }
.nav__links .menu-cta { display: none; }   /* only appears inside the mobile menu */

.nav__burger {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; margin-left: auto;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-2); border-radius: 12px;
}
.nav__burger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   GLOWS / background ambience
   ========================================================= */
/* Intense wide-oval ambience, centred in each section both axes */
.glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(55px); pointer-events: none; z-index: 0; will-change: auto; }
.glow--red   { width: 1220px; height: 600px; background: radial-gradient(55% 55% at 50% 50%, rgba(255,80,82,0.55),  transparent 72%); }
.glow--green { width: 1220px; height: 600px; background: radial-gradient(55% 55% at 50% 50%, rgba(61,220,132,0.58), transparent 72%); }
.glow--blue  { width: 1340px; height: 640px; background: radial-gradient(55% 55% at 50% 50%, rgba(40,205,235,0.55), transparent 72%); }
.glow--teal  { width: 1220px; height: 600px; background: radial-gradient(55% 55% at 50% 50%, rgba(40,220,235,0.52), transparent 72%); }
/* Hero: intense oval rising from the thumbnails up toward the text */
.glow--hero  { top: 56%; width: 1520px; height: 1040px; background: radial-gradient(50% 50% at 50% 50%, rgba(var(--accent-rgb),0.55), rgba(var(--accent-rgb),0.2) 45%, transparent 72%); }

/* Mobile performance: blurs and backdrop-filters are the main source of jank
   on phones, so drop them there (the radial gradients stay soft on their own). */
@media (max-width: 860px) {
  .glow { filter: none; }
  .nav__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9,12,19,0.94); }
  .badge { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Background particle canvas (drifting motes) */
#bgCanvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: 150px; text-align: center; overflow: hidden; }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-weight: 500; line-height: 1.04; letter-spacing: -1px;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  margin: 26px 0 18px;
}
.hero__sub { max-width: 540px; color: var(--muted); font-size: clamp(0.95rem, 2.2vw, 1.08rem); }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }

/* Animated ticker (hero thumbnails + clients) */
.ticker {
  position: relative; z-index: 1; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
/* Hero: full-bleed, edge to edge, fades only into the page at the bottom */
.ticker--full { margin-top: 54px; }
.ticker--full::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; z-index: 2;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
/* Clients: contained, soft fade on the left/right edges */
.ticker--fade {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row {
  display: flex; gap: 14px; width: max-content; will-change: transform;
  animation-duration: var(--dur, 80s); animation-timing-function: linear; animation-iteration-count: infinite;
}
.ticker__row--left  { animation-name: tickerLeft; }
.ticker__row--right { animation-name: tickerRight; }
@keyframes tickerLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes tickerRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ticker__item {
  flex: 0 0 auto; width: 300px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: #0e1420;
}
.ticker__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Clients laid out horizontally inside the ticker rows */
.clients-ticker { position: relative; z-index: 2; }
.clients-ticker .ticker__row { gap: 16px; }
.clients-ticker .client { width: 188px; flex: 0 0 auto; }

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section { position: relative; padding-block: clamp(70px, 11vw, 130px); overflow: hidden; scroll-margin-top: 92px; }
.section__head { position: relative; z-index: 2; text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.section__title {
  font-weight: 500; line-height: 1.08; letter-spacing: -0.5px;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  margin: 22px 0 16px;
}
.section__sub { color: var(--muted); font-size: clamp(0.95rem, 2vw, 1.05rem); max-width: 560px; }

/* ---------- Card grids ---------- */
/* Subtle inner glow on every box (kept from the reference) */
.card, .compare__card, .client, .price-card, .contact-card { box-shadow: var(--card-shadow); }
.cards { position: relative; z-index: 2; display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; text-align: left;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card__icon--red   { color: var(--red);   background: rgba(255,77,79,0.12);  border: 1px solid rgba(255,77,79,0.25); }
.card__icon--green { color: var(--green); background: rgba(61,220,132,0.12); border: 1px solid rgba(61,220,132,0.25); }
.card__title { font-size: 1.12rem; font-weight: 500; margin-bottom: 8px; }
.card__text { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   PROOF / Before-After
   ========================================================= */
.compare { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin-inline: auto; }
.compare__card {
  position: relative; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; text-align: left;
}
.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.tag--red   { color: #ffb4b4; background: rgba(255,77,79,0.12);  border: 1px solid rgba(255,77,79,0.4); }
.tag--green { color: #b6ffd6; background: rgba(61,220,132,0.12); border: 1px solid rgba(61,220,132,0.4); }
.tag--accent{ color: #04222a; background: var(--accent); }
.ph--wide { aspect-ratio: 16 / 9; border-radius: 14px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.stat {
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255,255,255,0.03);
}
.stat--green { color: #b6ffd6; border-color: rgba(61,220,132,0.35); }
.compare__text { color: var(--muted); font-size: 0.92rem; }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client {
  background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform .2s ease, border-color .2s ease;
}
.client:hover { transform: translateY(-4px); border-color: var(--border-2); }
.ph--avatar { width: 58px; height: 58px; border-radius: 50%; margin-bottom: 8px; }
.client__name { font-weight: 600; font-size: 0.95rem; }
.client__count { color: var(--accent); font-size: 0.78rem; font-weight: 500; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { position: relative; z-index: 2; display: flex; justify-content: center; }
.price-card {
  position: relative; width: 100%; overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 38px 32px; text-align: left;
  display: grid; grid-template-columns: 1fr; column-gap: 52px;
  grid-template-areas: "tag" "name" "desc" "price" "list" "button" "note";
}
.price-card__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 360px; height: 260px; border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.35), transparent 70%); pointer-events: none;
}
.price-card > *:not(.price-card__glow) { position: relative; z-index: 1; }
.price-card .tag { grid-area: tag; justify-self: start; }
.price-card__name { grid-area: name; font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; }
.price-card__desc { grid-area: desc; color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.price-card__price { grid-area: price; font-size: clamp(3rem, 9vw, 3.8rem); font-weight: 700; line-height: 1; display: flex; align-items: flex-start; gap: 2px; margin-bottom: 26px; }
.price-card__currency { font-size: 1.6rem; font-weight: 600; margin-top: 8px; color: var(--muted); }
.price-card__unit { font-size: 1rem; font-weight: 500; color: var(--muted); align-self: flex-end; margin-bottom: 10px; margin-left: 6px; }
.price-card__list { grid-area: list; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.price-card__list li { position: relative; padding-left: 30px; font-size: 0.94rem; color: #d6dce6; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(var(--accent-rgb),0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2330f8f8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(var(--accent-rgb),0.3);
}
.price-card .btn { grid-area: button; }
.price-card__note { grid-area: note; text-align: center; color: var(--muted-2); font-size: 0.8rem; margin-top: 14px; }

/* Desktop: horizontal, full content width */
@media (min-width: 861px) {
  .price-card {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "tag    list"
      "name   list"
      "desc   list"
      "price  list"
      "button list"
      "note   list";
    align-items: start; padding: 48px 52px;
  }
  .price-card__list { align-self: center; margin-bottom: 0; padding-left: 52px; border-left: 1px solid var(--border); }
  .price-card .btn--block { width: auto; min-width: 260px; justify-self: start; }
  .price-card__note { text-align: left; }
}

/* ---------- "Make your own" / asset-store card under pricing ---------- */
.diy-card {
  position: relative; z-index: 2; width: 100%; margin-top: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 44px;
  background: var(--card-bg); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow); padding: clamp(28px, 4vw, 38px) clamp(26px, 4vw, 44px);
}
.diy-card__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.diy-card__title { font-weight: 500; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.2; }
.diy-card__desc { color: var(--muted); font-size: 0.95rem; max-width: 560px; }
.diy-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.diy-card__tags span {
  font-size: 0.72rem; font-weight: 500; color: var(--accent);
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35); background: rgba(var(--accent-rgb), 0.07);
}
.diy-card__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 0 0 auto; }
.diy-card__note { color: var(--muted-2); font-size: 0.78rem; text-align: center; }
@media (max-width: 760px) {
  .diy-card { flex-direction: column; align-items: flex-start; gap: 24px; }
  .diy-card__cta { align-items: stretch; width: 100%; }
  .diy-card__cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.section--contact { padding-bottom: clamp(90px, 13vw, 150px); }
.contact-card {
  position: relative; z-index: 2; display: flex; justify-content: center;
  max-width: 540px; margin: 0 auto; box-shadow: var(--card-shadow);
  background: var(--card-bg); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 44px) 28px;
}

/* =========================================================
   PORTFOLIO COLLAGE
   ========================================================= */
.collage-section { position: relative; z-index: 1; padding: 12px; }
/* keep the floating nav readable over the thumbnails on the infinite portfolio */
.portfolio-page::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 120px; z-index: 50;
  background: linear-gradient(var(--bg), rgba(5,7,10,0.55) 45%, transparent);
  pointer-events: none;
}
.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* uniform grid */
  gap: 12px;
}
.tile {
  aspect-ratio: 16 / 9;                     /* every piece locked to 16:9 */
  position: relative; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--border); background: #0e1420;
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.tile:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.tile:hover img { transform: scale(1.06); }

@media (max-width: 1024px) { .collage { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .collage { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* =========================================================
   COMING SOON
   ========================================================= */
.coming-soon { min-height: 100vh; display: flex; align-items: center; }
.coming-soon .section__head { margin-bottom: 0; }
.coming-soon__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding-block: 40px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer__links a { color: var(--muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted-2); font-size: 0.83rem; }

/* =========================================================
   PLACEHOLDERS (swap with real assets later)
   ========================================================= */
.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0)) ,
    linear-gradient(135deg, #1a2230, #0e1420);
  border: 1px solid var(--border);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: shimmer 2.6s infinite;
}
@keyframes shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.ph--avatar { background: linear-gradient(135deg,#2a3450,#121826); }

/* When a real image is provided, JS sets background-image and adds .ph--filled */
.ph--filled { background-size: cover; background-position: center; border-color: transparent; }
.ph--filled::after { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .ticker__item { width: 250px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 10px 10px 10px 18px; }

  /* Mobile slide-down menu */
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    background: rgba(10,14,21,0.97); border: 1px solid var(--border-2); border-radius: 20px;
    padding: 14px; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.9); backdrop-filter: blur(18px);
  }
  .nav__links.is-open > a { font-size: 1rem; padding: 12px 16px; justify-content: flex-start; }
  /* dropdowns expand inline in the mobile menu */
  .nav__links.is-open .nav__dropdown { width: 100%; }
  .nav__links.is-open .nav__drop-btn { font-size: 1rem; padding: 12px 16px; justify-content: flex-start; width: 100%; }
  .nav__links.is-open .nav__menu {
    position: static; transform: none; opacity: 1 !important; visibility: visible; min-width: 0;
    background: transparent; border: none; box-shadow: none; padding: 2px 0 6px 18px;
  }
  /* Buy button inside the mobile menu */
  .nav__links.is-open .menu-cta {
    display: inline-flex; justify-content: center; width: 100%;
    margin-top: 8px; padding: 13px 16px; font-size: 0.95rem; font-weight: 600;
    color: #fff; text-shadow: 0 1px 7px rgba(2,28,31,0.45);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, #0bb6c9 100%);
    box-shadow: 0 8px 26px -8px rgba(var(--accent-rgb), 0.7);
  }

  .cards--3 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; max-width: 460px; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .ticker__item { width: 220px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero { padding-top: 120px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
  .clients { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ticker { gap: 10px; margin-top: 44px; }
  .ticker__row { gap: 10px; }
  .ticker__item { width: 168px; border-radius: 10px; }
  .section__head { margin-bottom: 40px; }
  .price-card { padding: 30px 22px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__content > * { animation: riseIn .75s cubic-bezier(.2,.7,.2,1) both; }
.hero .badge   { animation-delay: .05s; }
.hero__title   { animation-delay: .15s; }
.hero__sub     { animation-delay: .3s; }
.hero__actions { animation-delay: .42s; }
.ticker        { animation: riseIn .9s ease .5s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .ticker__row { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
