/**
 * Tenbit Addon - Home Banner Widget Styles
 * Author: Team Tenbit Solution
 * Website: tenbitsol.com
 */

:root {
  --tenbit-brand-red: #c91818;
  --tenbit-brand-red-hover: #a81212;
  --tenbit-brand-gold: #e5a93c;
  --tenbit-brand-dark: #0f1013;
  --tenbit-brand-black: #08090a;
  --tenbit-border-dark: #272a33;
  --tenbit-text-light: #9a9da6;
  --tenbit-text-white: #ffffff;
  --tenbit-radius-sm: 4px;
  --tenbit-radius-md: 8px;
  --tenbit-radius-lg: 14px;
  --tenbit-radius-full: 9999px;
  --tenbit-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tenbit-hero-section {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-color: var(--tenbit-brand-black);
  overflow: hidden;
  border-bottom: 1px solid var(--tenbit-border-dark);
  box-sizing: border-box;
  font-family: inherit;
}

.tenbit-hero-section * {
  box-sizing: border-box;
}

/* Background Media & Overlay */
.tenbit-hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tenbit-hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.65) contrast(1.15);
  transform: scale(1.03);
  transition: transform 10s ease;
  display: block;
}

.tenbit-hero-section.tenbit-has-zoom:hover .tenbit-hero-bg-media img {
  transform: scale(1.08);
}

.tenbit-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(8, 9, 10, 0.96) 0%,
    rgba(8, 9, 10, 0.85) 45%,
    rgba(8, 9, 10, 0.35) 100%
  );
}

/* Container & Grid */
.tenbit-hero-container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 3;
}

.tenbit-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0;
}

/* Left Content */
.tenbit-hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tenbit-hero-flag-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 24, 24, 0.2);
  border: 1px solid rgba(201, 24, 24, 0.5);
  padding: 0.4rem 1rem;
  border-radius: var(--tenbit-radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tenbit-flag-icon {
  font-size: 1rem;
}

.tenbit-hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin: 0;
}

.tenbit-highlight-red {
  color: var(--tenbit-brand-red);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(201, 24, 24, 0.4);
}

.tenbit-hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 580px;
  margin: 0;
}

/* Hero CTA Group */
.tenbit-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.tenbit-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--tenbit-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--tenbit-transition);
}

.tenbit-btn-hero-primary {
  background: var(--tenbit-brand-red);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(201, 24, 24, 0.35);
}

.tenbit-btn-hero-primary:hover {
  background: var(--tenbit-brand-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 24, 24, 0.5);
}

.tenbit-btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.tenbit-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Proof Chips */
.tenbit-hero-proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tenbit-proof-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

.tenbit-proof-item svg {
  color: var(--tenbit-brand-gold);
  stroke: currentColor;
  flex-shrink: 0;
}

/* Right Visual Showcase */
.tenbit-hero-visual-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.tenbit-hero-showcase-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.tenbit-hero-showcase-media {
  position: relative;
  width: 100%;
  border-radius: var(--tenbit-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #111111;
  aspect-ratio: 4 / 3.3;
}

.tenbit-hero-showcase-media img.tenbit-hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}

.tenbit-hero-showcase-media:hover img.tenbit-hero-main-img {
  transform: scale(1.05);
}

.tenbit-hero-badge-top {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--tenbit-radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 10;
}

.tenbit-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* Floating Glass Cards */
.tenbit-hero-floating-card {
  position: absolute;
  background: rgba(20, 22, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--tenbit-radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  z-index: 25;
  animation: tenbitFloatSubtle 4s ease-in-out infinite alternate;
}

.tenbit-top-card {
  top: -1.25rem;
  right: -1rem;
}

.tenbit-bottom-card {
  bottom: -1.25rem;
  left: -1rem;
  animation-delay: 2s;
}

.tenbit-floating-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  background: rgba(201, 24, 24, 0.2);
  border-radius: var(--tenbit-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tenbit-floating-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tenbit-floating-text strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.tenbit-floating-text span {
  color: var(--tenbit-text-light);
  font-size: 0.74rem;
  line-height: 1.2;
}

@keyframes tenbitFloatSubtle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .tenbit-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
  .tenbit-hero-visual-showcase {
    margin-top: 1rem;
    max-width: 520px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .tenbit-hero-title {
    font-size: 2.35rem;
  }
  .tenbit-hero-floating-card {
    padding: 0.6rem 0.9rem;
  }
  .tenbit-top-card {
    top: -0.75rem;
    right: 0;
  }
  .tenbit-bottom-card {
    bottom: -0.75rem;
    left: 0;
  }
  .tenbit-floating-icon {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}
