/* ============================================
   KALORI & MAKRO HESAPLAYICI - STYLES
   ============================================ */

:root {
  /* Light mode colors */
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6c757d;
  --border: #dee2e6;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --accent2: #28a745;
  --accent2-hover: #218838;
  --danger: #dc3545;
  --warning: #ffc107;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  
  /* Macro colors */
  --protein: #e74c3c;
  --fat: #f39c12;
  --carbs: #3498db;
}

[data-theme="dark"] {
  --bg: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --card: #2d2d2d;
  --text: #e9ecef;
  --text-muted: #adb5bd;
  --border: #495057;
  --accent: #4da3ff;
  --accent-hover: #3d8fe6;
  --accent2: #51cf66;
  --accent2-hover: #40c057;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.5);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

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

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 1.8rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--border);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--accent);
  border: 2px solid white;
}

.btn-secondary:hover {
  background: transparent;
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.btn-success {
  background: var(--accent2);
  color: white;
}

.btn-success:hover {
  background: var(--accent2-hover);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 16px var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.card-body {
  color: var(--text);
}

.card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   GRID
   ============================================ */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Radio/Checkbox groups */
.radio-group,
.checkbox-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.radio-label:hover,
.checkbox-label:hover {
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.radio-label input:checked + span,
.checkbox-label input:checked + span {
  font-weight: 600;
}

input[type="radio"]:checked ~ .radio-label,
input[type="checkbox"]:checked ~ .checkbox-label {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

/* Segmented control */
.segmented-control {
  display: flex;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.segmented-option {
  flex: 1;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.segmented-option:hover {
  background: var(--border);
}

.segmented-option.active {
  background: var(--accent);
  color: white;
}

/* Range slider */
.range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

/* ============================================
   TEMPLATE CARDS
   ============================================ */

.template-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.template-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.template-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--shadow-lg);
  transform: translateY(-4px);
}

.template-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
}

.template-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.template-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.template-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.template-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================
   RESULTS
   ============================================ */

.results-section {
  margin: 2rem 0;
}

.result-card-large {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.result-value {
  font-size: 3rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.result-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

.result-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-card-small {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.result-card-small .result-value {
  font-size: 1.75rem;
  color: var(--accent);
}

.result-card-small .result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Macro cards */
.macro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.macro-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.macro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.macro-card.protein::before {
  background: var(--protein);
}

.macro-card.fat::before {
  background: var(--fat);
}

.macro-card.carbs::before {
  background: var(--carbs);
}

.macro-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.macro-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.macro-card.protein .macro-value {
  color: var(--protein);
}

.macro-card.fat .macro-value {
  color: var(--fat);
}

.macro-card.carbs .macro-value {
  color: var(--carbs);
}

.macro-percent {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Macro bars */
.macro-bars {
  display: flex;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.macro-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.macro-bar:hover {
  opacity: 0.9;
}

.macro-bar.protein {
  background: var(--protein);
}

.macro-bar.fat {
  background: var(--fat);
}

.macro-bar.carbs {
  background: var(--carbs);
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  background: var(--border);
}

.accordion-title {
  font-weight: 600;
  color: var(--text);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--text);
}

/* ============================================
   ALERT / NOTICE
   ============================================ */

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid;
}

.alert-info {
  background: rgba(0, 102, 204, 0.1);
  border-color: var(--accent);
  color: var(--text);
}

.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: var(--warning);
  color: var(--text);
}

.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border-color: var(--danger);
  color: var(--text);
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border-color: var(--accent2);
  color: var(--text);
}

/* ============================================
   BADGE / PILL
   ============================================ */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--accent);
  color: white;
}

.badge-success {
  background: var(--accent2);
  color: white;
}

.badge-secondary {
  background: var(--bg-secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ============================================
   TOAST
   ============================================ */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 16px var(--shadow-lg);
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-left: 4px solid var(--accent2);
}

.toast.error {
  border-left: 4px solid var(--danger);
}

/* ============================================
   GUIDE CONTENT
   ============================================ */

.guide-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.guide-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.guide-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.guide-content h3 {
  font-size: 1.35rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
}

.guide-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.guide-content ul,
.guide-content ol {
  margin: 1rem 0 1rem 2rem;
  line-height: 1.8;
}

.guide-content li {
  margin-bottom: 0.5rem;
}

.guide-content strong {
  font-weight: 600;
  color: var(--accent);
}

.guide-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--warning);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.disclaimer-box h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
  display: none !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 4px 8px var(--shadow);
  }
  
  .result-value {
    font-size: 2.5rem;
  }
  
  .guide-content h1 {
    font-size: 2rem;
  }
  
  .template-cards {
    grid-template-columns: 1fr;
  }
  
  .toast {
    left: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .result-value {
    font-size: 2rem;
  }
  
  .macro-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ENHANCED HERO
   ============================================ */

.hero-enhanced {
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero-enhanced .container {
  position: relative;
  z-index: 1;
}

.hero-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5%, -5%); }
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 10px;
}

.hero-enhanced .btn-primary:hover {
  color: white;
}

/* Quick BMI Calculator Widget */
.quick-calc-widget {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.quick-calc-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.quick-calc-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.quick-calc-input {
  flex: 1;
}

.quick-calc-input label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.quick-calc-input input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 1rem;
  text-align: center;
}

.quick-calc-input input::placeholder {
  color: rgba(255,255,255,0.6);
}

.quick-calc-input input:focus {
  outline: none;
  border-color: white;
  background: rgba(255,255,255,0.3);
}

.quick-calc-result {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   STEPS / HOW IT WORKS
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  text-align: left;
}

.feature-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
}

.template-hover-card {
  transition: all 0.3s ease;
}

.template-hover-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: white;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--accent);
  font-weight: 700;
}

.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* ============================================
   CTA BOX (in articles)
   ============================================ */

.cta-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-box p {
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
  background: white;
  color: var(--accent);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ============================================
   BLOG CARDS
   ============================================ */

.blog-card {
  display: flex;
  flex-direction: column;
}

.article-category-badge {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* ============================================
   CONTENT TABLE
   ============================================ */

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.content-table thead {
  background: var(--bg-secondary);
}

.content-table th,
.content-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.content-table th {
  font-weight: 600;
  color: var(--text);
}

.content-table td {
  color: var(--text);
}

.content-table tbody tr:hover {
  background: var(--bg-secondary);
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */

.category-filters .btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .quick-calc-widget {
    max-width: 100%;
    padding: 1.25rem;
  }

  .quick-calc-form {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-calc-input {
    width: 100%;
  }

  .quick-calc-input input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
  }

  .quick-calc-form .btn {
    width: 100%;
    padding: 0.75rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.5rem 1rem;
  }

  .content-table {
    font-size: 0.85rem;
  }

  .content-table th,
  .content-table td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 1.3rem;
  }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
  .header,
  .footer,
  .theme-toggle,
  .btn,
  .ad-container,
  .stats-bar,
  .cta-section {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}
