/* ============================================================
   ESLROK Hero Section — hero.css
   Joomla Custom HTML Module
   ============================================================ */

/* Container for floating emojis */
.eslrok-floating-emojis2 {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Base emoji styling */
.eslrok-emoji2 {
    position: absolute;
    animation: eslrok-float 6.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    line-height: 1;
}

/* Individual emoji positions and delays */
.eslrok-emoji2-1 { 
    font-size: 44px; 
    top: 20%; 
    left: 5%; 
    animation-delay: 0s; 
    opacity: 0.6; 
}

.eslrok-emoji2-2 { 
    font-size: 28px; 
    top: 25%; 
    left: 12%; 
    animation-delay: 2s; 
    opacity: 0.5; 
}

.eslrok-emoji2-3 { 
    font-size: 24px; 
    top: 30%; 
    right: 15%; 
    animation-delay: 0.5s; 
    opacity: 0.5; 
}

.eslrok-emoji2-4 { 
    font-size: 22px; 
    bottom: 25%; 
    left: 8%; 
    animation-delay: 1.5s; 
    opacity: 0.6; 
}

.eslrok-emoji2-5 { 
    font-size: 24px; 
    bottom: 15%; 
    right: 10%; 
    animation-delay: 2.5s; 
    opacity: 0.5; 
}

.eslrok-emoji2-6 { 
    font-size: 28px; 
    top: 50%; 
    left: 3%; 
    animation-delay: 0.8s; 
    opacity: 0.5; 
}

.eslrok-emoji2-7 { 
    font-size: 24px; 
    bottom: 30%; 
    right: 5%; 
    animation-delay: 1.2s; 
    opacity: 0.5; 
}

/* Floating animation */
@keyframes eslrok-float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(18px) rotate(4deg);
    }
}

/* Responsive: smaller on mobile */
@media (max-width: 768px) {
    .eslrok-emoji2 {
        font-size: 32px !important;
    }
}

section#sp-main-body {
    display: none !important;
}
.askperks {
    font-size: 50px;
}

/* ── Reset & base ── */
.eslrok-hero *,
.eslrok-hero *::before,
.eslrok-hero *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Section container ── */
.eslrok-hero {
    position: relative;
    width: 100%;
    max-height: 100vh;       /* Cap at viewport height */
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

/* ── Background image ── */
.eslrok-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* ── Content area (left ~60%) ── */
.eslrok-hero__content {
  position: relative;
  margin-top: 60px;
  padding: 0px 0px 0px 31px;
  z-index: 2;
  width: 60%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: clamp(10px, 1.5vw, 20px);
}

/* ── Logo ── */
.eslrok-hero__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.eslrok-hero__logo-icon {
  width: clamp(32px, 3.5vw, 48px);
  height: clamp(32px, 3.5vw, 48px);
  flex-shrink: 0;
}

.eslrok-hero__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.eslrok-hero__logo-name {
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  color: #2D1B69;
  letter-spacing: 0.02em;
}

.eslrok-hero__logo-tagline {
  font-size: clamp(10px, 0.9vw, 13px);
  color: #6B3FA0;
  font-weight: 400;
}

/* ── Headline ── */
.eslrok-hero__headline {
  font-size: clamp(28px, 5.5vw, 82px);
  font-weight: 800;
  line-height: 1.08;
  color: #1A0A4A;
  letter-spacing: -0.02em;
font-family: 'Space Grotesk';
}

.eslrok-hero__dot {
  color: #7C3AED;
}

/* ── Underline accent ── */
.eslrok-hero__underline {
  width: clamp(160px, 28vw, 420px);
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #C084FC);
  border-radius: 2px;
  margin-top: -4px;
}
.swoosh-svg {
    width: 40%;
    height: 10px;
    margin: -20px 0px 10px 25px;
    display: block;
}

/* ── Subtitle ── */
.eslrok-hero__subtitle {
  font-size: clamp(13px, 1.5vw, 22px);
  color: #3D2080;
  font-weight: 400;
  margin-top: 2px;
  text-align: center;
  font-family: space grotesk;
}

/* ── Feature cards row ── */
.eslrok-hero__cards {
  display: flex;
  gap: clamp(8px, 1.2vw, 18px);
  flex-wrap: wrap;
  margin-top: 4px;
  justify-content: center;
}

.eslrok-hero__card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
border: 3px solid rgb(230 177 255 / 42%);
  border-radius: 14px;
  padding: clamp(12px, 1.5vw, 22px) clamp(14px, 1.8vw, 26px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: clamp(100px, 12vw, 180px);
  flex: 1;
  max-width: 200px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 5px 2px 12px 2px #00000017;
}

.eslrok-hero__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(108, 60, 160, 0.15);
}

.eslrok-hero__card-icon {
  position: relative;
  width: clamp(36px, 4vw, 56px);
  height: clamp(36px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eslrok-hero__card-icon svg {
  width: 100%;
  height: 100%;
  border-radius: 50px;
      background: #cda6ff;
}

.eslrok-hero__card-sparkle {
  position: absolute;
  top: -4px;
  right: -8px;
  font-size: clamp(8px, 0.9vw, 13px);
  color: #A855F7;
  line-height: 1;
}

.eslrok-hero__card-label {
  font-size: clamp(11px, 1.1vw, 16px);
  font-weight: 600;
  color: #2D1B69;
  line-height: 1.3;
}

.eslrok-hero__card-bar {
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, #7C3AED, #C084FC);
  border-radius: 2px;
}

/* ── CTA Button ── */
.eslrok-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #6B3FA0 0%, #8B5CF6 100%);
  color: white;
  font-size: clamp(15px, 1.8vw, 26px);
  font-weight: 700;
  padding: clamp(12px, 1.4vw, 20px) clamp(24px, 3vw, 48px);
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(108, 60, 160, 0.35);
  margin-top: 4px;
}

.eslrok-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108, 60, 160, 0.45);
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: white;
  text-decoration: none;
}

.eslrok-hero__cta-mic {
  width: clamp(20px, 2vw, 30px);
  height: clamp(20px, 2vw, 30px);
  flex-shrink: 0;
}

.eslrok-hero__cta-caption {
  font-size: clamp(10px, 1vw, 14px);
  color: #4C2A8A;
  margin-top: -4px;
  text-align: center;
}

/* ── Widget area (right side, fixed 400px wide) ── */
.eslrok-hero__widget-area {
  position: fixed;
  right: clamp(16px, 3vw, 60px);
  margin-top: 50px;
  width: 400px;
  z-index: 10;
}

/* ── Widget placeholder / mock ── */
.eslrok-hero__widget-placeholder {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.eslrok-hero__widget-mock {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.eslrok-hero__widget-mock-header {
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eslrok-hero__widget-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.eslrok-hero__widget-mock-online {
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

.eslrok-hero__widget-mock-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 12px;
}

.eslrok-hero__widget-mock-orb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8b4fe, #7C3AED 60%, #4c1d95);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.eslrok-hero__widget-mock-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.eslrok-hero__widget-mock-desc {
  font-size: 13px;
  color: #666;
  text-align: center;
  line-height: 1.5;
  max-width: 260px;
}

/* ── Gated overlay ── */
.eslrok-hero__gate {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 28px;
  z-index: 20;
  border: 5px solid #80008047;
}

.eslrok-hero__gate--hidden {
  display: none;
}

.eslrok-hero__gate-lock {
  width: 72px;
  height: 72px;
  background: #6B3FA0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eslrok-hero__gate-lock svg {
  width: 42px;
  height: 42px;
}

.eslrok-hero__gate-title {
  font-size: 22px;
  font-weight: 800;
  color: #1A0A4A;
  text-align: center;
}

/* ── Solid text box inside gate ── */
.eslrok-hero__gate-box {
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.eslrok-hero__gate-text {
    font-size: 20px;
    color: #3D2080;
    text-align: center;
    line-height: 1.6;
    font-family: space grotesk;
}

.eslrok-hero__gate-divider {
  width: 60%;
  border: none;
  border-top: 1px solid #E9D5FF;
  margin: 0;
}

.eslrok-hero__gate-btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.eslrok-hero__gate-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.eslrok-hero__gate-btn--primary {
  background: linear-gradient(135deg, #6B3FA0, #8B5CF6);
  color: white;
  box-shadow: 0 4px 14px rgba(108, 60, 160, 0.3);
}

.eslrok-hero__gate-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(108, 60, 160, 0.45);
  color: white;
}

.eslrok-hero__gate-btn--outline {
  background: #F5F0FF;
  color: #6B3FA0;
    border: 5px solid #8657e7bf;
}

.eslrok-hero__gate-btn--outline:hover {
  background: #EDE9FE;
  color: #6B3FA0;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .eslrok-hero {
    height: auto;
    min-height: 600px;
  }

  .eslrok-hero__content {
    width: 100%;
    padding-bottom: 340px; /* room for widget below */
  }

  .eslrok-hero__widget-area {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 32px;
  }
}

/* ============================================================
   MOBILE OVERRIDES — Single Column Layout
   ============================================================ */
@media (max-width: 748px) {
  .eslrok-hero {
    flex-direction: column;
    height: auto;
    overflow: visible;
    max-height: none;
  }
  .askperks {
    font-size: 50px;
    margin-bottom: 32px !important;
}
  
  .eslrok-hero__gate {
    margin-bottom: 30px;
}
.eslrok-hero__gate-lock {
    width: 52px;
    height: 52px;
    margin-top: -31px;
}
  .swoosh-svg {
    width: 40%;
    height: 10px;
    margin: -9px 0px 10px 93px;
    display: block;
}
.eslrok-hero__gate-box {
    margin: -8px 1px 1px 1px;
}
.eslrok-hero__gate-text {
    font-size: 16px;
}
  .eslrok-hero__content {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 40px 20px 0 20px;
    padding-bottom: 20px;
  }

  .eslrok-hero__headline {
    font-size: clamp(26px, 8vw, 42px);
    text-align: center;
  }

  .eslrok-hero__subtitle {
    text-align: center;
    margin-bottom:10px;
  }

  .eslrok-hero__cards {
    gap: 8px;
    justify-content: center;
  }

  .eslrok-hero__card {
    min-width: 110px;
    padding: 12px 10px;
  }

  .eslrok-hero__cta {
    align-self: center;
    justify-content: center;
  }

  .eslrok-hero__widget-area {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px 40px 20px;
    margin-top: 0;
  }

  .eslrok-hero__widget-mock {
    min-height: auto;
  }
}
