/* Log Lantern — Professional SaaS Stylesheet */

:root {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --bg-card: #1a1a2e;
  --border: #2d2d44;
  --text: #e0e0e0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --gradient-1: #60a5fa;
  --gradient-2: #a78bfa;
  --success: #34d399;
  --radius: 12px;
}

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

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

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* Sections */
.section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--bg-alt); max-width: 100%; }
.section h2 { font-size: 2.2rem; text-align: center; margin-bottom: 12px; color: #f1f5f9; }
.section-sub { text-align: center; color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 48px; }

/* Hero */
.hero { text-align: center; padding: 100px 24px 80px; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: 3.2rem; margin-bottom: 20px; line-height: 1.2; }
.gradient { background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 32px; }
.hero-proof { display: flex; gap: 32px; justify-content: center; color: var(--text-dim); font-size: 0.9rem; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-size: 1rem; font-family: inherit; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #6366f1); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(59,130,246,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--gradient-1); }
.btn-outline:hover { background: rgba(59,130,246,0.1); }
.btn-text { background: transparent; color: var(--text-muted); text-decoration: underline; }
.btn-block { display: block; text-align: center; width: 100%; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: transform 0.2s, border-color 0.2s; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: #f1f5f9; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.step { text-align: center; padding: 32px; }
.step-num { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), #6366f1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-weight: 700; font-size: 1.3rem; color: white; }
.step h3 { margin-bottom: 8px; color: #f1f5f9; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; transition: transform 0.2s; }
.product-card:hover { transform: translateY(-4px); }
.product-badge { position: absolute; top: -12px; right: 20px; background: linear-gradient(135deg, var(--primary), #6366f1); color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.product-price { font-size: 2.2rem; font-weight: 700; color: var(--gradient-1); margin-bottom: 20px; }
.product-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.product-features { list-style: none; margin-bottom: 24px; }
.product-features li { padding: 6px 0; color: var(--text-muted); font-size: 0.9rem; }
.product-features li::before { content: "✓ "; color: var(--success); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 12px; }
.faq-item h3 { color: #f1f5f9; margin-bottom: 8px; font-size: 1.1rem; }
.faq-item p { color: var(--text-muted); font-size: 0.93rem; }

/* CTA Section */
.cta-section { text-align: center; }
.cta-section h2 { font-size: 2.5rem; }
.cta-section .btn { margin-top: 24px; }
.cta-note { margin-top: 16px; color: var(--text-dim); font-size: 0.85rem; }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 24px 40px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-col h4 { color: #f1f5f9; margin-bottom: 16px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; padding: 4px 0; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; margin-top: 12px; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--border); z-index: 1000; padding: 20px 24px; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 250px; }
.cookie-text strong { color: #f1f5f9; }
.cookie-text p { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; max-width: 520px; width: 100%; }
.modal-content h3 { margin-bottom: 12px; color: #f1f5f9; }
.modal-content > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.cookie-option { display: flex; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cookie-option strong { display: block; color: #f1f5f9; font-size: 0.95rem; }
.cookie-option p { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }
.cookie-option input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; }
.modal-buttons { display: flex; gap: 10px; margin-top: 20px; }

/* Content Pages (privacy, terms, etc.) */
.content-page { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.content-page h1 { font-size: 2.5rem; margin-bottom: 8px; }
.content-page h2 { font-size: 1.5rem; margin: 32px 0 12px; color: #f1f5f9; }
.content-page p, .content-page li { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; }
.content-page ul { padding-left: 24px; }
.last-updated { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 32px; }

/* Contact Form */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: #f1f5f9; font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { background: rgba(52,211,153,0.1); border: 1px solid var(--success); border-radius: var(--radius); padding: 16px; color: var(--success); margin-top: 16px; display: none; }

/* 404 */
.error-page { text-align: center; padding: 120px 24px; }
.error-page h1 { font-size: 6rem; background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.error-page p { color: var(--text-muted); margin: 16px 0 32px; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .section h2 { font-size: 1.6rem; }
  .products-grid, .features-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-proof { flex-direction: column; align-items: center; gap: 8px; }
  .cookie-inner { flex-direction: column; }
}
