/* ============================================
   UrbanBloom Co. - Home Page Styles
============================================ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out alternate infinite;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,61,43,0.75) 0%,
    rgba(26,26,26,0.8) 50%,
    rgba(42,13,31,0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192,24,90,0.2);
  border: 1px solid rgba(192,24,90,0.4);
  color: var(--magenta-glow);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-badge i { font-size: 0.65rem; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--magenta-glow), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.7s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-dot {
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--magenta);
  border-radius: 2px;
  animation: scrollAnim 1.8s ease infinite;
}

@keyframes scrollAnim {
  0%   { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

.hero-floats {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeIn 1s ease 1s both;
}

.hero-float-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  text-align: center;
  min-width: 140px;
}

.hero-float-card .number {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-float-card .label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.hero-float-card.gold .number { color: var(--gold); }
.hero-float-card.magenta .number { color: var(--magenta-glow); }

/* ── Stats Bar ── */
.stats-bar {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--charcoal-mid) 50%, #2a0d1f 100%);
  padding: 0;
  position: relative;
  z-index: 10;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--magenta), var(--gold), var(--magenta));
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-item:hover { background: rgba(255,255,255,0.04); }

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-number .unit {
  color: var(--magenta-glow);
  font-size: 0.7em;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  display: block;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ── Product Showcase ── */
.showcase {
  background: var(--off-white);
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.slider-nav {
  display: flex;
  gap: 0.7rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--light-gray);
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
}

.product-slider {
  position: relative;
  overflow: hidden;
}

.product-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.product-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img img { transform: scale(1.08); }

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.product-card:hover .product-img-overlay { opacity: 1; }

.product-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.badge-new    { background: rgba(192,24,90,0.85);  color: white; }
.badge-export { background: rgba(201,168,76,0.85); color: #1a1a1a; }
.badge-pro    { background: rgba(42,92,63,0.85);   color: white; }

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.product-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.product-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.product-meta span { display: flex; align-items: center; gap: 0.35rem; }
.product-meta i    { color: var(--magenta); font-size: 0.7rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light-gray);
  transition: var(--transition-fast);
  cursor: pointer;
}

.dot.active {
  background: var(--magenta);
  width: 24px;
  border-radius: 4px;
}

/* ── Case Studies ── */
.case-studies {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--white);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--magenta), var(--gold));
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.case-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--magenta), var(--magenta-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.case-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.case-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.case-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.case-metric i { color: var(--gold); }

/* ── Testimonials ── */
.testimonials {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--charcoal) 60%, #2a0d1f 100%);
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: -5rem;
  left: 2%;
  font-family: var(--font-primary);
  font-size: 30rem;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
}

.testimonials .section-header h2,
.testimonials .section-header .section-label { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.6); }
.testimonials .divider-line { background: linear-gradient(to right, var(--magenta), var(--gold)); }

.testi-slider {
  position: relative;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testi-card {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testi-inner {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.testi-quote {
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.testi-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.15);
}

.testi-name {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
}

.testi-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: left;
}

.testi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testi-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--white);
}

.testi-dots {
  display: flex;
  gap: 0.5rem;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testi-dot.active {
  background: var(--magenta);
  width: 24px;
  border-radius: 4px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--magenta) 0%, #8a0d3a 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .product-card { flex: 0 0 calc(50% - 0.75rem); }
  .hero-floats  { display: none; }
}

@media (max-width: 768px) {
  .stats-inner  { grid-template-columns: 1fr; }
  .case-grid    { grid-template-columns: 1fr; }
  .product-card { flex: 0 0 85%; }
  .cta-inner    { flex-direction: column; text-align: center; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
}
