/* FairwayBook Marketing Site — style.css */

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

:root {
  --green: #1a2a1a;
  --gold: #c8a84b;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

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

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--green);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.9; }

.btn-gold {
  background: var(--gold);
  color: var(--green);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.nav-cta {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--green);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

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

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--cream);
  padding: 48px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ── Feature Cards (Home) ──────────────────────────────────── */
.features-strip {
  padding: 72px 24px;
}

.features-strip h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 32px 24px;
}

.feature-card .icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 8px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Social Proof ──────────────────────────────────────────── */
.social-proof {
  background: var(--cream);
  padding: 48px 24px;
  text-align: center;
}

.social-proof p {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border: none;
}

/* ── Closing CTA ───────────────────────────────────────────── */
.closing-cta {
  background: var(--green);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.closing-cta h2 {
  font-size: 2rem;
  margin-bottom: 28px;
}

/* ── Features Page — Sections ──────────────────────────────── */
.feature-section {
  padding: 64px 24px;
}

.feature-section:nth-child(even) { background: var(--cream); }
.feature-section:nth-child(odd) { background: var(--white); }

.feature-section h2 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 20px;
}

.feature-section ul {
  list-style: disc;
  padding-left: 20px;
}

.feature-section li {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ── Pricing Cards ─────────────────────────────────────────── */
.pricing-section {
  padding: 72px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border-color: var(--gold);
  border-width: 2px;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green);
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.pricing-card .price-period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid #f0ece4;
}

.pricing-card li:last-child { border-bottom: none; }

/* MSP Bundle Callout */
.msp-bundle {
  border: 2px solid var(--gold);
  background: var(--cream);
  border-radius: 8px;
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 32px;
}

.msp-bundle h3 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 8px;
}

.msp-bundle .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.msp-bundle p {
  font-size: 1rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.comparison-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-section {
  padding: 72px 24px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 40px 36px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d0ccc4;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.form-message {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 6px;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

.form-message.error {
  display: block;
  background: #fbe9e7;
  color: #c62828;
}

/* Contact Details */
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-detail-card {
  background: var(--white);
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.contact-detail-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-card span {
  font-size: 1.05rem;
  color: var(--green);
  font-weight: 600;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--green);
  color: var(--white);
  padding: 48px 24px 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open { display: flex; }

  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; }
}
