/* hubvectra.com — homepage template (Dreamora focus) */

body.home-hub {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  --hub-ink: #120f1a;
  --hub-ink-soft: #3d3650;
  --hub-muted: #6b6280;
  --hub-line: rgba(18, 15, 26, 0.08);
  --hub-indigo: #4f46e5;
  --hub-indigo-deep: #312e81;
  --hub-violet: #7c3aed;
  --hub-coral: #fb7185;
  --hub-peach: #fdba74;
  --hub-mint: #5eead4;
  --hub-surface: #faf9fc;
  --hub-card: #ffffff;
  --hub-radius: 1.25rem;
  --hub-radius-lg: 1.75rem;
  --hub-shadow: 0 24px 48px -20px rgba(49, 46, 129, 0.35);
  --hub-font: 'Outfit', system-ui, sans-serif;
  --hub-display: 'Fraunces', Georgia, serif;

  font-family: var(--hub-font);
  color: var(--hub-ink);
  background: var(--hub-surface);
}

.home-hub .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 252, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hub-line);
}

.home-hub .site-header__inner {
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
  gap: 0.5rem;
}

.home-hub .hub-why,
.home-hub .hub-product {
  scroll-margin-top: 5rem;
}

.home-hub .site-header__nav a {
  font-weight: 500;
  color: var(--hub-muted);
  transition: color 0.2s;
}

.home-hub .site-header__nav a:hover {
  color: var(--hub-indigo);
}

.home-hub .site-logo__text-accent {
  background: linear-gradient(135deg, var(--hub-violet) 0%, var(--hub-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-hub .hub-nav-cta {
  display: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, var(--hub-indigo) 0%, var(--hub-violet) 100%);
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.65);
}

.home-hub .hub-nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (min-width: 768px) {
  .home-hub .hub-nav-cta { display: inline-flex; }
}

/* —— Hero —— */
.hub-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 4rem;
}

.hub-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(251, 113, 133, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(94, 234, 212, 0.12), transparent 45%),
    linear-gradient(165deg, #ede9fe 0%, #faf9fc 42%, #fff7ed 100%);
  pointer-events: none;
}

.hub-hero__grid {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hub-hero {
    padding: 5rem 1.5rem 5.5rem;
  }
  .hub-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hub-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hub-indigo-deep);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(79, 70, 229, 0.15);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hub-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hub-mint);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.35);
  animation: hub-pulse 2s ease-in-out infinite;
}

@keyframes hub-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hub-hero__title {
  font-family: var(--hub-display);
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--hub-ink);
}

.hub-hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--hub-indigo) 0%, var(--hub-violet) 45%, var(--hub-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hub-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--hub-ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.hub-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--hub-indigo) 0%, #6366f1 50%, var(--hub-violet) 100%);
  box-shadow: 0 14px 32px -12px rgba(79, 70, 229, 0.55);
}

.hub-btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.hub-btn--ghost {
  color: var(--hub-indigo-deep);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hub-line);
}

.hub-btn--ghost:hover {
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-1px);
}

.hub-hero__visual {
  position: relative;
  min-height: 280px;
}

.hub-hero__card-stack {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
}

.hub-stat-card {
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--hub-shadow);
}

.hub-stat-card--main {
  position: relative;
  z-index: 2;
}

.hub-stat-card--float {
  position: absolute;
  z-index: 3;
  width: 58%;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  animation: hub-float 5s ease-in-out infinite;
}

.hub-stat-card--float-a {
  top: -8%;
  right: -4%;
  animation-delay: 0.5s;
}

.hub-stat-card--float-b {
  bottom: 6%;
  left: -6%;
  animation-delay: 1.2s;
}

@keyframes hub-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hub-stat-card__value {
  font-family: var(--hub-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--hub-indigo);
  line-height: 1;
}

.hub-stat-card__label {
  font-size: 0.8125rem;
  color: var(--hub-muted);
  margin-top: 0.35rem;
}

.hub-stat-card__row {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.hub-chip {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f5f3ff;
  color: var(--hub-indigo-deep);
}

.hub-chip--coral {
  background: #fff1f2;
  color: #be123c;
}

/* —— Trust marquee —— */
.hub-marquee {
  border-block: 1px solid var(--hub-line);
  background: var(--hub-ink);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  padding: 0.85rem 0;
}

.hub-marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: hub-marquee 28s linear infinite;
  padding-left: 2.5rem;
}

.hub-marquee__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.95;
}

.hub-marquee__item span {
  color: var(--hub-peach);
}

@keyframes hub-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* —— Bento —— */
.hub-bento {
  padding: 4rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.hub-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hub-section-head__eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hub-violet);
  margin-bottom: 0.65rem;
}

.hub-section-head__title {
  font-family: var(--hub-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hub-section-head__sub {
  color: var(--hub-muted);
  line-height: 1.6;
}

.hub-bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hub-bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hub-bento__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
  }
  .hub-bento__cell--a { grid-column: span 5; }
  .hub-bento__cell--b { grid-column: span 4; }
  .hub-bento__cell--c { grid-column: span 3; }
  .hub-bento__cell--d { grid-column: span 4; }
  .hub-bento__cell--e { grid-column: span 5; }
  .hub-bento__cell--f { grid-column: span 3; }
}

.hub-bento__cell {
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius-lg);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hub-bento__cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -24px rgba(49, 46, 129, 0.25);
}

.hub-bento__cell--accent {
  background: linear-gradient(145deg, var(--hub-indigo-deep) 0%, #4338ca 100%);
  color: #fff;
  border: none;
}

.hub-bento__cell--accent .hub-bento__text {
  color: rgba(255, 255, 255, 0.82);
}

.hub-bento__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.hub-bento__title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.hub-bento__text {
  font-size: 0.875rem;
  color: var(--hub-muted);
  line-height: 1.55;
}

/* —— Why strip —— */
.hub-why {
  padding: 3.5rem 1.25rem 4.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(237, 233, 254, 0.45) 100%);
}

.hub-why__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hub-why__inner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 3rem;
  }
}

.hub-why__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hub-why__item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
}

.hub-why__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--hub-indigo);
  background: #eef2ff;
  border-radius: 0.65rem;
}

.hub-why__item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.hub-why__item p {
  font-size: 0.875rem;
  color: var(--hub-muted);
  line-height: 1.55;
}

/* —— Product spotlight (bottom) —— */
.hub-product {
  padding: 4rem 1.25rem 5rem;
  background: var(--hub-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hub-product__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  pointer-events: none;
}

.hub-product__inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.hub-product__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hub-peach);
  margin-bottom: 0.75rem;
}

.hub-product__headline {
  font-family: var(--hub-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.hub-product__card {
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hub-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .hub-product__card {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hub-product__media {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  aspect-ratio: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hub-product__media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.hub-product__badge-sale {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: linear-gradient(135deg, var(--hub-coral) 0%, #f43f5e 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(244, 63, 94, 0.65);
}

.hub-product__body {
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .hub-product__body {
    padding: 2.5rem 2.25rem;
  }
}

.hub-product__category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hub-mint);
  margin-bottom: 0.5rem;
}

.hub-product__name {
  font-family: var(--hub-display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hub-product__desc {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.hub-product__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hub-product__features .hub-chip {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hub-product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.hub-product__rating {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.hub-product__rating .stars {
  color: var(--hub-peach);
  margin-right: 0.35rem;
}

.hub-product__price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.hub-product__price-was {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.hub-product__price-now {
  font-family: var(--hub-display);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}

.hub-product__cta {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

@media (min-width: 480px) {
  .hub-product__cta { width: auto; }
}

/* —— Footer tweaks on home —— */
.home-hub .site-footer {
  background: #0a0810;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.home-hub .site-footer .container {
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

/* —— Mobile & touch —— */
@media (max-width: 767px) {
  .home-hub .site-logo__text {
    font-size: 1.2rem;
  }

  .home-hub .site-header__nav {
    gap: 0.5rem 0.65rem;
    font-size: 0.6875rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 58%;
  }

  .home-hub .site-header__nav a {
    padding: 0.35rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hub-hero {
    padding: 2rem max(1rem, env(safe-area-inset-left, 0px)) 2.5rem;
  }

  .hub-hero__title {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
  }

  .hub-hero__lead {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }

  .hub-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
  }

  .hub-hero__visual {
    min-height: 0;
    margin-top: 0.25rem;
  }

  .hub-hero__card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
    max-width: none;
  }

  .hub-stat-card--main {
    grid-column: 1 / -1;
  }

  .hub-stat-card--float {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    animation: none;
    padding: 0.75rem 0.85rem;
  }

  .hub-stat-card--float .hub-stat-card__value {
    font-size: 1.15rem !important;
  }

  .hub-stat-card__value {
    font-size: 1.65rem;
  }

  .hub-stat-card__label {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .hub-marquee {
    padding: 0.65rem 0;
  }

  .hub-marquee__track {
    gap: 1.75rem;
    animation-duration: 36s;
  }

  .hub-marquee__item {
    font-size: 0.75rem;
  }

  .hub-bento {
    padding: 2.75rem 1rem;
  }

  .hub-section-head {
    margin-bottom: 1.75rem;
  }

  .hub-section-head__title {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }

  .hub-bento__cell {
    padding: 1.25rem 1.1rem;
  }

  .hub-bento__cell:hover {
    transform: none;
    box-shadow: none;
  }

  .hub-why {
    padding: 2.5rem 1rem 3rem;
  }

  .hub-why__item {
    padding: 1rem;
    gap: 0.85rem;
  }

  .hub-product {
    padding: 2.5rem 1rem 3.25rem;
    padding-bottom: max(3.25rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
  }

  .hub-product__headline {
    max-width: none;
    margin-bottom: 1.35rem;
    font-size: clamp(1.5rem, 6.5vw, 1.85rem);
  }

  .hub-product__media {
    aspect-ratio: 1;
    min-height: 0;
    padding: 1rem 1.25rem 0.5rem;
  }

  .hub-product__media img {
    max-width: min(100%, 320px);
  }

  .hub-product__body {
    padding: 1.25rem 1.1rem 1.5rem;
  }

  .hub-product__name {
    font-size: 1.625rem;
  }

  .hub-product__desc {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .hub-product__features {
    gap: 0.4rem;
    margin-bottom: 1.15rem;
  }

  .hub-product__features .hub-chip {
    font-size: 0.625rem;
    padding: 0.4rem 0.55rem;
  }

  .hub-product__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
  }

  .hub-product__price-now {
    font-size: 1.75rem;
  }

  .hub-product__cta {
    width: 100%;
    max-width: none;
  }

  .hub-product__glow {
    width: min(100vw, 320px);
    height: 320px;
    top: -10%;
    right: -30%;
  }

  .hub-product__badge-sale {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (max-width: 359px) {
  .home-hub .site-header__nav a[href="/en/about-us.html"] {
    display: none;
  }
}

@media (hover: none) {
  .hub-btn--primary:active {
    transform: scale(0.98);
    filter: brightness(0.98);
  }

  .hub-bento__cell:active {
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-marquee__track,
  .hub-stat-card--float,
  .hub-hero__badge-dot {
    animation: none !important;
  }

  .hub-btn,
  .hub-bento__cell {
    transition: none;
  }
}
