/* =============================================
   Tee Time Snipe — Index Page Styles
   Design: NVISION
   ============================================= */

:root {
  --nav-bg:        #002311;
  --green-dark:    #0F5132;
  --green-medium:  #0F5132;
  --green-accent:  #2CCE66;
  --green-light:   #E7F8F2;
  --card-dark:     #0E2718;
  --text-gray:     #4A5565;
  --text-muted:    #94A69A;
  --footer-bg:     #0B100E;
  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--card-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAV
   ============================================= */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px;
}

.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.nav-logo img { height: 34px; }
.nav-logo sup { color: var(--green-accent); font-size: 0.6em; }

.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.nav-login {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.nav-login:hover { color: #fff; }

.nav-signup {
  background: var(--green-accent);
  color: var(--card-dark);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}
.nav-signup:hover { opacity: 0.88; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: auto;
  line-height: 1;
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--nav-bg);
  padding-top: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/nvision/hero-image.png') center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-accent);
  color: var(--card-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero-left h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.hero-left > p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-sso {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 18px;
}

.sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.sso-btn:hover { opacity: 0.82; color: #fff; }

.sso-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.hero-divider span {
  flex: 1;
  height: 1px;
  background: rgba(44,206,102,0.4);
}
.hero-divider em {
  color: rgba(255,255,255,0.55);
  font-style: normal;
  font-size: 0.85rem;
}

.hero-signup-btn {
  display: block;
  background: var(--green-accent);
  color: var(--card-dark);
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}
.hero-signup-btn:hover { opacity: 0.88; }

.hero-secondary-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.hero-secondary-links .already { color: rgba(255,255,255,0.65); }
.hero-secondary-links .already a { color: var(--green-accent); }
.hero-secondary-links .email-link { color: #666; }

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-ui-img {
  width: 100%;
  max-width: 460px;
  border-radius: 14px;
  /* box-shadow: 0 32px 80px rgba(0,0,0,0.45); */
}

/* =============================================
   LOCATION BLOCK
   ============================================= */
#location-block {
  background: #fff;
  padding: 48px 24px;
}

.location-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--green-dark);
  border-radius: 20px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.location-icon {
  width: 52px;
  height: 52px;
  background: rgba(61,116,94,0.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-accent);
  font-size: 1.5rem;
}

.location-card h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.location-card .location-desc {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  margin: 0;
}

.location-btn {
  background: var(--green-accent);
  color: var(--card-dark);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 6px;
  transition: opacity 0.2s;
}
.location-btn:hover { opacity: 0.88; }

.location-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin: 0;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
#how-it-works {
  padding: 100px 0;
  background: #fff;
}

.hiw-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.hiw-header h2 {
  color: var(--green-dark);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.hiw-subtitle {
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  margin-bottom: 8px;
}

.hiw-header .hiw-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.75;
}

.hiw-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hiw-photo {
  border-radius: 16px;
  overflow: hidden;
  max-height: 560px;
}
.hiw-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hiw-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: #10B981;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.step-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-accent);
  font-family: var(--font-heading);
}

.step-content h3 {
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step-content p {
  color: var(--text-gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

.hiw-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  background: var(--green-accent);
  color: var(--card-dark);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.btn-green:hover { opacity: 0.88; }

.btn-dark-green {
  display: inline-flex;
  align-items: center;
  background: var(--green-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.btn-dark-green:hover { opacity: 0.85; }

/* =============================================
   SOCIAL PROOF
   ============================================= */
#social-proof {
  position: relative;
  background: var(--nav-bg);
  padding: 100px 0;
}

#social-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/nvision/group1.jpg') center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.sp-header {
  text-align: center;
  margin-bottom: 56px;
}
.sp-header h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.sp-header p {
  color: var(--green-accent);
  font-size: 1rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 16px 52px;
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}
.stat-label {
  display: block;
  color: var(--green-accent);
  font-size: 0.82rem;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 52px;
  background: rgba(44,206,102,0.35);
}

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

.t-card {
  background: var(--card-dark);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.t-stars {
  color: #F9C633;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.t-quote {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
}

.t-attr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 40px;
  height: 40px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-accent);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.t-name { display: block; color: #fff; font-size: 0.88rem; font-weight: 600; }
.t-location { display: block; color: var(--text-muted); font-size: 0.78rem; }

/* =============================================
   PRICING
   ============================================= */
#pricing {
  padding: 100px 0;
  background: #fff;
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-pill {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header h2 {
  color: var(--green-dark);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--green-light);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 12px;
}

.toggle-btn {
  background: none;
  border: none;
  padding: 8px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.toggle-btn.active {
  background: var(--green-accent);
  color: var(--card-dark);
  font-weight: 700;
}

.pricing-offer {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.plans-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.plan-card {
  border: 1.5px solid #e4ede9;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-card h3 {
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.plan-subtitle {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 10px 0 2px;
}

.price-main {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-dark);
}

.price-per {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.plan-freq-badge {
  display: inline-block;
  background: var(--green-accent);
  color: var(--card-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  /* width: fit-content; */
  margin-top: 6px;
  text-align: center;
}

.plan-cta {
  display: block;
  text-align: center;
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 16px;
  transition: all 0.2s;
}
.plan-cta:hover {
  background: var(--green-dark);
  color: #fff;
}

.pricing-disclaimer {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 580px;
  margin: 0 auto 40px;
}

.feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 26px;
  height: 26px;
  background: var(--green-accent);
  color: var(--card-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text strong {
  display: block;
  color: var(--green-dark);
  font-size: 0.92rem;
  margin-bottom: 3px;
}
.feature-text p {
  color: var(--green-dark);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.75;
}

.pricing-cta-wrap {
  text-align: center;
}

.btn-pricing-cta {
  display: inline-block;
  background: var(--green-accent);
  color: var(--card-dark);
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.btn-pricing-cta:hover { opacity: 0.88; }

/* =============================================
   FINAL CTA
   ============================================= */
#final-cta {
  background: var(--green-light);
  background-image:
    linear-gradient(rgba(15, 81, 50, 0.6), rgba(15, 81, 50, 0.6)),
    url('../img/nvision/golfer3.png');
  background-size: cover;
  background-position: center;
  padding: 100px 24px;
  text-align: center;
}

#final-cta h2 {
  color: var(--card-dark);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.final-cta-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  max-width: 460px;
  margin: 0 auto 36px;
}

.final-cta-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  max-width: 100%;
  margin: 0 auto 16px;
  justify-content: center;
}

.btn-cta-white {
  display: block;
  background: #fff;
  color: var(--card-dark);
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  transition: opacity 0.2s;
}
.btn-cta-white:hover { opacity: 0.88; }

.final-login-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}
.final-login-note a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--footer-bg);
}

.footer-top {
  padding: 60px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-top-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.footer-brand { max-width: 260px; }

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo-wrap img { height: 30px; }
.footer-logo-wrap span {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.footer-logo-wrap sup { color: var(--green-accent); font-size: 0.6em; }

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-contact {
  margin-bottom: 16px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-accent);
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.75; }
.contact-email i { font-size: 1rem; }

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(44, 206, 102, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-accent);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--green-accent);
  color: var(--card-dark);
}

.footer-nav h4 {
  color: var(--green-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  gap: 20px;
}

.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  color: var(--green-accent);
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 0.75; }

.footer-trustpilot {
  margin-left: auto;
}

.trustpilot-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-accent);
  color: var(--card-dark);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.trustpilot-btn:hover { opacity: 0.88; }
.trustpilot-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 18px 24px;
}
.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span,
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--green-accent);
  color: var(--card-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }
  .hero-right { display: none; }

  .hiw-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hiw-photo { max-height: 320px; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  .plans-row { grid-template-columns: 1fr; }

  .footer-top-inner { flex-direction: column; gap: 36px; }
  .footer-trustpilot { margin-left: 0; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--nav-bg);
    padding: 20px 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .stats-row { flex-direction: column; gap: 0; }
  .stat-divider { width: 48px; height: 1px; }

  .hiw-ctas { flex-direction: column; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .location-card { padding: 32px 24px; }

  .hero-secondary-links { flex-direction: column; gap: 6px; }

  .final-cta-btns { flex-direction: column; max-width: 360px; }

  .hero-sso { flex-direction: column; }

  .footer-nav ul { flex-direction: column; gap: 0; }
}
