/* ============================================================
   LANCE WILLIARD RE INVESTOR — styles.css
   ============================================================ */

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

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

body {
  font-family: 'Inter', sans-serif;
  background: #0A0A0A;
  color: #E5E7EB;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  --green:        #27A865;
  --green-dark:   #1B8050;
  --green-hover:  #2EBC74;
  --green-bg:     #1E8A56;  /* hero / video / investor section bg */
  --dark:         #0A0A0A;
  --dark-2:       #111111;
  --dark-3:       #1A1A1A;
  --dark-card:    #0C2318;
  --white:        #FFFFFF;
  --gray:         #9CA3AF;
  --light:        #E5E7EB;
  --max-w:        1200px;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-nav {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
}
.btn-nav:hover { background: var(--green-hover); border-color: var(--green-hover); }

.btn-dark {
  background: #111111;
  color: var(--white);
  border-color: #111111;
}
.btn-dark:hover { background: #222; border-color: #222; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-green-solid {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green-solid:hover { background: var(--green-hover); border-color: var(--green-hover); }

.btn-green-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-green-outline:hover { background: rgba(39,168,101,0.1); }

.btn-back {
  background: transparent;
  color: var(--gray);
  border-color: #333;
  font-weight: 500;
}
.btn-back:hover { background: #1a1a1a; color: var(--light); }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Navigation ---------- */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0A0A0A;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-link {
  color: #D1D5DB;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green-bg);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.hero-content {
  text-align: center;
  max-width: 680px;
}

.hero-market-tag {
  display: inline-block;
  background: rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-heading-accent {
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  padding: 20px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 8px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ---------- About ---------- */
.about {
  background: var(--dark);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

.about-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.about-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.about-text {
  color: #D1D5DB;
  margin-bottom: 20px;
  line-height: 1.7;
}
.about-sub-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--green);
  margin: 28px 0 8px;
}

.callout {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
}
.callout-gold {
  background: rgba(39,168,101,0.08);
  border: 1px solid rgba(39,168,101,0.25);
}
.callout-gold .callout-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 6px;
}
.callout-gold p { color: #D1D5DB; font-size: 0.9rem; }

.callout-green {
  background: rgba(39,168,101,0.08);
  border: 1px solid rgba(39,168,101,0.2);
}
.callout-green p { color: #D1D5DB; font-size: 0.9rem; }
.callout-cta-label { color: var(--green); font-weight: 600; }

.about-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.about-list li {
  color: #D1D5DB;
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.1em;
  line-height: 1.4;
}
.about-list li strong { color: var(--green); font-weight: 600; }

/* Profile card */
.about-profile {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 84px;
}

.profile-photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 20px;
  background: #1a2e22;
  position: relative;
}
.profile-photo-wrap.photo-fallback::after {
  content: 'LW';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  font-family: 'Playfair Display', serif;
  background: #1a2e22;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1.3;
}
.profile-sub {
  font-size: 0.875rem;
  color: #9CA3AF;
  line-height: 1.5;
  margin-bottom: 24px;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.profile-stat { text-align: center; }
.profile-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.profile-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Video ---------- */
.video-section {
  background: var(--green-bg);
  padding: 80px 24px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.video-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  aspect-ratio: 16/9;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.video-thumb-link { display: block; max-width: 800px; margin: 0 auto; }
.video-thumb { position: relative; cursor: pointer; }
.video-thumb:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* ---------- Investment Approach ---------- */
.approach {
  background: var(--dark);
  padding: 100px 0;
}

.section-heading-green {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--green);
  margin-bottom: 12px;
}
.section-sub-dark {
  color: #9CA3AF;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.invest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.invest-card:hover { transform: translateY(-4px); }

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 16px;
  line-height: 1.3;
}
.card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-specs li {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
}
.spec-label {
  font-weight: 600;
  color: var(--green);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--dark);
  padding: 60px 0;
}
.cta-card {
  background: var(--dark-card);
  border: 1px solid rgba(39,168,101,0.2);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-badge {
  display: inline-block;
  background: rgba(39,168,101,0.12);
  border: 1px solid rgba(39,168,101,0.3);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--green);
  margin-bottom: 16px;
}
.cta-text {
  color: #D1D5DB;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Form Sections ---------- */
.form-section { padding: 80px 0; }
.form-dark { background: var(--dark-2); }
.form-green { background: var(--green-bg); }

.section-heading-green { /* reused above */ }
.section-sub-light {
  color: #9CA3AF;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.section-heading-white {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.section-sub-white {
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ---------- Form Card ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 8px 48px rgba(0,0,0,0.3);
  color: #111827;
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.step-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
}
.step-track {
  flex: 1;
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
}
.step-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Form step visibility */
.form-step { display: none; }
.form-step.active { display: block; }
.form-success { display: none; text-align: center; padding: 40px 0; }
.form-success.show { display: block; }
.form-error { display: none; padding: 16px; background: #FEF2F2; border-radius: var(--radius-sm); border: 1px solid #FECACA; }
.form-error.show { display: block; }
.form-error p, .form-error a { color: #991B1B; font-size: 0.9rem; }
.form-error a { text-decoration: underline; }
.form-dedup { display: none; margin-top: 16px; padding: 16px; background: #FFFBEB; border-radius: var(--radius-sm); border: 1px solid #FDE68A; }
.form-dedup.show { display: block; }
.form-dedup p { color: #92400E; font-size: 0.9rem; }

.success-check {
  width: 64px;
  height: 64px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 10px;
}
.form-success p { color: #6B7280; }

.form-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #111827;
  margin-bottom: 24px;
}
.form-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 8px;
  margin: 24px 0 20px;
}
.form-section-label:first-of-type { margin-top: 0; }

/* Fields */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.field-row .field-group { margin-bottom: 0; }

.field-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.field-group input:not([type="checkbox"]):not([type="radio"]),
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #111827;
  background: #F9FAFB;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.field-group input.error,
.field-group select.error,
.field-group textarea.error {
  border-color: #EF4444;
}
.field-group textarea { resize: vertical; min-height: 96px; }
.field-group select { cursor: pointer; }

.field-hint {
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 4px;
  line-height: 1.5;
}

/* Checkboxes */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
}
.check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid #D1D5DB;
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--green);
}
.check-consent {
  align-items: flex-start;
  font-size: 0.82rem;
  color: #4B5563;
  line-height: 1.5;
  gap: 10px;
}
.check-consent input { flex-shrink: 0; margin-top: 2px; }

/* Form nav buttons */
.form-nav { margin-top: 28px; }
.form-nav-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 16px;
}

.footer-col p { color: #9CA3AF; font-size: 0.9rem; margin-bottom: 12px; }

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.footer-email:hover { opacity: 0.8; }
.footer-email i { font-size: 0.85rem; }

.footer-response {
  color: #6B7280;
  font-size: 0.85rem;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(39,168,101,0.12);
  border: 1px solid rgba(39,168,101,0.25);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.social-btn:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.footer-social-sub {
  color: #6B7280;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: #4B5563; font-size: 0.82rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: var(--green);
  font-size: 0.82rem;
  transition: opacity 0.2s;
}
.footer-legal a:hover { opacity: 0.75; }

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-profile {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0A0A0A;
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }

  #navbar { position: relative; }

  /* Hero */
  .hero { padding: 64px 24px; min-height: auto; }
  .hero-stats { padding: 16px 20px; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-sep { display: none; }

  /* About */
  .about { padding: 64px 0; }

  /* Video */
  .video-section { padding: 64px 24px; }

  /* Approach */
  .approach { padding: 64px 0; }
  .cards-grid { gap: 20px; }

  /* Forms */
  .form-section { padding: 60px 0; }
  .form-card { padding: 24px 20px; border-radius: var(--radius-sm); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .check-grid { grid-template-columns: repeat(2, auto); }
  .form-nav-2 { flex-direction: column-reverse; }
  .form-nav-2 .btn { width: 100%; text-align: center; }

  /* CTA */
  .cta-card { padding: 36px 24px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
}
