/* ==========================================================================
   iSolution India — 3D Perspective Hero Showcase (landing.html)
   Exact Layout & Typography matching Reference Image Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header Styling (BETA Badge & Action Pills)
   -------------------------------------------------------------------------- */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

html.dark .landing-header {
  background: rgba(10, 15, 24, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.landing-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Beta access capsule badge from reference top-left */
.landing-beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #111622;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: #f1f5f9;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.landing-beta-pill .beta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Yellow Login button from reference top-right */
.landing-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #fde047;
  color: #171d26;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(253, 224, 71, 0.28);
}

.landing-login-btn:hover {
  background: #facc15;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(253, 224, 71, 0.42);
}

/* Orange/Coral Signup button from reference top-right */
.landing-signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: #ea583f;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(234, 88, 63, 0.32);
}

.landing-signup-btn:hover {
  background: #d8482f;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 63, 0.45);
}

/* --------------------------------------------------------------------------
   2. Hero Section Stage (Top, Middle 3D, Bottom Split)
   -------------------------------------------------------------------------- */
.landing-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* Crisp light studio gradient from reference image */
  background: radial-gradient(ellipse at 50% 50%, #f6f7f9 0%, #ebecee 52%, #e0e3e7 100%);
  padding: clamp(86px, 11vh, 120px) var(--space-lg) clamp(22px, 3.8vh, 44px);
  box-sizing: border-box;
}

html.dark .landing-hero-section {
  /* Studio dark mode counterpart */
  background: radial-gradient(ellipse at 50% 50%, #151d2a 0%, #0d131e 52%, #060910 100%);
}

/* --------------------------------------------------------------------------
   3. Top Zone: Centered Headline ABOVE 3D Cards
   -------------------------------------------------------------------------- */
.landing-hero-top {
  position: relative;
  z-index: 40;
  text-align: center;
  pointer-events: auto;
  margin-top: clamp(8px, 1.8vh, 26px);
  max-width: 960px;
  width: 100%;
}

.landing-hero-title {
  /* Elegant editorial serif matching reference image */
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.024em;
  color: #171d26;
  margin: 0;
  text-align: center;
}

html.dark .landing-hero-title {
  color: #f8fafc;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.85);
}

/* --------------------------------------------------------------------------
   4. Middle Zone: 3D Perspective Stage & Amphitheater Track
   -------------------------------------------------------------------------- */
.vortex-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}

.vortex-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

/* 3D Cards */
.vortex-card {
  position: absolute;
  top: -188px;
  left: -125px;
  width: 250px;
  height: 376px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  transform-style: preserve-3d;
  box-shadow: 0 18px 45px -8px rgba(15, 23, 42, 0.24), 0 2px 10px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #ffffff;
  will-change: transform, opacity;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
  user-select: none;
  -webkit-user-select: none;
}

.vortex-card:hover {
  box-shadow: 0 28px 65px -8px rgba(15, 23, 42, 0.35), 0 4px 18px rgba(2, 132, 162, 0.22);
  border-color: #0284a2;
}

html.dark .vortex-card {
  background: #141b26;
  border-color: rgba(226, 232, 240, 0.16);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.8), 0 0 22px rgba(5, 195, 221, 0.16);
}

html.dark .vortex-card:hover {
  border-color: var(--primary);
  box-shadow: 0 32px 75px -8px rgba(0, 0, 0, 0.9), 0 0 32px rgba(5, 195, 221, 0.4);
}

.vortex-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vortex-card:hover .vortex-card-img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   5. Bottom Zone: Description & Agent Capsule BELOW 3D Cards
   -------------------------------------------------------------------------- */
.landing-hero-bottom {
  position: relative;
  z-index: 40;
  text-align: center;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 680px;
  width: 100%;
  margin-bottom: clamp(6px, 1.5vh, 20px);
}

.landing-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  line-height: 1.58;
  color: #475569;
  max-width: 580px;
  margin: 0;
  text-align: center;
  font-weight: 500;
}

html.dark .landing-hero-desc {
  color: #94a3b8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.landing-hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Reference Image Sleek Dark Capsule Button */
.landing-agent-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 22px;
  border-radius: var(--radius-full);
  background: #111622;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  max-width: 480px;
  width: 100%;
  box-sizing: border-box;
}

.landing-agent-capsule:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -6px rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.28);
}

.capsule-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capsule-icon {
  font-size: 20px;
  color: #fbbf24;
  flex-shrink: 0;
}

.capsule-text {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capsule-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #232c3d;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.landing-agent-capsule:hover .capsule-button {
  background: #ea583f;
  color: #ffffff;
  transform: translateX(2px);
}

/* Speed / Interaction Hint */
.vortex-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #64748b;
  user-select: none;
}

html.dark .vortex-hint {
  color: #64748b;
}

.vortex-hint-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-glow 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   6. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .landing-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
  }
  .vortex-card {
    width: 220px;
    height: 330px;
    top: -165px;
    left: -110px;
  }
  .landing-agent-capsule {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .landing-beta-pill {
    display: none;
  }
  .landing-login-btn {
    display: none;
  }
  .landing-hero-section {
    min-height: 680px;
    padding-top: 80px;
    padding-bottom: 20px;
  }
  .vortex-card {
    width: 180px;
    height: 270px;
    top: -135px;
    left: -90px;
    border-radius: 14px;
  }
  .landing-hero-title {
    font-size: 2.4rem;
  }
  .landing-hero-desc {
    font-size: 0.88rem;
    padding: 0 var(--space-sm);
  }
  .landing-agent-capsule {
    max-width: 340px;
    padding: 6px 8px 6px 14px;
  }
  .capsule-text {
    font-size: 0.78rem;
  }
}
