/* Jacolaw — TikTok-inspired design system (standalone, no legacy assets) */

:root {
  --bg: #000000;
  --bg-elevated: #121212;
  --bg-muted: #1f1f1f;
  --surface: #252525;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --cyan: #25f4ee;
  --red: #fe2c55;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--red) 100%);
  box-shadow: 2px 2px 0 var(--red), -2px -2px 0 var(--cyan);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--bg-muted);
}

.lang-switcher {
  position: relative;
  display: none;
  margin-left: auto;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lang-btn:hover {
  border-color: rgba(37, 244, 238, 0.45);
}

.lang-icon {
  flex-shrink: 0;
  color: var(--cyan);
}

.lang-code {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.lang-chevron {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}

.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 8.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 1100;
}

.lang-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.lang-option-code {
  min-width: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
}

.lang-option-name {
  flex: 1;
}

.lang-option:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.lang-option.is-active {
  background: rgba(37, 244, 238, 0.1);
}

.lang-option.is-active .lang-option-code,
.lang-option.is-active .lang-option-name {
  color: var(--cyan);
}

.header-cta {
  display: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease), filter 0.2s;
  flex-shrink: 0;
}

.header-cta:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
}

.nav-toggle {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    margin-left: auto;
  }

  .lang-switcher {
    display: block;
    margin-left: 0.5rem;
  }

  .header-cta {
    display: inline-flex;
    margin-left: 0.5rem;
  }
}

@media (max-width: 899px) {
  .site-header.is-nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    background: var(--bg);
    align-items: stretch;
    gap: 0.5rem;
  }

  .site-header.is-nav-open .site-nav a {
    font-size: 1.125rem;
    padding: 0.875rem 1rem;
  }

  .site-header.is-nav-open .lang-switcher {
    display: block;
    margin: 1rem 0 0;
    width: 100%;
  }

  .site-header.is-nav-open .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    box-shadow: none;
    display: none;
  }

  .site-header.is-nav-open .lang-menu.is-open {
    display: block;
  }

  .site-header.is-nav-open .header-cta {
    display: inline-flex;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 35%, rgba(37, 244, 238, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 50% at 88% 20%, rgba(254, 44, 85, 0.16), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 90%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: hero-orb-float 12s ease-in-out infinite;
}

.hero-orb--cyan {
  width: 280px;
  height: 280px;
  top: 12%;
  left: 8%;
  background: var(--cyan);
}

.hero-orb--red {
  width: 320px;
  height: 320px;
  top: 8%;
  right: 12%;
  background: var(--red);
  animation-delay: -4s;
}

@keyframes hero-orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.06);
  }
}

.hero-layout {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--cyan);
  border-radius: var(--radius-pill);
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero-tagline {
  margin: 0.75rem 0 0;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
}

.hero-desc {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.hero-pills li:nth-child(odd) {
  border-color: rgba(37, 244, 238, 0.35);
}

.hero-pills li:nth-child(even) {
  border-color: rgba(254, 44, 85, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trust li::before {
  content: "✓ ";
  color: var(--cyan);
  font-weight: 900;
}

/* Hero visual — phone + floating metrics */
.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device {
  position: relative;
  width: min(260px, 72vw);
  aspect-ratio: 9 / 18;
  padding: 10px;
  background: linear-gradient(145deg, #2a2a2a, #111);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(37, 244, 238, 0.15),
    0 0 40px rgba(254, 44, 85, 0.12);
}

.hero-device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  background: #000;
  border-radius: 8px;
  z-index: 2;
}

.hero-device-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.hero-feed {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f0f 45%, #1a0a12 100%);
}

.hero-feed-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 1.25rem 0.75rem 0.5rem;
}

.hero-feed-bar span {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-feed-bar span:first-child {
  background: var(--white);
}

.hero-feed-video {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.75rem;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.2), rgba(254, 44, 85, 0.25)),
    #121212;
  color: rgba(255, 255, 255, 0.85);
}

.hero-feed-meta {
  padding: 1rem 0.85rem 1.25rem;
}

.hero-feed-user {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
}

.hero-feed-caption {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--cyan);
}

.hero-float {
  position: absolute;
  padding: 0.65rem 0.9rem;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  animation: hero-float-pulse 4s ease-in-out infinite;
}

.hero-float-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-float strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--cyan);
}

.hero-float--tr strong,
.hero-float--bl strong {
  color: var(--red);
}

.hero-float--tl {
  top: 4%;
  left: 0;
}

.hero-float--tr {
  top: 18%;
  right: 0;
  animation-delay: -1.2s;
}

.hero-float--bl {
  bottom: 8%;
  left: 8%;
  animation-delay: -2.4s;
}

@keyframes hero-float-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat {
  padding: 1.25rem 1rem;
  background: var(--bg-elevated);
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cyan);
}

.stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.hero-service {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), background 0.2s;
}

.hero-service:hover {
  border-color: rgba(37, 244, 238, 0.45);
  background: var(--bg-muted);
}

.hero-service-num {
  font-size: 0.6875rem;
  font-weight: 900;
  color: var(--red);
}

.hero-service-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    min-height: 320px;
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-title {
    max-width: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero-stats,
  .hero-services {
    grid-template-columns: 1fr;
  }

  .hero-float--tl {
    left: -4%;
  }

  .hero-float--tr {
    right: -4%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-float {
    animation: none;
  }
}

/* Sections */
.section {
  padding: 5rem 1.25rem;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head--light .section-kicker,
.section-head--light .section-lead {
  color: var(--text-muted);
}

.section-kicker {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--text-muted);
}

/* Products */
.products {
  background: var(--bg-elevated);
}

.product-tabs {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.product-tab {
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.product-tab:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.product-tab.is-active {
  color: var(--bg);
  background: var(--white);
  border-color: var(--white);
}

.product-panels {
  max-width: var(--max);
  margin: 0 auto;
}

.product-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  animation: fadeIn 0.4s var(--ease);
}

.product-panel.is-active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.panel-visual--traffic {
  background:
    linear-gradient(160deg, rgba(37, 244, 238, 0.12) 0%, transparent 50%),
    linear-gradient(220deg, rgba(254, 44, 85, 0.1) 0%, transparent 45%),
    var(--bg-muted);
}

.panel-visual--creators {
  background:
    radial-gradient(circle at 30% 70%, rgba(254, 44, 85, 0.12), transparent 50%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg-muted) 100%);
}

.panel-visual--creative {
  background:
    radial-gradient(circle at 70% 30%, rgba(37, 244, 238, 0.12), transparent 50%),
    linear-gradient(225deg, var(--surface) 0%, var(--bg-muted) 100%);
}

.panel-art {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 5 / 3;
}

.panel-tags {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-tags li {
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.panel-visual--traffic .panel-tags li:nth-child(1) {
  border-color: rgba(37, 244, 238, 0.5);
  color: var(--cyan);
}

.panel-visual--creators .panel-tags li:nth-child(2),
.panel-visual--creative .panel-tags li:nth-child(1) {
  border-color: rgba(254, 44, 85, 0.45);
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.panel-copy h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.panel-copy p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .product-panel.is-active {
    grid-template-columns: 1fr;
  }

  .panel-visual {
    min-height: 200px;
  }
}

/* Business */
.business {
  background: var(--bg);
}

.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(37, 244, 238, 0.4);
}

.service-icon {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* About */
.about {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}

.about-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-intro h2,
.about-faq h3 {
  margin: 0 0 1rem;
  font-weight: 900;
}

.about-intro h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1rem;
  color: var(--cyan);
  font-weight: 700;
}

.about-intro h4 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.about-intro p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  background: var(--bg-elevated);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

/* Partners */
.partners {
  text-align: center;
}

.partner-stats {
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-stats li {
  padding: 1.25rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.partner-stats strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.partner-stats span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.partner-marquee {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: partner-scroll var(--marquee-duration, 32s) linear infinite;
}

.partner-marquee-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.partner-marquee-set span {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: nowrap;
}

@keyframes partner-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 0px)), 0, 0);
  }
}

.partner-grid {
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: left;
}

.partner-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.partner-card:hover {
  border-color: rgba(37, 244, 238, 0.45);
  transform: translateY(-2px);
}

.partner-avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), var(--red));
  border-radius: var(--radius-sm);
}

.partner-info h3 {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 800;
}

.partner-info p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.partner-verticals {
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.partner-verticals li {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.partners-cta-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .partner-stats {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    overflow: visible;
    mask-image: none;
  }

  .partner-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--max);
  }

  .partner-marquee-set {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }
}

/* Plan */
.plan {
  background: var(--bg-elevated);
}

.plan-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.plan-card--featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 12px 40px rgba(254, 44, 85, 0.15);
}

.plan-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.plan-price {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.plan-price span {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
}

.plan-card ul {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plan-card li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.plan-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Contact */
.contact-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row--triple {
  grid-template-columns: repeat(3, 1fr);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form label span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.contact-form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.interests {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.interests legend {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.625rem;
}

.interest-grid label {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.interest-grid label:has(input:checked) {
  border-color: var(--cyan);
  background: rgba(37, 244, 238, 0.08);
}

.interest-grid label:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.full-width {
  margin-bottom: 1rem;
}

.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.submit-message {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.submit-message[hidden] {
  display: none !important;
}

.submit-message.is-success {
  background: rgba(37, 244, 238, 0.12);
  border-color: rgba(37, 244, 238, 0.35);
  color: var(--cyan);
}

.submit-message.is-error {
  background: rgba(254, 44, 85, 0.12);
  border-color: rgba(254, 44, 85, 0.35);
  color: #ff6b8a;
}

.submit-message.is-warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.35);
  color: #ffd666;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-block h3 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.contact-block p,
.contact-block a {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-block a:hover {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row,
  .form-row--triple {
    grid-template-columns: 1fr;
  }

  .interest-grid {
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  }

  .interest-grid label {
    white-space: normal;
  }
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-weight: 800;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
