/*
Theme Name: ArbiScout
Theme URI: https://www.arbiscout.com
Author: Koluka
Author URI: https://www.arbiscout.com
Description: Thème WordPress personnalisé pour le site vitrine ArbiScout, plateforme d'analyse de rentabilité pour vendeurs Amazon.
Version: 1.0.0
License: Proprietary
License URI: https://www.arbiscout.com/mentions-legales
Text Domain: arbiscout
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ========================================
   CSS VARIABLES (Design Tokens)
   ======================================== */
:root {
  /* Primary colors (Purple theme) */
  --primary-50: #faf5ff;
  --primary-100: #f3e8ff;
  --primary-200: #e9d5ff;
  --primary-300: #d8b4fe;
  --primary-400: #c084fc;
  --primary-500: #a855f7;
  --primary-600: #9333ea;
  --primary-700: #7e22ce;
  --primary-800: #6b21a8;
  --primary-900: #581c87;

  /* Surface colors */
  --surface-0: #ffffff;
  --surface-50: #f9fafb;
  --surface-100: #f3f4f6;
  --surface-200: #e5e7eb;
  --surface-300: #d1d5db;
  --surface-400: #9ca3af;
  --surface-500: #6b7280;
  --surface-600: #4b5563;
  --surface-700: #374151;
  --surface-800: #1f2937;
  --surface-900: #111827;

  /* Semantic colors */
  --green-500: #10b981;
  --red-500: #ef4444;
  --blue-500: #3b82f6;
  --yellow-500: #f59e0b;

  /* Text colors */
  --text-color: #1f2937;
  --text-color-secondary: #6b7280;
  --primary-color: #a855f7;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Border radius */
  --border-radius: 6px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ========================================
   WRAPPER
   ======================================== */
.landing-wrapper {
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-main {
  flex: 1;
}

/* ========================================
   NAVIGATION
   ======================================== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 2rem;
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
  padding-left: 2rem;
  border-left: 1px solid var(--surface-300);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-text {
  background: transparent;
  color: var(--text-color);
  border-color: transparent;
}

.btn-text:hover {
  color: var(--primary-color);
  background: var(--primary-50);
}

.btn-success {
  background: var(--green-500);
  color: white;
  border-color: var(--green-500);
}

.btn-success:hover {
  background: #059669;
  border-color: #059669;
}

.btn-primary {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
}

.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.btn-outlined {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-outlined:hover {
  background: rgba(255,255,255,0.15);
}

.btn-outlined-primary {
  background: transparent;
  border-color: var(--primary-500);
  color: var(--primary-500);
}

.btn-outlined-primary:hover {
  background: var(--primary-50);
}

.btn-secondary {
  background: var(--surface-200);
  color: var(--text-color);
  border-color: var(--surface-200);
}

.btn-secondary:hover {
  background: var(--surface-300);
  border-color: var(--surface-300);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Icon font (Font Awesome replacement for PrimeIcons) */
/* We use Font Awesome 6 Free which is available via WP */

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  min-height: 90vh;
  background: var(--gradient-primary);
  color: white;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 0 2.5rem 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image .dashboard-screenshot {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* ========================================
   SECTIONS COMMUNES
   ======================================== */
section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-color-secondary);
  margin: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  background: var(--surface-50);
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-color-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
  background: white;
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: stretch;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.step-content p {
  color: var(--text-color-secondary);
  line-height: 1.6;
  margin: 0 0 2rem 0;
  flex: 1;
  min-height: 80px;
}

.step-image-placeholder {
  background: var(--surface-100);
  border-radius: 12px;
  padding: 3rem 2rem;
  border: 2px dashed var(--surface-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 160px;
  margin-top: auto;
}

.step-image-placeholder i {
  font-size: 3rem;
  color: var(--primary-color);
}

.step-image-placeholder span {
  color: var(--text-color-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.step-screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--surface-300);
  margin-top: auto;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
  background: var(--surface-50);
}

.pricing-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
  border: 3px solid var(--primary-color);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.highlighted:hover {
  transform: scale(1.03) translateY(-8px);
}

.recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.plan-header {
  text-align: center;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.plan-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.plan-description {
  color: var(--text-color-secondary);
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  min-height: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.plan-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.plan-price .period {
  font-size: 1rem;
  color: var(--text-color-secondary);
}

.plan-divider {
  height: 1px;
  background: var(--surface-200);
  margin: 1rem 0;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.4;
}

.plan-features li i {
  color: var(--green-500);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.plan-action {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin: 0 0 2.5rem 0;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.landing-footer {
  background: var(--surface-900);
  color: var(--surface-0);
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: white;
}

.footer-section p {
  color: var(--surface-400);
  line-height: 1.6;
  margin: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--surface-400);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-divider {
  height: 1px;
  background: var(--surface-700);
  margin: 0 0 1.5rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom {
  text-align: center;
  color: var(--surface-400);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* ========================================
   PAGE HERO (Sub-pages)
   ======================================== */
.page-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: white;
}

.page-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   PAGE CONTENT (Sub-pages)
   ======================================== */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--text-color);
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  color: var(--text-color);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem 0;
  color: var(--text-color);
}

.page-content p {
  margin: 0 0 1rem 0;
  color: var(--text-color-secondary);
  font-size: 1.05rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1.5rem 0;
  list-style: disc;
}

.page-content ul li,
.page-content ol li {
  margin-bottom: 0.5rem;
  color: var(--text-color-secondary);
  font-size: 1.05rem;
}

.page-content a {
  color: var(--primary-500);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ========================================
   CARDS GRID (Sub-pages)
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--surface-0);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon i {
  font-size: 1.5rem;
  color: white;
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--text-color);
}

.info-card p {
  color: var(--text-color-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Doc card bullet list */
.info-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.info-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  color: var(--text-color-secondary);
  font-size: 0.9rem;
}

.info-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

/* ========================================
   BLOG PAGE
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--surface-0);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  background: var(--gradient-primary);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image i {
  font-size: 4rem;
  color: white;
  opacity: 0.7;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--surface-500);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-date i {
  font-size: 0.8rem;
}

.blog-category {
  font-size: 0.8rem;
  color: var(--primary-500);
  background: var(--primary-50);
  padding: 0.2rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
}

.blog-card-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--text-color);
  line-height: 1.4;
}

.blog-card-content p {
  color: var(--text-color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.contact-info > p {
  color: var(--text-color-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.info-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--surface-50);
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.contact-info-card:hover {
  transform: translateX(4px);
}

.contact-info-card .card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  margin-bottom: 0;
}

.contact-info-card .card-icon i {
  font-size: 1.2rem;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--text-color);
}

.contact-info-card p {
  color: var(--text-color-secondary);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--surface-300);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-color);
  background: var(--surface-0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========================================
   API PAGE
   ======================================== */
.endpoint-group {
  margin-bottom: 2rem;
}

.endpoint-group h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface-50);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.method {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  min-width: 52px;
  text-align: center;
  display: inline-block;
}

.method.get    { background: #dcfce7; color: #166534; }
.method.post   { background: #dbeafe; color: #1e40af; }
.method.put    { background: #fef3c7; color: #92400e; }
.method.delete { background: #fee2e2; color: #991b1b; }

.endpoint code {
  font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

.endpoint .description {
  color: var(--text-color-secondary);
  font-size: 0.9rem;
  margin-left: auto;
}

/* Rate limits table */
.rate-limits table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  margin-top: 1rem;
}

.rate-limits th,
.rate-limits td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}

.rate-limits thead {
  background: var(--gradient-primary);
}

.rate-limits thead th {
  color: white;
  font-weight: 600;
}

.rate-limits tbody tr {
  background: var(--surface-0);
  border-bottom: 1px solid var(--surface-200);
}

.rate-limits tbody tr:last-child {
  border-bottom: none;
}

.rate-limits tbody tr:hover {
  background: var(--surface-50);
}

.rate-limits tbody td {
  color: var(--text-color-secondary);
}

.rate-limits tbody td:first-child {
  font-weight: 600;
  color: var(--text-color);
}

/* ========================================
   VALUES GRID (About page)
   ======================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.value-card {
  background: var(--surface-0);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-menu .nav-link {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 1rem 1.5rem;
  }

  .nav-menu .nav-link {
    display: none;
  }

  .nav-actions {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  /* Hide button labels, show icons only */
  .nav-actions .btn span.btn-label {
    display: none;
  }

  .hero-section {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.highlighted {
    transform: scale(1);
  }

  .pricing-card.highlighted:hover {
    transform: translateY(-8px);
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Sub-pages responsive */
  .page-hero {
    padding: 7rem 1.5rem 3rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1.05rem;
  }

  .page-content {
    padding: 2.5rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .endpoint {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .endpoint .description {
    margin-left: 0;
  }
}

/* ============================================================
   BLOG ENHANCEMENTS
   ============================================================ */

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-placeholder i {
  font-size: 3rem;
  color: var(--text-color-secondary);
  opacity: 0.5;
}

.blog-card-title {
  margin: 0 0 0.75rem 0;
}

.blog-card-title a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--primary-500);
}

.blog-card-excerpt {
  color: var(--text-color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-excerpt p {
  margin: 0;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-color-secondary);
}

.blog-date i {
  margin-right: 0.3rem;
}

.blog-category {
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary-500);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-read-more {
  color: var(--primary-500);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-read-more:hover {
  gap: 0.7rem;
}

.blog-pagination {
  text-align: center;
  margin: 3rem 0 1rem;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--surface-200);
  border-radius: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
  background: var(--surface-100);
}

.blog-pagination .page-numbers.current {
  background: var(--primary-500);
  color: #fff;
  border-color: var(--primary-500);
}

.no-posts {
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts i {
  font-size: 3rem;
  color: var(--text-color-secondary);
  opacity: 0.4;
  margin-bottom: 1.5rem;
}

.no-posts h2 {
  margin-bottom: 0.5rem;
}

.no-posts p {
  color: var(--text-color-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.post-meta {
  font-size: 0.95rem;
  opacity: 0.85;
}

.post-meta i {
  margin-right: 0.25rem;
}

.post-featured-image {
  margin: 0 0 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-body blockquote {
  border-left: 4px solid var(--primary-500);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--surface-50);
  border-radius: 0 8px 8px 0;
  color: var(--text-color-secondary);
  font-style: italic;
}

.post-body pre {
  background: var(--surface-900);
  color: #e5e7eb;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-body code {
  background: var(--surface-100);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-body pre code {
  background: none;
  padding: 0;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--surface-200);
  gap: 1rem;
}

.post-navigation a {
  color: var(--primary-500);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.post-navigation a:hover {
  color: var(--primary-600);
}

.post-nav-next {
  margin-left: auto;
  text-align: right;
}

/* ============================================================
   INDEX / SEARCH RESULTS
   ============================================================ */

.post-summary {
  padding: 2rem 0;
  border-bottom: 1px solid var(--surface-200);
}

.post-summary h2 {
  margin-bottom: 0.5rem;
}

.post-summary h2 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}

.post-summary h2 a:hover {
  color: var(--primary-500);
}

.post-meta-line {
  font-size: 0.85rem;
  color: var(--text-color-secondary);
  margin-bottom: 0.75rem;
}

.post-meta-line i {
  margin-right: 0.25rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.feature-card,
.step-card,
.pricing-card,
.info-card,
.blog-card,
.contact-info-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.step-card.visible,
.pricing-card.visible,
.info-card.visible,
.blog-card.visible,
.contact-info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR SCROLL STATE
   ============================================================ */

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border: none;
  background: none;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    gap: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    width: 100%;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Blog responsive */
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
