/* TurnkeyEbookBusiness.com - Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=JetBrains+Mono:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a1628;
  --bg-card: #0f1d33;
  --bg-darker: #070f1e;
  --fg: #e8ecf2;
  --fg-muted: #7a8ba5;
  --primary: #c8a84e;
  --primary-light: #f0d878;
  --accent: #0099cc;
  --accent-light: #00bfff;
  --border: #1a2a42;
  --border-light: #243652;
  --gold-gradient: linear-gradient(135deg, #c8a84e 0%, #f0d878 50%, #c8a84e 100%);
  --green: #25D366;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-bg { background: var(--gold-gradient); }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-card); }
.section-darker { background: var(--bg-darker); }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5-3 { grid-template-columns: 3fr 2fr; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.text-center { text-align: center; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.logo-sub { font-size: 0.7rem; color: var(--fg-muted); margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; font-size: 0.875rem; color: var(--fg-muted);
  border-radius: var(--radius-sm); transition: all 0.2s;
}
.nav a:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.btn-buy-nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-gradient); color: var(--bg); font-weight: 600;
  font-size: 0.875rem; padding: 10px 20px; border-radius: var(--radius-sm);
  border: none; transition: opacity 0.2s;
}
.btn-buy-nav:hover { opacity: 0.9; }
.mobile-toggle {
  display: none; background: none; border: none; color: var(--fg);
  padding: 8px; font-size: 1.5rem;
}
.mobile-menu {
  display: none; position: absolute; top: 64px; left: 0; right: 0;
  background: rgba(10, 22, 40, 0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 16px 20px;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  padding: 12px 16px; font-size: 0.875rem; color: var(--fg-muted);
  border-radius: var(--radius-sm); transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--fg); background: rgba(255,255,255,0.05); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius-sm); border: none;
  font-size: 0.9375rem; transition: all 0.25s; text-decoration: none;
}
.btn-primary { background: var(--gold-gradient); color: var(--bg); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--fg); border: 1px solid var(--border-light);
}
.btn-secondary:hover { border-color: var(--primary); background: rgba(200,168,78,0.05); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { opacity: 0.9; }
.btn-email { background: var(--accent); color: #fff; }
.btn-email:hover { opacity: 0.9; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.3s;
}
.card:hover { border-color: rgba(200,168,78,0.3); }
.card-compact { padding: 20px; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  background: rgba(200,168,78,0.1); border: 1px solid rgba(200,168,78,0.2);
  color: var(--primary);
}

/* Icon Box */
.icon-box {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box-gold { background: var(--gold-gradient); color: var(--bg); }
.icon-box-accent { background: rgba(0,153,204,0.1); color: var(--accent); }
.icon-box-sm { width: 36px; height: 36px; }
.icon-box-lg { width: 56px; height: 56px; }

/* Step indicator */
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold-gradient);
  color: var(--bg); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-num-lg { width: 40px; height: 40px; font-size: 0.875rem; }

/* Alert */
.alert {
  padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.875rem;
}
.alert-accent {
  background: rgba(0,153,204,0.1); border: 1px solid rgba(0,153,204,0.2);
  color: var(--accent);
}
.alert-gold {
  background: rgba(200,168,78,0.1); border: 1px solid rgba(200,168,78,0.2);
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.6), rgba(10,22,40,0.8), var(--bg));
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { font-size: 3.2rem; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero p { font-size: 1.15rem; color: var(--fg-muted); max-width: 600px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* Stats Row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.stat-card { background: rgba(15,29,51,0.6); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-value { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 700; }
.stat-label { font-size: 0.75rem; color: var(--fg-muted); margin-top: 4px; }

/* Item Row */
.item-row { display: flex; align-items: flex-start; gap: 16px; }
.item-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.item-content p { font-size: 0.85rem; color: var(--fg-muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 1; background: var(--bg-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 12px; font-size: 0.75rem; font-weight: 600;
}

/* Table */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comparison-table th { text-align: left; padding: 12px 16px; color: var(--fg-muted); font-weight: 600; border-bottom: 1px solid var(--border); }
.comparison-table th:last-child { text-align: right; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid rgba(26,42,66,0.5); }
.comparison-table td:last-child { text-align: right; }
.comparison-table tr:hover { background: rgba(15,29,51,0.5); }
.comparison-table tfoot td { padding: 16px; font-weight: 700; border-top: 2px solid rgba(200,168,78,0.3); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.faq-item:hover { border-color: rgba(200,168,78,0.3); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px; text-align: left; background: none; border: none;
  color: var(--fg); font-size: 0.9rem; font-weight: 600; font-family: var(--font-body);
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-chevron { transition: transform 0.3s; font-size: 1.25rem; color: var(--fg-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 20px 20px; font-size: 0.85rem; color: var(--fg-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--fg); font-family: var(--font-body);
  font-size: 0.875rem; transition: all 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(200,168,78,0.15); }
.form-textarea { resize: vertical; min-height: 120px; }
.checkbox-label {
  display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--fg-muted); cursor: pointer;
}
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--primary); }

/* Video */
.video-wrapper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-wrapper video { width: 100%; display: block; aspect-ratio: 16/9; }

/* Prose (Legal Pages) */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.25rem; color: var(--fg); margin-top: 32px; margin-bottom: 12px; }
.prose p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 12px; }
.prose ul { padding-left: 24px; margin: 12px 0; }
.prose li { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 8px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }

/* Funnel cards */
.funnel-card h3 { font-size: 1.05rem; margin-bottom: 20px; }
.funnel-step { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.funnel-step span { font-size: 0.85rem; color: var(--fg-muted); }

/* Pill tags */
.pill {
  display: inline-flex; padding: 10px 20px; border-radius: 50px; font-size: 0.85rem;
  background: var(--bg-card); border: 1px solid var(--border); transition: all 0.2s;
}
.pill:hover { border-color: rgba(200,168,78,0.3); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-darker); padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.footer-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }
.footer-heading { font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: var(--fg-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(26,42,66,0.5);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .btn-buy-nav.desktop-only { display: none; }
  .mobile-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 56px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; font-size: 0.875rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease-out forwards; opacity: 0; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
