/* ============================================================
   V2 FRAGRANCES & COSMETICS — Main Stylesheet
   ============================================================ */

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

:root {
  --bg: #f8f5f0;
  --fg: #3a3d38;
  --primary: #975cae;
  --secondary: #d4dccf;
  --muted: #828282;
  --border: #dedede;
  --white: #ffffff;
  --radius: 0.5rem;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Raleway', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "ss06" on, "ss07" on, "ss08" on;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

::selection {
  background-color: rgba(151, 92, 174, 0.2);
  color: var(--fg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--fg);
}

h1 {
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-optical-sizing: auto;
}

h2 {
  letter-spacing: -0.04em;
  font-weight: 600;
  line-height: 1.05;
}

h3 {
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.1;
}

p {
  letter-spacing: -0.005em;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* --- Utility Classes --- */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.italic { font-style: italic; }
.font-light { font-weight: 300; }
.font-bold { font-weight: 700; }

/* --- Glass Effects --- */
.glass {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.glass-dark {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.glass-pill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 245, 240, 0.6) 100%);
  box-shadow:
    0 10px 30px -10px rgba(58, 61, 56, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px rgba(58, 61, 56, 0.05);
  border: 1px solid rgba(58, 61, 56, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease-out-expo);
  color: var(--fg);
}

.glass-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.glass-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-15deg);
  transition: left 0.55s ease-in-out;
  pointer-events: none;
  z-index: 2;
}

.glass-pill:hover::after {
  left: 150%;
}

.glass-pill:hover {
  background: linear-gradient(145deg, rgba(151, 92, 174, 0.1) 0%, rgba(248, 245, 240, 0.8) 100%);
  border-color: rgba(151, 92, 174, 0.25);
  box-shadow:
    0 20px 40px -10px rgba(151, 92, 174, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  color: var(--fg);
  transform: translateY(-2px) scale(1.03);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

.btn-sm { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
.btn-md { padding: 0.875rem 2rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

.btn-primary {
  composes: glass-pill;
}

.btn .arrow-icon {
  display: inline-flex;
  animation: arrow-bounce 1.5s infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background-color: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s var(--ease-out-expo);
}

.navbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.navbar-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

@media (min-width: 768px) {
  .navbar-inner { height: 6rem; }
}

@media (min-width: 1024px) {
  .navbar-inner { padding: 0 3rem; }
}

.navbar-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-logo {
  position: relative;
  z-index: 50;
  height: 3rem;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .navbar-logo { height: 3.5rem; }
}

.hamburger {
  position: relative;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 9999px;
  transition: transform 0.3s ease;
}

.hamburger:hover { transform: scale(1.05); }
.hamburger:active { transform: scale(0.95); }

.hamburger span {
  width: 1.5rem;
  height: 2px;
  background-color: var(--fg);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

/* --- Fullscreen Menu --- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: white;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay .light-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.menu-overlay .light-primary {
  top: 0;
  right: 25%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(151, 92, 174, 0.2), rgba(212, 220, 207, 0.1), transparent);
}

.menu-overlay .light-secondary {
  bottom: 25%;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(151, 92, 174, 0.15), transparent);
}

.menu-content {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .menu-content { padding: 3rem; }
}

.menu-close {
  align-self: flex-end;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(58, 61, 56, 0.1);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.menu-close:hover {
  border-color: rgba(151, 92, 174, 0.3);
  transform: rotate(90deg);
}

.menu-close svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--fg);
}

.menu-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.menu-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-link {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  padding: 0.5rem 0;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

@media (min-width: 768px) { .menu-link { font-size: 3.25rem; } }
@media (min-width: 1024px) { .menu-link { font-size: 4rem; } }

.menu-link:hover {
  color: var(--primary);
  transform: translateX(1rem);
}

.menu-link::after {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  width: 0;
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.menu-link:hover::after { width: 100%; }

.menu-brands-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 768px) { .menu-brands-toggle { font-size: 3.25rem; } }
@media (min-width: 1024px) { .menu-brands-toggle { font-size: 4rem; } }

.menu-brands-toggle:hover { color: var(--primary); }

.menu-brands-toggle .chevron {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.menu-brands-toggle.open .chevron {
  transform: rotate(180deg);
}

.submenu {
  margin-left: 2rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.submenu.open {
  max-height: 500px;
  opacity: 1;
}

.submenu a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) { .submenu a { font-size: 1.875rem; } }

.submenu a:hover { color: var(--primary); }

.submenu a .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.submenu a:hover .dot { opacity: 1; }

.menu-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(58, 61, 56, 0.1);
}

@media (min-width: 768px) {
  .menu-footer { grid-template-columns: repeat(3, 1fr); }
}

.menu-footer-item label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.menu-footer-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg);
  transition: color 0.3s ease;
}

.menu-footer-item a:hover { color: var(--primary); }

.menu-footer-item a svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.menu-footer-item a:hover svg { transform: scale(1.1); }

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
  padding: 8rem 0 5rem;
}

@media (min-width: 768px) {
  .hero { padding: 10rem 0 6rem; }
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-size: clamp(8rem, 22vw, 28rem);
  line-height: 0.75;
  color: var(--fg);
  opacity: 0.03;
  white-space: nowrap;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.hero-glow-1 {
  top: 25%;
  right: 25%;
  width: 600px;
  height: 600px;
  background: rgba(151, 92, 174, 0.08);
}

.hero-glow-2 {
  bottom: 25%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: rgba(212, 220, 207, 0.1);
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 0.5; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    gap: 4rem;
  }
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 42rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--fg);
  line-height: 1.1;
}

.hero-headline .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.text-rotate-wrapper {
  display: inline-block;
  position: relative;
  min-width: 500px;
  height: 1.15em;
  overflow: hidden;
  vertical-align: baseline;
}

@media (max-width: 767px) {
  .text-rotate-wrapper { min-width: 280px; }
}

.text-rotate-word {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-out-expo), opacity 0.6s ease;
}

.text-rotate-word.entering {
  opacity: 0;
  transform: translateY(100%);
  transition: none;
}

.text-rotate-word.active {
  opacity: 1;
  transform: translateY(0);
}

.text-rotate-word.exiting {
  opacity: 0;
  transform: translateY(-120%);
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--muted);
  letter-spacing: -0.01em;
  max-width: 36rem;
  line-height: 1.7;
}

.hero-badge {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  transition: transform 0.3s ease;
}

.hero-badge:hover { transform: scale(1.05); }

.hero-badge-avatars {
  display: flex;
}

.hero-badge-avatars .avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  background-color: #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin-right: -0.75rem;
}

.hero-badge-avatars .avatar:last-child { margin-right: 0; }

.hero-badge-avatars .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}

.hero-badge-avatars .avatar img:hover { filter: grayscale(0); }

.hero-badge-info {
  display: flex;
  flex-direction: column;
}

.hero-badge-stars {
  display: flex;
  gap: 2px;
}

.hero-badge-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--primary);
  color: var(--primary);
}

.hero-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-top: 0.25rem;
}

.hero-right {
  flex: 1;
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-right {
    justify-content: flex-end;
  }
}

.hero-image-glow {
  position: absolute;
  width: 85%;
  height: 85%;
  background: rgba(151, 92, 174, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-image-container {
  position: relative;
  width: 400px;
  height: 530px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.05);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-image-container {
    width: 100%;
    max-width: 350px;
    height: 460px;
  }
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease, opacity 0.5s ease;
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-image-container img.active {
  opacity: 1;
}

.hero-image-container:hover img.active {
  transform: scale(1.05);
}

/* --- Corporate Vision --- */
.vision {
  position: relative;
  width: 100%;
  background-color: var(--fg);
  color: white;
  padding: 6rem 0;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .vision { padding: 8rem 0; }
}

.vision-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.vision-glow-1 {
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background: rgba(151, 92, 174, 0.08);
  transform: translate(33%, -50%);
}

.vision-glow-2 {
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(212, 220, 207, 0.05);
  transform: translate(-33%, 50%);
}

.vision-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.02;
  font-size: 20vw;
  font-weight: 900;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: white;
}

.vision-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .vision-content {
    flex-direction: row;
    gap: 6rem;
  }
}

.vision-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vision-headline {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: white;
}

.vision-headline .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
}

.vision-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.vision-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-badge:hover {
  transform: scale(1.05) translateY(-5px);
}

.vision-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.vision-right {
  flex: 1;
}

.vision-text {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-weight: 300;
}

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

.vision-divider {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, var(--primary), transparent);
  margin-top: 3rem;
}

.vision-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05) translateY(-5px);
}

.stat-card:first-child:hover { border-color: rgba(151, 92, 174, 0.5); }
.stat-card:last-child:hover { border-color: rgba(212, 220, 207, 0.5); }

.stat-value {
  font-size: clamp(3rem, 4vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.stat-value.primary { color: var(--primary); }
.stat-value.secondary { color: var(--secondary); }

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.4;
}

/* --- V2 Logo Section (replaces 3D gallery) --- */
.vision-logo-section {
  position: relative;
  width: 100%;
  margin-top: 5rem;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-logo-box {
  background: white;
  border-radius: 1rem;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px 4px rgba(151, 92, 174, 0.25);
  animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% { box-shadow: 0 0 24px 4px rgba(151, 92, 174, 0.25); }
  50% { box-shadow: 0 0 48px 12px rgba(151, 92, 174, 0.55); }
}

.vision-logo-box img {
  width: 10rem;
}

@media (min-width: 768px) {
  .vision-logo-box img { width: 13rem; }
}

/* --- Brand List Section --- */
.brands {
  padding: 6rem 0;
  background-color: var(--bg);
  position: relative;
  margin-top: -3rem;
  border-radius: 3rem 3rem 0 0;
  z-index: 30;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .brands { padding: 8rem 0; }
}

.brands-glow {
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 500px;
  height: 500px;
  background: rgba(151, 92, 174, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  animation: float-blob 20s ease-in-out infinite;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.2); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.brands-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  .brands-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.brands-title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.brands-title .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
}

.brands-subtitle {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--muted);
  max-width: 24rem;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.brands-subtitle strong {
  color: var(--fg);
  font-weight: 500;
}

.brands-divider {
  height: 2px;
  width: 8rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Brand Grid */
.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
}

.brand-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: white;
  cursor: pointer;
  height: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

@media (min-width: 768px) { .brand-card { height: 400px; } }
@media (min-width: 1024px) { .brand-card { height: 500px; } }

.brand-card:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.brand-card.large { grid-column: span 1; }
.brand-card.wide { grid-column: span 1; }

@media (min-width: 1024px) {
  .brand-card.large { grid-column: span 2; }
  .brand-card.wide { grid-column: span 2; }
}

.brand-card-image {
  position: absolute;
  inset: 0;
}

.brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.5s ease;
}

.brand-card:hover .brand-card-image img {
  transform: scale(1.1);
  filter: brightness(0.75);
}

.brand-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 50%, transparent);
  transition: opacity 0.5s ease;
}

.brand-card:hover .brand-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5) 50%, transparent);
}

.brand-card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  z-index: 10;
}

@media (min-width: 768px) {
  .brand-card-content { padding: 3rem; }
}

.brand-card-category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  transform: translateY(1rem);
  opacity: 0;
  transition: transform 0.5s ease 0.1s, opacity 0.5s ease 0.1s;
}

.brand-card:hover .brand-card-category {
  transform: translateY(0);
  opacity: 1;
}

.brand-card-name {
  font-size: clamp(1.875rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  transition: color 0.5s ease, transform 0.5s ease;
}

.brand-card:hover .brand-card-name {
  color: var(--secondary);
  transform: translateX(0.5rem);
}

.brand-card-description {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  font-size: clamp(0.875rem, 1vw, 1.125rem);
  line-height: 1.6;
  max-width: 32rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.brand-card:hover .brand-card-description {
  max-height: 200px;
  opacity: 1;
}

.brand-card-arrow {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(-1rem);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.brand-card:hover .brand-card-arrow {
  transform: translateY(0);
  opacity: 1;
}

.brand-card-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

/* --- Global Presence --- */
.presence {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .presence { padding: 8rem 0; }
}

/* Uniform section spacing */
.brand-features { padding: 6rem 0; }
@media (min-width: 1024px) { .brand-features { padding: 8rem 0; } }

.presence-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 1024px) {
  .presence-content { flex-direction: row; }
}

.presence-left {
  max-width: 36rem;
}

.presence-title {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.presence-title .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
}

.presence-text {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 28rem;
  line-height: 1.7;
}

.presence-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 640px) {
  .presence-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .presence-stats { width: 50%; }
}

.presence-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid rgba(0,0,0,0.1);
  padding-left: 1.5rem;
}

.presence-stat-value {
  font-size: clamp(3rem, 4vw, 3.75rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.presence-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

/* --- Partnership CTA --- */
.partnership {
  position: relative;
  width: 100%;
  padding: 6rem 0;
  background-color: #1a1b18;
  color: white;
}

@media (min-width: 1024px) {
  .partnership { padding: 8rem 0; }
}

.partnership-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.partnership-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partnership-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.partnership-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.partnership-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: white;
}

.partnership-title .light {
  font-style: italic;
  font-weight: 300;
  opacity: 0.8;
}

.partnership-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.7;
}

.partnership-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .partnership-buttons { flex-direction: row; }
}

/* --- Cinematic Footer --- */
@keyframes footer-breathe {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

@keyframes footer-scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes footer-heartbeat {
  0%, 100% { transform: scale(1); }
  15%, 45% { transform: scale(1.2); }
  30% { transform: scale(1); }
}

.footer-wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 100%);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg);
  color: var(--fg);
}

.footer-aurora {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 60vh;
  width: 80vw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(151, 92, 174, 0.08) 0%, rgba(212, 220, 207, 0.08) 40%, transparent 70%);
  animation: footer-breathe 8s ease-in-out infinite alternate;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(58, 61, 56, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(58, 61, 56, 0.03) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.footer-giant-text {
  position: absolute;
  bottom: -5vh;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-size: 26vw;
  line-height: 0.75;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(58, 61, 56, 0.05);
  background: linear-gradient(180deg, rgba(58, 61, 56, 0.08) 0%, transparent 60%);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-marquee {
  position: absolute;
  top: 7rem;
  left: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(58, 61, 56, 0.2);
  border-bottom: 1px solid rgba(58, 61, 56, 0.2);
  background: rgba(58, 61, 56, 0.05);
  backdrop-filter: blur(12px);
  padding: 1.25rem 0;
  z-index: 10;
  transform: rotate(-2deg) scale(1.1);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: footer-scroll-marquee 40s linear infinite;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(58, 61, 56, 0.7);
}

@media (min-width: 768px) {
  .footer-marquee-track { font-size: 1rem; }
}

.footer-marquee-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.footer-marquee-item .divider {
  color: rgba(151, 92, 174, 0.6);
}

.footer-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  margin-top: 5rem;
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.045em;
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.1;
}

.footer-heading .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
}

.footer-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.footer-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .footer-pill { font-size: 1rem; }
}

.footer-pill svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s ease;
}

.footer-pill:hover svg {
  transform: translate(1px, -1px);
}

.footer-bottom {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 3rem 2rem;
  }
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
  order: 2;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: left;
    font-size: 0.75rem;
    order: 1;
  }
}

.footer-copyright .address,
.footer-copyright .credits {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.footer-copyright .credits a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copyright .credits a:hover {
  color: var(--primary);
}

.footer-love {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(58, 61, 56, 0.05);
  cursor: default;
  order: 1;
}

@media (min-width: 768px) { .footer-love { order: 2; } }

.footer-love span {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

@media (min-width: 768px) { .footer-love span { font-size: 0.75rem; } }

.footer-love .heart {
  width: 14px;
  height: 14px;
  fill: var(--primary);
  color: var(--primary);
  animation: footer-heartbeat 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.footer-love .brand {
  color: var(--fg);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.25rem;
}

@media (min-width: 768px) { .footer-love .brand { font-size: 0.875rem; } }

.footer-top-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.3s ease;
  order: 3;
}

.footer-top-btn:hover { color: var(--fg); }

.footer-top-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.footer-top-btn:hover svg {
  transform: translateY(-6px);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
}

.reveal.from-left { transform: translateX(60px); }
.reveal.from-right { transform: translateX(-60px); }
.reveal.from-down { transform: translateY(-60px); }

.reveal.blur { filter: blur(10px); }
.reveal.scale { transform: translateY(60px) scale(0.9); }
.reveal.scale.from-left { transform: translateX(60px) scale(0.9); }

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

/* Stagger children */
.stagger-container .reveal {
  transition-delay: calc(var(--stagger-index, 0) * 0.12s + 0.2s);
}

/* --- Brand Page Specific --- */
.brand-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg), white);
}

.brand-hero-back {
  position: fixed;
  top: 7rem;
  left: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) { .brand-hero-back { left: 3rem; } }

.brand-hero-back:hover {
  background: rgba(255,255,255,0.9);
  transform: scale(1.05) translateX(-5px);
}

.brand-hero-back svg { width: 1.25rem; height: 1.25rem; color: var(--fg); transition: color 0.3s; }
.brand-hero-back:hover svg { color: var(--primary); }
.brand-hero-back span { font-size: 0.875rem; font-weight: 500; color: var(--fg); display: none; }
@media (min-width: 640px) { .brand-hero-back span { display: inline; } }

.brand-hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}

.brand-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: clamp(8rem, 22vw, 28rem);
  line-height: 0.75;
  opacity: 0.02;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg);
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 10rem 0 6rem;
}

@media (min-width: 1024px) {
  .brand-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.brand-hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
  overflow: hidden;
}

.brand-hero-category {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  width: fit-content;
}

.brand-hero-name {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--fg);
}

.brand-hero-tagline {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
}

.brand-hero-description {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 36rem;
}

.brand-hero-divider {
  height: 2px;
  width: 8rem;
  transform-origin: left;
}

.brand-hero-image {
  position: relative;
  width: 100%;
  height: 450px;
  min-width: 0;
}

@media (min-width: 768px) {
  .brand-hero-image { height: 550px; }
}

@media (min-width: 1024px) {
  .brand-hero-image { height: 620px; }
}

.brand-hero-image-glow {
  position: absolute;
  inset: -2rem;
  border-radius: 1.5rem;
  filter: blur(80px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

.brand-hero-image-frame {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.3);
}

.brand-hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.brand-hero-image-frame:hover img {
  transform: scale(1.1);
}

.brand-hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, transparent);
  opacity: 0.6;
  pointer-events: none;
}

/* Brand Features */
.brand-features {
  padding: 8rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.brand-features-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
}

.brand-features-title {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.brand-features-divider {
  height: 3px;
  width: 6rem;
  margin: 0 auto;
  border-radius: 9999px;
}

.brand-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 5rem;
}

@media (min-width: 768px) { .brand-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .brand-features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,0.5);
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover .feature-card-glow { opacity: 1; }

.feature-card-icon {
  position: relative;
  display: inline-flex;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.feature-card-icon svg {
  width: 2rem;
  height: 2rem;
}

.feature-card-title {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.feature-card-text {
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 10;
}

.feature-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover .feature-card-line { opacity: 1; }

/* Brand CTA */
.brand-cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--fg), #2a2c28);
}

@media (min-width: 1024px) { .brand-cta { padding: 8rem 0; } }

.brand-cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.brand-cta-content {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.brand-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 2rem;
}

.brand-cta-badge svg { width: 1.25rem; height: 1.25rem; color: white; }
.brand-cta-badge span { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: white; }

.brand-cta-title {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.brand-cta-text {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.brand-cta-contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) { .brand-cta-contacts { grid-template-columns: repeat(2, 1fr); } }

.brand-cta-contact {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-cta-contact:hover {
  transform: scale(1.03) translateY(-5px);
  border-color: rgba(255,255,255,0.4);
}

.brand-cta-contact-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.brand-cta-contact-icon svg { width: 1.5rem; height: 1.5rem; color: white; }

.brand-cta-contact h3 { font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.brand-cta-contact p { color: rgba(255,255,255,0.7); }

.brand-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) { .brand-cta-buttons { flex-direction: row; } }

.brand-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.brand-cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-cta-trust-item .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

/* --- Contact & Partner Pages --- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg), white);
  padding: 10rem 0 6rem;
}

.page-hero.tall { min-height: 90vh; }

.page-hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: radial-gradient(circle at 30% 50%, var(--primary) 0%, transparent 50%);
}

.page-hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 0.95;
}

.page-hero-title .accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 300;
}

.page-hero-text {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto;
}

/* Contact cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  display: block;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(151, 92, 174, 0.3);
}

.contact-card-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(151, 92, 174, 0.1);
  margin-bottom: 1rem;
  border: 1px solid rgba(151, 92, 174, 0.2);
}

.contact-card-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }

.contact-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted);
  transition: color 0.3s ease;
}

.contact-card:hover p { color: var(--primary); }

/* Form */
.form-section {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .form-section { padding: 8rem 0; } }

.form-section-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.1;
  background: var(--primary);
}

.form-container {
  max-width: 48rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.7);
}

@media (min-width: 768px) { .form-container { padding: 3rem; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(151, 92, 174, 0.2);
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea { resize: none; }

.form-group input[type="checkbox"] {
  width: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Benefits grid for partner page */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,0.5);
}

.benefit-card-icon {
  position: relative;
  display: inline-flex;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: linear-gradient(135deg, rgba(151, 92, 174, 0.1), transparent);
}

.benefit-card-icon svg { width: 2rem; height: 2rem; color: var(--primary); }

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--muted);
  line-height: 1.7;
}

/* Profile cards */
.profiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) { .profiles-grid { grid-template-columns: repeat(3, 1fr); } }

.profile-card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(151, 92, 174, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-card:hover {
  transform: translateY(-10px);
  border-color: rgba(151, 92, 174, 0.4);
}

.profile-card-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(151, 92, 174, 0.1);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.profile-card-icon svg { width: 2rem; height: 2rem; color: var(--primary); }

.profile-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.profile-card > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.profile-card .requirements-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.profile-card .requirement {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.profile-card .requirement svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 0.25rem; }
.profile-card .requirement span { font-size: 0.875rem; color: var(--muted); }

/* Dark CTA section */
.dark-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--fg), #2a2c28);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .dark-cta { padding: 8rem 0; } }

/* Success message */
.success-message {
  border-radius: 1.5rem;
  padding: 3rem;
  border: 1px solid rgba(151, 92, 174, 0.3);
  background: rgba(255,255,255,0.7);
  text-align: center;
}

.success-message .icon-wrapper {
  display: inline-flex;
  padding: 1rem;
  border-radius: 50%;
  background: rgba(151, 92, 174, 0.1);
  margin-bottom: 1.5rem;
}

.success-message .icon-wrapper svg { width: 2.5rem; height: 2.5rem; color: var(--primary); }
.success-message h3 { font-size: 1.5rem; font-weight: 700; color: var(--fg); margin-bottom: 0.75rem; }
.success-message p { color: var(--muted); }

/* Legal pages (privacy / cookie policy) */
.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 0 6rem;
  color: var(--fg);
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.5rem; }

.legal-content strong { color: var(--fg); }

.legal-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

.legal-updated {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
  pointer-events: none;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-text p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner-actions button {
  font-family: inherit;
  cursor: pointer;
}

.cookie-accept {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cookie-accept:hover {
  background: var(--primary);
  color: #fff;
  filter: brightness(1.1);
}

@media (max-width: 640px) {
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
}
