/* Shared styles for WeedingRobots doorway pages */
:root {
  --primary: #4ade80;
  --primary-dark: #22c55e;
  --dark: #1a1a2e;
  --darker: #0f0f1e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #2563eb;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--dark);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navigation */
.nav {
  background: var(--darker);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 32px; }
.nav-logo span { font-weight: 800; font-size: 1.1rem; color: white; letter-spacing: 1px; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--darker) 0%, #162447 50%, #1a1a2e 100%);
  border-bottom: 2px solid var(--primary);
}
.hero h1 {
  font-size: 2.6rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}
.hero .cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: var(--dark);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(74,222,128,0.3); }
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: rgba(74,222,128,0.1); }

/* Content sections */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--darker); }
.section h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 0.5rem;
}
.section h2 em { font-style: normal; color: var(--primary); }
.section .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

/* Cards grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--primary); }
.card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card .icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

/* Stats row */
.stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; padding: 2rem 0; }
.stat { text-align: center; }
.stat .number { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat .label { color: var(--text-muted); font-size: 0.9rem; }

/* Prose content */
.prose { max-width: 750px; }
.prose p { margin-bottom: 1.25rem; }
.prose h3 { color: white; margin: 2rem 0 0.75rem; font-size: 1.3rem; }
.prose ul { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.prose ul li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; }
.prose ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.compare-table th, .compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}
.compare-table th { color: var(--primary); font-weight: 700; background: var(--darker); }
.compare-table td { color: var(--text-muted); }
.compare-table tr:hover td { background: rgba(74,222,128,0.03); }
.compare-table .highlight { color: var(--primary); font-weight: 600; }

/* Testimonial / Quote */
.quote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--card-bg);
  border-radius: 0 12px 12px 0;
}
.quote p { font-style: italic; font-size: 1.1rem; color: var(--text); margin-bottom: 0.5rem; }
.quote cite { color: var(--text-muted); font-size: 0.9rem; font-style: normal; }

/* FAQ */
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 { color: white; font-size: 1.1rem; margin-bottom: 0.4rem; }
.faq-item p { color: var(--text-muted); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #162447, #1a1a2e);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer {
  background: var(--darker);
  border-top: 1px solid var(--card-border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; flex-wrap: wrap; }

/* Phone bar */
.phone-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--darker);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--card-border);
}
.phone-bar a { font-weight: 600; }

/* Breadcrumb */
.breadcrumb {
  padding: 0.75rem 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--darker);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 3rem 1.5rem 2rem; }
  .stats { gap: 1.5rem; }
  .stat .number { font-size: 2rem; }
  .nav { flex-direction: column; gap: 0.75rem; }
  .nav-links { gap: 1rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .cta-banner { padding: 2rem 1.5rem; }
  body { padding-bottom: 50px; }
}
