/* ============================================================
   AGENCEWEB-FRANCE.FR — Style Principal
   Design Premium Agence Web | SEO + Conversion + Adsterra
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a56db;
  --primary-dark: #1241a3;
  --primary-light: #e8f0fe;
  --accent: #ff6b35;
  --accent-dark: #e05520;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 48px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

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

.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ---- BADGES ---- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: #fff3ef; color: var(--accent); }
.badge-success { background: #d1fae5; color: #065f46; }

/* ---- HEADER ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
}
.logo span { color: var(--primary); }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

nav.main-nav { display: flex; align-items: center; gap: 8px; }
nav.main-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--gray);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.header-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- ADSTERRA BANNER HEADER ---- */
.ad-header-banner {
  background: var(--gray-light);
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--gray);
  overflow: hidden;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge { margin-bottom: 20px; }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: #60a5fa; }
.hero-desc { font-size: 1.1rem; opacity: 0.88; margin-bottom: 32px; line-height: 1.7; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #60a5fa;
}
.hero-stat span { font-size: 0.85rem; opacity: 0.8; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
}
.hero-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots span {
  width: 12px; height: 12px; border-radius: 50%;
}
.hero-card-dots span:nth-child(1) { background: #ef4444; }
.hero-card-dots span:nth-child(2) { background: #f59e0b; }
.hero-card-dots span:nth-child(3) { background: #10b981; }

.hero-card-title { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.hero-metric { margin-bottom: 20px; }
.hero-metric-label { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-bottom: 6px; }
.hero-metric-bar { background: rgba(255,255,255,0.1); border-radius: 50px; height: 8px; overflow: hidden; }
.hero-metric-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, #60a5fa, #a78bfa); }
.hero-metric-value { color: white; font-weight: 700; font-size: 0.9rem; margin-top: 4px; }
.hero-badge-float {
  position: absolute;
  top: -20px; right: -20px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { color: var(--gray); font-size: 1.05rem; margin-top: 12px; }

/* ---- FEATURES GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-icon svg { flex-shrink: 0; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; margin: 0; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 28px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; }
.service-price {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.service-price strong { color: var(--primary); font-size: 1.2rem; }

/* ---- CTA BOX ---- */
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-box h2 { color: white; margin-bottom: 16px; }
.cta-box p { opacity: 0.88; font-size: 1.05rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { color: var(--dark); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary-light);
}
.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { color: var(--gray); font-size: 0.8rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  background: var(--white);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-question.active { background: var(--primary-light); color: var(--primary); }
.faq-icon { font-size: 1.2rem; transition: transform var(--transition); }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--gray);
  font-size: 0.95rem;
}
.faq-answer.open { max-height: 400px; padding: 16px 24px 20px; }

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; font-size: 0.82rem; color: var(--gray);
}
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.read-more {
  color: var(--primary); font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; gap: 6px;
}
.read-more:hover { gap: 10px; }

/* ---- ARTICLE ---- */
.article-header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  padding: 80px 0 60px;
}
.article-header .badge { margin-bottom: 16px; }
.article-header h1 { color: white; margin-bottom: 20px; }
.article-meta {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; font-size: 0.88rem; opacity: 0.8;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body { padding: 60px 0; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.article-content { min-width: 0; }
.article-content h2 { margin: 40px 0 16px; padding-top: 8px; border-top: 2px solid var(--primary-light); }
.article-content h3 { margin: 28px 0 12px; color: var(--primary-dark); }
.article-content p { color: #374151; line-height: 1.8; margin-bottom: 1.2rem; }
.article-content ul, .article-content ol { margin: 16px 0 16px 20px; color: #374151; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }

.article-intro {
  font-size: 1.1rem;
  color: var(--dark2);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ---- IN-ARTICLE CTA (Fiverr) ---- */
.fiverr-cta {
  background: linear-gradient(135deg, #1a56db, #1241a3);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fiverr-cta::before {
  content: '⭐⭐⭐⭐⭐';
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.fiverr-cta h4 { color: white; font-size: 1.3rem; margin-bottom: 10px; }
.fiverr-cta p { opacity: 0.9; margin-bottom: 20px; font-size: 0.95rem; }
.fiverr-cta .btn { background: #1dbf73; border-color: #1dbf73; }
.fiverr-cta .btn:hover { background: #19a463; border-color: #19a463; transform: scale(1.05); }

.fiverr-cta-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 32px 0;
}
.fiverr-cta-inline-icon { font-size: 2.5rem; }
.fiverr-cta-inline-text { flex: 1; }
.fiverr-cta-inline-text strong { display: block; color: var(--dark); margin-bottom: 4px; }
.fiverr-cta-inline-text span { color: var(--gray); font-size: 0.9rem; }

/* ---- ARTICLE SIDEBAR ---- */
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card h4 { margin-bottom: 16px; font-size: 1rem; }

.toc-list { list-style: none; }
.toc-list li { margin-bottom: 8px; }
.toc-list a {
  color: var(--gray);
  font-size: 0.88rem;
  display: flex; align-items: flex-start; gap: 8px;
}
.toc-list a::before { content: '→'; color: var(--primary); flex-shrink: 0; }
.toc-list a:hover { color: var(--primary); }

/* ---- AD ZONES ---- */
.ad-zone {
  text-align: center;
  padding: 12px;
  background: #fafafa;
  border: 1px dashed #d1d5db;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.ad-zone-label {
  position: absolute;
  top: 4px; left: 8px;
  font-size: 0.65rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- PRICING TABLE ---- */
.pricing-table {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricing-table th {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
}
.pricing-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.pricing-table tr:nth-child(even) td { background: var(--gray-light); }
.pricing-table tr:hover td { background: var(--primary-light); }

/* ---- FAQ SCHEMA ---- */
.faq-schema { margin: 40px 0; }
.faq-schema h2 { margin-bottom: 24px; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 140px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--primary);
  padding: 40px 0;
  color: white;
}
.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number { font-size: 2.5rem; font-weight: 800; display: block; }
.stat-label { opacity: 0.85; font-size: 0.9rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: white; margin-bottom: 16px; font-size: 0.95rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: white; }

.ad-footer-banner {
  background: #111827;
  text-align: center;
  padding: 16px;
  margin-bottom: 0;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { opacity: 0.5; }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  padding: 60px 0;
}
.page-header h1 { color: white; margin-bottom: 12px; }
.page-header p { opacity: 0.85; font-size: 1.05rem; }

/* ---- BLOG LISTING ---- */
.blog-filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ---- NOTICE BOX ---- */
.notice-box {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.notice-box.info { background: var(--primary-light); border-left: 4px solid var(--primary); }
.notice-box.success { background: #d1fae5; border-left: 4px solid var(--success); }
.notice-box.warning { background: #fef3c7; border-left: 4px solid #f59e0b; }
.notice-box-icon { font-size: 1.3rem; flex-shrink: 0; }
.notice-box-text { font-size: 0.95rem; color: var(--dark2); }
.notice-box-text strong { display: block; margin-bottom: 4px; }

/* ---- COMPARISON TABLE ---- */
.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.comparison-col {
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid var(--border);
}
.comparison-col.pro { border-color: var(--success); background: #f0fdf4; }
.comparison-col.con { border-color: #fca5a5; background: #fff1f2; }
.comparison-col h4 { margin-bottom: 14px; }
.comparison-col ul { list-style: none; }
.comparison-col ul li { padding: 6px 0; font-size: 0.95rem; display: flex; gap: 8px; }
.comparison-col.pro ul li::before { content: '✓'; color: var(--success); font-weight: 700; }
.comparison-col.con ul li::before { content: '✗'; color: #ef4444; font-weight: 700; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn:not(.btn-sm) { display: none; }
  .hero { padding: 70px 0 60px; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-box { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { padding: 40px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  nav.main-nav.open { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: white; padding: 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 999; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-gray { color: var(--gray); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.gap-16 { gap: 16px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

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

/* ---- PRINT ---- */
@media print {
  #site-header, footer, .sidebar, .ad-zone { display: none; }
  .article-layout { grid-template-columns: 1fr; }
}
