/* =============================================
   NUMERO HIMANSHU — Landing Page Styles
   Design: Dark Green + Gold + White
   ============================================= */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Brand Colors */
  --green-deep:    #0D3B24;
  --green-primary: #1B5E3B;
  --green-medium:  #2A7A4F;
  --green-light:   #3A9A64;
  --green-pale:    #E8F5EC;

  --gold-deep:     #8B6914;
  --gold-primary:  #C8A84E;
  --gold-light:    #DAC06A;
  --gold-pale:     #F5EDD0;

  --white:         #FFFFFF;
  --off-white:     #FAFDF8;
  --cream:         #F7F4EC;
  --gray-100:      #F3F3F3;
  --gray-300:      #CCCCCC;
  --gray-500:      #888888;
  --gray-700:      #444444;
  --gray-900:      #1A1A1A;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-script:  'Great Vibes', cursive;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
  --shadow-gold: 0 4px 20px rgba(200,168,78,0.25);
}

@media (max-width: 768px) {
  :root {
    --space-sm:   0.35rem;
    --space-md:   0.75rem;
    --space-lg:   1rem;
    --space-xl:   1.25rem;
    --space-2xl:  1.75rem;
    --space-3xl:  2.25rem;
    --space-4xl:  3rem;
  }
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   LEAD CAPTURE POPUP
   ============================================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  animation: popupFadeIn 0.4s ease-out both;
}

.popup-overlay.hidden {
  display: none;
}

.popup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,168,78,0.2);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  animation: popupSlideUp 0.5s 0.1s ease-out both;
}

.popup__header {
  margin-bottom: var(--space-lg);
}

.popup__logo {
  height: 40px;
  width: auto;
  margin: 0 auto var(--space-sm);
  display: block;
}

.popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  border: 1px solid rgba(27, 94, 59, 0.15);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 0.7rem;
  color: var(--green-primary);
  font-weight: 600;
}

.popup__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 4px;
  line-height: 1.2;
}

.popup__title .text-gold {
  color: var(--gold-primary);
}

.popup__subtitle {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: var(--space-lg);
}

.popup__form {
  text-align: left;
}

.popup__field {
  margin-bottom: var(--space-md);
}

.popup__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.popup__required {
  color: #e53e3e;
}

.popup__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.popup__input-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  flex-shrink: 0;
}

.popup__input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.popup__input::placeholder {
  color: var(--gray-500);
  font-size: 0.82rem;
}

.popup__input:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.1);
}

.popup__input.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.popup__input.success {
  border-color: var(--green-primary);
}

.popup__error {
  display: block;
  font-size: 0.7rem;
  color: #e53e3e;
  margin-top: 3px;
  min-height: 16px;
}

.popup__submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  margin-top: var(--space-md);
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 50%, var(--green-medium) 100%);
  color: var(--white);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(200,168,78,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.popup__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.popup__submit:active {
  transform: translateY(0);
}

.popup__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.popup__submit-arrow {
  width: 20px;
  height: 20px;
}

.popup__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--gray-500);
  margin-top: var(--space-md);
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- BACKGROUND ORNAMENTS ---------- */
.bg-ornament {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

.bg-ornament--top-left {
  top: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--green-primary) 0%, transparent 70%);
}

.bg-ornament--top-right {
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
}

.bg-ornament--bottom-left {
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-primary) 0%, transparent 70%);
}

/* =============================================
   HEADER / LOGO
   ============================================= */
.site-header {
  position: relative;
  z-index: 10;
  padding: var(--space-lg) 0 0;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo__img {
  height: 60px;
  width: auto;
  object-fit: contain;
}


/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: var(--space-xl);
}

/* --- Badge --- */
.hero__badge {
  display: inline-block;
  margin-top: -0.5rem;
  margin-bottom: 0;
  animation: fadeSlideDown 0.8s ease-out both;
}

.hero__badge-img {
  width: 100%;
  max-width: 750px;
  height: auto;
}


/* --- Sub Badge --- */
.hero__sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  padding: 0.6em 1.6em;
  border-radius: 2em;
  margin-top: -0.5rem;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  font-size: clamp(0.7rem, 3vw, 1.4rem);
  white-space: nowrap;
  color: var(--gray-700);
  animation: fadeSlideDown 0.8s 0.15s ease-out both;
}

.hero__sub-badge-icon {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}

.hero__sub-badge .text-green {
  color: var(--green-primary);
  font-weight: 700;
}

.hero__sub-badge .text-gold {
  color: var(--gold-primary);
  font-weight: 700;
}

/* --- Headline --- */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--green-deep);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hero__headline-line {
  display: block;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

.hero__headline-line:nth-child(1) {
  animation: fadeSlideUp 0.9s 0.2s ease-out both;
}

.hero__headline-line:nth-child(2) {
  animation: fadeSlideUp 0.9s 0.35s ease-out both;
}

.hero__headline-accent {
  display: block;
  font-size: clamp(3rem, 10vw, 6.8rem);
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-primary) 40%, var(--gold-light) 70%, var(--gold-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeSlideUp 0.9s 0.5s ease-out both, shimmer 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(200,168,78,0.3));
  line-height: 1.15;
}

/* --- Video Prompt Pill --- */
.video-prompt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: linear-gradient(90deg, #FDFBF4, #F7F0D8);
  border: 1px solid rgba(200, 168, 78, 0.2);
  padding: 6px 20px 6px 6px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  animation: fadeSlideUp 0.9s 0.45s ease-out both;
}

.video-prompt-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green-deep);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
}

.video-prompt-pill__icon svg {
  width: 18px;
  height: 18px;
  margin-left: 2px; /* optical alignment */
}

.video-prompt-pill__text {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 3vw, 0.95rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.video-prompt-pill__text .text-gold {
  color: #B58500; /* Darker gold for readability on pale background */
  margin-right: 4px;
}

.video-prompt-pill__text .text-green {
  color: var(--green-deep);
}

/* =============================================
   SERVICE PILLARS
   ============================================= */
.pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  animation: fadeSlideUp 0.9s 0.55s ease-out both;
}

.pillars__img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}


/* =============================================
   VIDEO SECTION
   ============================================= */
.video-section {
  position: relative;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp 0.9s 0.65s ease-out both;
  background: var(--gray-900);
}

.video-section__overlay-text {
  position: absolute;
  top: 50%;
  left: var(--space-lg);
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  display: none; /* Hide by default — video handles its own UI */
}

.video-section__player {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-section__player wistia-player {
  border-radius: var(--radius-lg);
}

/* =============================================
   GETTING STARTED
   ============================================= */
.getting-started {
  background: transparent;
  color: var(--gray-700);
  padding: 0 var(--space-sm);
  margin-bottom: 0;
  text-align: left;
  animation: fadeSlideUp 0.9s 0.7s ease-out both;
}

.getting-started__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: var(--space-lg);
}

.getting-started__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.getting-started__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.getting-started__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--gold-primary);
  font-size: 1.5rem;
  line-height: 1;
}

.getting-started__list a {
  color: var(--green-primary);
  text-decoration: none;
  font-weight: 600;
}

/* =============================================
   CTA BUTTON
   ============================================= */
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 50%, var(--green-medium) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(27,94,59,0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeSlideUp 0.9s 0.75s ease-out both, pulseGlow 2.5s 2s ease-in-out infinite;
  position: relative;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(27,94,59,0.3);
}

.cta-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
}

.cta-button__icon svg {
  width: 28px;
  height: 28px;
}

.cta-button__divider {
  width: 2px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

.cta-button__text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: var(--space-md) var(--space-lg);
}

.cta-button__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg) var(--space-md) 0;
}

.cta-button__arrow svg {
  width: 32px;
  height: 32px;
}

/* =============================================
   SOCIAL PROOF
   ============================================= */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  animation: fadeSlideUp 0.9s 0.85s ease-out both;
}

.social-proof__img {
  width: 100%;
  max-width: 850px;
  height: auto;
}


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: -1.5rem; /* Less aggressive pull-up for better mobile spacing */
  padding-top: 0;
  padding-bottom: var(--space-xl);
}

.footer__divider-line {
  width: 100px;
  height: 2px;
  margin: 0 auto var(--space-xl);
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer__tagline-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer__tagline-text {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(1.4rem, 4.5vw, 2.8rem);
  font-weight: 400;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--gold-primary);
  margin: 0;
  padding-right: 0.2em; /* prevent italic swash clipping */
  line-height: 1.2;
  white-space: nowrap;
  animation: fadeSlideUp 0.9s 0.95s ease-out both;
}

.footer-disclaimer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.65rem;
  color: var(--gray-500);
  line-height: 1.5;
  text-align: center;
}


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(27,94,59,0.4);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 0 10px rgba(27,94,59,0);
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__badge {
    padding: var(--space-sm) var(--space-md);
  }

  .hero__badge-text {
    font-size: 0.6rem;
  }

  .hero__sub-badge {
    font-size: 0.78rem;
    padding: var(--space-sm) var(--space-md);
  }

  .pillars {
    gap: 0;
  }

  .pillar {
    padding: var(--space-sm) var(--space-sm);
  }

  .pillar__icon {
    width: 44px;
    height: 44px;
    padding: 6px;
  }

  .pillar__icon svg {
    width: 26px;
    height: 26px;
  }

  .pillar__label {
    font-size: 0.7rem;
  }

  .cta-button__text {
    font-size: 1.15rem;
    padding: var(--space-md) var(--space-sm);
  }

  .cta-button__icon {
    padding: var(--space-md) var(--space-sm) var(--space-md) var(--space-md);
  }

  .cta-button__arrow {
    padding: var(--space-md) var(--space-md) var(--space-md) 0;
  }

  .social-proof {
    gap: var(--space-md);
  }

  .social-proof__divider {
    display: none;
  }

  .social-proof__clients {
    width: 100%;
    justify-content: center;
  }

  .social-proof__item {
    flex: 0 0 auto;
  }
}

@media (max-width: 380px) {
  .hero__headline-line {
    font-size: 1.9rem;
  }

  .hero__headline-accent {
    font-size: 2.6rem;
  }

  .pillar {
    padding: var(--space-xs);
  }

  .pillar__icon {
    width: 38px;
    height: 38px;
  }

  .pillar__label {
    font-size: 0.65rem;
  }

  .cta-button__text {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .cta-button__icon svg {
    width: 22px;
    height: 22px;
  }

  .cta-button__arrow svg {
    width: 26px;
    height: 26px;
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  .container {
    max-width: 680px;
  }

  .site-header {
    padding-bottom: var(--space-md);
  }

  .hero__badge {
    margin-top: 0;
    margin-bottom: var(--space-sm);
  }

  .hero__sub-badge {
    margin-top: 0;
    margin-bottom: var(--space-xl);
  }

  .hero__headline {
    margin-bottom: var(--space-xl);
  }

  .hero__badge-text {
    font-size: 0.75rem;
  }

  .pillar__icon {
    width: 60px;
    height: 60px;
    padding: 10px;
  }

  .pillar__icon svg {
    width: 36px;
    height: 36px;
  }

  .pillar__label {
    font-size: 0.85rem;
  }
}
