/* CapeDevs — landing styles */

:root {
  --bg: #070a0f;
  --bg-elevated: #0c1119;
  --surface: rgba(15, 23, 42, 0.55);
  --border: rgba(148, 163, 184, 0.12);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --radius: 1rem;
  --radius-lg: 1.35rem;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --header-h: 4rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: -3;
  pointer-events: none;
  animation: float 18s var(--ease-out) infinite;
  will-change: transform;
}

.bg-glow--1 {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
  top: -10%;
  left: -5%;
  --parallax-y: calc(var(--scroll-shift, 0px) * -0.16);
}

.bg-glow--2 {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: 10%;
  right: -8%;
  animation-delay: -6s;
  --parallax-y: calc(var(--scroll-shift, 0px) * 0.12);
}

.bg-glow--3 {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: -12s;
  opacity: 0.28;
  --parallax-y: calc(var(--scroll-shift, 0px) * -0.09);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, var(--parallax-y, 0px)) scale(1);
  }
  33% {
    transform: translate(4%, calc(3% + var(--parallax-y, 0px))) scale(1.05);
  }
  66% {
    transform: translate(-3%, calc(5% + var(--parallax-y, 0px))) scale(0.95);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 15, 0.72);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s var(--ease-out);
}

.logo:hover {
  opacity: 0.9;
}

.logo__mark {
  color: #5eead4;
  font-size: 1rem;
  animation: mark-spin 12s linear infinite;
}

@keyframes mark-spin {
  to {
    transform: rotate(360deg);
  }
}

.logo__accent {
  background: linear-gradient(120deg, #5eead4, #818cf8, #f472b6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.nav__link:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}

.nav__link--cta {
  color: var(--bg);
  background: linear-gradient(135deg, #5eead4, #818cf8);
}

.nav__link--cta:hover {
  color: var(--bg);
  filter: brightness(1.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 15, 0.95);
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav a:hover {
  background: rgba(148, 163, 184, 0.08);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }
}

/* Hero */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: clamp(3rem, 12vw, 6rem) 0 3rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero__title-gradient {
  background: linear-gradient(110deg, #5eead4 0%, #818cf8 45%, #f472b6 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 10s ease infinite;
}

.hero__lead {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s;
}

.btn--primary {
  color: #042f2e;
  background: linear-gradient(135deg, #5eead4, #99f6e4);
  box-shadow: 0 8px 32px rgba(94, 234, 212, 0.25);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3), transparent 70%);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.3s var(--ease-out);
  pointer-events: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn--primary:hover::after {
  transform: translateX(130%);
  opacity: 1;
}

.btn--ghost {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(148, 163, 184, 0.12);
}

.btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  animation: stat-bob 4.2s ease-in-out infinite;
}

.stat:nth-child(2) {
  animation-delay: 0.22s;
}

.stat:nth-child(3) {
  animation-delay: 0.44s;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(180deg, #f1f5f9, #64748b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__title--left {
  text-align: left;
}

.section__sub {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .nav__link {
    padding: 0.5rem 0.55rem;
    font-size: 0.82rem;
  }
}

/* Blog */
.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.45rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 234, 212, 0.28);
}

.blog-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.blog-card__title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card__title a:hover {
  color: #5eead4;
}

.blog-card__excerpt {
  flex: 1;
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.blog-card__read {
  font-size: 0.88rem;
  font-weight: 600;
  color: #5eead4;
  text-decoration: none;
  transition: gap 0.2s, transform 0.2s var(--ease-out);
}

.blog-card__read:hover {
  color: #99f6e4;
}

/* Reviews */
.reviews-marquee {
  overflow: hidden;
  margin: 0 0 2rem;
  padding: 0.65rem 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.reviews-marquee__track {
  display: flex;
  width: max-content;
  animation: reviews-marquee 32s linear infinite;
}

.reviews-marquee__group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.reviews-marquee__dot {
  color: #5eead4;
  opacity: 0.6;
  user-select: none;
}

@keyframes reviews-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    justify-content: center;
    row-gap: 0.5rem;
  }

  .reviews-marquee__group:last-child {
    display: none;
  }
}

.reviews-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.review-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.85), rgba(7, 10, 15, 0.72));
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.35);
}

.review-card__stars {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #fbbf24;
  line-height: 1;
}

.review-card__quote {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

.review-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-card__author {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.review-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* App grid */
.app-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.app-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 45%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}

.app-card__glow {
  position: absolute;
  width: 140px;
  height: 140px;
  top: -40px;
  right: -40px;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.app-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: var(--accent-dim);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.app-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.app-card--backinstock .app-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  padding: 0.28rem;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.32);
}

.app-card--backinstock .app-card__icon img {
  transform: scale(1.35);
  transform-origin: center;
}

.app-card.is-visible .app-card__icon {
  animation: icon-pop 0.7s var(--ease-out);
}

.app-card:hover .app-card__icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 24%, transparent);
}

.app-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.app-card__desc {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.app-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.app-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .app-card--wide {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon desc"
      "icon links";
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: 1.5rem;
    row-gap: 0.35rem;
  }

  .app-card--wide .app-card__icon {
    grid-area: icon;
    margin-bottom: 0;
    align-self: start;
  }

  .app-card--wide .app-card__name {
    grid-area: title;
    margin-bottom: 0;
    line-height: 1.2;
    padding-top: 0.15rem;
  }

  .app-card--wide .app-card__desc {
    grid-area: desc;
    margin-bottom: 0;
  }

  .app-card--wide .app-card__links {
    grid-area: links;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
  }
}

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}

.link-chip--shopify {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.link-chip--shopify:hover {
  transform: translateX(3px);
  background: rgba(34, 197, 94, 0.2);
}

.link-chip--shopify::after {
  content: " ↗";
  font-size: 0.75rem;
  opacity: 0.85;
}

.link-chip--support {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.link-chip--support:hover {
  transform: translateX(3px);
}

.link-chip--whatsapp {
  color: #dcfce7;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.4);
}

.link-chip--whatsapp:hover {
  transform: translateX(3px);
  background: rgba(37, 211, 102, 0.24);
  border-color: rgba(37, 211, 102, 0.55);
}

.link-chip--whatsapp::after {
  content: " ↗";
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Support panel */
.support__panel {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(7, 10, 15, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .support__panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    padding: 2.5rem;
  }
}

.support__text {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.support__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.5);
  animation: pulse 2.5s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(94, 234, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
  }
}

.support__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.support__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(94, 234, 212, 0.06), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.support__card:hover {
  transform: scale(1.02);
  border-color: rgba(94, 234, 212, 0.35);
}

.support__card:hover::after {
  transform: translateX(100%);
}

.support__card--secondary:hover {
  border-color: rgba(129, 140, 248, 0.35);
}

.support__card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.support__card--whatsapp .support__card-value {
  color: #bbf7d0;
}

.support__card--whatsapp:hover .support__card-arrow {
  color: #4ade80;
}

.footer__wa {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.35rem;
}

.footer__wa:hover {
  color: #4ade80;
}

.support-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.support__card-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.support__card-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.support__card-arrow {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease-out), color 0.2s;
}

.support__card:hover .support__card-arrow {
  transform: translate(4px, -50%);
  color: #5eead4;
}

/* Contact */
.contact {
  padding-bottom: 2rem;
}

.contact__inner {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.35);
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.5rem;
}

.contact__sub {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem 2rem;
  margin-top: 1rem;
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer__inner--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.6rem;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}

.footer__social-link:hover {
  color: var(--text);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.1);
  transform: translateY(-2px);
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

[data-animate="fade-left"] {
  transform: translateX(-24px);
}

[data-animate="fade-right"] {
  transform: translateX(24px);
}

[data-animate="zoom-in"] {
  transform: translateY(20px) scale(0.97);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] {
  transition-delay: 0.08s;
}

[data-animate-delay="2"] {
  transition-delay: 0.16s;
}

[data-animate-delay="3"] {
  transition-delay: 0.24s;
}

[data-animate-delay="4"] {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after {
    transition: none;
  }

  .stat,
  .app-card.is-visible .app-card__icon {
    animation: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes stat-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes icon-pop {
  0% {
    transform: translateY(8px) scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* —— App detail pages —— */
.app-detail {
  --app-accent: var(--accent, #5eead4);
  --app-accent-dim: var(--accent-dim, rgba(94, 234, 212, 0.12));
}

.app-detail .header__inner {
  max-width: 1120px;
}

.app-detail main {
  padding-bottom: 3rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--app-accent);
}

.breadcrumb__sep {
  opacity: 0.45;
  user-select: none;
}

.app-page-hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.app-page-hero::before {
  content: "";
  position: absolute;
  left: -5%;
  top: -20%;
  width: 45%;
  height: 120%;
  background: radial-gradient(circle at 30% 40%, var(--app-accent-dim), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.app-page-hero__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
}

@media (max-width: 560px) {
  .app-page-hero__row {
    grid-template-columns: 1fr;
  }

  .app-page-hero__icon {
    justify-self: start;
  }
}

.app-page-hero__icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--radius);
  background: var(--app-accent-dim);
  border: 1px solid color-mix(in srgb, var(--app-accent) 28%, transparent);
  flex-shrink: 0;
}

.app-page-hero__text {
  min-width: 0;
}

.app-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.app-page-hero__tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.app-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.25rem;
}

.detail-section {
  margin-bottom: 3rem;
}

.detail-section__head {
  margin-bottom: 1.5rem;
}

.detail-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-section__title::before {
  content: "";
  width: 4px;
  height: 1.15em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--app-accent), color-mix(in srgb, var(--app-accent) 40%, transparent));
}

.detail-section__sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 0.98rem;
}

.detail-section__sub code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  padding: 0.12rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.config-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.config-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--app-accent) 25%, var(--border));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.config-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.config-card__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.config-card__list li {
  margin-bottom: 0.45rem;
}

.config-card__list li:last-child {
  margin-bottom: 0;
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}

.shot:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: color-mix(in srgb, var(--app-accent) 35%, var(--border));
}

.shot__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.shot__dots {
  display: flex;
  gap: 5px;
}

.shot__dots::before,
.shot__dots::after {
  content: "";
}

.shot__dots,
.shot__dots::before,
.shot__dots::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.shot__dots::before {
  background: #f87171;
}

.shot__dots::after {
  background: #fbbf24;
}

.shot__url {
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
  opacity: 0.85;
}

.shot__body {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.9), rgba(7, 10, 15, 0.95));
  overflow: hidden;
}

.shot__body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, color-mix(in srgb, var(--app-accent) 12%, transparent) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shot-shine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shot-shine {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shot__body::after {
    animation: none;
  }
}

.shot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: relative;
  z-index: 1;
}

.shot__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 0.35rem;
}

.shot__placeholder-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.shot__placeholder-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 16rem;
}

.shot__cap {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.4);
}

.shot:has(.shot__img) .shot__placeholder {
  display: none;
}

.shot-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s var(--ease-out);
}

.shot-back:hover {
  color: var(--app-accent);
  transform: translateX(-3px);
}

/* —— Support / ticket form —— */
.support-page .support-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.support-breadcrumb {
  padding-top: 0.5rem;
}

.support-page__intro {
  margin-bottom: 1.75rem;
}

.support-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  line-height: 1.12;
}

.support-page__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.support-page__lead strong {
  color: var(--text);
}

.ticket-inline-code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--border);
  color: var(--app-accent);
}

.ticket-banner {
  max-width: 1120px;
  margin: 0 auto 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
}

.ticket-banner--error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.ticket-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .ticket-layout {
    grid-template-columns: 1fr min(320px, 34%);
  }
}

.ticket-form-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ticket-form {
  padding: 1.5rem 1.35rem 1.75rem;
}

@media (min-width: 560px) {
  .ticket-form {
    padding: 1.75rem 1.75rem 2rem;
  }
}

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

.ticket-form__section {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.ticket-form__legend {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--app-accent);
  padding: 0;
  margin: 0 0 1rem;
  flex: 1 1 100%;
}

.ticket-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
  align-items: center;
}

.ticket-form__wa {
  align-self: center;
}

.field {
  margin-bottom: 1.1rem;
}

.field--half {
  margin-bottom: 1.1rem;
}

.ticket-form__section .field {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 560px) {
  .ticket-form__section .field--half {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 220px;
  }
}

.field__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.field__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.field__error {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #f87171;
  min-height: 1em;
}

.field__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: rgba(7, 10, 15, 0.65);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__input::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.field__input:hover {
  border-color: rgba(148, 163, 184, 0.22);
}

.field__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--app-accent) 55%, var(--border));
  box-shadow: 0 0 0 3px var(--app-accent-dim);
}

.field__textarea {
  resize: vertical;
  min-height: 6.5rem;
  line-height: 1.5;
}

.field__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.field--invalid .field__input {
  border-color: rgba(248, 113, 113, 0.55);
}

.field--check {
  margin-bottom: 0;
}

.field__check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}

.field__check-label input {
  margin-top: 0.2rem;
  accent-color: var(--app-accent);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.ticket-aside__card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.45);
  margin-bottom: 1rem;
}

.ticket-aside__card--muted {
  background: rgba(15, 23, 42, 0.28);
}

.ticket-aside__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.ticket-aside__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ticket-aside__list li {
  margin-bottom: 0.5rem;
}

.ticket-aside__list li:last-child {
  margin-bottom: 0;
}

.ticket-aside__p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.ticket-aside__p a {
  color: var(--app-accent);
}

.ticket-aside__p--spaced {
  margin-top: 1rem;
  margin-bottom: 0;
}

.ticket-aside__recent {
  font-size: 0.85rem;
}

.recent-tickets__title {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.recent-tickets__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-tickets__list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.recent-tickets__list li:last-child {
  border-bottom: none;
}

.recent-tickets__id {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--app-accent);
}

.recent-tickets__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-tickets__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ticket-success {
  max-width: 36rem;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--app-accent) 35%, var(--border));
  background: linear-gradient(160deg, var(--app-accent-dim), rgba(15, 23, 42, 0.7));
  box-shadow: var(--shadow);
  animation: ticket-pop 0.5s var(--ease-out);
}

@keyframes ticket-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ticket-success__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  font-size: 1.35rem;
  font-weight: 700;
}

.ticket-success__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.ticket-success__ref {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.ticket-success__hint {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.ticket-success__extra {
  text-align: left;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(7, 10, 15, 0.45);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.ticket-success__extra p {
  margin: 0 0 0.65rem;
}

.ticket-success__extra p:last-child {
  margin-bottom: 0;
}

.ticket-success__actions {
  margin-top: 0.75rem;
}

.ticket-success__actions .btn {
  width: 100%;
  justify-content: center;
}

.ticket-success__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .ticket-success {
    animation: none;
  }
}
