/* ============================================================
   AuraLens AI — Services Page (Redesigned)
   Matches JewelShoot AI services page structure
   ============================================================ */

/* ===================================================
   HERO SECTION
   =================================================== */

.svc-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-void);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.svc-hero-bg-glow {
  position: absolute;
  width: 600px;
  max-width: 100%;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.svc-hero-bg-glow--left {
  top: -100px;
  left: -200px;
  background: radial-gradient(ellipse, rgba(62,201,148,0.06) 0%, transparent 65%);
}

.svc-hero-bg-glow--right {
  bottom: -100px;
  right: -200px;
  background: radial-gradient(ellipse, rgba(212,168,85,0.07) 0%, transparent 65%);
}

.svc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.svc-hero-text {
  max-width: 580px;
}

.svc-hero-text h1 {
  margin: var(--s-sm) 0 var(--s-md);
  line-height: 1.1;
}

.svc-hero-text > p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.78;
  margin-bottom: var(--s-xl);
  max-width: 500px;
}

.svc-hero-ctas {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
}

/* Hero Visual Stack */
.svc-hero-visual {
  position: relative;
}

.svc-hero-img-stack {
  position: relative;
  width: 100%;
  height: 520px;
}

.svc-hero-img-main {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-champ), var(--shadow-card);
  z-index: 2;
}

.svc-hero-img-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.svc-hero-img-main:hover img {
  transform: scale(1.04);
}

.svc-hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(5, 8, 17, 0.82);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-lt);
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

.svc-hero-img-side {
  position: absolute;
  width: 42%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  z-index: 3;
  transition: all var(--t-base);
}

.svc-hero-img-side img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.svc-hero-img-side--top {
  top: 30px;
  right: -10px;
}

.svc-hero-img-side--bottom {
  bottom: 10px;
  left: -10px;
}

.svc-hero-img-side:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

/* ===================================================
   CORE SERVICES — FEATURE ROWS
   =================================================== */

.svc-features {
  background: var(--bg-void);
}

.svc-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 7rem;
}

.svc-feature-row:last-child {
  margin-bottom: 0;
}

.svc-feature-row--reverse .svc-feature-media {
  order: 2;
}

.svc-feature-row--reverse .svc-feature-content {
  order: 1;
}

/* Media Side */
.svc-feature-media {
  position: relative;
}

.svc-feature-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.svc-feature-img-wrap:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-champ), var(--shadow-card);
}

.svc-feature-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.svc-feature-img-wrap:hover .svc-feature-img {
  transform: scale(1.04);
}

.svc-feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5,8,17,0.9) 0%, transparent 100%);
  padding: var(--s-md);
}

.svc-feature-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  background: rgba(212, 168, 85, 0.1);
  border: 1px solid rgba(212, 168, 85, 0.3);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* Before thumbnail */
.svc-feature-before-thumb {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 130px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--bg-void);
  box-shadow: var(--shadow-card);
  z-index: 3;
}

.svc-feature-before-thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}

.thumb-label {
  display: block;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c05858;
  background: rgba(5, 8, 17, 0.95);
  padding: 4px 0;
}

/* Style chips grid */
.svc-feature-style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-md);
}

.style-chip {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne);
  border: 1px solid rgba(212, 168, 85, 0.25);
  border-radius: var(--r-pill);
  padding: 0.3rem 1rem;
  background: rgba(212, 168, 85, 0.05);
  transition: all var(--t-base);
  cursor: default;
}

.style-chip:hover {
  background: rgba(212, 168, 85, 0.12);
  border-color: rgba(212, 168, 85, 0.4);
}

/* Video overlay */
.svc-feature-img-wrap--video {
  cursor: pointer;
}

.svc-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 168, 85, 0.15);
  border: 2px solid rgba(212, 168, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne);
  z-index: 2;
  transition: all var(--t-base);
  backdrop-filter: blur(6px);
}

.svc-video-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.svc-feature-img-wrap--video:hover .svc-video-play {
  background: rgba(212, 168, 85, 0.28);
  border-color: var(--champagne);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 30px rgba(212, 168, 85, 0.35);
}

/* Video stats bar */
.svc-video-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--g-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-md);
  margin-top: var(--s-md);
}

.video-stat {
  text-align: center;
}

.vs-val {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--champagne);
  line-height: 1;
}

.vs-lbl {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.video-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Platform badges */
.svc-platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--s-md);
}

.platform-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--g-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.3rem 1rem;
  transition: all var(--t-base);
}

.platform-badge:hover {
  border-color: var(--border-bright);
  color: var(--champagne-lt);
}

/* Content Side */
.svc-feature-content {}

.svc-feature-num {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 700;
  background: var(--g-champ);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.25;
  margin-bottom: var(--s-xs);
}

.svc-feature-content h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--text-bright);
  margin-bottom: var(--s-sm);
}

.svc-feature-lead {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--s-lg);
}

.svc-detail-rows {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  margin-bottom: var(--s-lg);
}

/* ===================================================
   BEFORE / AFTER SHOWCASE
   =================================================== */

.before-after-section {
  background: var(--bg-deep);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
  margin-bottom: var(--s-3xl);
}

.ba-card {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  background: var(--g-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-md);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.ba-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-champ);
}

.ba-img-wrap {
  position: relative;
  flex: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.ba-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.ba-card:hover .ba-img {
  transform: scale(1.04);
}

.ba-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.ba-tag--before {
  background: rgba(192, 88, 88, 0.15);
  border: 1px solid rgba(192, 88, 88, 0.35);
  color: #e08080;
}

.ba-tag--after {
  background: rgba(212, 168, 85, 0.1);
  border: 1px solid rgba(212, 168, 85, 0.3);
  color: var(--champagne);
}

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 168, 85, 0.08);
  border: 1px solid rgba(212, 168, 85, 0.25);
  color: var(--champagne);
}

.ba-arrow svg {
  width: 16px;
  height: 16px;
}

/* Stats Row */
.ba-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xl);
  background: var(--g-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
}

.ba-stat {
  text-align: center;
}

.ba-stat-val {
  display: block;
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--g-champ);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.ba-stat-lbl {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.ba-stat-div {
  width: 1px;
  height: 56px;
  background: var(--border);
}

/* ===================================================
   WHO IT'S FOR — WITH IMAGES
   =================================================== */

.who-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
}

.who-feature-card {
  background: var(--g-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-bounce);
}

.who-feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-champ), var(--shadow-card);
}

.who-feature-img {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.who-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.who-feature-card:hover .who-feature-img img {
  transform: scale(1.06);
}

.who-feature-body {
  padding: var(--s-lg) var(--s-md);
  text-align: center;
}

.who-feature-body .who-ico {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--s-sm);
}

.who-feature-body h3 {
  font-size: 1.05rem;
  color: var(--text-bright);
  margin-bottom: var(--s-xs);
}

.who-feature-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================
   PROCESS — TIMELINE STYLE
   =================================================== */

.steps-section {
  background: var(--bg-void);
}

.steps-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
  max-width: 1100px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright), transparent);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-item-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--g-champ);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--s-md);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item-card {
  background: var(--g-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-lg) var(--s-md);
  transition: all var(--t-bounce);
  position: relative;
  overflow: hidden;
}

.step-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--g-champ);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.step-item:hover .step-item-card {
  border-color: var(--border-bright);
  transform: translateY(-5px);
  box-shadow: var(--shadow-champ);
}

.step-item:hover .step-item-card::before {
  transform: scaleX(1);
}

.step-item-icon {
  font-size: 1.8rem;
  margin-bottom: var(--s-sm);
  display: block;
}

.step-item-card h3 {
  font-size: 1rem;
  color: var(--text-bright);
  margin-bottom: var(--s-xs);
  font-family: var(--f-body);
  font-weight: 700;
}

.step-item-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================
   GALLERY STRIP
   =================================================== */

.svc-gallery-strip {
  background: var(--bg-deep);
  overflow: hidden;
}

.svc-strip-scroll {
  overflow: hidden;
  margin: 0 -32px;
  padding: var(--s-lg) 0;
}

.svc-strip-track {
  display: flex;
  gap: var(--s-md);
  animation: strip-scroll 28s linear infinite;
  width: max-content;
}

.svc-strip-track:hover {
  animation-play-state: paused;
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.svc-strip-item {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--t-base), transform var(--t-base);
}

.svc-strip-item:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.svc-strip-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.svc-strip-item:hover img {
  transform: scale(1.06);
}

.strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(5,8,17,0.9) 0%, transparent 100%);
  padding: var(--s-sm) var(--s-sm) var(--s-xs);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
  text-align: center;
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1100px) {
  .svc-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .svc-hero-visual { display: none; }
  .svc-hero-text { max-width: 100%; }
  .svc-hero { text-align: center; }
  .svc-hero-ctas { justify-content: center; }

  .svc-feature-row,
  .svc-feature-row--reverse {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }

  .svc-feature-row--reverse .svc-feature-media { order: unset; }
  .svc-feature-row--reverse .svc-feature-content { order: unset; }

  .who-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-timeline   { grid-template-columns: repeat(2, 1fr); }
  .steps-line       { display: none; }
  .ba-grid          { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .svc-feature-img { height: 280px; }
  .who-feature-grid { grid-template-columns: 1fr; }
  .steps-timeline   { grid-template-columns: 1fr; }
  .ba-stats-row     { flex-wrap: wrap; gap: var(--s-lg); }
  .ba-stat-div      { display: none; }
  .svc-strip-item   { width: 180px; }
  .svc-strip-item img { height: 230px; }
}

@media (max-width: 480px) {
  .svc-hero { padding: 100px 0 50px; }
  .svc-feature-img { height: 220px; }
  .ba-card { flex-direction: column; }
  .ba-arrow { transform: rotate(90deg); }
  .ba-img { height: 160px; }
}

/* services-new.css */

/* 1. Force absolute centering for all service page icon circles */
.who-ico, 
.step-item-icon, 
.svc-video-play {
  width: 54px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(13, 20, 36, 0.7) !important; /* Matches your screenshot */
  border: 1px solid rgba(212, 168, 85, 0.3) !important;
  border-radius: 50% !important;
  margin: 0 auto 1.5rem !important; /* Centers the circle itself */
  padding: 0 !important;
  flex-shrink: 0 !important;
}

/* 2. Reset the Lucide icon behavior inside these circles */
.who-ico .lucide, 
.step-item-icon .lucide, 
.svc-video-play .lucide {
  width: 24px !important;
  height: 24px !important;
  stroke: var(--champagne) !important;
  stroke-width: 1.5px !important;
  display: block !important;
  margin: 0 !important; /* Crucial: removes any default margin */
}

/* 3. Fix text headers that might be too close to icons */
.who-feature-body h3, 
.step-item-card h3 {
  line-height: 1.2 !important;
  margin-top: 0.5rem !important;
}

/* ===================================================
   LIGHTBOX MODAL POPUP (MOBILE FRIENDLY)
   =================================================== */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 99999; /* Ensure it overlays absolutely everything including navigation */
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 8, 17, 0.96); /* Dark luxury backdrop mask */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: var(--s-md);
}

/* Lightbox Content Container */
.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-card);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Make modal visible when script adds active class */
.lightbox.active {
  display: flex !important;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

/* Close Window (X) Button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--champagne);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.lightbox-close:hover {
  color: var(--text-bright);
  transform: scale(1.1);
}

/* Mobile Adjustments for Video Panels */
@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 25px;
    font-size: 34px;
  }
  .lightbox-content {
    max-width: 95%;
    max-height: 70vh;
  }
}

@media (max-width: 1100px) {
  /* Contain the feature elements within the viewport framework safely */
  .svc-features,
  .svc-feature-row,
  .before-after-section {
    width: 100%;
    overflow: hidden;
  }

  /* Fix absolute thumbnails extending past narrow gutters */
  .svc-feature-before-thumb {
    right: 0px !important;
    bottom: -10px !important;
  }
}