/* ═══════════════════════════════════════
   MEGDESK — MEGA LUXURY EXPANSION
   ═══════════════════════════════════════ */

/* ── Hero watermark + KPIs ── */
.hero {
  padding-bottom: calc(6rem + 52px);
}

.hero-watermark {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-kpis {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.kpi-card {
  position: absolute;
  padding: 0.75rem 1.1rem;
  background: rgba(8, 4, 15, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  animation: kpiFloat 6s ease-in-out infinite;
}

.kpi-card span {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  background: linear-gradient(120deg, var(--champagne-light), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kpi-card small {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.kpi-card--1 { top: 18%; right: 8%; animation-delay: 0s; }
.kpi-card--2 { top: 42%; left: 4%; animation-delay: -2s; }
.kpi-card--3 { bottom: 22%; right: 12%; animation-delay: -4s; }

@keyframes kpiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(8, 4, 15, 0.6);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  overflow: hidden;
  z-index: 3;
}

.hero-ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: heroTicker 28s linear infinite;
  padding: 0.65rem 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero-ticker-track span::before {
  content: '◆ ';
  color: var(--champagne);
}

@keyframes heroTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Bento showcase ── */
.bento-showcase {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.bento-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
  margin-top: 3rem;
}

.bento-cell {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(145deg, #ffffff, #fff9f0);
  box-shadow: 0 20px 60px rgba(26, 10, 46, 0.06);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(26, 10, 46, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.bento-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.bento-cell:hover::after { opacity: 1; }

.bento--hero { grid-column: span 7; min-height: 320px; }
.bento--tall { grid-column: span 5; min-height: 320px; }
.bento--wide { grid-column: span 4; min-height: 200px; }
.bento--mid { grid-column: span 4; min-height: 200px; }
.bento--sm { grid-column: span 4; min-height: 200px; }

.bento-label {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne-dark, #a8892e);
  z-index: 2;
}

.bento-title {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}

.bento-title h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.bento-title p {
  font-size: 0.82rem;
  color: var(--muted, #6b5b7a);
  line-height: 1.5;
}

/* Bento UI mockups */
.bento-ui {
  position: absolute;
  inset: 3rem 1.5rem 5rem;
  border-radius: 12px;
  overflow: hidden;
}

.bento-dashboard {
  background: var(--obsidian, #08040f);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.bento-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 10px;
  padding: 1rem;
  animation: metricPulse 3s ease-in-out infinite;
}

.bento-metric:nth-child(2) { animation-delay: -1s; }
.bento-metric:nth-child(3) { animation-delay: -2s; }

.bento-metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--champagne-light);
  margin-bottom: 0.25rem;
}

.bento-metric span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes metricPulse {
  0%, 100% { border-color: rgba(212, 175, 55, 0.12); }
  50% { border-color: rgba(212, 175, 55, 0.35); }
}

.bento-chart-area {
  grid-column: span 3;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.bento-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  border-radius: 4px 4px 0 0;
  animation: bentoBarGrow 2.5s ease-in-out infinite alternate;
}

.bento-bar:nth-child(1) { height: 45%; animation-delay: 0s; }
.bento-bar:nth-child(2) { height: 70%; animation-delay: -0.3s; }
.bento-bar:nth-child(3) { height: 55%; animation-delay: -0.6s; }
.bento-bar:nth-child(4) { height: 85%; animation-delay: -0.9s; }
.bento-bar:nth-child(5) { height: 60%; animation-delay: -1.2s; }
.bento-bar:nth-child(6) { height: 75%; animation-delay: -1.5s; }
.bento-bar:nth-child(7) { height: 50%; animation-delay: -1.8s; }
.bento-bar:nth-child(8) { height: 90%; animation-delay: -2.1s; }

@keyframes bentoBarGrow {
  from { opacity: 0.7; }
  to { opacity: 1; filter: brightness(1.15); }
}

.bento-ai {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem;
}

.bento-ai-line {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(232, 117, 26, 0.1));
  animation: aiScan 2s ease-in-out infinite;
}

.bento-ai-line:nth-child(1) { width: 90%; }
.bento-ai-line:nth-child(2) { width: 70%; animation-delay: -0.4s; }
.bento-ai-line:nth-child(3) { width: 85%; animation-delay: -0.8s; }
.bento-ai-line:nth-child(4) { width: 55%; animation-delay: -1.2s; }
.bento-ai-line:nth-child(5) { width: 75%; animation-delay: -1.6s; }

@keyframes aiScan {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; background: linear-gradient(90deg, rgba(212, 175, 55, 0.4), rgba(245, 200, 66, 0.2)); }
}

.bento-cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
}

.bento-node {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(8, 4, 15, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--champagne-dark);
  animation: nodeGlow 4s ease-in-out infinite;
}

.bento-node:nth-child(2) { animation-delay: -1.3s; }
.bento-node:nth-child(3) { animation-delay: -2.6s; }
.bento-node:nth-child(4) { animation-delay: -0.7s; }
.bento-node:nth-child(5) { animation-delay: -2s; background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(232,117,26,0.08)); }
.bento-node:nth-child(6) { animation-delay: -3.3s; }

@keyframes nodeGlow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); border-color: rgba(212, 175, 55, 0.35); }
}

.bento-security {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.bento-lock {
  width: 64px;
  height: 72px;
  border: 2px solid var(--champagne);
  border-radius: 8px 8px 4px 4px;
  position: relative;
}

.bento-lock::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 28px;
  border: 2px solid var(--champagne);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
}

.bento-scan {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: secScan 3s linear infinite;
}

@keyframes secScan {
  0% { top: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

.bento-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.bento-phone {
  width: 90px;
  height: 160px;
  border-radius: 16px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: var(--obsidian);
  padding: 8px;
  position: relative;
}

.bento-phone-notch {
  width: 36px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0 auto 8px;
}

.bento-phone-screen {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bento-phone-block {
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(212,175,55,0.3), rgba(232,117,26,0.15));
  animation: phoneBlock 2s ease-in-out infinite;
}

.bento-phone-block:nth-child(2) { width: 80%; animation-delay: -0.5s; }
.bento-phone-block:nth-child(3) { width: 60%; animation-delay: -1s; }

@keyframes phoneBlock {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ── Methodology timeline ── */
.methodology {
  padding: 6rem 0;
  background: var(--obsidian, #08040f);
  position: relative;
  overflow: hidden;
}

.methodology::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(212, 175, 55, 0.06), transparent),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(232, 117, 26, 0.05), transparent);
  pointer-events: none;
}

.methodology .section-head--light h2 {
  color: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 2.2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--champagne), var(--orange), var(--champagne), transparent);
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--champagne), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--obsidian);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
  transition: transform 0.3s ease;
}

.timeline-step:hover .timeline-dot {
  transform: scale(1.12);
}

.timeline-step h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
  padding: 0 0.5rem;
}

/* ── Global presence ── */
.global-band {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a0a2e 0%, #120820 50%, #1a0a2e 100%);
  position: relative;
  overflow: hidden;
}

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.global-map {
  position: relative;
  height: 280px;
  background:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--champagne);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  animation: pinPulse 2.5s ease-in-out infinite;
}

.map-pin--hq {
  top: 42%;
  left: 62%;
  width: 16px;
  height: 16px;
  background: var(--orange);
}

.map-pin--1 { top: 25%; left: 28%; animation-delay: -0.5s; }
.map-pin--2 { top: 35%; left: 48%; animation-delay: -1s; }
.map-pin--3 { top: 55%; left: 72%; animation-delay: -1.5s; }
.map-pin--4 { top: 68%; left: 35%; animation-delay: -2s; }

@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.global-copy h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.global-copy h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--champagne-light), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.global-copy p {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.global-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.global-stat {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
}

.global-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--champagne-light);
  margin-bottom: 0.25rem;
}

.global-stat span {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Credentials ── */
.credentials {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fffcf7, #ffffff);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cred-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: #fff;
  box-shadow: 0 15px 50px rgba(26, 10, 46, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cred-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(26, 10, 46, 0.1);
}

.cred-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(232, 117, 26, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cred-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.cred-card p {
  font-size: 0.78rem;
  color: var(--muted, #6b5b7a);
  line-height: 1.5;
}

/* ── FAQ ── */
.faq-section {
  padding: 6rem 0;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.faq-intro p {
  color: var(--muted, #6b5b7a);
  line-height: 1.7;
  margin-top: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  background: linear-gradient(180deg, #ffffff, #fffaf3);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 40px rgba(26, 10, 46, 0.06);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text, #1a0a2e);
}

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--champagne-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted, #6b5b7a);
  line-height: 1.65;
}

/* ── Floating CTA ── */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 350;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--champagne-dark), var(--champagne), var(--orange));
  background-size: 200% 200%;
  animation: ctaGradient 4s ease infinite;
  border-radius: 50px;
  color: var(--obsidian);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

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

.floating-cta:hover {
  box-shadow: 0 16px 50px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

.floating-cta span:first-child {
  font-size: 1rem;
}

/* ── Partners strip ── */
.partners-strip {
  padding: 3rem 0;
  background: var(--obsidian);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.partners-label {
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
}

.partners-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.partner-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s ease;
}

.partner-logo:hover {
  color: var(--champagne-light);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento--hero, .bento--tall { grid-column: span 12; }
  .bento--wide, .bento--mid, .bento--sm { grid-column: span 6; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .global-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .kpi-card--2 { left: 2%; }
}

@media (max-width: 640px) {
  .bento--wide, .bento--mid, .bento--sm { grid-column: span 12; }
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .cred-grid { grid-template-columns: 1fr; }
  .global-stats { grid-template-columns: 1fr; }
  .hero-watermark { font-size: 4rem; }
  .kpi-card { display: none; }
  .floating-cta { bottom: 1rem; right: 1rem; padding: 0.75rem 1.2rem; font-size: 0.62rem; }
  .partners-row { gap: 1.5rem; }
  .partner-logo { font-size: 0.9rem; }
}
