/* ═════════════════════════════════════════════════════════════
   VARDHA GROUPS — HARMONIOUS ROYAL BLUE & PLATINUM LUXURY PALETTE
   ═════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg-main: #06080d;
  --bg-card: rgba(10, 15, 26, 0.75);
  --card-border: rgba(59, 130, 246, 0.18);
  
  --text-bright: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.72);
  --text-dim: rgba(248, 250, 252, 0.45);
  
  /* Royal Blue Accent Palette matching Logo */
  --blue-accent: #3b82f6;
  --blue-light: #60a5fa;
  --blue-gradient: linear-gradient(135deg, #ffffff 0%, #93c5fd 45%, #3b82f6 100%);
  --blue-glow: rgba(59, 130, 246, 0.35);
  
  --wa-emerald: #1eba59;
  --wa-glow: rgba(30, 186, 89, 0.30);
  
  --font-sans: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", sans-serif;
}

/* ── RESET & SNAP CONTAINER ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  background-color: var(--bg-main);
  color: var(--text-bright);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── MULTI-LAYERED BACKGROUND STAGE ── */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Image Background Layers */
.bg-img-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease-in-out, transform 10s ease-out;
}

.bg-hero-img {
  background-image: url('assets/bg-hero.jpg');
  opacity: 0.42;
  transform: scale(1.03);
}

.bg-connect-img {
  background-image: url('assets/bg-connect.jpg');
  opacity: 0;
  transform: scale(1.05);
}

/* Section 2 Active State for BG Image */
body.in-section-2 .bg-hero-img {
  opacity: 0.15;
}

body.in-section-2 .bg-connect-img {
  opacity: 0.40;
  transform: scale(1.0);
}

/* Video Blend Layer */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: soft-light;
  filter: saturate(0.8) contrast(1.1) brightness(0.7);
  pointer-events: none;
}

/* Atmospheric Overlay & Vignette */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 75% 65% at 50% 35%, rgba(6, 8, 13, 0.4) 0%, rgba(6, 8, 13, 0.94) 100%),
    linear-gradient(to bottom, rgba(6, 8, 13, 0.3) 0%, rgba(6, 8, 13, 0.88) 100%);
}

.bg-lighting-beam {
  position: absolute;
  top: -20%;
  left: 25%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── AMBIENT CANVAS ── */
#ambientCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── SECTION COMMON STYLES ── */
.section {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vh, 80px) clamp(20px, 4vw, 60px);
}

/* ═══════════════════════════════════════════
   SECTION 1 — HERO BRAND
   ═══════════════════════════════════════════ */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  width: 100%;
}

/* Logo Container */
.logo-container {
  position: relative;
  width: clamp(200px, 25vw, 320px);
  height: clamp(54px, 7.5vh, 85px);
  margin-bottom: clamp(18px, 2.5vh, 30px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  filter: blur(14px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.4; transform: scale(0.95); }
  100% { opacity: 0.85; transform: scale(1.15); }
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6)) brightness(1.4) contrast(1.1);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.logo-container:hover .brand-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 30px rgba(96, 165, 250, 0.85)) brightness(1.5) contrast(1.1);
}

/* Eyebrow */
.brand-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.2vw, 13.5px);
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--blue-light);
  margin-bottom: clamp(14px, 2vh, 22px);
  text-transform: uppercase;
}

/* Headline */
.brand-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: clamp(16px, 2.5vh, 24px);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.text-blue {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Description */
.brand-description {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: clamp(22px, 3vh, 34px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Industry Pillars Tags */
.brand-pillars {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  padding: 8px 24px;
  background: rgba(10, 15, 26, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.20);
  border-radius: 99px;
  backdrop-filter: blur(8px);
  font-size: clamp(11.5px, 1.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: center;
}

.pillar-dot {
  color: var(--blue-light);
  opacity: 0.8;
}

/* Classy Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: clamp(20px, 3.5vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.scroll-cue:hover {
  color: var(--blue-light);
}

.scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ═══════════════════════════════════════════
   SECTION 2 — WHATSAPP DIRECT CONNECT
   ═══════════════════════════════════════════ */
.section-connect {
  background: rgba(6, 8, 13, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  width: 100%;
  padding: clamp(32px, 5vh, 56px) clamp(24px, 4vw, 48px);
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.connect-card:hover {
  border-color: rgba(59, 130, 246, 0.38);
  transform: translateY(-2px);
}

.connect-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.connect-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.connect-description {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: clamp(28px, 4vh, 40px);
}

/* WhatsApp CTA Button */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(14px, 2vh, 18px) clamp(32px, 4vw, 44px);
  background: linear-gradient(135deg, #179b4a 0%, #1eba59 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  color: #ffffff;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 
    0 12px 35px var(--wa-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wa-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #1ba952 0%, #22c761 100%);
  box-shadow: 
    0 18px 45px rgba(30, 186, 89, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.wa-btn i {
  font-size: 18px;
}

.wa-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.wa-btn:hover .wa-arrow {
  transform: translateX(4px);
}

/* ── REVEAL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ADAPTATION ── */
@media (max-width: 600px) {
  .brand-pillars {
    gap: 8px;
    font-size: 11px;
    padding: 6px 16px;
  }

  .connect-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
}
