/*
Theme Name: Finalgrow
Theme URI: https://finalgrow.in
Author: Finalgrow Team
Author URI: https://finalgrow.in
Description: Modern WordPress theme for Finalgrow — India's trusted Instagram growth platform. Clean SaaS-style interface with Instagram brand colors, fast loading, fully responsive.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finalgrow
Tags: business, portfolio, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, block-templates, wide-blocks
*/

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-link-hover); }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
  margin: 0 0 0.5em;
}
ul, ol { margin: 0 0 1em 1.25em; }
p { margin: 0 0 1em; }

/* ==========================================================================
   CSS VARIABLES (BRAND TOKENS)
   ========================================================================== */
:root {
  /* Brand colors - Instagram-inspired */
  --color-primary: #E1306C;
  --color-secondary: #833AB4;
  --color-accent: #FCAF45;
  --color-gradient: linear-gradient(90deg, #833AB4 0%, #E1306C 50%, #FCAF45 100%);
  --color-gradient-soft: linear-gradient(135deg, #833AB4 0%, #E1306C 100%);
  --color-gradient-vibrant: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #FCAF45 100%);

  /* Neutrals */
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-heading: #111827;
  --color-background: #FFFFFF;
  --color-background-alt: #F9FAFB;
  --color-background-dark: #0F172A;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;

  /* Header & Footer */
  --color-header-bg: #FFFFFF;
  --color-footer-bg: #0F172A;

  /* Buttons */
  --color-button-bg: #E1306C;
  --color-button-text: #FFFFFF;
  --color-button-hover-bg: #C13584;

  /* States */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 120px;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 24px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
  --shadow-pink: 0 8px 32px rgba(225,48,108,0.25);

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-slow: all 0.3s ease;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.text-gradient {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   TOP PROMO BAR
   ========================================================================== */
.top-bar {
  background: var(--color-gradient);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}
.top-bar p { margin: 0; }
.top-bar strong { font-weight: 800; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.site-logo:hover { color: transparent; }
.primary-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
.primary-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
  display: inline-block;
}
.primary-nav a:hover { color: var(--color-primary); }
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gradient);
  transition: width 0.3s ease;
}
.primary-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-button-bg);
  color: var(--color-button-text);
  border-color: var(--color-button-bg);
}
.btn-primary:hover {
  background: var(--color-button-hover-bg);
  border-color: var(--color-button-hover-bg);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-pink);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover {
  background: var(--color-background-alt);
  color: var(--color-text);
  border-color: var(--color-text-light);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-gradient {
  background: var(--color-gradient-vibrant);
  color: #fff;
  border: none;
}
.btn-gradient:hover {
  background: var(--color-gradient-soft);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-pink);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--color-text);
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: var(--color-background-alt);
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(225,48,108,0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-heading);
  margin: 0 0 20px;
  letter-spacing: -1px;
}
.hero h1 .gradient-text {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.trust-badges {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--color-text-light);
  flex-wrap: wrap;
}
.trust-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-image {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background: #fff;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-stat {
  padding: 16px;
}
.trust-stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 4px;
}
.trust-stat:nth-child(1) .trust-stat-number { color: var(--color-primary); }
.trust-stat:nth-child(2) .trust-stat-number { color: var(--color-secondary); }
.trust-stat:nth-child(3) .trust-stat-number { color: var(--color-accent); }
.trust-stat:nth-child(4) .trust-stat-number { color: var(--color-success); }
.trust-stat-label {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: var(--space-4xl) 0;
}
.section-alt {
  background: var(--color-background-alt);
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-slow);
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gradient-vibrant);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  color: inherit;
}
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--color-background-alt);
  transition: var(--transition);
}
.service-card:nth-child(1) .service-icon { background: #FCE7F3; }
.service-card:nth-child(2) .service-icon { background: #FEF3C7; }
.service-card:nth-child(3) .service-icon { background: #DBEAFE; }
.service-card:nth-child(4) .service-icon { background: #D1FAE5; }
.service-card:nth-child(5) .service-icon { background: #FCE7F3; }
.service-card:nth-child(6) .service-icon { background: #FEF3C7; }
.service-card:nth-child(7) .service-icon { background: #DBEAFE; }
.service-card:nth-child(8) .service-icon { background: #D1FAE5; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 8px;
}
.service-card p {
  color: var(--color-text-light);
  font-size: 14px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.service-price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
}
.step:nth-child(1) .step-number, .step-card:nth-child(1) .step-number { background: linear-gradient(135deg, #833AB4, #E1306C); }
.step:nth-child(2) .step-number, .step-card:nth-child(2) .step-number { background: linear-gradient(135deg, #E1306C, #FCAF45); }
.step:nth-child(3) .step-number, .step-card:nth-child(3) .step-number { background: linear-gradient(135deg, #FCAF45, #10B981); }
.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 12px;
}
.step-card p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FREE TOOLS
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.tool-card {
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  text-decoration: none;
  display: block;
  transition: var(--transition-slow);
  color: inherit;
  position: relative;
  overflow: hidden;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  color: inherit;
}
.tool-card.tool-pink { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.tool-card.tool-blue { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.tool-card.tool-green { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.tool-card.tool-purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.tool-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.tool-card.tool-pink h3 { color: #831843; }
.tool-card.tool-blue h3 { color: #1E3A8A; }
.tool-card.tool-green h3 { color: #064E3B; }
.tool-card.tool-purple h3 { color: #4C1D95; }
.tool-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.tool-card p { font-size: 15px; margin: 0; line-height: 1.6; }
.tool-card.tool-pink p { color: #9D174D; }
.tool-card.tool-blue p { color: #1E40AF; }
.tool-card.tool-green p { color: #047857; }
.tool-card.tool-purple p { color: #5B21B6; }

/* ==========================================================================
   TOOL PAGES (Hashtag Generator / Engagement Calculator)
   ========================================================================== */
.tool-page {
  background: var(--color-background-alt);
  padding: var(--space-3xl) 0;
  min-height: 60vh;
}
.tool-container {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.tool-container h1 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
}
.tool-container .tool-intro {
  text-align: center;
  color: var(--color-text-light);
  margin: 0 0 32px;
  font-size: 15px;
}
.tool-form { display: flex; flex-direction: column; gap: 16px; }
.tool-form label {
  font-weight: 600;
  color: var(--color-heading);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.tool-form input[type="text"],
.tool-form input[type="number"],
.tool-form select,
.tool-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 16px;
  background: #fff;
  color: var(--color-text);
  transition: var(--transition);
}
.tool-form input:focus,
.tool-form select:focus,
.tool-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(225,48,108,0.1);
}
.tool-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tool-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tool-form-actions .btn { flex: 1; min-width: 120px; padding: 12px 24px; }
.tool-result {
  background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-top: 24px;
  min-height: 80px;
}
.tool-result h4 {
  margin: 0 0 12px;
  color: #831843;
  font-size: 16px;
}
.tool-result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tool-result-list .hashtag {
  background: #fff;
  color: #831843;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #F9A8D4;
}
.tool-result-list .hashtag:hover { background: var(--color-primary); color: #fff; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.metric-tile {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 16px;
  text-align: center;
}
.metric-tile-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.metric-tile-label {
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-slow);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  border: none;
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-heading);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.pricing-card.featured h3 { color: #fff; }
.pricing-tagline {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0 0 24px;
}
.pricing-card.featured .pricing-tagline { color: rgba(255,255,255,0.85); }
.pricing-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 24px;
  line-height: 1;
}
.pricing-card:not(.featured) .pricing-amount { color: var(--color-heading); }
.pricing-amount-suffix {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-light);
}
.pricing-card.featured .pricing-amount-suffix { color: rgba(255,255,255,0.8); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 800;
}
.pricing-card.featured .pricing-features li::before { color: var(--color-accent); }
.pricing-features li { color: var(--color-text-light); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.95); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-rating {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  color: var(--color-heading);
  font-size: 15px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--color-text-light);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--color-background-alt);
  border-radius: var(--border-radius-lg);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { background: #fff; box-shadow: var(--shadow-md); }
.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   NEWSLETTER CTA
   ========================================================================== */
.newsletter-cta {
  background: var(--color-gradient-soft);
  padding: var(--space-4xl) 0;
  color: #fff;
  text-align: center;
}
.newsletter-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
}
.newsletter-cta p {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 0 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--border-radius);
  border: none;
  font-size: 15px;
  min-width: 0;
}
.newsletter-form button {
  background: var(--color-accent);
  color: var(--color-heading);
  padding: 14px 24px;
  border-radius: var(--border-radius);
  border: none;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.newsletter-form button:hover { background: #E89A1A; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: var(--space-4xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: var(--space-3xl);
}
.footer-brand .site-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 24px;
}
.footer-brand p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 36px;
  height: 36px;
  background: #1E293B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  font-size: 16px;
}
.social-icons a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  font-family: var(--font-heading);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--color-primary); }
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.payment-methods span {
  background: #1E293B;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #94A3B8;
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94A3B8;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
}
.footer-bottom ul a { color: #94A3B8; text-decoration: none; }
.footer-bottom ul a:hover { color: var(--color-primary); }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
  background: var(--color-background-alt);
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: var(--color-text-light);
  font-size: 16px;
}
.breadcrumbs a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: var(--transition);
}
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .current {
  color: var(--color-heading);
  font-weight: 600;
}

/* ==========================================================================
   BLOG / ARCHIVE / SINGLE POST
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #fff;
  padding: var(--space-4xl) 0;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 12px;
}
.page-header p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.post-card-image {
  width: 100%;
  height: 200px;
  background: var(--color-background-alt);
  overflow: hidden;
}
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 24px; }
.post-card-category {
  display: inline-block;
  background: #FCE7F3;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.post-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 12px;
  line-height: 1.3;
}
.post-card h3 a {
  color: inherit;
  text-decoration: none;
}
.post-card h3 a:hover { color: var(--color-primary); }
.post-card p {
  color: var(--color-text-light);
  font-size: 14px;
  margin: 0 0 16px;
  line-height: 1.6;
}
.post-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.post-card-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.single-post {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--container-padding);
}
.article-header { margin-bottom: 32px; }
.article-category {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-header h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-heading);
  margin: 12px 0 16px;
  letter-spacing: -0.5px;
}
.article-meta {
  display: flex;
  gap: 16px;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta strong { color: var(--color-heading); }
.article-featured-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  margin-bottom: 32px;
}
.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}
.article-content h2 {
  font-size: 28px;
  margin: 40px 0 16px;
}
.article-content h3 {
  font-size: 22px;
  margin: 32px 0 12px;
}
.article-content p { margin: 0 0 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 1.5em; }
.article-content li { margin-bottom: 8px; }
.article-content img {
  border-radius: var(--border-radius);
  margin: 20px 0;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-heading);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 16px;
  background: #fff;
  color: var(--color-text);
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(225,48,108,0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* Order form */
.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}
.order-summary {
  background: var(--color-background-alt);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 24px;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
}
.order-summary-total {
  font-weight: 800;
  font-size: 20px;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: 12px;
}

/* Track order */
.track-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: var(--space-3xl) 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 10px 16px;
  border-radius: var(--border-radius);
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-border);
  font-weight: 600;
  transition: var(--transition);
}
.pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ==========================================================================
   COMMENTS
   ========================================================================== */
.comments-area { margin-top: var(--space-3xl); padding-top: var(--space-3xl); border-top: 1px solid var(--color-border); }
.comments-title { font-size: 24px; margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-body {
  background: var(--color-background-alt);
  padding: 20px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
}
.comment-author { font-weight: 700; color: var(--color-heading); }
.comment-metadata { font-size: 13px; color: var(--color-text-light); margin-bottom: 8px; }
.comment-content { font-size: 15px; line-height: 1.6; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 15px;
  margin-bottom: 12px;
}
.comment-form .submit { background: var(--color-primary); color: #fff; border: none; padding: 12px 24px; border-radius: var(--border-radius); font-weight: 600; cursor: pointer; }

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-404 {
  padding: var(--space-5xl) var(--container-padding);
  text-align: center;
  background: var(--color-background-alt);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-404 h1 {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  background: var(--color-gradient-vibrant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1;
}
.error-404 h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 24px 0 12px;
  color: var(--color-heading);
}
.error-404 p {
  font-size: 17px;
  color: var(--color-text-light);
  margin: 0 0 32px;
  line-height: 1.6;
}

/* ==========================================================================
   SEARCH RESULTS
   ========================================================================== */
.search-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-results-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.search-results-list h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}
.search-results-list h2 a {
  color: var(--color-heading);
  text-decoration: none;
}
.search-results-list h2 a:hover { color: var(--color-primary); }
.search-results-list p { color: var(--color-text-light); margin: 0 0 8px; }

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

/* Tablet landscape & small desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Show mobile menu toggle, hide desktop nav */
  .mobile-menu-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    gap: 0;
    z-index: 999;
  }
  .primary-nav.mobile-open {
    display: flex;
  }
  .primary-nav a {
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--border-radius);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .primary-nav a:hover { background: var(--color-background-alt); }
  .header-cta .btn-secondary { display: none; }
}

/* Tablet portrait (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 20px;
    --space-4xl: 56px;
    --space-5xl: 80px;
  }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .trust-badges { flex-direction: column; gap: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 28px; }
  .tool-container { padding: 24px; }
  .tool-form-row { grid-template-columns: 1fr; }
  .tool-result { padding: 16px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
  .article-header h1 { font-size: 28px; }
  .article-content { font-size: 16px; }
  .pricing-amount { font-size: 36px; }
  .header-cta .btn { padding: 8px 16px; font-size: 13px; }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
    --space-3xl: 40px;
    --space-4xl: 40px;
  }
  body { font-size: 15px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 30px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 15px; }
  .top-bar { font-size: 12px; padding: 6px 12px; }
  .site-header { padding: 12px 0; }
  .site-logo { font-size: 22px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; }
  .service-card, .testimonial-card, .pricing-card { padding: 24px 20px; }
  .step-card { padding: 24px 16px; }
  .tool-card { padding: 24px; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .btn-large { padding: 14px 24px; font-size: 14px; }
  .tool-container h1 { font-size: 24px; }
  .newsletter-cta h2 { font-size: 24px; }
  .error-404 h1 { font-size: 80px; }
  .article-header h1 { font-size: 24px; }
  .single-post { padding: 24px 16px; }
  .header-cta .btn-primary { padding: 8px 14px; font-size: 13px; }
  .footer-col { text-align: center; }
  .footer-brand .site-logo { display: block; text-align: center; }
  .social-icons { justify-content: center; }
  .footer-bottom ul { justify-content: center; flex-wrap: wrap; }
  .pagination { gap: 4px; }
  .pagination a, .pagination span { padding: 8px 12px; font-size: 13px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .breadcrumbs, .pagination, .comments-area { display: none; }
}
