/* ══════════════════════════════════════════
   HERO PREVIEW SWITCHER STYLES
══════════════════════════════════════════ */

.hero-preview{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(6rem,12vw,10rem) clamp(1rem,5vw,2rem) 0;
  background:var(--bg0);
  overflow:hidden;
  margin-bottom:0;
}

.hero-preview-container{
  max-width:1280px;
  margin:0 auto;
  width:100%;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:clamp(0.75rem,2vw,3rem);
  position:relative;
  z-index:2;
}

/* Stack on mobile for better readability */
@media(max-width:767px){
  .hero-preview-container{
    flex-direction:column;
    gap:2.5rem;
  }
}

/* ═══ LEFT SIDE: TABS + PREVIEW ═══ */
.hero-preview-left{
  display:flex;
  flex-direction:row;
  gap:clamp(0.5rem,1.5vw,1.5rem);
  width:clamp(280px,35vw,480px);
  flex-shrink:0;
  margin-top:2.75rem; /* Align with title when badge is present */
}

/* Better mobile layout */
@media(max-width:767px){
  .hero-preview-left{
    flex-direction:column;
    gap:1.5rem;
    width:100%;
    margin-top:0;
  }
}

/* Tab Rail */
.hero-tab-rail{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  overflow:visible;
  flex-shrink:0;
  min-width:fit-content;
}

/* Make tabs horizontal marquee on mobile - all 4 visible */
@media(max-width:767px){
  .hero-tab-rail{
    flex-direction:row;
    overflow-x:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
    gap:.5rem;
    padding-bottom:.25rem;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-auto-flow:column;
    width:100%;
  }
  
  .hero-tab-rail::-webkit-scrollbar{
    display:none;
  }
}

.hero-tab{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.75rem 1rem;
  border-radius:12px;
  border:1px solid transparent;
  background:transparent;
  color:var(--mist);
  font-size:var(--t-sm);
  font-weight:500;
  white-space:nowrap;
  transition:all .3s cubic-bezier(.16,1,.3,1);
  cursor:pointer;
  position:relative;
  min-width:fit-content;
}

/* Compact tabs on mobile - show all 4 */
@media(max-width:767px){
  .hero-tab{
    flex-direction:column;
    padding:.625rem .5rem;
    gap:.375rem;
    font-size:.7rem;
    border-radius:10px;
    text-align:center;
    min-width:0;
    width:100%;
  }
}

.hero-tab:hover{
  background:rgba(13,255,176,.03);
  color:var(--dim);
}

.hero-tab.active{
  background:rgba(13,255,176,.08);
  border-color:rgba(13,255,176,.2);
  color:var(--g);
  font-weight:600;
  box-shadow:0 4px 12px rgba(13,255,176,.08);
}

.hero-tab-icon{
  font-size:1.25rem;
  line-height:1;
  filter:grayscale(1);
  opacity:.6;
  transition:all .3s ease;
}

.hero-tab.active .hero-tab-icon{
  filter:grayscale(0);
  opacity:1;
}

.hero-tab-label{
  font-size:var(--t-sm);
}

/* Adjust icon and label size on mobile */
@media(max-width:767px){
  .hero-tab-icon{
    font-size:1.5rem;
  }
  
  .hero-tab-label{
    font-size:.7rem;
    line-height:1.2;
  }
}

/* Preview Stack */
.hero-preview-stack{
  position:relative;
  width:100%;
  min-height:clamp(280px,40vh,400px);
  flex:1;
}

/* Shorter on mobile */
@media(max-width:767px){
  .hero-preview-stack{
    min-height:280px;
    max-height:320px;
  }
}

.hero-panel{
  position:absolute !important;
  inset:0 !important;
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  z-index:0 !important;
  flex:none !important;
  width:100% !important;
  height:100% !important;
}

.hero-panel.active{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  z-index:1 !important;
  flex:none !important;
}

/* Phone Mock */
.hero-phone-mock{
  width:100%;
  max-width:100%;
  margin:0 auto;
  position:relative;
  /* Fade bottom for desktop */
  -webkit-mask-image:linear-gradient(to bottom, black 85%, transparent);
  mask-image:linear-gradient(to bottom, black 85%, transparent);
}

.hero-phone-bezel{
  background:rgba(255,255,255,.08);
  border-radius:clamp(1.5rem,3vw,2.5rem) clamp(1.5rem,3vw,2.5rem) 0 0;
  padding:clamp(0.3rem,0.8vw,0.5rem);
  box-shadow:0 8px 24px rgba(0,0,0,.3),
             0 0 0 1px rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}

.hero-phone-screen{
  background:rgba(6,8,16,.98);
  border-radius:clamp(1.25rem,2.5vw,2rem) clamp(1.25rem,2.5vw,2rem) 0 0;
  overflow:hidden;
  position:relative;
  min-height:clamp(280px,40vh,360px);
  border:1px solid rgba(255,255,255,.1);
}

/* Shorter phone screen on mobile */
@media(max-width:767px){
  .hero-phone-screen{
    min-height:240px;
    max-height:280px;
  }
}

.hero-phone-statusbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:clamp(0.3rem,1vw,0.5rem) clamp(0.75rem,2vw,1.5rem);
  font-size:clamp(0.65rem,1.2vw,0.75rem);
  color:rgba(255,255,255,.8);
  font-weight:600;
}

.hero-phone-icons{
  display:flex;
  align-items:center;
  gap:.25rem;
}

.hero-phone-icons svg{
  width:clamp(12px,2vw,16px);
  height:clamp(12px,2vw,16px);
  stroke:currentColor;
  opacity:.8;
}

.hero-phone-notch{
  margin:clamp(0.5rem,1vw,0.75rem) auto 0;
  width:clamp(2rem,4vw,2.5rem);
  height:clamp(0.3rem,0.6vw,0.375rem);
  background:rgba(255,255,255,.15);
  border-radius:100px;
}

.hero-phone-content{
  padding:clamp(2rem,5vw,3rem) clamp(1rem,2.5vw,1.5rem) clamp(1rem,2vw,1.5rem);
  text-align:center;
}

/* Compact content on mobile */
@media(max-width:767px){
  .hero-phone-content{
    padding:1.75rem 1.25rem 1rem;
  }
}

.hero-phone-title{
  font-size:clamp(1.1rem,2.5vw,1.5rem);
  font-weight:600;
  color:rgba(255,255,255,.95);
  margin-bottom:clamp(0.4rem,1vw,0.5rem);
  line-height:1.3;
}

/* Smaller title on mobile */
@media(max-width:767px){
  .hero-phone-title{
    font-size:1.15rem;
    margin-bottom:.4rem;
  }
}

.hero-phone-subtitle{
  font-size:clamp(0.7rem,1.5vw,0.875rem);
  color:var(--dim);
  line-height:1.5;
}

/* Smaller subtitle on mobile */
@media(max-width:767px){
  .hero-phone-subtitle{
    font-size:.8rem;
    line-height:1.45;
  }
}

/* ═══ RIGHT SIDE: CONTENT ═══ */
.hero-preview-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  width:100%;
  flex:1;
  min-width:0;
}

/* Better mobile presentation */
@media(max-width:767px){
  .hero-preview-content{
    align-items:center;
    text-align:center;
    order:-1; /* Show content first on mobile */
  }
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.25rem .75rem .25rem .375rem;
  border-radius:8px;
  background:rgba(13,255,176,.08);
  border:1px solid rgba(13,255,176,.2);
  margin-bottom:1rem;
}

@media(max-width:767px){
  .hero-badge{
    margin-bottom:1.5rem;
  }
}

.hero-badge-tag{
  display:inline-flex;
  align-items:center;
  height:1rem;
  padding:0 .375rem;
  border-radius:5px;
  background:var(--bg0);
  font-size:.625rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--g);
  box-shadow:0 1px 3px rgba(0,0,0,.2);
}

.hero-badge-text{
  font-size:var(--t-sm);
  color:var(--mist);
}

@media(max-width:767px){
  .hero-badge-text{
    font-size:.8rem;
  }
}

.hero-heading{
  font-size:clamp(1.5rem,4.5vw,var(--t-hero));
  font-weight:600;
  line-height:1.1;
  letter-spacing:-.02em;
  margin-bottom:clamp(0.75rem,1.5vw,1rem);
}

@media(max-width:767px){
  .hero-heading{
    font-size:clamp(2.25rem,9.5vw,3.5rem);
    line-height:1.15;
    margin-bottom:1.25rem;
  }
}

.hero-line{
  display:block;
  margin-bottom:0.15em;
}

@media(max-width:767px){
  .hero-line{
    margin-bottom:0.25em;
  }
}

.hero-gradient-text{
  background:linear-gradient(135deg, var(--g) 0%, var(--pu) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-description{
  font-size:clamp(0.8rem,1.8vw,var(--t-base));
  line-height:1.65;
  color:var(--mist);
  margin-bottom:0;
}

@media(max-width:767px){
  .hero-description{
    font-size:.95rem;
    line-height:1.7;
    margin-bottom:0;
  }
}

/* Ratings */
.hero-ratings{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:clamp(1rem,2vw,1.5rem);
  justify-content:flex-start;
}

/* Center on mobile */
@media(max-width:767px){
  .hero-ratings{
    justify-content:center;
    margin-top:2rem;
    gap:.75rem;
  }
}

.hero-rating{
  display:inline-flex;
  align-items:center;
  gap:.375rem;
  padding:.25rem .75rem;
  border-radius:100px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  backdrop-filter:blur(10px);
}

@media(max-width:767px){
  .hero-rating{
    padding:.375rem .875rem;
  }
}

.hero-rating-star{
  color:#fbbf24;
  font-size:.875rem;
  line-height:1;
}

.hero-rating-score{
  font-size:var(--t-sm);
  font-weight:600;
  color:var(--white);
}

.hero-rating-label{
  font-size:var(--t-sm);
  color:var(--mist);
}

/* CTA Buttons */
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:clamp(1rem,2vw,1.5rem);
  justify-content:flex-start;
}

/* Center on mobile */
@media(max-width:767px){
  .hero-cta{
    justify-content:center;
    margin-top:1.75rem;
    gap:1rem;
  }
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  height:clamp(2rem,5vw,2.5rem);
  padding:0 clamp(0.75rem,2vw,1rem);
  border-radius:12px;
  font-size:clamp(0.75rem,1.5vw,var(--t-sm));
  font-weight:500;
  white-space:nowrap;
  transition:all .3s cubic-bezier(.16,1,.3,1);
}

@media(max-width:767px){
  .hero-btn{
    height:2.75rem;
    padding:0 1.25rem;
    font-size:.9rem;
  }
}

.hero-btn-primary{
  background:var(--g);
  color:var(--bg0);
  box-shadow:0 4px 12px rgba(13,255,176,.25);
}

.hero-btn-primary:hover{
  background:var(--g-dim);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(13,255,176,.35);
}

.hero-btn-secondary{
  background:rgba(255,255,255,.05);
  color:var(--mist);
  border:1px solid var(--line);
}

.hero-btn-secondary:hover{
  background:var(--bg1);
  color:var(--white);
  border-color:rgba(255,255,255,.15);
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}

.hero-btn svg{
  width:1.25rem;
  height:1.25rem;
  flex-shrink:0;
}

/* Social Proof */
.hero-social-proof{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.75rem;
  margin-top:1.5rem;
}

@media(min-width:768px){
  .hero-social-proof{
    flex-direction:row;
    align-items:center;
  }
}

@media(max-width:767px){
  .hero-social-proof{
    margin-top:1.75rem;
  }
}

.hero-avatars{
  display:flex;
  align-items:center;
}

.hero-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  width:1.75rem;
  height:1.75rem;
  border-radius:50%;
  border:2px solid var(--bg0);
  background:var(--bg1);
  color:var(--mist);
  font-size:.625rem;
  font-weight:500;
  overflow:hidden;
}

@media(max-width:767px){
  .hero-avatar{
    width:2rem;
    height:2rem;
    font-size:.7rem;
  }
}

.hero-avatar:not(:first-child){
  margin-left:-.5rem;
}

.hero-social-text{
  font-size:var(--t-sm);
  color:var(--mist);
}

@media(min-width:768px){
  .hero-social-text{
    margin-left:.75rem;
  }
}

@media(max-width:767px){
  .hero-social-text{
    font-size:.875rem;
  }
}

/* ═══ LOGO STRIP ═══ */
.hero-logo-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-top:0;
  margin-bottom:0;
  position:relative;
  z-index:2;
}

.hero-logo-container{
  max-width:1280px;
  margin:0 auto;
  display:flex;
  align-items:center;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.hero-logo-container::-webkit-scrollbar{
  display:none;
}

@media(min-width:1024px){
  .hero-logo-container{
    overflow:visible;
  }
}

.hero-logo-item{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.375rem;
  padding:1.25rem 1.5rem;
  white-space:nowrap;
  flex-shrink:0;
  color:var(--mist);
  font-size:var(--t-base);
  font-weight:600;
  letter-spacing:-.01em;
}

@media(min-width:1024px){
  .hero-logo-item{
    flex:1;
    padding:1.75rem 0;
  }
}

.hero-logo-item svg{
  width:1.25rem;
  height:1.25rem;
  stroke:currentColor;
  flex-shrink:0;
}

.hero-logo-divider{
  width:1px;
  height:2.25rem;
  background:var(--line);
  flex-shrink:0;
}

/* ═══ RESPONSIVE ADJUSTMENTS ═══ */

/* Mobile: Better spacing and sizing */
@media(max-width:767px){
  .hero-preview{
    padding:5rem 1.25rem 0;
  }
  
  .hero-preview-stack{
    min-height:280px;
    max-height:320px;
  }
  
  .hero-phone-mock{
    max-width:100%;
    margin:0 auto;
  }
  
  .hero-logo-strip{
    margin-top:0;
    margin-bottom:0;
  }
  
  .hero-logo-item{
    padding:1.25rem 1.5rem;
    font-size:.875rem;
  }
}

/* Tablet: Maintain horizontal layout */
@media(min-width:768px) and (max-width:1023px){
  .hero-preview-left{
    width:clamp(320px,35vw,380px);
  }
}

/* Desktop fine-tuning */
@media(min-width:1024px){
  .hero-preview-left{
    width:clamp(400px,35vw,480px);
  }
  
  .hero-description{
    font-size:var(--t-lg);
  }
}

/* ═══ SCROLL INDICATOR ═══ */
.hero-scroll-indicator{
  position:absolute;
  bottom:2rem;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  opacity:1;
  transition:opacity .3s ease;
  pointer-events:none;
}

@media(max-width:767px){
  .hero-scroll-indicator{
    display:none; /* Hide on mobile/tablet */
  }
}

.hero-scroll-indicator-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
  padding:.75rem 1.25rem;
  border-radius:100px;
  background:rgba(13,255,176,.08);
  border:1px solid rgba(13,255,176,.2);
  backdrop-filter:blur(10px);
}

.hero-scroll-indicator svg{
  width:1.25rem;
  height:1.25rem;
  stroke:var(--g);
  animation:bounce-indicator 2s ease-in-out infinite;
}

.hero-scroll-indicator span{
  font-size:var(--t-xs);
  font-weight:500;
  color:var(--g);
  text-transform:uppercase;
  letter-spacing:.05em;
}

@keyframes bounce-indicator{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(6px)}
}

