@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════
   DEXora — DESIGN SYSTEM (Maroon & Gold Prestige)
   Aligned with TGS Brand Family
   ═══════════════════════════════════════════════════════ */

:root {
  /* ── LIGHT MODE ── */
  --bg-body: #faf7f8;
  --bg-section-alt: #f3eaed;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-hero: #ffffff;
  --border: rgba(87, 0, 53, 0.08);

  --text-heading: #570035;
  --text-body: #4a2e3a;
  --text-muted: #8a6b78;
  --text-on-dark: #fff8fa;

  --maroon: #570035;
  --maroon-mid: #7d2454;
  --maroon-light: #a23770;
  --maroon-deep: #3b0024;
  --maroon-glow: rgba(87, 0, 53, 0.12);

  --gold: #DCA146;
  --gold-light: #ffbd62;
  --gold-dark: #b8842e;
  --gold-glow: rgba(220, 161, 70, 0.25);

  --white: #ffffff;

  /* BestWay Brand Colors */
  --bw-navy: #051d40;
  --bw-teal: #008ca8;
  --bw-orange: #f58220;

  --shadow-sm: 0 2px 8px rgba(87, 0, 53, 0.06);
  --shadow-md: 0 8px 24px rgba(87, 0, 53, 0.08);
  --shadow-lg: 0 16px 48px rgba(87, 0, 53, 0.1);
  --shadow-xl: 0 24px 64px rgba(87, 0, 53, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(87, 0, 53, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1400px;
  --transition: 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-theme="dark"] {
  --bg-body: #0e0009;
  --bg-section-alt: #1a0010;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-hero: linear-gradient(160deg, #3b0024 0%, #570035 50%, #1e0012 100%);
  --border: rgba(255, 255, 255, 0.06);

  --text-heading: #fff0f5;
  --text-body: #cbbabf;
  --text-muted: #8a6b78;
  --text-on-dark: #fff0f5;

  --maroon: #ffafd1;
  --maroon-mid: #d86ea1;
  --maroon-deep: #2e0019;
  --maroon-glow: rgba(255, 175, 209, 0.06);

  --gold: #ffbd62;
  --gold-light: #ffd699;
  --gold-dark: #e6a530;
  --gold-glow: rgba(255, 189, 98, 0.15);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(30, 0, 18, 0.75);
  --glass-border: rgba(255, 255, 255, 0.06);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg-body);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
a { color: inherit; text-decoration: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: rgba(87, 0, 53, 0.18); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #0e0009; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(255, 189, 98, 0.2); }

/* ── DEXora BRAND SPLIT TEXT ── */
.dx-de {
  color: var(--maroon);
  font-weight: 800;
}
.dx-xora {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 700;
  padding-right: 0.06em;
  display: inline-block;
}
[data-theme="dark"] .dx-de {
  color: var(--maroon);
}
[data-theme="dark"] .dx-xora {
  background: linear-gradient(135deg, #ffd699, #ffbd62, #e6a530);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #570035; /* Keep header in Solid Maroon */
  transition: background var(--transition), border var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  background: #3b0024; /* Deep maroon on scroll */
}
[data-theme="dark"] .header {
  background: #570035; /* Keep maroon in dark theme too */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .header.scrolled {
  background: #3b0024;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 32px; /* Increased header padding for size/spacing */
}

/* Header Brands */
.header-brands {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-meta .brand-name {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 800;
  color: #ffffff; /* Make brand name white on maroon header */
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.brand-meta .brand-name-sub {
  font-weight: 500;
}

.brand-meta .brand-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.7); /* Soft white on maroon header */
  letter-spacing: 0.01em;
  margin-top: 1px;
}

.header-bw-name {
  color: #ffffff !important;
}

/* Collab Divider */
.header-collab-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header-collab-divider .collab-plus {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 800;
  color: var(--gold);
}

.header-collab-divider .collab-label {
  font-family: var(--font-body);
  font-size: 0.58rem; font-style: italic;
  color: rgba(255, 255, 255, 0.7); /* Soft white on maroon header */
  text-transform: lowercase;
}

.logo-link { display: flex; align-items: center; }
.brand-logo {
  height: 42px; width: auto; /* Increased height */
  object-fit: contain;
  transition: transform var(--transition), filter var(--transition);
}
.brand-logo:hover { transform: scale(1.05); }
.bw-logo, .bw-bg {
  background: white; padding: 4px; border-radius: 8px;
  border: 1px solid rgba(87, 0, 53, 0.06);
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #ffffff; padding: 6px 14px;
  border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}
.nav-back-link svg { transition: transform 0.2s ease; }
.nav-back-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}
.nav-back-link:hover svg { transform: translateX(-2px); }

[data-theme="dark"] .nav-back-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .nav-back-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.theme-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px;
  background: none; color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.theme-btn:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.1); }
.theme-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .theme-btn { color: #ffffff; border-color: rgba(255, 255, 255, 0.2); }
[data-theme="dark"] .theme-btn:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.1); }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  background: #ffffff; /* Explicit pristine solid white for light theme */
  padding: 140px 32px 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
[data-theme="dark"] .hero {
  background: var(--bg-hero); /* Dark theme fallback gradient */
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: url('../assets/images/computational-pharma.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.02; /* Extremely faint, very less visible watermark */
  pointer-events: none;
}
[data-theme="dark"] .hero-bg-image {
  opacity: 0.02;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(220, 161, 70, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(220, 161, 70, 0.03) 0%, transparent 60%),
    radial-gradient(circle 800px at 50% 50%, rgba(87, 0, 53, 0.03), transparent);
  pointer-events: none;
}
[data-theme="dark"] .hero-bg-pattern {
  background-image:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(255, 189, 98, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(255, 189, 98, 0.02) 0%, transparent 60%),
    radial-gradient(circle 800px at 50% 50%, rgba(255, 175, 209, 0.02), transparent);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

/* Hero Text */
.hero-text { color: var(--text-body); }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border-radius: 99px;
  background: var(--maroon-glow);
  border: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 28px; color: var(--maroon);
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--maroon);
  box-shadow: 0 0 8px var(--maroon);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
[data-theme="dark"] .hero-tag {
  background: rgba(255, 189, 98, 0.06);
  border-color: rgba(255, 189, 98, 0.15);
  color: var(--gold);
}
[data-theme="dark"] .hero-tag-dot {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 6rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
/* Override split colors on dark hero bg */
[data-theme="dark"] .hero .dx-de {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.hero .dx-xora {
  background: linear-gradient(135deg, #ffd699, #DCA146, #b8842e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 600;
  color: var(--maroon-mid);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  opacity: 0.95;
}
.hero-desc {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-body);
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 560px;
}

/* Hero Form */
.hero-form { width: 100%; max-width: 520px; }
.form-row { display: flex; gap: 10px; }
.form-input {
  flex: 1; padding: 14px 18px;
  font-family: var(--font-body); font-size: 0.92rem;
  background: var(--white);
  border: 1px solid rgba(87, 0, 53, 0.15);
  border-radius: 12px; color: var(--text-heading); outline: none;
  transition: all var(--transition);
}
.form-input::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 4px var(--maroon-glow);
  background: var(--white);
}

[data-theme="dark"] .form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
[data-theme="dark"] .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
[data-theme="dark"] .form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 12px; border: none; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1E0012;
  box-shadow: 0 4px 16px rgba(220, 161, 70, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(220, 161, 70, 0.45);
}
.btn-gold svg { transition: transform 0.25s ease; }
.btn-gold:hover svg { transform: translate(2px, -2px); }

.btn-hero-fill {
  background: var(--maroon);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(87, 0, 53, 0.15);
}
.btn-hero-fill:hover {
  background: var(--maroon-mid);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(87, 0, 53, 0.25);
  transform: translateY(-2px);
}
.btn-hero-fill svg {
  transition: transform var(--transition);
}
.btn-hero-fill:hover svg {
  transform: translateX(3px);
}
[data-theme="dark"] .btn-hero-fill {
  background: var(--gold);
  color: #1E0012;
  box-shadow: 0 4px 16px rgba(220, 161, 70, 0.2);
}
[data-theme="dark"] .btn-hero-fill:hover {
  background: var(--gold-light);
  color: #1E0012;
  box-shadow: 0 6px 24px rgba(220, 161, 70, 0.35);
}

.form-status { margin-top: 12px; font-size: 0.88rem; font-weight: 600; min-height: 20px; }
.form-status.success { color: #81c784; }
.form-status.error { color: #e57373; }

/* Hero Capabilities Card */
.hero-collab { display: flex; align-items: center; justify-content: center; }
.collab-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(87, 0, 53, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  width: 100%;
  max-width: 460px;
}
.collab-card:hover {
  border-color: rgba(220, 161, 70, 0.35);
  box-shadow: var(--shadow-lg);
}
.collab-card-header {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

/* Capability List */
.capability-list {
  display: flex; flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.capability-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(87, 0, 53, 0.02);
  border: 1px solid rgba(87, 0, 53, 0.05);
  transition: all var(--transition);
}
.capability-item:hover {
  background: rgba(87, 0, 53, 0.04);
  border-color: rgba(220, 161, 70, 0.25);
  transform: translateX(4px);
}
.capability-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(87, 0, 53, 0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--maroon-mid);
}
.capability-icon svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.capability-text {
  display: flex; flex-direction: column; gap: 2px;
}
.capability-label {
  font-family: var(--font-heading);
  font-size: 0.88rem; font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
}
.capability-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.collab-tagline-bar {
  border-top: 1px solid rgba(87, 0, 53, 0.08);
  padding-top: 16px;
  text-align: center;
}
.collab-tagline-bar span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.collab-tagline-bar strong {
  color: var(--maroon);
  font-weight: 600;
}

[data-theme="dark"] .collab-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
[data-theme="dark"] .collab-card-header {
  color: #ffffff;
}
[data-theme="dark"] .capability-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .capability-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(220, 161, 70, 0.2);
}
[data-theme="dark"] .capability-label {
  color: #ffffff;
}
[data-theme="dark"] .capability-desc {
  color: rgba(255, 248, 250, 0.5);
}
[data-theme="dark"] .collab-tagline-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .collab-tagline-bar span {
  color: rgba(255, 248, 250, 0.4);
}
[data-theme="dark"] .collab-tagline-bar strong {
  color: var(--gold-light);
}
[data-theme="dark"] .capability-icon {
  background: rgba(220, 161, 70, 0.12);
  color: var(--gold-light);
}

/* ═══════════════════════════════════════════
   LAUNCH SECTION & CARDS
   ═══════════════════════════════════════════ */
.launch-section {
  padding: 80px 0;
  background: var(--bg-body);
  transition: background var(--transition);
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.launch-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 30px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.launch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

/* Card Glow Effect */
.launch-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
  opacity: 0.3;
}

.launch-card-glow.tgs-glow {
  background: radial-gradient(circle, rgba(87, 0, 53, 0.15) 0%, transparent 60%);
}
.launch-card-glow.bw-glow {
  background: radial-gradient(circle, rgba(0, 140, 168, 0.1) 0%, transparent 60%);
}
.launch-card-glow.occasion-glow {
  background: radial-gradient(circle, rgba(220, 161, 70, 0.15) 0%, transparent 60%);
}

[data-theme="dark"] .launch-card-glow.tgs-glow {
  background: radial-gradient(circle, rgba(255, 175, 209, 0.08) 0%, transparent 60%);
}
[data-theme="dark"] .launch-card-glow.bw-glow {
  background: radial-gradient(circle, rgba(0, 140, 168, 0.08) 0%, transparent 60%);
}
[data-theme="dark"] .launch-card-glow.occasion-glow {
  background: radial-gradient(circle, rgba(255, 189, 98, 0.08) 0%, transparent 60%);
}

.launch-card > * {
  position: relative;
  z-index: 2;
}

.launch-card-logo-wrap {
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition);
}

.launch-card:hover .launch-card-logo-wrap,
.launch-card:hover .launch-card-portrait-wrap {
  transform: scale(1.05);
}

.launch-card-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Specific BestWay background contrast if needed in light/dark */
.launch-card-logo-wrap.bw-bg {
  /* background: rgba(5, 29, 64, 0.03); */
  padding: 8px;
  border-radius: 12px;
}

.launch-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.launch-card-tagline {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.5;
}

.launch-card-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Portrait Card Specific Styles */
.launch-card-portrait-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 20px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.launch-card:hover .launch-card-portrait-wrap {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.launch-card-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.launch-card-special {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.5;
}

.launch-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
}
[data-theme="dark"] .launch-card-name {
  color: var(--gold);
}

@media (max-width: 992px) {
  .launch-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════ */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: 99px;
  background: var(--maroon-glow);
  border: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px; color: var(--maroon);
  transition: all var(--transition);
}
[data-theme="dark"] .section-tag {
  background: rgba(255, 189, 98, 0.06);
  color: var(--gold);
  border-color: rgba(255, 189, 98, 0.12);
}
.section-tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem; font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  transition: color var(--transition);
}

/* ═══════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════ */
.products-section {
  padding: 100px 0;
  background: #570035; /* Solid brand maroon */
  transition: background var(--transition);
}
[data-theme="dark"] .products-section {
  background: #3b0024; /* Deeper maroon in dark mode */
}

/* Overrides for Products Section Maroon Theme */
.products-section .section-title {
  color: #ffffff;
}
.products-section .section-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
}
.products-section .section-tag-dot {
  background: var(--gold-light);
}
.products-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
}
.products-section .dx-de {
  color: #ffffff;
}

/* Card overrides inside products section */
.products-section .product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.products-section .product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.products-section .product-card::before {
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06), transparent 60%);
}
.products-section .card-icon {
  background: rgba(220, 161, 70, 0.15);
  color: var(--gold-light);
}
.products-section .card-content h3 {
  color: #ffffff;
}
.products-section .card-content p {
  color: rgba(255, 255, 255, 0.7);
}
.products-section .card-number {
  color: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--maroon-glow), transparent 60%);
  z-index: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}
.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; z-index: 2; }

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

/* Accent stripe at top */
.card-accent {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 18px 18px 0 0;
}
.card-accent.maroon {
  background: linear-gradient(90deg, #570035, #a23770);
}
.card-accent.gold {
  background: linear-gradient(90deg, #DCA146, #ffbd62);
}
[data-theme="dark"] .card-accent.maroon {
  background: linear-gradient(90deg, #ffafd1, #d86ea1);
}
[data-theme="dark"] .card-accent.gold {
  background: linear-gradient(90deg, #ffbd62, #ffd699);
}

.card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--maroon-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon);
  transition: all var(--transition);
}
[data-theme="dark"] .card-icon {
  background: rgba(255, 189, 98, 0.08);
  color: var(--gold);
}
.card-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
  transition: color var(--transition);
}
.card-content p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  transition: color var(--transition);
}

.card-number {
  position: absolute;
  bottom: 12px; right: 16px;
  font-family: var(--font-heading);
  font-size: 2.6rem; font-weight: 800;
  color: var(--maroon-glow);
  opacity: 0.5;
  line-height: 1;
  transition: all var(--transition);
}
[data-theme="dark"] .card-number {
  color: rgba(255, 189, 98, 0.06);
}

/* ═══════════════════════════════════════════
   COLLABORATION SECTION
   ═══════════════════════════════════════════ */
.collab-section {
  padding: 100px 0;
  background: var(--bg-section-alt);
  transition: background var(--transition);
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.collab-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.collab-panel::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
}
.tgs-panel::after {
  background: linear-gradient(90deg, #570035, #DCA146);
}
.bw-panel::after {
  background: linear-gradient(90deg, #051d40, #008ca8);
}
[data-theme="dark"] .tgs-panel::after {
  background: linear-gradient(90deg, #ffafd1, #ffbd62);
}
[data-theme="dark"] .bw-panel::after {
  background: linear-gradient(90deg, #6ba4e7, #00d4ff);
}

.collab-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.panel-logo-wrap {
  width: 72px; height: 72px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
}
.panel-logo-wrap.bw-bg { background: #ffffff; }
.panel-logo {
  height: 56px; width: auto;
  object-fit: contain;
}

.collab-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 6px;
  transition: color var(--transition);
}
.panel-tagline {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 24px;
}
.panel-contributions {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel-contributions li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem;
  color: var(--text-body);
  transition: color var(--transition);
}
.panel-contributions li i {
  width: 18px;
  color: var(--maroon);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.bw-panel .panel-contributions li i {
  color: var(--bw-teal);
}
[data-theme="dark"] .panel-contributions li i {
  color: var(--gold);
}
.bw-panel .panel-tagline {
  color: var(--bw-teal);
}
[data-theme="dark"] .bw-panel .panel-tagline {
  color: #66d9ef;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: #1E0012;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 32px 24px;
  transition: background var(--transition);
}
[data-theme="dark"] .footer {
  background: #050003;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}
.footer-brand-group {
  display: flex; align-items: center; gap: 20px;
}
.footer-logos {
  display: flex; align-items: center; gap: 10px;
}
.footer-logo {
  height: 32px; width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.footer-logo:hover { opacity: 1; }
.footer-logo.bw-bg {
  background: white; padding: 2px; border-radius: 6px;
}
.footer-logo-sep {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}
.footer-brand-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}
.footer-brand-text .dx-de {
  color: #ffafd1;
  -webkit-text-fill-color: #ffafd1;
}
.footer-brand-text .dx-xora {
  background: linear-gradient(135deg, #ffd699, #ffbd62);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav {
  display: flex; align-items: center; gap: 20px;
}
.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}
.footer-signature-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition);
}
.footer-signature-link:hover {
  color: var(--white);
}

/* ═══════════════════════════════════════════
   ANIMATIONS / REVEAL
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title { font-size: 4.5rem; }
  .hero { padding: 120px 24px 60px; min-height: auto; }
  .collab-card { max-width: 100%; }
  .brand-meta .brand-tagline { display: none; }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collab-grid {
    grid-template-columns: 1fr;
  }
  .section-title { font-size: 2.2rem; }
  .header-collab-divider .collab-label { display: none; }
  .brand-meta .brand-name { font-size: 0.85rem; }
}

@media (max-width: 768px) {
  .header-inner { padding: 10px 16px; }
  .brand-logo { height: 32px; }
  .header-collab-divider { display: none; }
  .header-brand-block:last-child { display: none; }
  .hero { padding: 110px 16px 48px; }
  .hero-title { font-size: 3.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-desc { font-size: 0.95rem; }
  .products-section, .collab-section { padding: 64px 0; }
  .section-inner { padding: 0 16px; }
  .footer { padding: 32px 16px 20px; }
  .footer-top { flex-direction: column; gap: 16px; text-align: center; }
  .footer-brand-group { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .btn { width: 100%; }
  .hero-title { font-size: 2.8rem; }
  .collab-card { padding: 24px 20px; }
  .header-brands { gap: 8px; }
  .section-header { margin-bottom: 36px; }
}

/* ═══════════════════════════════════════════
   CINEMATIC FULL-PAGE LAUNCH OVERLAY (INTRO)
   Mimicking TGS v1 Light Themed Graphics Loader
   ═══════════════════════════════════════════ */
body.no-scroll {
  overflow: hidden !important;
  height: 100vh;
}

.bday-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #ffffff; /* Pristine white background */
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), 
              visibility 1s,
              transform 1s cubic-bezier(0.25, 1, 0.5, 1),
              filter 1s ease;
}

/* Force light theme for brand loading consistency */
[data-theme="dark"] .bday-modal {
  background: #ffffff;
}

.bday-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Cinematic zoom / blur fade out when entering */
.bday-modal.exit {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  filter: blur(4px);
  pointer-events: none;
}

.bday-modal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(87, 0, 53, 0.02) 0%, transparent 80%);
  pointer-events: none;
}

.bday-modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 0 40px;
}

.bday-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.6);
  filter: blur(5px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
              transform 1.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              filter 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
              visibility 0.8s ease;
  text-align: center;
}

/* Prevent extreme scale transition for slide 2 and 3 to keep it cinematic */
#bday-slide-2, #bday-slide-3,
#bday-slide-2.exit, #bday-slide-3.exit {
  transform: scale(1);
  filter: blur(0);
}

.bday-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.bday-slide.exit {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  filter: blur(1.5px);
  pointer-events: none;
  transition: opacity 0.8s ease, 
              transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), 
              filter 0.8s ease, 
              visibility 0.8s ease;
}

.bday-slide-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.bday-slide-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  animation: logoBdayPulse 2.5s ease-in-out infinite alternate;
}

@keyframes logoBdayPulse {
  0% { transform: scale(0.97); filter: drop-shadow(0 0 0 rgba(87,0,53,0)); }
  100% { transform: scale(1.03); filter: drop-shadow(0 4px 15px rgba(220,161,70,0.18)); }
}

.bday-slide-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.bday-slide-title.tgs-title {
  background: linear-gradient(90deg, #570035, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bday-slide-title.bw-title {
  background: linear-gradient(90deg, #051d40, #008ca8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bday-slide-title.occasion-title {
  background: linear-gradient(90deg, #570035, #DCA146);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.8rem;
}

.bday-slide-tagline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #8a6b78;
  letter-spacing: 0.02em;
  max-width: 720px;
  line-height: 1.5;
  margin-top: 8px;
}

.bday-slide-role {
  font-size: 0.88rem;
  font-weight: 800;
  color: #a23770;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

#bday-slide-2 .bday-slide-role {
  color: #008ca8;
}

.bday-slide-collab-label {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: #8a6b78;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

/* Slide 3 Stalin Birthday Wish styles */
.bday-slide-portrait-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f3eaed;
  box-shadow: 0 8px 24px rgba(87, 0, 53, 0.12);
  transition: all var(--transition);
  margin-bottom: 8px;
}

.bday-slide-portrait-wrap:hover {
  border-color: var(--gold);
}

.bday-slide-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.bday-slide-desc {
  font-size: 1.2rem;
  color: #4a2e3a;
  max-width: 600px;
  line-height: 1.6;
}

.bday-slide-name {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #570035;
  margin-top: 4px;
}

.bday-slide-subtext {
  font-size: 0.95rem;
  color: #8a6b78;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.bday-slide-collab {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.bday-collab-logo {
  height: 30px;
  max-width: 90px;
  object-fit: contain;
}

.bday-collab-logo.bw-logo {
  background: rgba(5, 29, 64, 0.05);
  padding: 2px 4px;
  border-radius: 4px;
}

.bday-collab-plus {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8a6b78;
}

/* Close/Skip button */
.bday-modal-close {
  position: absolute;
  top: 40px;
  right: 40px;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid rgba(87, 0, 53, 0.18);
  color: #570035;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 100000;
}

.bday-modal-close:hover {
  border-color: #570035;
  background: rgba(87, 0, 53, 0.05);
  transform: translateY(-2px);
}

.modal-enter-btn {
  padding: 14px 44px;
  font-size: 0.85rem;
  border-radius: 99px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

@media (max-width: 992px) {
  .bday-slide-title { font-size: 3rem; }
  .bday-slide-title.occasion-title { font-size: 2.2rem; }
  .bday-slide-tagline { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .bday-modal-close {
    top: 24px;
    right: 24px;
    padding: 8px 18px;
    font-size: 0.72rem;
  }
  .bday-slide-title { font-size: 2.2rem; white-space: normal; }
  .bday-slide-title.occasion-title { font-size: 1.8rem; }
  .bday-slide-tagline { font-size: 0.95rem; }
  .bday-slide-logo { width: 160px; height: 160px; }
  .bday-slide-desc { font-size: 1rem; }
  .bday-slide-name { font-size: 1.5rem; }
}
