/* ============================================
   PERFECTLY CONTENT — Dark Theme
   Dark-first / Purple glow / Striking
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,600,700,800,900&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFFFFF;
  --near-black: #0A0A0F;
  --graphite: #131318;
  --card: #16161D;
  --card-hover: #1C1C25;
  --purple: #7C6AFF;
  --purple-bright: #9B8AFF;
  --deep-purple: #5B47FF;
  --purple-glow: rgba(124, 106, 255, 0.25);
  --purple-subtle: rgba(124, 106, 255, 0.08);
  --purple-border: rgba(124, 106, 255, 0.15);
  --text-primary: #F0F0F5;
  --text-secondary: #8A8A9A;
  --text-muted: #5A5A6A;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--near-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--purple-bright) 0%, var(--purple) 50%, var(--deep-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple), var(--deep-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124, 106, 255, 0.3);
}

.nav__logo-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
  box-shadow: 0 0 10px var(--purple);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  background: var(--purple);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 106, 255, 0.3);
}

.nav__cta:hover {
  background: var(--purple-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(124, 106, 255, 0.45);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 100px;
  white-space: nowrap;
}

.btn--primary {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--purple), var(--deep-purple));
  color: var(--white);
  font-size: 1.0625rem;
  box-shadow: 0 6px 30px rgba(124, 106, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(124, 106, 255, 0.5);
  filter: brightness(1.1);
}

.btn--secondary {
  padding: 14px 34px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-hover);
}

.btn--secondary:hover {
  border-color: var(--purple-border);
  background: rgba(124, 106, 255, 0.06);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* ---- Page-wide Gradient Mesh ---- */
.page-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-mesh__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.page-mesh__blob--1 {
  width: 900px;
  height: 900px;
  background: rgba(124, 106, 255, 0.12);
  top: -20%;
  left: -15%;
  animation: meshDrift1 25s ease-in-out infinite alternate;
}

.page-mesh__blob--2 {
  width: 700px;
  height: 700px;
  background: rgba(91, 71, 255, 0.1);
  top: 40%;
  right: -10%;
  animation: meshDrift2 20s ease-in-out infinite alternate;
}

.page-mesh__blob--3 {
  width: 600px;
  height: 600px;
  background: rgba(155, 138, 255, 0.08);
  top: 60%;
  left: 30%;
  animation: meshDrift3 30s ease-in-out infinite alternate;
}

.page-mesh__blob--4 {
  width: 500px;
  height: 500px;
  background: rgba(124, 106, 255, 0.06);
  top: 10%;
  right: 25%;
  animation: meshDrift4 22s ease-in-out infinite alternate;
}

@keyframes meshDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes meshDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, -40px) scale(1.2); }
}
@keyframes meshDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 60px) scale(0.9); }
}
@keyframes meshDrift4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.1); }
}

/* ---- Hero Section ---- */
.hero {
  padding: 180px 24px 60px;
  position: relative;
  z-index: 1;
}

/* Shooting stars — faithful to SCSS reference */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__stars-sky {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateZ(45deg);
}

.shooting-star {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  background: linear-gradient(-45deg, rgba(155, 138, 255, 1), rgba(91, 71, 255, 0));
  border-radius: 999px;
  filter: drop-shadow(0 0 6px rgba(124, 106, 255, 1));
  animation:
    ss-tail 3000ms ease-in-out infinite,
    ss-shoot 3000ms ease-in-out infinite;
}

.shooting-star::before,
.shooting-star::after {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  height: 2px;
  background: linear-gradient(-45deg, rgba(91, 71, 255, 0), rgba(155, 138, 255, 1), rgba(91, 71, 255, 0));
  border-radius: 100%;
  animation: ss-shine 3000ms ease-in-out infinite;
}

.shooting-star::before { transform: translateX(50%) rotateZ(45deg); }
.shooting-star::after  { transform: translateX(50%) rotateZ(-45deg); }

/* 10 stars — wide spread, pixel offsets from center */
.shooting-star:nth-child(1)  { top: calc(50% - 310px); left: calc(50% - 480px); animation-delay: 4832ms; }
.shooting-star:nth-child(1)::before, .shooting-star:nth-child(1)::after { animation-delay: 4832ms; }
.shooting-star:nth-child(2)  { top: calc(50% + 220px); left: calc(50% - 50px);  animation-delay: 1729ms; }
.shooting-star:nth-child(2)::before, .shooting-star:nth-child(2)::after { animation-delay: 1729ms; }
.shooting-star:nth-child(3)  { top: calc(50% - 180px); left: calc(50% + 200px); animation-delay: 7621ms; }
.shooting-star:nth-child(3)::before, .shooting-star:nth-child(3)::after { animation-delay: 7621ms; }
.shooting-star:nth-child(4)  { top: calc(50% + 300px); left: calc(50% - 550px); animation-delay: 3156ms; }
.shooting-star:nth-child(4)::before, .shooting-star:nth-child(4)::after { animation-delay: 3156ms; }
.shooting-star:nth-child(5)  { top: calc(50% - 50px);  left: calc(50% - 350px); animation-delay: 8943ms; }
.shooting-star:nth-child(5)::before, .shooting-star:nth-child(5)::after { animation-delay: 8943ms; }
.shooting-star:nth-child(6)  { top: calc(50% + 100px); left: calc(50% + 350px); animation-delay: 562ms; }
.shooting-star:nth-child(6)::before, .shooting-star:nth-child(6)::after { animation-delay: 562ms; }
.shooting-star:nth-child(7)  { top: calc(50% - 260px); left: calc(50% - 200px); animation-delay: 6218ms; }
.shooting-star:nth-child(7)::before, .shooting-star:nth-child(7)::after { animation-delay: 6218ms; }
.shooting-star:nth-child(8)  { top: calc(50% + 50px);  left: calc(50% - 600px); animation-delay: 2847ms; }
.shooting-star:nth-child(8)::before, .shooting-star:nth-child(8)::after { animation-delay: 2847ms; }
.shooting-star:nth-child(9)  { top: calc(50% - 150px); left: calc(50% + 100px); animation-delay: 5391ms; }
.shooting-star:nth-child(9)::before, .shooting-star:nth-child(9)::after { animation-delay: 5391ms; }
.shooting-star:nth-child(10) { top: calc(50% + 280px); left: calc(50% + 250px); animation-delay: 947ms; }
.shooting-star:nth-child(10)::before, .shooting-star:nth-child(10)::after { animation-delay: 947ms; }

@keyframes ss-tail {
  0%   { width: 0; }
  30%  { width: 100px; }
  100% { width: 0; }
}

@keyframes ss-shine {
  0%   { width: 0; }
  50%  { width: 30px; }
  100% { width: 0; }
}

@keyframes ss-shoot {
  0%   { transform: translateX(0); }
  100% { transform: translateX(300px); }
}

/* Hero content — CENTERED */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto 24px;
  color: var(--white);
  line-height: 1.05;
  max-width: 800px;
}

.hero__sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Section Shared ---- */
.section {
  padding: 110px 24px;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: var(--graphite);
}

.section--glow {
  position: relative;
}

.section--glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 106, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 72px;
}

.section__header h2 {
  margin-bottom: 20px;
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-bright);
  margin-bottom: 16px;
}

/* ---- Pillars / Three Columns ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar {
  background: rgba(22, 22, 29, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.pillar:hover {
  border-color: var(--purple-border);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 106, 255, 0.08);
  background: rgba(28, 28, 37, 0.8);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar__icon {
  width: 56px;
  height: 56px;
  background: rgba(124, 106, 255, 0.12);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pillar__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--purple-bright);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pillar__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--purple-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.pillar__link:hover {
  gap: 10px;
  color: var(--white);
}

/* ---- Feature Grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.feature:hover {
  background: rgba(124, 106, 255, 0.04);
  border-color: var(--border);
}

.feature__check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--purple), var(--deep-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 4px 15px rgba(124, 106, 255, 0.3);
}

.feature__check svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h4 {
  margin-bottom: 6px;
  color: var(--white);
}

.feature p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ---- Trust Badges ---- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}

.trust-badge:hover {
  border-color: var(--purple-border);
}

.trust-badge svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--purple-bright);
  fill: none;
  stroke-width: 2;
}

/* ---- Catalog Grid ---- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.catalog-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(124, 106, 255, 0.08);
}

.catalog-card__image {
  height: 200px;
  background: linear-gradient(135deg, var(--graphite), var(--card));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalog-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(124, 106, 255, 0.15), transparent 70%);
}

.catalog-card__image-icon {
  width: 72px;
  height: 72px;
  background: rgba(124, 106, 255, 0.15);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.catalog-card:hover .catalog-card__image-icon {
  background: rgba(124, 106, 255, 0.25);
  box-shadow: 0 0 30px rgba(124, 106, 255, 0.3);
  transform: scale(1.05);
}

.catalog-card__image-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--purple-bright);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-card__count {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 1;
}

.catalog-card__body {
  padding: 28px;
}

.catalog-card__body h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.catalog-card__body p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.catalog-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.catalog-card:hover .catalog-card__link {
  gap: 10px;
}

/* ---- Category Page: Product Tiles ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product-tile:hover {
  border-color: var(--purple-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(124, 106, 255, 0.06);
  transform: translateY(-3px);
  background: var(--card-hover);
}

.product-tile__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(124, 106, 255, 0.1);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-tile__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple-bright);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-tile h4 {
  color: var(--white);
  margin-bottom: 6px;
}

.product-tile p {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---- Page Header (internal pages) ---- */
.page-header {
  padding: 160px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 106, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-header h1 {
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 24px;
  justify-content: center;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--purple-bright);
}

.breadcrumb__sep {
  color: var(--text-muted);
}

.breadcrumb__current {
  color: var(--text-primary);
  font-weight: 500;
}

/* ---- Category Info Bar ---- */
.category-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.category-info__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-info__count {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.category-info__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 106, 255, 0.1);
  border: 1px solid var(--purple-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple-bright);
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 80px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 12px;
}

.footer__col a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--purple-bright);
}

.footer__bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__bottom-links a:hover {
  color: var(--purple-bright);
}

/* ---- CTA Banner ---- */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: rgba(22, 22, 29, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 106, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0.5;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Gallery: Category Rows with Horizontal Scroll ---- */
.gallery {
  padding: 0 0 40px;
}

.gallery__category {
  margin-bottom: 56px;
}

.gallery__category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.gallery__category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery__category-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 14px;
  background: var(--border);
  border-radius: 100px;
}

.gallery__category-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.gallery__category-link:hover {
  gap: 10px;
  color: var(--white);
}

.gallery__row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 4px 24px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery__row::-webkit-scrollbar {
  display: none;
}

/* Fade edges to hint scrollability */
.gallery__row-wrapper {
  position: relative;
}

.gallery__row-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 16px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--near-black));
  pointer-events: none;
  z-index: 2;
}

.gallery__category:nth-child(even) .gallery__row-wrapper::after {
  background: linear-gradient(to right, transparent, var(--graphite));
}

/* Gallery Cards */
.gallery-card {
  flex: 0 0 320px;
  height: 400px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
}

.gallery-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 40%, transparent 100%);
  z-index: 1;
}

.gallery-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 2;
}

.gallery-card__content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.gallery-card__content p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Dot menu on cards */
.gallery-card__menu {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition);
  cursor: pointer;
}

.gallery-card:hover .gallery-card__menu {
  opacity: 1;
}

.gallery-card__menu svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

/* Card background gradient variations */
.gallery-card--purple .gallery-card__bg {
  background: linear-gradient(145deg, #2a1f5e, #1a1040, #0d0a20);
}
.gallery-card--blue .gallery-card__bg {
  background: linear-gradient(145deg, #1a2a5e, #0d1a40, #080e20);
}
.gallery-card--teal .gallery-card__bg {
  background: linear-gradient(145deg, #0d3a3a, #0a2828, #061a1a);
}
.gallery-card--warm .gallery-card__bg {
  background: linear-gradient(145deg, #3a2010, #2a1508, #1a0d05);
}
.gallery-card--rose .gallery-card__bg {
  background: linear-gradient(145deg, #3a1028, #2a0818, #1a050e);
}
.gallery-card--green .gallery-card__bg {
  background: linear-gradient(145deg, #0d3a1a, #0a280e, #061a08);
}
.gallery-card--indigo .gallery-card__bg {
  background: linear-gradient(145deg, #1a1050, #100a38, #0a0620);
}

/* Abstract shape decorations on cards */
.gallery-card__shape {
  position: absolute;
  z-index: 0;
  opacity: 0.3;
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-card:hover .gallery-card__shape {
  opacity: 0.5;
  transform: scale(1.1);
}

.gallery-card__shape--circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -30px;
  right: -30px;
}

.gallery-card__shape--blob {
  width: 200px;
  height: 200px;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  top: -20px;
  left: -20px;
}

.gallery-card--purple .gallery-card__shape { background: radial-gradient(circle, rgba(124, 106, 255, 0.6), transparent 70%); }
.gallery-card--blue .gallery-card__shape { background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 70%); }
.gallery-card--teal .gallery-card__shape { background: radial-gradient(circle, rgba(45, 212, 191, 0.4), transparent 70%); }
.gallery-card--warm .gallery-card__shape { background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%); }
.gallery-card--rose .gallery-card__shape { background: radial-gradient(circle, rgba(244, 63, 94, 0.4), transparent 70%); }
.gallery-card--green .gallery-card__shape { background: radial-gradient(circle, rgba(34, 197, 94, 0.4), transparent 70%); }
.gallery-card--indigo .gallery-card__shape { background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%); }

/* Even-numbered category rows get alt background */
.gallery__category:nth-child(even) {
  background: var(--graphite);
  padding: 32px 0;
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Responsive gallery */
@media (max-width: 768px) {
  .gallery-card {
    flex: 0 0 260px;
    height: 340px;
  }

  .gallery__category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---- Divider Line ---- */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 106, 255, 0.08), transparent);
  border: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ---- Scroll Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--graphite);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  }

  .hero {
    padding: 130px 24px 70px;
  }

  h1 { font-size: 2.5rem; }

  .hero__sub {
    font-size: 1.0625rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 70px 24px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .category-info {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-banner {
    margin: 0 16px;
    padding: 60px 20px;
    border-radius: var(--radius-lg);
  }
}
