@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Inter:wght@400;500;700&display=swap");

:root {
  --bg-light: #fdfcf7; /* Gold-tinged white / Pearl */
  --bg-dark: #000000;
  --surface-light: #f9f7ef;
  --surface-dark: #121212;
  --text-dark: #000000;
  --text-light: #ffffff;
  --muted-dark: #666666;
  --muted-light: #a0a0a0;
  --primary: #d48d21; /* Gold with orange hint */
  --primary-dark: #b57a1c;
  --border-light: rgba(212, 141, 33, 0.2);
  --border-dark: rgba(212, 141, 33, 0.15);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
  font-family: "Outfit", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark .section-head p {
  color: var(--muted-light);
}

.section-dark .card {
  background: var(--surface-dark);
  border: 1px solid #222;
}

.section-dark .card:hover {
  border-color: var(--primary);
}

/* Scroll Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Logo */
.logo {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 12px;
  font-size: 1.5rem;
}

.logo-small {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 9px;
  font-size: 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 6px 0; /* Ultra-compact padding to allow larger content */
  background: rgba(253, 252, 247, 0.95); /* Tinted background */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 141, 33, 0.1);
  transition: background 0.3s ease;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.nav-logo {
  height: 56px; /* Larger logo within compact header */
  width: auto;
  filter: drop-shadow(
    0 4px 6px rgba(0, 0, 0, 0.05)
  ); /* Subtle lift to prevent "getting lost" */
}

.brand:hover {
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 700;
  font-size: 1.05rem; /* Larger font */
  color: var(--muted-dark);
}

.nav a {
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  width: 100%;
}

.nav a.btn-nav {
  padding: 10px 20px;
  background: var(--primary);
  color: #000;
  border-radius: 8px;
  font-weight: 700;
}

.nav a.btn-nav::after {
  display: none;
}

.nav a.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 141, 33, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.menu-toggle .bar {
  width: 25px;
  height: 2.5px;
  background: #000;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Header transition on scroll or active menu */
.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212, 141, 33, 0.25);
}

.btn-secondary {
  background: #000;
  color: #fff;
}

.btn-secondary:hover {
  background: #222;
}

/* Hero */
.hero {
  padding: 180px 0 100px;
  position: relative;
  background: var(--bg-light);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Gold Grid Pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 141, 33, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 141, 33, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 90%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15; /* Better spacing for 2 lines */
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #000;
  max-width: 580px; /* Force two-line layout */
}

.accent {
  color: var(--primary);
}

.lead {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 40px;
  max-width: 580px;
}

.highlight-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 35px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.highlight-box::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.cta-row {
  display: none; /* Hidden as per request */
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  background-color: #fffbf0 !important;
  background-image: none !important;
  padding: 14px 32px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: normal;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 25px rgba(212, 141, 33, 0.1);
}

.store-badge span {
  display: inline-block;
  transform: translateY(3.5px); /* More aggressive nudge for perceived middle */
}

.store-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none;
}

.store-badge:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: var(--primary-dark);
  box-shadow: 0 15px 35px rgba(212, 141, 33, 0.2);
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: #aaa;
}

/* Image Placeholder Area */
.hero-images-area {
  position: relative;
  width: 100%;
  margin-top: -40px; /* Nudged up further from -15px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder {
  display: none; /* Hide placeholders now that real images are used */
}

.hero-img {
  border-radius: var(--radius-lg);
  background: #fafafb; /* Match hero background */
  transition: transform 0.3s ease;
  object-fit: contain;
}

.hero-img:hover {
  transform: scale(1.02);
}

.hero-img.main {
  width: 50%;
  height: auto;
  z-index: 2;
  position: relative;
  transform: rotate(-2deg); /* Added a slight tilt for style */
}

.hero-img.sub {
  width: 50%;
  height: auto;
  position: absolute;
  top: 60px;
  right: -20px;
  z-index: 1;
  opacity: 0.6;
  filter: blur(1px);
  transform: rotate(4deg);
}

.store-row span {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #666;
}

.store-hint {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.store-badges {
  display: flex;
  gap: 15px;
}

.store-badge {
  background: #000;
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: #aaa;
}

/* Mockup */
.phone-mockup {
  position: relative;
}

.phone-screen {
  background: #fff;
  border: 10px solid #000;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--muted-dark);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-body {
  padding: 30px;
}

.benefits-grid,
.steps-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.benefit-card,
.step-card,
.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.icon-wrap,
.step-number {
  width: 50px;
  height: 50px;
  background: rgba(212, 141, 33, 0.08);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

/* Offer Banner - Black and Gold */
.offer-banner {
  background: #000;
  color: #fff;
  padding: 50px 40px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-dark);
}

.offer-banner h2 {
  font-size: 3.5rem;
  color: var(--primary);
}

.offer-banner p {
  font-size: 1.2rem;
  color: var(--muted-light);
  max-width: 500px;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-weight: 500;
}

/* Footer Box - Black */
.footer-cta {
  padding-bottom: 100px;
}

.footer-box {
  background: #000;
  color: #fff;
  padding: 60px 30px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid var(--border-dark);
}

.footer-box h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--primary);
}

footer {
  padding: 50px 0;
  text-align: center;
  color: #888;
  border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 1080px) {
  .services-grid,
  .benefits-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 120px 0 60px; /* Moved up on mobile */
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .store-badges {
    justify-content: center;
  }

  .offer-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 1.4rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav a.btn-nav {
    padding: 14px 40px;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

@media (max-width: 650px) {
  .services-grid,
  .benefits-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.8rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
/* --- Loading Screen Styles --- */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#loader-wrapper.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  height: 120px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(212, 141, 33, 0.15));
  animation: logoPulse 2.5s infinite ease-in-out;
}

/* Elegant gold ring animation */
.loader-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: ringRotate 1.5s linear infinite;
}

.loader-ring::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid transparent;
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  opacity: 0.5;
  animation: ringRotate 2s linear infinite reverse;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.no-scroll {
  overflow: hidden;
  padding-right: 15px; /* Prevent layout shift if scrollbar disappears */
}

@media (max-width: 768px) {
  .loader-logo {
    height: 90px;
  }
  .loader-ring {
    width: 140px;
    height: 140px;
  }
}
