/* ============================================================
   Crownado — Landing Page Styles
   Brand: Crownado | Niche: Tree Service Operations
   ============================================================ */

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

:root {
  --bg: #0b0f14;
  --surface: #131a24;
  --surface-elevated: #1a2536;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --danger: #ef4444;
  --success: #22c55e;
  --text-primary: #e8eaed;
  --text-secondary: #8899aa;
  --text-muted: #738598;
  --border: #1e2a3a;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 720px;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

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

section {
  padding: 80px 0;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, transform 0.1s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Pain Points --- */
.pain-section {
  background: var(--bg);
}

.section-label {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
}

.pain-grid {
  display: grid;
  gap: 16px;
}

.pain-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s;
}

.pain-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.pain-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.pain-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pain-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Who This Is For --- */
.target-section {
  background: var(--bg);
}

.target-grid {
  display: grid;
  gap: 12px;
}

.target-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s;
}

.target-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.target-check {
  color: var(--success);
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-weight: 700;
}

.target-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.target-item p strong {
  color: var(--text-primary);
}

/* --- What You Get --- */
.product-section {
  background: var(--surface);
}

.product-grid {
  display: grid;
  gap: 16px;
}

.product-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product-check {
  color: var(--success);
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-weight: 700;
}

.product-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Pricing --- */
.pricing-section {
  background: var(--bg);
  text-align: center;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 48px 32px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 8px 48px rgba(245, 158, 11, 0.1);
}

.pricing-card::before {
  content: 'EARLY ACCESS PRICE';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 4px;
}

.pricing-amount span {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.pricing-guarantee {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- Social Proof --- */
.proof-section {
  background: var(--surface);
}

.proof-grid {
  display: grid;
  gap: 20px;
}

.proof-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.proof-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.proof-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.proof-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq-section {
  background: var(--bg);
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.faq-q {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Final CTA --- */
.final-cta-section {
  background: var(--surface);
  text-align: center;
  padding: 80px 0;
}

.final-cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
}

.final-cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Pricing Sub --- */
/* --- Pricing Section Sub (contextual centering) --- */
.pricing-section .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- Primary Button (shared by hero + final CTA) --- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 17px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(245, 158, 11, 0.35);
}

/* --- Focus States (Accessibility) --- */
.btn-primary:focus-visible,
.nav-cta:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  text-decoration: none;
}

/* --- MailerLite Form Overrides --- */
.ml-embedded {
  margin-top: 32px;
}

.ml-embedded form {
  background: transparent !important;
}

.ml-embedded .ml-block-form {
  padding: 0 !important;
}

/* --- Footer --- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }

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

  .hero {
    padding: 72px 0 56px;
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-amount {
    font-size: 44px;
  }

  .nav-cta {
    display: block;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    min-width: 120px;
  }

  .btn-primary {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 16px 24px;
    font-size: 16px;
  }

  .pricing-disclaimer,
  .footer-disclaimer {
    font-size: 13px;
  }

  .target-item {
    padding: 16px 20px;
  }

  .target-item p {
    font-size: 14px;
  }
}

/* ============================================================
   13. LEGAL PAGES (Privacy, Terms)
   ============================================================ */

.legal-section {
  padding: 120px 0 80px;
}

.legal-section h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-section ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-section li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.legal-section li strong {
  color: var(--text-primary);
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: #fbbf24;
}

/* --- Disclaimer Styles --- */
.pricing-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
