/* ═══ RUDRA ASSOCIATION — Corporate Fusion v16 ═══ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --gold-dark: #9a7b2f;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --cyan: #5eead4;
  --bg: #000000;
  --border: rgba(212, 175, 55, 0.32);
  --serif: 'Cormorant Garamond', Georgia, serif;
}

/* Force hero visible (reveal.js override) */
.rudra-hero, .rudra-hero * { opacity: 1 !important; visibility: visible !important; }

body.theme-gold { background: #000 !important; color: #f5f5f5; }
body.theme-gold::before {
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(212,175,55,0.11), transparent 68%),
    radial-gradient(ellipse 40% 30% at 50% 55%, rgba(94,234,212,0.04), transparent 70%);
}
body.theme-gold .particles-canvas, body.theme-gold .aurora, body.theme-gold .cursor-glow { opacity: 0.04; }
#mobileAiHome, .cinematic-os-wrap { display: none !important; }

/* Hide topbar — cleaner like reference mockup */
body.theme-gold { --topbar-h: 0px; }
body.theme-gold .topbar--gold-hide { display: none !important; }
body.theme-gold .nav { top: 0; }

/* Nav — logo left · links center · CTA right */
body.theme-gold .nav, body.theme-gold .nav.scrolled {
  background: rgba(0,0,0,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
body.theme-gold .nav-inner {
  position: relative; max-width: 1400px; justify-content: space-between;
}
body.theme-gold .nav-links--ref {
  position: absolute; left: 50%; transform: translateX(-50%);
  gap: 32px;
}
body.theme-gold .logo-text { color: var(--gold-light); font-weight: 700; letter-spacing: 0.06em; }
body.theme-gold .logo-text span { color: var(--gold); }
body.theme-gold .logo-img { border-color: var(--gold); box-shadow: 0 0 16px var(--gold-glow); }
body.theme-gold .nav-links a {
  color: rgba(255,255,255,0.78); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
body.theme-gold .nav-links a:hover { color: var(--gold); }

.rudra-nav-cta, body.theme-gold .nav-contact-btn {
  border: 1px solid transparent !important;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--cyan), #ec4899, var(--gold)) border-box !important;
  color: var(--gold-light) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  box-shadow: 0 0 22px rgba(94,234,212,0.18);
}

/* ── Hero ── */
.rudra-hero {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 20px) 0 56px;
  min-height: auto;
}
.rudra-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 50% 48%, rgba(212,175,55,0.12), transparent 72%),
    radial-gradient(ellipse 60% 35% at 50% 52%, rgba(56,189,248,0.04), transparent 75%),
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.rudra-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    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: 48px 48px;
  mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, black 20%, transparent 75%);
  opacity: 0.5;
}
.rudra-hero-inner { width: min(1400px, calc(100% - 40px)); margin: 0 auto; position: relative; }

/* Title */
.rudra-hero-title { text-align: center; margin-bottom: 32px; }
.rudra-hero-title h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f472b6 38%, #38bdf8 72%, var(--gold-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(212,175,55,0.35));
}
.rudra-hero-sub {
  font-size: 0.86rem; color: rgba(255,255,255,0.82);
  letter-spacing: 0.2em; margin-top: 12px; font-weight: 500;
}

/* ── Unified corporate stage (one canvas for grid + brain) ── */
.rudra-hero-stage {
  position: relative;
  padding: 8px 0 4px;
  margin-bottom: 8px;
}
.rudra-stage-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.rudra-stage-glow {
  position: absolute;
  top: 5%; left: 50%; transform: translateX(-50%);
  width: min(520px, 42vw); height: 92%;
  background: radial-gradient(ellipse at 50% 45%, rgba(212,175,55,0.16) 0%, rgba(212,175,55,0.05) 40%, transparent 72%);
  animation: stageGlow 6s ease-in-out infinite;
}
.rudra-stage-glow--cyan {
  top: 30%; width: min(480px, 38vw); height: 50%;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.05) 0%, transparent 65%);
  animation-delay: 3s;
}
@keyframes stageGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
.rudra-stage-beams {
  position: absolute; top: 38%; left: 22%; right: 22%; height: 80px;
}
.rudra-stage-beams span {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.35) 30%, rgba(212,175,55,0.45) 50%, rgba(56,189,248,0.35) 70%, transparent);
}
.rudra-stage-beams span:nth-child(1) { top: 20%; opacity: 0.6; }
.rudra-stage-beams span:nth-child(2) { top: 50%; opacity: 0.45; }
.rudra-stage-beams span:nth-child(3) { top: 78%; opacity: 0.3; }
.rudra-stage-floor {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) perspective(500px) rotateX(72deg);
  width: min(420px, 34vw); height: 100px;
  background:
    radial-gradient(ellipse, rgba(212,175,55,0.1) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(212,175,55,0.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(56,189,248,0.04) 0 1px, transparent 1px 24px);
  border-radius: 50%;
  opacity: 0.7;
}

/* Desktop 3-column grid */
.rudra-hero-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(380px, 560px) minmax(250px, 1fr);
  gap: 12px 16px;
  align-items: stretch;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.rudra-svc-stack { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }

/* Corporate glass service cards */
.rudra-svc-box {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.03) inset;
  cursor: pointer;
  font-family: inherit; color: inherit; text-align: left; width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  flex: 1;
}
.rudra-svc-box:hover, .rudra-svc-box.is-active {
  border-color: rgba(212,175,55,0.5);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 24px rgba(212,175,55,0.12), 0 0 0 1px rgba(212,175,55,0.1) inset;
  transform: translateY(-1px);
}
.rudra-svc-ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; border: 1.5px solid; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(212,175,55,0.08);
}
.rudra-svc-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rudra-svc-num {
  font-size: 0.78rem; font-weight: 800; color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
}
.rudra-svc-content strong {
  display: block; font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; line-height: 1.35;
}
.rudra-svc-content em {
  display: block; font-size: 0.67rem; color: rgba(255,255,255,0.45);
  font-style: normal; margin-top: 3px; line-height: 1.5;
}

/* Icon colors */
.gpi--wa { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.45); }
.gpi--bot { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.45); }
.gpi--call { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.45); }
.gpi--web { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.45); }
.gpi--email { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.45); }
.gpi--social { background: rgba(236,72,153,0.12); border-color: rgba(236,72,153,0.45); }
.gpi--lead { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.45); }
.gpi--crm { background: rgba(219,39,119,0.12); border-color: rgba(219,39,119,0.45); }
.gpi--pay { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.45); }
.gpi--cal { background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.45); }
.gpi--chart { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.45); }
.gpi--pdf { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.45); }
.gpi--erp { background: rgba(107,114,128,0.12); border-color: rgba(212,175,55,0.45); }
.gpi--flow { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.45); }
.gpi--fb { background: rgba(24,119,242,0.12); border-color: rgba(24,119,242,0.45); }
.gpi--ig { background: rgba(225,48,108,0.12); border-color: rgba(225,48,108,0.45); }
.gpi--google { background: rgba(234,67,53,0.12); border-color: rgba(234,67,53,0.45); }
.gpi--yt { background: rgba(255,0,0,0.12); border-color: rgba(255,0,0,0.45); }
.gpi--qr { background: rgba(212,175,55,0.12); border-color: rgba(212,175,55,0.5); }

/* Center brain — original HD image (black bg blends via lighten) */
.rudra-hero-visual--fusion {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  align-self: stretch;
  min-height: 100%;
  height: auto;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.rudra-fusion-img-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 680px;
}
.rudra-brain-side--fusion {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 680px;
  object-fit: contain;
  object-position: center center;
  margin: 0;
  background: transparent;
  border: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.28));
  animation: fusionBrainPulse 5s ease-in-out infinite;
}
@keyframes fusionBrainPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(212,175,55,0.25)); }
  50% { filter: drop-shadow(0 0 48px rgba(212,175,55,0.42)); }
}
.rudra-brain-side--mob {
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
}

/* Tagline */
.rudra-hero-tagline {
  text-align: center; font-size: 0.84rem;
  color: rgba(212,175,55,0.7); letter-spacing: 0.1em;
  margin: 20px 0 36px; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
}
.rudra-hero-tagline::before, .rudra-hero-tagline::after {
  content: ''; flex: 1; max-width: 90px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Lead block */
.rudra-lead-block { margin-bottom: 32px; }
.rudra-lead-title {
  font-family: var(--serif); font-size: 1.55rem; color: var(--gold-light);
  text-align: center; letter-spacing: 0.08em; margin-bottom: 18px;
}
.rudra-lead-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px;
}
.rudra-svc-box--sm { padding: 14px 16px; grid-template-columns: 40px 1fr; }

/* CTA */
.rudra-cta-wrap { text-align: center; margin: 28px 0 8px; }
.rudra-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 64px;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--cyan), #ec4899) border-box;
  color: var(--gold-light); font-size: 0.84rem; font-weight: 800;
  letter-spacing: 0.24em; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 32px rgba(94,234,212,0.18);
  transition: all 0.3s;
}
.rudra-cta-btn:hover {
  box-shadow: 0 0 44px rgba(236,72,153,0.28), 0 0 56px rgba(94,234,212,0.22);
  transform: translateY(-2px);
}

.rudra-hero-mobile { display: none; }

/* Home sections — full gold theme */
body.theme-gold .stats-strip {
  background: rgba(4,5,8,0.95); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
body.theme-gold .stat-num { color: var(--gold-light) !important; }
body.theme-gold .stat-label { color: rgba(255,255,255,0.55) !important; }
body.theme-gold .superpowers-section,
body.theme-gold .flow-showcase,
body.theme-gold .summary-home,
body.theme-gold .compare-section,
body.theme-gold .pricing-section,
body.theme-gold .contact-section {
  background: var(--bg) !important; border-top: 1px solid var(--border);
}
body.theme-gold .home-flow .section-tag--gold {
  background: rgba(212,175,55,0.08); border-color: var(--border); color: var(--gold);
}
body.theme-gold .home-flow h2, body.theme-gold .home-flow h3 { font-family: var(--serif); color: var(--gold-light); }
body.theme-gold .home-flow .grad {
  background: linear-gradient(135deg, var(--gold-light), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.theme-gold .super-card,
body.theme-gold .compare-card,
body.theme-gold .flow-stage,
body.theme-gold .pricing-card {
  border-color: var(--border) !important;
  background: rgba(4,5,8,0.9) !important;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.04) inset;
}
body.theme-gold .footer {
  border-top: 1px solid var(--border); background: var(--bg);
}
body.theme-gold .btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  border-color: var(--gold) !important;
}

/* ═══ MOBILE — reference stacked layout ═══ */
@media (max-width: 768px) {
  .rudra-hero { padding: calc(var(--nav-h) + 12px) 0 36px; }
  .rudra-hero-inner { width: calc(100% - 24px); }

  body.theme-gold .nav-links--ref { display: none; }
  body.theme-gold .nav-inner { justify-content: center; }
  body.theme-gold .nav-cta { display: none; }
  body.theme-gold .logo { margin: 0 auto; }

  .rudra-hero-title h1 { font-size: 2rem; letter-spacing: 0.08em; }
  .rudra-hero-sub { font-size: 0.7rem; letter-spacing: 0.14em; }

  .rudra-hero-grid--desktop { display: none !important; }
  .rudra-hero-mobile { display: block !important; }

  .rudra-hero-stage { padding: 4px 0; }
  .rudra-hero-visual--fusion { min-height: auto; }
  .rudra-fusion-img-wrap { min-height: 0; }
  .rudra-stage-glow { width: 90%; height: 70%; top: 10%; }
  .rudra-stage-floor { width: 80%; height: 60px; }
  .rudra-brain-side--mob { max-width: 300px; }

  .rudra-mobile-list {
    border: 1px solid var(--border); border-radius: 0; overflow: hidden;
    background: rgba(4,5,8,0.92);
  }
  .rudra-svc-row {
    display: grid; grid-template-columns: 44px 32px 1fr 28px;
    align-items: center; gap: 10px;
    padding: 16px 16px; width: 100%; border: none;
    border-bottom: 1px solid rgba(212,175,55,0.12);
    background: transparent; cursor: pointer; font-family: inherit; color: inherit; text-align: left;
    transition: background 0.25s;
  }
  .rudra-svc-row:last-child { border-bottom: none; }
  .rudra-svc-row:hover, .rudra-svc-row.is-active { background: rgba(212,175,55,0.07); }
  .rudra-svc-row .rudra-svc-ico { width: 38px; height: 38px; font-size: 1rem; }
  .rudra-svc-row .rudra-svc-num { font-size: 0.82rem; color: var(--gold); font-weight: 800; }
  .rudra-svc-row-title { font-size: 0.88rem; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
  .rudra-svc-row-arrow { color: var(--gold); font-size: 1.2rem; font-weight: 300; }

  .rudra-lead-grid { grid-template-columns: 1fr; }
  .rudra-cta-btn { width: 100%; max-width: 340px; padding: 16px 32px; }
  .rudra-hero-tagline { font-size: 0.72rem; margin-bottom: 28px; flex-direction: column; gap: 8px; }
  .rudra-hero-tagline::before, .rudra-hero-tagline::after { max-width: 60px; }
}

@media (min-width: 769px) {
  .rudra-hero-mobile { display: none !important; }
}

@media (min-width: 1200px) {
  .rudra-hero-grid {
    gap: 12px 20px;
    grid-template-columns: minmax(290px, 340px) minmax(460px, 580px) minmax(290px, 340px);
  }
  .rudra-svc-content strong { font-size: 0.8rem; }
  .rudra-fusion-img-wrap { min-height: 720px; }
  .rudra-brain-side--fusion { min-height: 720px; }
  .rudra-stage-glow { width: min(560px, 44vw); }
}
