/* ===== FANOBET OFFIZIELL - Main Stylesheet ===== */
/* Brand Colors: Dark theme with green accent */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1c2536;
  --bg-card-alt: #162032;
  --bg-input: #0f172a;
  --accent: #00C853;
  --accent-hover: #00E676;
  --accent-dark: #009624;
  --blue: #448AFF;
  --blue-hover: #5C9AFF;
  --text-primary: #FFFFFF;
  --text-secondary: #8892A4;
  --text-muted: #5a6478;
  --border: #2a3448;
  --border-light: #344054;
  --success: #00C853;
  --warning: #FFB300;
  --danger: #FF5252;
  --gradient-green: linear-gradient(135deg, #00C853, #00E676);
  --gradient-blue: linear-gradient(135deg, #1565C0, #448AFF);
  --gradient-dark: linear-gradient(180deg, #0a0e17, #111827);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.3s ease;
  --max-width: 1280px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
table { width: 100%; border-collapse: collapse; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--accent); color: var(--bg-primary); }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }
.section-accent { background: linear-gradient(135deg, rgba(0,200,83,0.08), rgba(68,138,255,0.05)); }

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,14,23,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.header.scrolled { background: rgba(10,14,23,0.98); box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; color: var(--accent); }
.nav-logo svg { width: 38px; height: 38px; }
.nav-logo span { background: var(--gradient-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-secondary); font-size: 0.92rem; font-weight: 500; position: relative; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary { background: var(--gradient-green); color: var(--bg-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,200,83,0.35); color: var(--bg-primary); }
.btn-secondary { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-secondary:hover { background: var(--accent); color: var(--bg-primary); }
.btn-blue { background: var(--gradient-blue); color: #fff; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(68,138,255,0.35); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-login { background: transparent; border: 1px solid var(--border-light); color: var(--text-primary); padding: 8px 20px; border-radius: var(--radius-sm); font-size: 0.88rem; }
.btn-login:hover { border-color: var(--accent); color: var(--accent); }

/* ===== MOBILE MENU ===== */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 999;
  flex-direction: column; padding: 30px 20px; gap: 8px;
  overflow-y: auto;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 20px; color: var(--text-secondary);
  font-size: 1.05rem; font-weight: 500; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--bg-card); color: var(--text-primary); }
.mobile-menu .mobile-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mobile-cta .btn { width: 100%; justify-content: center; }

/* ===== HERO SECTIONS ===== */
.hero {
  position: relative; padding: 140px 0 80px; min-height: 540px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,200,83,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(68,138,255,0.08) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-content .badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,200,83,0.12); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(0,200,83,0.2); }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 .highlight { color: var(--accent); }
.hero-content p.hero-desc { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; z-index: 2; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Hero Variant 2: Centered */
.hero-center { text-align: center; }
.hero-center .hero-content { max-width: 800px; margin: 0 auto; }
.hero-center .hero-actions { justify-content: center; }

/* Hero Variant 3: With Stats */
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.hero-stat .label { font-size: 0.82rem; color: var(--text-muted); }

/* ===== STAT BAR ===== */
.stat-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
.stat-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { text-align: center; }
.stat-item .stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-item .stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: rgba(0,200,83,0.1); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.card p { font-size: 0.92rem; }
.card-img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; background: var(--bg-secondary); overflow: hidden; }
.card-img img, .card-img svg { width: 100%; height: 100%; object-fit: cover; }

/* Card Grid Variants */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* Feature Card */
.feature-card { text-align: center; padding: 36px 24px; }
.feature-card .card-icon { margin: 0 auto 18px; }

/* Promo Card */
.promo-card { border-left: 4px solid var(--accent); position: relative; overflow: hidden; }
.promo-card::before { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle, rgba(0,200,83,0.1), transparent); }

/* ===== TABLES ===== */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead { background: var(--bg-card); }
.data-table th {
  padding: 14px 18px; text-align: left; font-weight: 600; font-size: 0.88rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--text-secondary); }
.data-table tbody tr { transition: background var(--transition); }
.data-table tbody tr:hover { background: rgba(0,200,83,0.04); }
.data-table tbody tr:last-child td { border-bottom: none; }
.table-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.badge-green { background: rgba(0,200,83,0.15); color: var(--accent); }
.badge-blue { background: rgba(68,138,255,0.15); color: var(--blue); }
.badge-yellow { background: rgba(255,179,0,0.15); color: var(--warning); }
.badge-red { background: rgba(255,82,82,0.15); color: var(--danger); }

/* Comparison Table */
.comparison-table th:first-child { width: 200px; }
.comparison-table .check { color: var(--accent); font-weight: 700; font-size: 1.2rem; }
.comparison-table .cross { color: var(--danger); font-weight: 700; font-size: 1.2rem; }

/* Striped Table */
.table-striped tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }

/* ===== CHARTS (CSS BASED) ===== */

/* Bar Chart */
.chart-container { margin: 30px 0; padding: 28px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border); }
.chart-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 24px; }
.bar-chart { display: flex; flex-direction: column; gap: 16px; }
.bar-item { display: flex; align-items: center; gap: 16px; }
.bar-label { min-width: 120px; font-size: 0.88rem; color: var(--text-secondary); text-align: right; }
.bar-track { flex: 1; height: 28px; background: var(--bg-secondary); border-radius: 14px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; border-radius: 14px; background: var(--gradient-green); transition: width 1.5s ease; position: relative; }
.bar-fill.blue { background: var(--gradient-blue); }
.bar-fill.yellow { background: linear-gradient(135deg, #FF8F00, #FFB300); }
.bar-fill.red { background: linear-gradient(135deg, #D32F2F, #FF5252); }
.bar-value { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-left: 12px; min-width: 40px; }

/* Horizontal Bar Chart Variant */
.hbar-chart { display: flex; align-items: flex-end; gap: 20px; height: 220px; padding-top: 20px; justify-content: center; }
.hbar-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; max-width: 80px; }
.hbar-bar { width: 100%; border-radius: 6px 6px 0 0; background: var(--gradient-green); transition: height 1.5s ease; min-height: 10px; }
.hbar-bar.blue { background: var(--gradient-blue); }
.hbar-bar.yellow { background: linear-gradient(135deg, #FF8F00, #FFB300); }
.hbar-label { font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.hbar-value { font-size: 0.8rem; font-weight: 700; color: var(--accent); }

/* Pie/Donut Chart */
.pie-chart-wrapper { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.pie-chart { width: 200px; height: 200px; border-radius: 50%; position: relative; }
.donut-chart { width: 200px; height: 200px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; }
.donut-center { width: 100px; height: 100px; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; flex-direction: column; position: absolute; z-index: 2; }
.donut-center .donut-value { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.donut-center .donut-label { font-size: 0.7rem; color: var(--text-muted); }
.pie-legend { display: flex; flex-direction: column; gap: 10px; }
.pie-legend-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); }
.pie-legend-color { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }

/* Progress Bars */
.progress-group { display: flex; flex-direction: column; gap: 20px; }
.progress-item label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.88rem; }
.progress-item label span:first-child { color: var(--text-secondary); }
.progress-item label span:last-child { color: var(--accent); font-weight: 600; }
.progress-bar { height: 10px; background: var(--bg-secondary); border-radius: 5px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 5px; background: var(--gradient-green); transition: width 1.5s ease; }
.progress-fill.blue { background: var(--gradient-blue); }

/* Radar/Spider (simplified as radial progress) */
.radial-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.radial-item { text-align: center; }
.radial-circle { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 12px; position: relative; display: flex; align-items: center; justify-content: center; }
.radial-circle::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 6px solid var(--bg-secondary); }
.radial-value { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.radial-label { font-size: 0.82rem; color: var(--text-muted); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.form-control {
  width: 100%; padding: 12px 16px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,200,83,0.15); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 6px; }

/* ===== ACCORDION / FAQ ===== */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.accordion-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  transition: background var(--transition);
}
.accordion-header:hover { background: rgba(255,255,255,0.03); }
.accordion-icon { width: 20px; height: 20px; transition: transform var(--transition); flex-shrink: 0; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.accordion-item.active .accordion-body { max-height: 500px; padding: 0 20px 20px; }
.accordion-body p { font-size: 0.92rem; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -33px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-primary); }
.timeline-item h4 { margin-bottom: 8px; color: var(--text-primary); }
.timeline-item p { font-size: 0.9rem; }

/* ===== STEPS ===== */
.steps { display: flex; gap: 24px; counter-reset: step; }
.step {
  flex: 1; text-align: center; padding: 30px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-green);
  color: var(--bg-primary); font-weight: 800; font-size: 1.2rem;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.88rem; }

/* ===== TABS ===== */
.tabs-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
  padding: 12px 24px; font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; border: none; background: none; position: relative;
  white-space: nowrap; transition: color var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--accent); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== TESTIMONIALS ===== */
.testimonial { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px; position: relative; }
.testimonial::before { content: '"'; font-size: 4rem; color: var(--accent); opacity: 0.3; position: absolute; top: 10px; left: 20px; font-family: Georgia, serif; }
.testimonial p { font-size: 0.95rem; font-style: italic; margin-bottom: 16px; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-secondary); overflow: hidden; }
.testimonial-avatar img, .testimonial-avatar svg { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== AUTHOR BOX ===== */
.author-box {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 30px; margin: 40px 0;
}
.author-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--accent); }
.author-avatar img, .author-avatar svg { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { margin-bottom: 4px; }
.author-info .author-title { font-size: 0.85rem; color: var(--accent); margin-bottom: 10px; }
.author-info p { font-size: 0.88rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center; padding: 70px 40px;
  background: linear-gradient(135deg, rgba(0,200,83,0.12), rgba(68,138,255,0.08));
  border-radius: var(--radius-lg); border: 1px solid rgba(0,200,83,0.15);
  margin: 40px 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 560px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.88rem; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.88rem; padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-badges { display: flex; gap: 16px; align-items: center; }
.footer-badges img, .footer-badges svg { height: 28px; opacity: 0.6; }
.footer-18plus { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid var(--danger); color: var(--danger); font-size: 0.75rem; font-weight: 800; border-radius: 50%; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.breadcrumb .current { color: var(--text-secondary); }

/* ===== RATING ===== */
.rating { display: flex; gap: 2px; }
.star { color: var(--warning); font-size: 1.1rem; }
.star.empty { color: var(--border); }

/* ===== TAGS ===== */
.tag-group { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 4px 12px; background: rgba(0,200,83,0.1); color: var(--accent); border-radius: 50px; font-size: 0.78rem; font-weight: 500; border: 1px solid rgba(0,200,83,0.2); }

/* ===== ALERTS / INFO BOXES ===== */
.info-box { padding: 20px 24px; border-radius: var(--radius-sm); margin: 20px 0; display: flex; gap: 14px; align-items: flex-start; }
.info-box svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.info-box p { margin: 0; font-size: 0.9rem; }
.info-box-green { background: rgba(0,200,83,0.08); border: 1px solid rgba(0,200,83,0.2); }
.info-box-blue { background: rgba(68,138,255,0.08); border: 1px solid rgba(68,138,255,0.2); }
.info-box-yellow { background: rgba(255,179,0,0.08); border: 1px solid rgba(255,179,0,0.2); }

/* ===== TWO COLUMN SECTION ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col-text h2 { margin-bottom: 16px; }
.two-col-image { border-radius: var(--radius-md); overflow: hidden; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-header .section-tag { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1rem; }

/* ===== CHECKLIST ===== */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: var(--text-secondary); }
.checklist-item svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ===== NUMBER LIST ===== */
.numbered-list { display: flex; flex-direction: column; gap: 20px; counter-reset: numlist; }
.numbered-item { display: flex; gap: 16px; align-items: flex-start; counter-increment: numlist; }
.numbered-item::before {
  content: counter(numlist); min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-green); color: var(--bg-primary);
  font-weight: 800; border-radius: 50%; font-size: 0.9rem; flex-shrink: 0;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  width: 280px; height: 560px; background: #111; border-radius: 36px;
  border: 4px solid #333; position: relative; overflow: hidden;
  margin: 0 auto; box-shadow: var(--shadow-lg);
}
.phone-mockup::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 24px; background: #000; border-radius: 12px; z-index: 10;
}
.phone-screen { width: 100%; height: 100%; overflow: hidden; background: var(--bg-primary); }
.phone-screen img, .phone-screen svg { width: 100%; height: 100%; object-fit: cover; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.animate { opacity: 0; }
.animate.visible { animation: fadeInUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .hero-image { order: -1; }
  .two-col { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-login { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .section { padding: 50px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-bar .container { flex-direction: column; align-items: center; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .pie-chart-wrapper { flex-direction: column; align-items: center; }
  .hbar-chart { height: 180px; }
  .tabs-nav { gap: 0; }
  .tab-btn { padding: 10px 16px; font-size: 0.82rem; }
  .cta-section { padding: 40px 20px; }
  .bar-label { min-width: 80px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card { padding: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .btn-lg { padding: 14px 28px; }
  .nav { height: 64px; }
  .mobile-menu { top: 64px; }
  .data-table th, .data-table td { padding: 10px 12px; font-size: 0.82rem; }
  .phone-mockup { width: 240px; height: 480px; }
}

/* ===== SKIP TO CONTENT (Accessibility) ===== */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--bg-primary); padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 700;
  font-size: 0.95rem; z-index: 10000; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: var(--bg-primary); outline: 3px solid #fff; }

/* ===== FOCUS STYLES (Accessibility) ===== */
*:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px;
}
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.nav-links a:focus-visible, .mobile-menu a:focus-visible, .footer-col a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 20px; box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  display: none; /* shown by JS */
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; font-size: 0.88rem; color: var(--text-secondary); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== 18+ AGE GATE ===== */
.age-gate {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10,14,23,0.97); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
}
.age-gate.visible { display: flex; }
.age-gate-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 40px;
  text-align: center; max-width: 440px; width: 90%;
}
.age-gate-box .footer-18plus { width: 64px; height: 64px; font-size: 1.2rem; margin: 0 auto 20px; border-width: 3px; }
.age-gate-box h2 { margin-bottom: 12px; font-size: 1.5rem; }
.age-gate-box p { margin-bottom: 24px; }
.age-gate-actions { display: flex; gap: 12px; justify-content: center; }
.age-gate-actions .btn { min-width: 120px; }

/* ===== NOSCRIPT ===== */
.noscript-warn {
  background: var(--warning); color: var(--bg-primary); text-align: center;
  padding: 12px 20px; font-weight: 600; font-size: 0.9rem;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .animate { opacity: 1; }
  .bar-fill, .progress-fill { transition: none !important; }
}

/* ===== HIGH CONTRAST ===== */
@media (prefers-contrast: high) {
  :root { --border: #555; --text-secondary: #ccc; --text-muted: #aaa; }
  .card, .table-wrapper, .accordion-item { border-width: 2px; }
}

/* ===== PRINT ===== */
@media print {
  .header, .footer, .hamburger, .mobile-menu, .btn, .cta-section, .cookie-banner, .age-gate { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
  .section { padding: 20px 0; }
  h1, h2, h3 { page-break-after: avoid; }
  table, img, svg { page-break-inside: avoid; }
}
