/* ═══════════════════════════════════════════════════
   HERO LIGHT — Reference-style redesign
   White background · Display typography · Split layout
════════════════════════════════════════════════════ */

/* Import Barlow Condensed for the display headline */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&display=swap');

/* ── OVERRIDE: Hero base — fully white & clean ── */
.hero {
  background: #fff !important;
  animation: none !important;
  min-height: calc(100vh - 74px - 40px);
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Kill all old pseudo-elements / dot grid */
.hero::before,
.hero::after,
.hero-dots {
  display: none !important;
}

/* ── HERO INNER: 2-column split ── */
.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  align-items: center;
  min-height: calc(100vh - 74px - 40px);
  padding: 60px 6%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ═══════ LEFT COLUMN ═══════ */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

/* Eyebrow label */
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
  display: block;
}

/* ── DISPLAY HEADLINE ── */
.hero-display {
  display: flex;
  flex-direction: column;
  margin: 0 0 28px 0;
  line-height: 0.88;
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif !important;
}

.hd-line {
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: clamp(58px, 7.5vw, 108px);
  font-weight: 300;
  letter-spacing: 0.16em;
  color: #1a1a1a;
  line-height: 1;
  display: block;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Second line slightly indented — mirroring the reference */
.hd-indent {
  margin-left: 0.06em;
}

/* ── SUBTITLE ── */
.hero .hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  letter-spacing: .06em;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Salmon / rose button — matches reference */
.btn-salmon {
  background: #C4897A;
  color: #fff !important;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.btn-salmon:hover {
  background: #b07268;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 137, 122, 0.35);
}

/* Ghost button for hero */
.btn-hero-ghost {
  background: transparent;
  color: #555 !important;
  border: 1px solid #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 2px;
  transition: border-color .3s ease, color .3s ease, transform .3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-hero-ghost:hover {
  border-color: #C4897A;
  color: #C4897A !important;
  transform: translateY(-2px);
}

/* ── STATS ROW ── */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.hstat:first-child {
  padding-left: 0;
}

.hstat-num {
  font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: .05em;
  line-height: 1;
  margin-bottom: 4px;
}

.hstat-lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #aaa;
}

.hstat-div {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
}

/* ═══════ RIGHT COLUMN — Device Mockup ═══════ */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  min-height: 500px;
}

.hero-device-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft background blob/glow behind devices */
.hero-blob {
  position: absolute;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(196, 137, 122, 0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-device-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* ── Subtle top decorative line ── */
.hero::before {
  display: block !important;
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #C4897A 30%, #D42027 60%, transparent 100%);
  z-index: 10;
}

/* ── OVERRIDE old hero text colors ── */
.hero h1,
.hero .hero-display {
  color: #1a1a1a !important;
}

/* ── ANNOUNCE BAR stays colored ── */
/* No change needed */

/* ── MARQUEE: restyle for light hero context ── */
.marquee-wrap {
  position: relative !important;
  bottom: auto !important;
  background: #f8f8f8 !important;
  border-top: 1px solid #ececec !important;
  border-bottom: 1px solid #ececec !important;
}

.marquee-inner span {
  color: #666 !important;
}

.marquee-dot {
  color: #ccc !important;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hd-line {
    font-size: clamp(56px, 9vw, 100px);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 5%;
    min-height: auto;
  }

  .hero-right {
    min-height: 300px;
    order: -1; /* image above text on tablet/mobile */
  }

  .hero-device-img {
    max-width: 420px;
  }

  .hd-line {
    font-size: clamp(52px, 14vw, 90px);
  }
}

@media (max-width: 600px) {
  .hd-line {
    font-size: clamp(44px, 17vw, 72px);
    letter-spacing: 0.12em;
  }

  .hero-device-img {
    max-width: 320px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-salmon,
  .btn-hero-ghost {
    width: 100%;
    justify-content: center;
  }

  .hstat-num {
    font-size: 22px;
  }

  .hstat {
    padding: 0 14px;
  }
}

/* ══════════════════════════════════════
   SERVICES SECTION — Fix text visibility
   The dark theme makes item titles invisible
══════════════════════════════════════ */

/* Section heading — always readable */
.svc-header h2 {
  color: #1a1a1a !important;
  font-size: clamp(28px, 3.5vw, 46px) !important;
}
.svc-header-sub,
.svc-header p {
  color: #555 !important;
}

/* List items — DARK text on light left panel */
.svc-item-title {
  color: #1a1a1a !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}
.svc-item:not(.active) .svc-item-title {
  color: #1a1a1a !important;
}
.svc-item.active .svc-item-title,
.svc-item:hover .svc-item-title {
  color: #1a1a1a !important;
}

/* Item number — dark gold, clearly visible */
.svc-num {
  color: #B8860B !important;
  font-weight: 700 !important;
}
.svc-item.active .svc-num {
  color: #D4A843 !important;
}

/* Arrow — dark, visible */
.svc-arrow {
  color: #999 !important;
  font-size: 16px !important;
}
.svc-item.active .svc-arrow,
.svc-item:hover .svc-arrow {
  color: #D4A843 !important;
}

/* Tag badge — fix stretched layout */
.svc-item-tag {
  color: #D4A843 !important;
  background: rgba(212, 168, 67, 0.12) !important;
  border: 1px solid rgba(212, 168, 67, 0.35) !important;
  display: inline-block !important;
  width: auto !important;
  align-self: flex-start !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Right panel — max readability */
.svc-panel-title {
  color: #FFFFFF !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
}
.svc-panel-desc {
  color: #C8D0DC !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
}
.svc-panel-points li {
  color: #D8E0EC !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* ══════════════════════════════════════
   GLOBAL BACKGROUND WALLPAPER — Plexus network
══════════════════════════════════════ */

body {
  background-image: url('bg-abstract.png') !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

/* Overlay on sections to keep text readable over the wallpaper */
.services,
.why-us,
.reviews,
.contact,
.faq,
.process,
.blog {
  background-color: rgba(255, 255, 255, 0.6) !important;
  background-image: none !important;
  backdrop-filter: blur(3px);
}

/* Hero should be transparent enough to show the beautiful top area of the wallpaper */
.hero {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(1px);
}

/* Footer stays solid and light for modern look */
footer {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) !important;
}
