/* index.css – Final Boss Edition */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  overflow-x: hidden;
}

/* ===== BACKGROUND OVERLAY & SHIMMER ===== */
.background-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1e293b, #0f172a 90%);
  animation: bgPulse 10s ease-in-out infinite;
  z-index: -3;
}

@keyframes bgPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}

/* ===== HEADER ===== */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem 2rem;
  text-align: center;
  position: relative;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
  transition: all 0.5s ease-in-out;
  animation: logoPulse 5s ease-in-out infinite;
}

.logo:hover {
  transform: rotate(2deg) scale(1.06);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.5); }
}

.title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-top: 0.4rem;
  letter-spacing: 0.5px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  position: relative;
  z-index: 1;
}

/* ===== FOUNDER CARD ===== */
.founder-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  width: 100%;
  animation: fadeSlideUp 1.2s ease-in-out forwards;
  transform: translateY(40px);
  opacity: 0;
}

@keyframes fadeSlideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.founder-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.2rem;
  border: 4px solid #ffffff;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.founder-card h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.founder-role {
  font-size: 1.05rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* ===== BUTTON ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  color: #ffffff;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 1;
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.7);
}

/* ===== SCROLL CUE ===== */
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 2s 2.2s ease forwards;
}

.scroll-cue span {
  display: inline-block;
  width: 26px;
  height: 44px;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  position: relative;
}

.scroll-cue span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: #cbd5e1;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.5s infinite ease-in-out;
}

@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  50% { top: 22px; opacity: 0.4; }
  100% { top: 6px; opacity: 1; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2.2rem 1rem;
  font-size: 0.95rem;
  color: #94a3b8;
  background: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* ===== RESPONSIVE LAYOUT ===== */

/* Typography + spacing optimization */
.title {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.founder-card h2 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
}

.founder-role {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
}

.btn-primary {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  padding: clamp(0.75rem, 2vw, 0.9rem) clamp(1.6rem, 5vw, 2.2rem);
}

/* Founder photo resizes with screen */
.founder-photo {
  width: clamp(120px, 30vw, 170px);
  height: clamp(120px, 30vw, 170px);
}

/* Scroll cue scales too */
.scroll-cue span {
  width: clamp(20px, 5vw, 26px);
  height: clamp(36px, 8vw, 44px);
  border-radius: clamp(10px, 4vw, 14px);
}

/* Logo responsive size */
.logo {
  width: clamp(72px, 18vw, 100px);
  height: clamp(72px, 18vw, 100px);
}

/* Media Queries */
@media (max-width: 768px) {
  .header {
    padding: 2.5rem 1rem 1.5rem;
  }

  .hero-section {
    padding: 3rem 1rem;
  }

  .founder-card {
    padding: 2rem 1.25rem;
  }

  .footer {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 2rem 1rem;
  }

  .scroll-cue {
    bottom: 20px;
  }
}
/* ===== GORAI GOD-MODE UPGRADES ===== */

/* Subtle watermark text in background */
body::after {
  content: 'Gorai Group';
  position: fixed;
  bottom: 10%;
  right: 5%;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255,255,255,0.015);
  z-index: -2;
  pointer-events: none;
  font-family: 'Playfair Display', serif;
  letter-spacing: 3px;
  transform: rotate(-20deg);
}

/* Glass beam lines behind logo */
.logo::before,
.logo::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  z-index: -1;
  border-radius: 8px;
}
.logo::before {
  width: 4px;
  height: 140px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}
.logo::after {
  width: 140px;
  height: 4px;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Floating animation for founder card */
.founder-card {
  animation: fadeSlideUp 1.2s ease-in-out forwards, floatCard 6s ease-in-out infinite;
}

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

/* Button shimmer line */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.4s ease;
  z-index: 2;
}

.btn-primary:hover::after {
  left: 100%;
  transition: left 0.75s ease-in-out;
}

/* Scroll cue glow */
.scroll-cue span {
  box-shadow: 0 0 12px rgba(203, 213, 225, 0.3);
}
.scroll-cue span::before {
  background: #f1f5f9;
  box-shadow: 0 0 8px rgba(241, 245, 249, 0.8);
}

/* Button sparkle dots (illusion) */
.btn-primary::before,
.btn-primary::after {
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  width: 5px;
  height: 5px;
  animation: sparkle 2s infinite ease-in-out alternate;
}
.btn-primary::after {
  top: 20%; left: 30%;
  position: absolute;
  animation-delay: 0.3s;
}
.btn-primary::before {
  top: 65%; left: 70%;
  position: absolute;
  animation-delay: 1s;
}
@keyframes sparkle {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0.1; }
}
/* === Text pulse glow === */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out forwards;
}

@keyframes pulseGlow {
  0% { text-shadow: 0 0 0px rgba(255, 255, 255, 0.3); }
  50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
  100% { text-shadow: 0 0 0px rgba(255, 255, 255, 0.2); }
}
