:root {
  --main: #5D3FD3;
  --main-600: #5132c2;
  --main-700: #4326a8;
  --accent: #FF7A59;
  --accent-2: #22D3EE;
  --light: #F4F1FF;
  --bg: #FBFAFF;
  --surface: #ffffff;
  --ink: #0B1020;
  --ink-2: #1F2937;
  --muted: #4B5675;
  --muted-2: #6B7593;
  --border: #E7E8EE;
  --border-2: #EEF0F4;
  --ring: rgba(93, 63, 211, 0.22);

  --grad-primary: linear-gradient(135deg, #7C5CFF 0%, #5D3FD3 50%, #3A1FAF 100%);
  --grad-text:    linear-gradient(110deg, #6D4BFF 0%, #B98BFF 35%, #FF7A59 70%, #6D4BFF 100%);
  --grad-soft:    linear-gradient(135deg, #F5F2FF 0%, #EDE9FE 100%);
  --grad-cta:     linear-gradient(135deg, #FAFAFF 0%, #EFEAFF 50%, #E6DEFF 100%);
  --grad-glass:   linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.55));

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(67, 38, 168, 0.22);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.6) inset, 0 20px 60px rgba(93, 63, 211, 0.28);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Headings get a slightly tighter display family */
h1, h2, .cta-title { font-family: 'Sora', 'Inter', sans-serif; }

/* CONTAINER */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============== AURORA BACKGROUND ============== */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora .blob {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  mix-blend-mode: multiply;
  animation: drift 22s ease-in-out infinite;
}
.aurora .blob-1 { background: #C9B8FF; top: -180px; left: -160px; }
.aurora .blob-2 { background: #FFC2B0; top: 30%; right: -200px; animation-delay: -7s; }
.aurora .blob-3 { background: #B6E5FF; bottom: -220px; left: 20%; animation-delay: -14s; }

@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.06); }
  66%      { transform: translate(-30px, 25px) scale(0.96); }
}

/* keep all real content above the aurora */
header, section, footer { position: relative; z-index: 1; }

/* ============== NAVBAR ============== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  padding: 12px 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 24px;
  min-height: 56px;
}

.logo-wrap { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-wrap .logo-image {
  width: 70px;
  height: 70px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 8px 20px var(--ring), inset 0 0 0 1px rgba(255,255,255,0.25);
  flex-shrink: 0;
  position: relative;
}
.logo-mark::after {
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 50%);
  pointer-events:none;
}

.logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 22px; }

.nav-cta { display: inline-flex; align-items: center; gap: 6px; }

.nav-link-ghost {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link-ghost:hover { color: var(--ink); background: var(--light); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}
.dropdown-menu a { padding: 10px 12px; border-radius: 8px; }
.dropdown-menu a:hover { background: var(--light); }
.nav-dropdown:hover .dropdown-menu { display: flex; }

#menu-toggle { display: none; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.menu-btn:hover { background: var(--light); transform: translateY(-1px); }

/* ============== BUTTONS ============== */
.btn,
.btn-outline,
.btn-main,
.btn-outline2,
.nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 12px;
  padding: 13px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.2s var(--ease), filter 0.3s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.btn,
.nav-btn,
.btn-main {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 24px var(--ring), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* shine sweep */
.btn::before,
.nav-btn::before,
.btn-main::before {
  content:"";
  position:absolute;
  top:0; left:-130%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
  z-index: 0;
}
.btn:hover::before,
.nav-btn:hover::before,
.btn-main:hover::before { left: 130%; }

.btn:hover,
.nav-btn:hover,
.btn-main:hover {
  box-shadow: 0 18px 36px rgba(93, 63, 211, 0.38), inset 0 1px 0 rgba(255,255,255,0.3);
  filter: brightness(1.05);
}
.btn:active, .nav-btn:active, .btn-main:active { filter: brightness(0.97); }

.btn:focus-visible,
.btn-outline:focus-visible,
.btn-main:focus-visible,
.btn-outline2:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn-outline,
.btn-outline2 {
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
}
.btn-outline:hover,
.btn-outline2:hover {
  border-color: var(--main);
  color: var(--main);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 50px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(93, 63, 211, 0.18);
  color: var(--main-700);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--main);
  box-shadow: 0 0 0 4px rgba(93,63,211,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(93,63,211,0); }
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
}
.grad-text {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}

.hero-text p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 14px; color: var(--muted-2);
  padding: 12px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

/* HERO IMAGE FRAME */
.hero-image { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(140deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease);
  transform-style: preserve-3d;
}
.hero-frame::before {
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--radius-xl) + 2px);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(124,92,255,0.7), rgba(255,122,89,0.6), rgba(34,211,238,0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
  opacity: 0.85;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 6px);
  background: #0f172a;
  isolation: isolate;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.4));
  pointer-events: none;
  z-index: 1;
}
.hero-slider .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-slider .slide.active img { transform: scale(1.14); }

/* Floating smart-search badge (inline-styled in HTML, refined here) */
.hero-image > div[style*="position:absolute"] {
  z-index: 3;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18) !important;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Decorative top-right pill */
.hero-pill {
  position: absolute;
  top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 12px 30px rgba(15,23,42,0.18);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  backdrop-filter: blur(12px);
  z-index: 3;
  animation: float 5.5s ease-in-out infinite;
  animation-delay: -2s;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.25);
  animation: pulse 2s ease-in-out infinite;
}

/* ============== SECTION DEFAULTS ============== */
section { padding: 60px 0; }

.features h2,
.benefits h2,
.cta-title,
.support-text h2 {
  letter-spacing: -0.028em;
  font-weight: 800;
  line-height: 1.12;
}

.features > .container > h2,
.benefits > .container > h2 {
  font-size: clamp(30px, 3.5vw, 44px) !important;
  color: var(--ink) !important;
  text-align: center;
  margin-bottom: 16px;
}
.features > .container > p,
.benefits > .container > p {
  color: var(--muted) !important;
  font-size: 17px !important;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--main);
  background: var(--light);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 auto 14px;
  text-align: center;
}
.features > .container,
.benefits > .container { text-align: center; }
.benefits-grid, .support-grid { text-align: left; }

/* ============== FEATURES ============== */
.features { background: #fff; position: relative; }
.features::before {
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(124,92,255,0.06), transparent 60%),
    radial-gradient(700px 300px at 90% 100%, rgba(255,122,89,0.06), transparent 60%);
  pointer-events:none;
}
.features > .container { position: relative; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.feature-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  border: 1px solid rgba(255,255,255,0.5);
}
.feature-card::after {
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events:none;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: saturate(1.05);
}
.feature-card:hover img { transform: scale(1.1); filter: saturate(1.15); }

.feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-align: left;
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, 0.55) 60%, rgba(15, 23, 42, 0.95) 100%);
  transition: background 0.4s var(--ease);
}

.feature-overlay h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.feature-overlay p,
.feature-overlay ul {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s ease, max-height 0.5s ease, transform 0.4s ease;
}
.feature-overlay p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.feature-overlay ul {
  list-style: none;
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
}
.feature-overlay ul li { margin: 6px 0; }

.feature-card:hover .feature-overlay p,
.feature-card:hover .feature-overlay ul,
.feature-card.active .feature-overlay p,
.feature-card.active .feature-overlay ul {
  opacity: 1;
  max-height: 240px;
  transform: translateY(0);
  margin-top: 8px;
}

/* ============== BENEFITS ============== */
.benefits { background: #fff; }
.benefits + .benefits { background: var(--bg); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  text-align: left;
}
.benefits-content {
  text-align: left;
  align-self: start;
}
.benefits-content > * {
  text-align: left;
}

.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(140deg, rgba(255,255,255,0.95), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.img-frame:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.img-frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s var(--ease);
  will-change: transform;
}
.img-frame:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.03);
}

.benefits-content h3 {
  color: var(--ink) !important;
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-family: 'Sora', 'Inter', sans-serif;
  text-align: left;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit-item:hover {
  background: rgba(255,255,255,0.85);
  border-color: var(--border-2);
  transform: translateX(4px);
  box-shadow: var(--shadow-xs);
}

.icon-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  color: var(--main);
  box-shadow: inset 0 0 0 1px rgba(93, 63, 211, 0.14), 0 6px 16px rgba(93,63,211,0.08);
  transition: transform 0.3s var(--ease);
}
.benefit-item:hover .icon-box { transform: rotate(-4deg) scale(1.05); }
.icon-box svg { width: 26px; height: 26px; }

.benefit-text { flex: 1; text-align: left; }
.benefit-text h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 4px; text-align: left; }
.benefit-text p { font-size: 14.5px; color: var(--muted); margin: 0; text-align: left; }

/* ============== CTA ============== */
.cta-new {
  background: var(--grad-cta);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-new::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 70%);
  top: -240px; left: -240px;
  pointer-events: none;
}
.cta-new::after {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.18), transparent 70%);
  bottom: -300px; right: -240px;
  pointer-events: none;
}
.cta-new .container { position: relative; z-index: 1; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: var(--main-700);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(93, 63, 211, 0.18);
  box-shadow: var(--shadow-xs);
}

.cta-title { font-size: clamp(32px, 4.4vw, 52px); color: var(--ink); margin-bottom: 18px; }
.cta-desc  { max-width: 700px; margin: 0 auto 56px; color: var(--muted); font-size: 18px; }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 40px;
}

.cta-box {
  position: relative;
  background: rgba(255,255,255,0.85);
  padding: 34px;
  border-radius: var(--radius-lg);
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.cta-box::before {
  content:"";
  position:absolute; inset:0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(124,92,255,0.08), transparent 50%);
  pointer-events:none;
}
.cta-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(93, 63, 211, 0.28);
}

.cta-box h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cta-box > p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

.cta-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(93,63,211,0.12);
}

.cta-box ul { list-style: none; padding: 0; margin-top: 12px; }
.cta-box ul li { margin: 8px 0; font-size: 14px; color: var(--ink-2); }

.cta-buttons { display: flex; gap: 16px; justify-content: center; margin: 40px 0 28px; flex-wrap: wrap; }

/* ========== CTA APP SLIDER ========== */
.app-slider { width: 100%; max-width: 900px; margin: 32px auto 8px; position: relative; }
.app-slider-viewport {
  overflow: hidden;
  padding: 30px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.app-slider-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  list-style: none;
  padding: 0; margin: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.app-slide {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), filter 0.7s var(--ease);
  transform: scale(0.78);
  opacity: 0.45;
  filter: saturate(0.9);
}
.app-slide img {
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(67, 38, 168, 0.25);
  display: block;
  pointer-events: none;
  user-select: none;
}
.app-slide.is-active { transform: scale(1.12); opacity: 1; filter: none; }
.app-slide.is-active img {
  box-shadow: 0 35px 70px rgba(67, 38, 168, 0.42), 0 0 0 1px rgba(255,255,255,0.6) inset;
}
.app-slider.is-fast .app-slider-track { transition-duration: 0.6s; }
.app-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.app-slider-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(93, 63, 211, 0.25);
  border: 0; padding: 0; cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.app-slider-dots button.is-active { width: 26px; background: var(--main); border-radius: 999px; }
@media (max-width: 768px) {
  .app-slide { flex-basis: 150px; }
  .app-slider-track { gap: 16px; }
  .app-slide img { border-radius: 22px; }
}
@media (max-width: 480px) {
  .app-slide { flex-basis: 120px; }
  .app-slider-track { gap: 12px; }
}

.store-buttons { display: flex; justify-content: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.store-buttons img {
  width: 150px;
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 20px rgba(15,23,42,0.12);
}
.store-buttons img:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 14px 30px rgba(15,23,42,0.18); }

.cta-features {
  display: flex; justify-content: center; gap: 36px;
  flex-wrap: wrap; margin-top: 28px;
  font-size: 14px; color: var(--muted); font-weight: 500;
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 70px auto 0;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.stat-box {
  background: rgba(255,255,255,0.9);
  padding: 30px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(93,63,211,0.0), rgba(93,63,211,0.45), rgba(93,63,211,0.0));
  /* -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; */
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.stat-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.stat-box:hover::before { opacity: 1; }

.stat-icon {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(93,63,211,0.12);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s var(--ease);
}
.stat-box:hover .stat-icon {
  transform: rotate(-8deg) scale(1.12);
  box-shadow: inset 0 0 0 1px rgba(93,63,211,0.25), 0 12px 24px rgba(93,63,211,0.25);
  animation: statPulse 1.4s ease-in-out infinite;
}
.stat-icon svg { width: 26px; height: 26px; color: var(--main); transition: transform 0.5s var(--ease); }
.stat-box:hover .stat-icon svg { transform: scale(1.1); }

.stat-box h3 {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transition: transform 0.4s var(--ease);
}
.stat-box:hover h3 { transform: scale(1.08); }
.stat-box p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Entrance pop animation when stat-box becomes visible */
.stat-box.in {
  animation: statPopIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stat-box.in:nth-child(2) { animation-delay: 0.12s; }
.stat-box.in:nth-child(3) { animation-delay: 0.24s; }

@keyframes statPopIn {
  0%   { opacity: 0; transform: translateY(30px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes statPulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(93,63,211,0.25), 0 12px 24px rgba(93,63,211,0.25); }
  50%      { box-shadow: inset 0 0 0 1px rgba(93,63,211,0.35), 0 18px 34px rgba(93,63,211,0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .stat-box.in, .stat-box:hover .stat-icon { animation: none !important; }
}

/* ============== SUPPORT ============== */
.support {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(255, 122, 89, 0.07), transparent 60%),
    radial-gradient(900px 500px at 15% 100%, rgba(124, 92, 255, 0.09), transparent 60%),
    linear-gradient(180deg, #FBFAFF 0%, #F4F1FF 100%);
  overflow: hidden;
}

.support-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.support-deco-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93, 63, 211, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 63, 211, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, #000 30%, transparent 80%);
}
.support-deco-glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.support-deco-glow--a {
  top: -120px; right: 5%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 70%);
}
.support-deco-glow--b {
  bottom: -140px; left: 5%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.32), transparent 70%);
}

.support .container { position: relative; z-index: 1; }

/* Header */
.support-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.support-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 16px 8px 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px -4px rgba(124, 92, 255, 0.15);
}
.support-tag-pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: supportPulse 2s ease-in-out infinite;
}
@keyframes supportPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.support-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 22px 0 18px;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.support-head-grad {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: supportShimmer 6s linear infinite;
}
@keyframes supportShimmer {
  to { background-position: 200% center; }
}

.support-head p {
  color: var(--muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Bento layout: large featured + 2 standard */
.support-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Animated angle for the rotating conic border */
@property --support-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.support-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(231, 232, 238, 0.9);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -16px rgba(67, 38, 168, 0.12);
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.support-tile--hero {
  grid-row: span 2;
  padding: 40px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 241, 255, 0.85) 100%);
  border-color: rgba(124, 92, 255, 0.22);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 60px -24px rgba(93, 63, 211, 0.28);
}

/* Thin rotating conic-gradient border — masked to edges only */
.support-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--support-angle),
    transparent 0deg,
    #7C5CFF 60deg,
    #FF7A59 140deg,
    transparent 220deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}

.support-tile:hover::before {
  opacity: 1;
  animation: supportSpin 4s linear infinite;
}

@keyframes supportSpin {
  to { --support-angle: 360deg; }
}

/* Fallback for browsers without @property support: subtle static border */
@supports not (background: conic-gradient(from var(--support-angle), red, blue)) {
  .support-tile:hover::before {
    background: conic-gradient(from 0deg, transparent, #7C5CFF, #FF7A59, transparent);
    animation: none;
  }
}

.support-tile:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px -18px rgba(93, 63, 211, 0.22);
}

.support-tile > * { position: relative; z-index: 1; }

.support-tile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
  gap: 16px;
}

.support-tile-num {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  padding: 6px 10px;
  background: rgba(124, 92, 255, 0.06);
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.12);
}

.support-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(124, 92, 255, 0.15);
  color: var(--main);
  flex-shrink: 0;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.3s var(--ease);
}
.support-tile-icon svg { width: 22px; height: 22px; }

.support-tile-icon--gradient {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 12px 30px -8px rgba(93, 63, 211, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.support-tile-icon--gradient svg { width: 26px; height: 26px; }

.support-tile:hover .support-tile-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
}
.support-tile:hover .support-tile-icon--gradient {
  background: linear-gradient(5deg, #6D4BFF, #FF7A59);
}

.support-tile-body {
  margin: 60px 0 28px;
}
.support-tile--hero .support-tile-body { margin-top: 80px; }

.support-tile h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.support-tile--hero h4 {
  font-size: 32px;
  letter-spacing: -0.025em;
}

.support-tile p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.support-tile--hero p {
  font-size: 17px;
  max-width: 360px;
}

.support-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--main);
  padding: 14px 0 0;
  border-top: 1px dashed rgba(124, 92, 255, 0.18);
  margin-top: auto;
  transition: color 0.25s var(--ease), gap 0.3s var(--ease);
}
.support-tile-cta span {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease);
}
.support-tile-arrow {
  width: 16px; height: 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.support-tile-cta:hover { color: var(--main-700); gap: 14px; }
.support-tile-cta:hover span { background-size: 100% 1px; }
.support-tile-cta:hover .support-tile-arrow { transform: translateX(4px); }

.support-tile--hero .support-tile-cta {
  font-size: 15.5px;
  padding-top: 18px;
}

@media (max-width: 880px) {
  .support { padding: 80px 0; }
  .support-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .support-tile--hero {
    grid-row: auto;
    padding: 32px;
  }
  .support-tile--hero h4 { font-size: 26px; }
  .support-tile-body { margin: 40px 0 24px; }
  .support-tile--hero .support-tile-body { margin-top: 50px; }
}


/* ============== FOOTER ============== */
footer {
  background: linear-gradient(180deg, #FBFAFD 0%, #F4F1FF 100%);
  color: #6B7280;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  margin-top: 0;
}
footer .container { padding: 80px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.social-icons { margin-top: 18px; display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-2);
  font-size: 15px;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-icons a:hover {
  color: #fff;
  background: var(--grad-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px var(--ring);
  border-color: transparent;
}

.footer-text { color: #6B7280; font-size: 14px; max-width: 320px; line-height: 1.7; margin-top: 14px; }

.footer-title {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111827;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 10px 0; }
.footer-links a {
  color: #6B7280;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding 0.2s var(--ease);
}
.footer-links a:hover { color: var(--main); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  margin-top: 64px;
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { color: #9CA3AF; font-size: 13px; letter-spacing: 0.01em; margin: 0; }

/* ============== SCROLL REVEAL ============== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .aurora { display: none; }
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  section { padding: 90px 0; }
  .hero-grid { gap: 40px; }
  .benefits-grid { gap: 48px; }
  .support-grid { gap: 40px; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(3) { grid-column: 1 / -1; height: 340px; }
  .hero-slider { height: 420px; }
}

@media (max-width: 768px) {
  section { padding: 40px 0; }

  .menu-btn { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0; right: 0;
    transform: none;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    border: 1px solid var(--border-2);
    z-index: 1000;
  }
  .nav-links a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--light); }

  #menu-toggle:checked ~ .nav-links { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 40px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn,
  .hero-buttons .btn-outline { width: 100%; max-width: 320px; }
  .hero-trust { justify-content: center; margin: 0 auto; }
  .hero-slider { height: 360px; }
  .eyebrow { margin-left: auto; margin-right: auto; }

  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { height: 380px; }
  .feature-card:nth-child(3) { height: 380px; }

  .feature-overlay {
    padding: 22px;
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0) 0%,
      rgba(15, 23, 42, 0.35) 40%,
      rgba(15, 23, 42, 0.85) 70%,
      rgba(15, 23, 42, 0.96) 100%
    );
  }
  .feature-overlay h3 { font-size: 20px; margin-bottom: 6px; }
  .feature-overlay p  { font-size: 14px; }
  .feature-overlay ul { font-size: 13px; margin-top: 8px; }

  .benefits-grid { grid-template-columns: 1fr; gap: 24px; }
  .benefits-content { order: 2; margin-bottom: 12px; }

  .cta-new { padding: 40px 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn-main,
  .cta-buttons .btn-outline2 { width: 100%; }
  .cta-stats { grid-template-columns: 1fr; gap: 14px; }
  .cta-features { gap: 16px 24px; }

  .support-grid { grid-template-columns: 1fr; text-align: center; }
  .support-tag { margin: 0 auto; }
  .support-text p { margin: 0 auto; }
  .support-cards { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .logo { font-size: 18px; }
  .hero-slider { height: 300px; }
  .hero-pill { top: 12px; right: 12px; font-size: 12px; padding: 6px 10px; }
  .hero-frame { padding: 6px; }
}

/* ============== SHOP CATEGORIES ============== */
.shop-categories {
  background: #fff;
  position: relative;
  padding: 50px 0;
}
.shop-categories::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(124,92,255,0.06), transparent 60%),
    radial-gradient(700px 300px at 10% 100%, rgba(255,122,89,0.06), transparent 60%);
  pointer-events: none;
}
.shop-categories > .container {
  position: relative;
  text-align: center;
}
.shop-categories > .container > h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--ink);
  letter-spacing: -0.028em;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}
.shop-categories > .container > p {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 48px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 18, 38, 0.06);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(15, 18, 38, 0.05);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 18, 38, 0.12);
  border-color: rgba(124, 92, 255, 0.25);
}

.category-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f4f8;
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.category-card:hover .category-image img {
  transform: scale(1.06);
}

.category-body {
  padding: 22px 22px 26px;
}
.category-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.category-body p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .shop-categories { padding: 40px 0; }
  .categories-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* === Shop Categories: expandable subcategories === */
.category-card { display: flex; flex-direction: column; }
.category-card .category-trigger {
  all: unset;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.category-card .category-trigger:focus-visible {
  outline: 2px solid var(--ink, #111);
  outline-offset: 3px;
  border-radius: 14px;
}
.category-card .category-body { position: relative; }
.category-toggle-icon {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: var(--ink, #111);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform .35s ease, background .25s ease;
}
.category-card.is-open .category-toggle-icon {
  transform: rotate(45deg);
  background: var(--ink, #111);
  color: #fff;
}

.subcategories {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s ease;
  background: rgba(0,0,0,0.02);
  border-top: 1px solid rgba(0,0,0,0.06);
}
/* JS controls max-height for smooth, content-aware open/close */

.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
}
.subcategory-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink, #111);
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.subcategory-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.25);
  background: #fafafa;
}
.subcategory-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.subcategory-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fixed-width accordion: card stays within its grid track when open. */
.categories-grid { align-items: start; }
.category-card.is-open {
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.25);
}

/* Subcategory grid is always 2 columns inside a card so it never overflows
   the fixed card width. */
.subcategories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 480px) {
  .subcategories-grid { gap: 10px; padding: 16px; }
  .subcategory-item { padding: 10px; font-size: 13px; }
  .subcategory-icon { width: 36px; height: 36px; }
}

/* ============================================================
   PRODUCTS SECTION (v10) — modern marketplace product cards
   ============================================================ */
.products { position: relative; z-index: 1; }
.products .section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--main);
  background: var(--light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.products h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.products .section-head p { color: var(--muted); font-size: 16px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  box-shadow: var(--shadow-xs);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(93, 63, 211, 0.18);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--grad-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--border-2);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-image { transform: scale(1.04); }

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  z-index: 2;
}
.product-tag.tag-new { background: var(--main); color: #fff; }
.product-tag.tag-popular { background: var(--accent); color: #fff; }

.product-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-name {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-2);
}
.product-price { display: none !important; }
.product-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.product-link i { font-size: 11px; transition: transform .25s var(--ease); }
.product-card:hover .product-link { color: var(--main-700); }
.product-card:hover .product-link i { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-media { aspect-ratio: 16 / 9; }
  .product-body { padding: 16px 18px 18px; }
}

/* ============================================================
   PRODUCTS MARQUEE (v11) — infinite horizontal scroll
   ============================================================ */
.products-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.products-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: products-marquee var(--marquee-duration, 45s) linear infinite;
  will-change: transform;
}
.products-marquee-track.marquee-reverse {
  animation-direction: reverse;
}
.products-marquee:hover .products-marquee-track {
  animation-play-state: paused;
}
@keyframes products-marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.products-marquee .product-card {
  flex: 0 0 320px;
  width: 320px;
}
.products-marquee .product-card .product-body {
  padding: 18px 20px 20px;
}
@media (max-width: 640px) {
  .products-marquee .product-card { flex: 0 0 260px; width: 260px; }
  .products-marquee-track { gap: 16px; }
  .products-marquee .product-media { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .products-marquee-track { animation: none; }
  .products-marquee {
    overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* ============== SUPPORT — 2-card equal layout (v11) ============== */
.support-bento {
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: stretch !important;
  gap: 18px !important;
  max-width: 1000px !important;
}
.support-bento > .support-tile {
  grid-row: auto !important;
  grid-column: auto !important;
  width: 100%;
  height: 100%;
  padding: 32px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(231, 232, 238, 0.9) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -16px rgba(67, 38, 168, 0.12) !important;
}
.support-bento > .support-tile .support-tile-body {
  margin-top: auto;
  margin-bottom: 18px;
}
.support-bento > .support-tile h4 { font-size: 22px !important; }

@media (max-width: 768px) {
  .support-bento {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}
