/* =========================
   BASE
========================= */
body {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ripple {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(255,255,255,0.15); }
  50% { box-shadow: 0 0 40px rgba(255,255,255,0.35); }
}

/* =========================
   HERO LAYOUT
========================= */
.ultra-hero {
  display: flex;
  flex-wrap: wrap; /* IMPORTANT */
  height: auto;
  /* margin-bottom: 60px; */
}

.hero-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: all 0.6s ease;
  cursor: pointer;
   min-height: auto;
  /* padding: 60px 20px; */
}

/* EXPAND EFFECT */
.ultra-hero:hover .hero-panel {
  flex: 1.0;
  /* margin-bottom: 60px; */
}

.hero-panel:hover {
  flex: 1.3 !important;
}

.hero-panel:last-child {
  padding-bottom: 120px; /* space for footer / CTA */
}

/* INACTIVE PANEL EFFECT */
.ultra-hero:hover .hero-panel:not(:hover) {
  filter: blur(4px) brightness(0.6);
  transform: scale(0.98);
}

/* =========================
   BACKGROUND
========================= */
.bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s ease;
}

.hero-panel:hover .bg-img {
  transform: scale(1.15);
}

/* =========================
   OVERLAY
========================= */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.left-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.6), transparent);
}

.right-overlay {
  background: linear-gradient(45deg, rgba(0,0,0,0.7), transparent);
}

/* =========================
   CONTENT
========================= */
.content {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  transition: all 0.4s ease;
}



/* =========================
   TYPOGRAPHY
========================= */
.title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.desc {
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  opacity: 0.85;
  margin-top: 20px;
}

/* =========================
   BUTTONS
========================= */
.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

/* RESET BOTH */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;
    border-radius: 10px;

    font-weight: 600;
    font-size: 14px;
    line-height: 1;

    text-decoration: none;
    border: none;

    cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: #111;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  border: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.btn-secondary {
  background: #4f46e5;
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  border: none;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 10px 22px;
  border-radius: 30px;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* =========================
   LOGO
========================= */
.logo-box img {
  height: 150px;
}

.glass-premium {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  animation: glowPulse 4s ease-in-out infinite;
}

/* GLASS WRAPPER */
.logo-glass-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OUTER RING */
.logo-glass-ring.outer {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    inset 0 0 25px rgba(255,255,255,0.08),
    0 0 30px rgba(255,255,255,0.08);
}

/* INNER RING */
.logo-glass-ring.inner {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  backdrop-filter: blur(25px);
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.15),
    0 0 20px rgba(255,255,255,0.1);
}

/* CORE (LOGO HOLDER) */
.logo-core {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;

  /* box-shadow:
    inset 0 0 15px rgba(255,255,255,0.25),
    0 8px 25px rgba(0,0,0,0.3); */
}

/* IMAGE */
.logo-core img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  /* filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); */
}

/* SOFT FLOAT */
.logo-glass-wrap {
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* HOVER GLOW (ULTRA PREMIUM FEEL) */
.hero-panel:hover .logo-glass-ring.outer {
  box-shadow:
    inset 0 0 30px rgba(255,255,255,0.15),
    0 0 50px rgba(255,255,255,0.2);
}

.hero-panel:hover .logo-glass-ring.inner {
  box-shadow:
    inset 0 0 25px rgba(255,255,255,0.25),
    0 0 35px rgba(255,255,255,0.15);
}



/* =========================
   MINI LOGO (SHRINK STATE)
========================= */
.mini-logo {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
}

.ultra-hero:hover .hero-panel:not(:hover) .mini-logo {
  opacity: 1;
}

.ultra-hero:hover .hero-panel:not(:hover) .content {
  opacity: 0;
  transform: scale(0.85);
}

.mini-logo img {
  height: 80px;
  z-index: 2;
}

/* RIPPLE */
.ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
}

.r1 { width:120px;height:120px; animation:ripple 2s infinite;}
.r2 { width:160px;height:160px; animation:ripple 2.5s infinite;}
.r3 { width:200px;height:200px; animation:ripple 3s infinite;}

/* =========================
   CURSOR GLOW
========================= */
.cursor-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* =========================
   INTRO LOADER
========================= */
#intro-loader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 9999;
  overflow: hidden;
}

.curtain {
  position: absolute;
  width: 50%;
  height: 100%;
  background: #000;
}

.curtain.left { left: 0; }
.curtain.right { right: 0; }

.intro-inner {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}

.intro-logo img {
  width: 90px;
  opacity: 0;
  transform: scale(0.8);
}

.logo-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  border-radius: 50%;
  opacity: 0;
}

.intro-text {
  margin-top: 20px;
  font-size: 28px;
  letter-spacing: 4px;
}

.intro-text span {
  opacity: 0;
  transform: translateY(20px);
}

.light-sweep {
  position: absolute;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
}
/* =========================
   CENTER LOGO FOR TAB + MOBILE
========================= */
@media (max-width: 1023px) {

  /* CONTENT FLOW FIX */
  .content {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* LOGO CENTERED AFTER HEADING */
  .logo-glass-wrap {
    position: static !important;

    margin: 12px auto 14px;
    order: 2;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 70px;
    height: 70px;
  }

  /* ORDERING ELEMENTS */
  .title {
    order: 0;
  }

  .subtitle {
    order: 1;
  }

  .desc {
    order: 3;
  }

  .btn-group {
    order: 4;
  }

  /* CENTER ALIGN FOR BETTER LOOK */
  .content {
    text-align: center;
    align-items: center;
  }

  .desc {
    max-width: 95%;
  }
  .parallax-content {
  transition: none;
}
}
/* =========================
   MOBILE TEXT CENTER + BIGGER LOGO
========================= */
@media (max-width: 480px) {

  /* CENTER EVERYTHING */
  .content {
    text-align: center !important;
    align-items: center !important;
  }

  .title,
  .subtitle,
  .desc {
    text-align: center;
  }

  .desc {
    max-width: 100%;
  }

  /* BIGGER LOGO */
  .logo-glass-wrap {
    width: 100px;
    height: 100px;
    margin: 14px auto 16px;
  }

  .logo-core {
    width: 65px;
    height: 65px;
  }

  /* OPTIONAL: Slight spacing improvement */
  .title {
    margin-bottom: 6px;
  }

  .subtitle {
    margin-bottom: 12px;
  }

  .btn-group {
    margin-top: 14px;
  }
}
/* =========================
   CLEAN IMAGE-FIRST HERO (MOBILE + TABLET)
========================= */
@media (max-width: 1023px) {

  /* STACK WITH BREATHING SPACE */
  .ultra-hero {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 20px 16px 40px;
  }

  /* PANEL = FULL IMAGE BLOCK */
  .hero-panel {
    position: relative;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
  }

  /* IMAGE */
  .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s ease;
  }

  /* SOFT OVERLAY (LIGHT, NOT HEAVY) */
  .overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.25),
      transparent
    ) !important;
  }

  /* CONTENT — NO BOX, JUST SPACING */
  .content {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 22px 18px 26px;
    margin: 0;

    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-radius: 0;

    text-align: left;
  }

  /* TYPOGRAPHY (SPACED + CLEAN) */
  .title {
    font-size: clamp(20px, 5vw, 26px);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .subtitle {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }

  .desc {
    font-size: 13px;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 14px;
    max-width: 90%;
  }

  /* LOGO — CLEAN FLOAT */
  .logo-glass-wrap {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 58px;
    height: 58px;

    opacity: 0.9;
  }

  .logo-core {
    width: 60px;
    height: 60px;
  }

  /* BUTTONS — LIGHTWEIGHT */
  .btn-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

  .btn-group a {
    flex: 1;
    padding: 10px;
    font-size: 13px;
    border-radius: 10px;
    text-align: center;
  }

  /* BUTTON STYLES (NO HEAVY SHADOW) */
  .btn-primary {
    background: rgba(255,255,255,0.9);
    color: #000;
  }

  .btn-secondary {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
  }

  /* REMOVE HEAVY ELEMENTS */
  .mini-logo,
  .cursor-glow,
  .logo-glass-ring {
    display: none !important;
  }
}


/* =========================
   SMALL MOBILE POLISH
========================= */
@media (max-width: 480px) {

  .hero-panel {
    min-height: 360px;
  }

  .title {
    font-size: 19px;
  }

  .desc {
    font-size: 12px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group a {
    width: 100%;
  }
}


/* =========================
   SUBTLE MOTION (PREMIUM FEEL)
========================= */
@media (max-width: 1023px) {

  .hero-panel {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
  }

  .hero-panel:nth-child(2) {
    animation-delay: 0.2s;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* =========================
   DESKTOP (≥1024px)
========================= */
@media (min-width: 1024px) {

  .ultra-hero {
    display: flex;
    height: 100vh;
  }

  .hero-panel {
    flex: 1;
    height: auto;
    padding: 0;
    cursor: pointer;
  }

  /* RESTORE DESKTOP INTERACTIONS */
  .ultra-hero:hover .hero-panel {
    flex: 0.7;
  }

  .hero-panel:hover {
    flex: 1.3 !important;
  }

  .ultra-hero:hover .hero-panel:not(:hover) {
    filter: blur(4px) brightness(0.6);
    transform: scale(0.98);
  }

  .mini-logo {
    display: flex;
  }

  .parallax-content {
  transition: transform 0.2s ease-out;
}

  .cursor-glow {
    display: block;
  }
}/* =========================
   RESPONSIVE SYSTEM (MOBILE FIRST)
========================= */

/* =========================
   MOBILE IMPROVEMENTS (≤768px)
========================= */
@media (max-width: 768px) {

  .hero-panel {
    padding: 70px 20px;
    height: fit-content ;
  }

  /* GLASS CARD UPGRADE */
  .content {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    padding: 28px 22px;
    border-radius: 20px;
    max-width: 460px;
    
  }
  .hero-panel .overlay {
    background: linear-gradient(
      to bottom,
      rgba(2,6,23,0.65),
      rgba(2,6,23,0.45),
      rgba(2,6,23,0.75)
    ) !important;
  }

  /* TITLE IMPROVED */
  .title {
    font-size: clamp(22px, 5vw, 26px);
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  .subtitle {
    font-size: 13px;
    opacity: 0.85;
  }

  .desc {
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.9;
    margin-top: 10px;
  }

  /* LOGO PREMIUM LOOK */
  .logo-glass-wrap {
    width: 90px;
    height: 90px;
    margin: 18px auto;
  }

  .logo-glass-ring.outer {
    width: 120px;
    height: 120px;
    background: rgb(255, 255, 255);
  }

  .logo-glass-ring.inner {
    width: 100px;
    height: 100px;
    background: rgb(255, 255, 255);
  }

  .logo-core {
    width: 60px;
    height: 60px;
  }

  /* BUTTONS – MODERN STACK */
  .btn-group {
    margin-top: 18px;
    gap: 12px;
  }

  .btn-group a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 12px;
  }

  /* PRIMARY BUTTON POP */
  .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 10px 25px rgba(99,102,241,0.4);
  }

  /* SECONDARY BUTTON */
  .btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
  }

  /* OVERLAY BALANCE */
  .overlay {
    background: linear-gradient(
      to bottom,
      rgba(2,6,23,0.7),
      rgba(2,6,23,0.4),
      rgba(2,6,23,0.85)
    );
  }
}


/* =========================
   SMALL MOBILE (≤480px)
========================= */
@media (max-width: 480px) {

  .hero-panel {
    padding: 60px 16px;
  }

  .content {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 12px;
  }

  .desc {
    font-size: 12px;
  }

  .logo-glass-wrap {
    width: 75px;
    height: 75px;
  }

  .logo-core {
    width: 90px;
    height: 90px;
  }
}


/* =========================
   TABLET ENHANCEMENT (768–1023px)
========================= */
@media (min-width: 768px) and (max-width: 1023px) {

  .ultra-hero {
    display: block; /* stacked but premium */
  }

  .hero-panel {
    min-height: 60vh;
  }

  .content {
    max-width: 520px;
    margin: auto;
  }

  .title {
    font-size: 30px;
  }

  .desc {
    font-size: 15px;
  }

  .btn-group {
    flex-direction: row;
    justify-content: center;
  }

  .btn-group a {
    width: auto;
    padding: 12px 20px;
  }
}
/* =========================
   DESKTOP (≥1024px)
========================= */
@media (min-width: 1024px) {

  .ultra-hero {
    display: flex;
    height: 100vh;
  }

  .hero-panel {
    flex: 1;
    height: 100%;
    padding: 0;
    cursor: pointer;
  }

  /* RESTORE DESKTOP INTERACTIONS */
  .ultra-hero:hover .hero-panel {
    flex: 0.7;
  }

  .hero-panel:hover {
    flex: 1.3 !important;
  }

  .ultra-hero:hover .hero-panel:not(:hover) {
    filter: blur(4px) brightness(0.6);
    transform: scale(0.98);
  }

  .mini-logo {
    display: flex;
  }

  .cursor-glow {
    display: block;
  }
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== MAIN CONTAINER ===== */
#intro-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ===== BACKGROUND ===== */
.intro-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, #1e293b, #020617 70%);
  animation: gradientMove 12s ease infinite alternate;
  z-index: 1;
}

@keyframes gradientMove {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* ===== NOISE ===== */
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  z-index: 2;
}

/* ===== PARTICLES ===== */
.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.08;
  animation: moveParticles 30s linear infinite;
}

.particles::after {
  animation-direction: reverse;
}

@keyframes moveParticles {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

/* ===== CONTENT ===== */
.intro-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 16px;
}

/* ===== TITLE ===== */
.intro-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 700;
  letter-spacing: clamp(2px, 1vw, 10px);
  color: #fff;
}

/* LETTERS */
.intro-text span {
  display: inline-block;
  font-size: clamp(24px, 5vw, 64px);
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
  animation: revealText 1s ease forwards;
}

/* GAP */
.intro-text .gap {
  width: clamp(10px, 2vw, 20px);
}

/* STAGGER ANIMATION */
.intro-text span:nth-child(n) {
  animation-delay: calc(0.05s * var(--i));
}

/* MANUAL INDEX */
.intro-text span:nth-child(1) { --i: 1; }
.intro-text span:nth-child(2) { --i: 2; }
.intro-text span:nth-child(3) { --i: 3; }
.intro-text span:nth-child(4) { --i: 4; }
.intro-text span:nth-child(5) { --i: 5; }
.intro-text span:nth-child(6) { --i: 6; }
.intro-text span:nth-child(7) { --i: 7; }
.intro-text span:nth-child(8) { --i: 8; }
.intro-text span:nth-child(10) { --i: 10; }
.intro-text span:nth-child(11) { --i: 11; }
.intro-text span:nth-child(12) { --i: 12; }
.intro-text span:nth-child(13) { --i: 13; }
.intro-text span:nth-child(14) { --i: 14; }
.intro-text span:nth-child(15) { --i: 15; }
.intro-text span:nth-child(16) { --i: 16; }

/* TEXT ANIMATION */
@keyframes revealText {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* ===== SUBTEXT ===== */
.intro-sub {
  margin-top: 16px;
  font-size: clamp(12px, 2.5vw, 18px);
  letter-spacing: clamp(1px, 0.5vw, 3px);
  color: rgba(255,255,255,0.7);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

/* ===== LIGHT SWEEP ===== */
.light-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  animation: sweep 3s infinite;
  z-index: 3;
}

.light-sweep.second {
  animation-delay: 1.5s;
}

/* SWEEP ANIMATION */
@keyframes sweep {
  0% { left: -100%; }
  100% { left: 120%; }
}

/* ===== EXIT ===== */
.loader-hide {
  animation: exitLoader 1s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

@keyframes exitLoader {
  to {
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
  }
}

/* ===== FADE ===== */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 480px) {
  .intro-text {
    letter-spacing: 1px;
  }

  .intro-sub {
    letter-spacing: 1px;
  }
}

@media (min-width: 1400px) {
  .intro-text span {
    font-size: 72px;
  }
}