/* ============================================================
   ALL TECH ABOUT — MAIN CSS
   Complete Design System
   ============================================================ */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary:        #0a0a0f;
  --primary-soft:   #12121a;
  --navy:           #1a1a2e;
  --accent:         #1b78e2;
  --accent-light:   #3d8ef0;
  --accent-glow:    rgba(27,120,226,0.12);
  --accent-dark:    #0d3d7a;
  --gold:           #f59e0b;
  --gold-light:     #fbbf24;

  --text:           #1a1a2e;
  --text-light:     #4a5568;
  --text-muted:     #718096;
  --text-white:     #ffffff;
  --text-w80:       rgba(255,255,255,0.80);
  --text-w50:       rgba(255,255,255,0.50);

  --bg:             #ffffff;
  --bg-soft:        #f8fafc;
  --bg-dark:        #0a0a0f;
  --bg-dark-soft:   #12121a;
  --bg-card:        #ffffff;

  --grad-hero:      linear-gradient(135deg,#0a0a0f 0%,#1a1a2e 55%,#0d1b3e 100%);
  --grad-accent:    linear-gradient(135deg,#1b78e2 0%,#0d3d7a 100%);
  --grad-gold:      linear-gradient(135deg,#f59e0b 0%,#d97706 100%);

  --border:         #e2e8f0;
  --border-dark:    rgba(255,255,255,0.07);
  --border-accent:  rgba(27,120,226,0.30);

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:      0 8px 48px rgba(0,0,0,0.12);
  --shadow-xl:      0 24px 64px rgba(0,0,0,0.16);
  --shadow-accent:  0 8px 32px rgba(27,120,226,0.25);
  --shadow-dark:    0 16px 64px rgba(0,0,0,0.5);

  --font:           'Inter', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;

  --nav-height:     76px;
  --nav-h:          76px;
  --nav-h:          76px;
  --max-width:      1280px;

  --r-sm:   6px;
  --r:      12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  --t: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --t-fast: all 0.15s ease;
  --blue-glow:      rgba(27,120,226,0.18);
  --font-b:         'Space Grotesk', sans-serif;
  --red:            #ef4444;

  /* ── Aliases for service/page templates ── */
  --blue:           #1b78e2;
  --blue-dark:      #0d3d7a;
  --green:          #10b981;
  --gold:           #f59e0b;
  --ink:            #08090d;
  --ink-soft:       #080d1a;
  --ink-muted:      #6b7280;
  --smoke:          #4b5563;
  --cloud:          #f4f6f9;
  --border-blue:    rgba(27,120,226,0.3);
  --font-d:         'Inter', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  --grad-dark:      linear-gradient(135deg,#05060f 0%,#0a1628 100%);
  --grad-blue:      linear-gradient(135deg,#1b78e2,#0d3d7a);
  --sh-blue:        0 8px 32px rgba(27,120,226,0.25);
  --sh-lg:          0 8px 48px rgba(0,0,0,0.12);

}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--t); }
ul { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 6px 18px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.gold {
  background: rgba(245,158,11,0.10);
  color: var(--gold);
  border-color: rgba(245,158,11,0.28);
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-title.light { color: #fff; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.75;
}
.section-subtitle.light { color: var(--text-w80); }
.section-cta { text-align: center; margin-top: 56px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-lg { padding: 18px 38px; font-size: 1.1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(27,120,226,0.45);
  color: #fff;
}
.btn-gold {
  background: var(--grad-gold);
  color: #fff;
  box-shadow: 0 8px 32px rgba(245,158,11,0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(245,158,11,0.45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: #fff;
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--accent-dark);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--t);
}
.main-nav.scrolled {
  background: rgba(10,10,15,0.98);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 16px;
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.logo-text span { color: var(--accent); }
.logo-tag {
  font-size: 0.6rem;
  color: var(--text-w50);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-item { position: relative; }
/* Bridge gap between nav-item and mega-dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

/* Bridge gap between nav-item and mega-dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--text-w80);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: var(--t);
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-arrow {
  font-size: 9px;
  opacity: 0.5;
  transition: var(--t);
}
.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #1a1a2e;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 190px);
  gap: 24px;
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transition: var(--t);
  pointer-events: none;
  min-width: 620px;
}
.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown-col h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-w50);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
  font-weight: 700;
}
.dropdown-col.ai-col h4 { color: var(--gold); border-color: rgba(245,158,11,0.2); }
.dropdown-col a {
  display: block;
  padding: 8px 10px;
  color: var(--text-w80);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: var(--t);
  text-decoration: none;
}
.dropdown-col a:hover {
  color: #fff;
  background: rgba(27,120,226,0.14);
  padding-left: 16px;
}
.dropdown-col.ai-col a:hover {
  background: rgba(245,158,11,0.10);
  color: var(--gold-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--t);
  white-space: nowrap;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
  margin-left: 12px;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(27,120,226,0.45);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Animated grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 25s linear infinite;
}
@keyframes gridScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* Glowing orbs */
.hero-orb1 {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(27,120,226,0.14) 0%, transparent 65%);
  top: -100px;
  right: -200px;
  border-radius: 50%;
  animation: orbPulse 9s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 65%);
  bottom: 50px;
  left: -100px;
  border-radius: 50%;
  animation: orbPulse 12s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(27,120,226,0.10);
  border: 1px solid rgba(27,120,226,0.22);
  color: #7db8f7;
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotBlink {
  0%,100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50%      { opacity: 0.25; box-shadow: none; }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-w80);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-w50);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Hero right — stat cards */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--t);
}
.hero-stat-card:hover {
  background: rgba(27,120,226,0.08);
  border-color: var(--border-accent);
  transform: translateY(-5px);
}
.hero-stat-card:nth-child(2) { margin-top: 24px; }
.hero-stat-card:nth-child(4) { margin-top: -24px; }

.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #a0c4f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-w50);
  font-weight: 500;
}

/* ============================================================
   CLIENTS / TRUSTED BY BAR
   ============================================================ */
.clients-bar {
  background: var(--bg-soft);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.clients-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.clients-logos {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.client-logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.45;
  transition: var(--t);
  letter-spacing: -0.02em;
}
.client-logo:hover { opacity: 1; color: var(--accent); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transition: var(--t);
  transform-origin: left;
}
.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-7px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.5rem; display: block; }
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--t);
}
.service-card:hover .card-link { gap: 12px; }

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(27,120,226,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 50%, rgba(245,158,11,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.ai-section .container { position: relative; z-index: 1; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ai-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.ai-card:hover {
  border-color: rgba(245,158,11,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-7px);
  box-shadow: 0 8px 48px rgba(245,158,11,0.10);
}
.ai-icon { font-size: 2.5rem; }
.ai-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.ai-card p {
  color: var(--text-w50);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}
.ai-card .card-link { color: var(--gold-light); }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content .section-tag { margin-bottom: 16px; }
.why-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.why-content p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1rem;
}
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--t);
}
.why-stat:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-5px);
}
.big-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.why-stat span:last-child {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   SEO TOOLS SECTION
   ============================================================ */
.tools-section { background: var(--bg); }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.tool-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t);
}
.tool-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-7px);
}
.tool-card:hover::after { transform: scaleX(1); }
.tool-icon { font-size: 2.2rem; }
.tool-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.tool-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
}
.tool-free-badge {
  display: inline-flex;
  background: rgba(27,120,226,0.08);
  color: var(--accent);
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--bg-soft); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-soft);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.post-cat {
  display: inline-flex;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  width: fit-content;
  transition: var(--t);
}
.post-cat:hover { background: var(--accent); color: #fff; }
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* ============================================================
   FOUNDERS SECTION
   ============================================================ */
.founders-section { background: var(--bg); }
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 0;
  text-align: left;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-accent);
}
.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}
.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--border-accent);
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-initials {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.founder-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.founder-role {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.founder-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.founder-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.founder-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  transition: var(--t);
  text-decoration: none;
}
.founder-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(27,120,226,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-box p {
  font-size: 1.1rem;
  color: var(--text-w80);
  margin-bottom: 40px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-soft, #12121a);
  border-top: 1px solid var(--border-dark);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.footer-tagline {
  color: var(--text-w50);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  color: var(--text-w50);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  transition: var(--t);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.footer-est {
  font-size: 0.72rem;
  color: var(--text-w50);
  margin-top: 10px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--text-w50);
  font-size: 0.875rem;
  text-decoration: none;
  padding: 5px 0;
  transition: var(--t);
}
.footer-col a:hover {
  color: #fff;
  padding-left: 7px;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom p {
  color: var(--text-w50);
  font-size: 0.82rem;
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */
.service-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.service-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--text-w50);
}
.breadcrumb a { color: var(--text-w50); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.service-icon-lg { font-size: 3.5rem; display: block; margin-bottom: 20px; }
.service-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.service-tagline {
  font-size: 1.15rem;
  color: var(--text-w80);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: var(--t);
}
.feature-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
}
.feature-check {
  width: 28px;
  height: 28px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
  font-weight: 800;
}
.feature-item p {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(27,120,226,0.2) 100%);
  z-index: 0;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--t);
}
.process-step:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-5px);
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--grad-accent);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-accent);
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* FAQs */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: var(--t);
}
.faq-item:hover { border-color: var(--border-accent); }
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: var(--t);
  gap: 16px;
}
.faq-question:hover { background: var(--bg-soft); color: var(--accent); }
.faq-item.open .faq-question { color: var(--accent); background: var(--bg-soft); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--t);
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  background: var(--bg-soft);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p {
  padding: 20px 24px;
  color: var(--text-light);
  line-height: 1.85;
  font-size: 0.975rem;
}

/* ============================================================
   BLOG PAGES
   ============================================================ */
.blog-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.blog-hero p {
  color: var(--text-w80);
  font-size: 1.1rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding: 80px 0;
}
.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: start;
}

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.sidebar-widget h3 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--t);
}
.cat-list a:last-child { border-bottom: none; }
.cat-list a:hover { color: var(--accent); padding-left: 6px; }
.cat-count {
  background: var(--bg-soft);
  color: var(--text-muted);
  padding: 2px 9px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.post-hero .container { position: relative; z-index: 1; }
.post-header {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.post-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.post-meta-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-w50);
  font-size: 0.82rem;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  padding: 70px 0;
}
.post-content { max-width: 100%; }
.post-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 48px 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.post-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.post-content p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.post-content ul, .post-content ol {
  padding-left: 28px;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.85;
}
.post-content li { margin-bottom: 8px; }
.post-content img {
  border-radius: var(--r);
  margin: 32px 0;
  width: 100%;
}
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 20px 28px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 32px 0;
  font-size: 1.05rem;
  color: var(--text);
  font-style: italic;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9rem;
}
.post-content th {
  background: var(--bg-soft);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--border);
}
.post-content td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text-light);
}

/* Author box */
.author-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  margin-top: 60px;
}
.author-box-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-initials {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}
.author-box-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.author-box-info .author-role {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.author-box-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ============================================================
   TOOLS PAGES
   ============================================================ */
.tool-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tool-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.tool-hero .container { position: relative; z-index: 1; }
.tool-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.tool-hero p {
  font-size: 1.1rem;
  color: var(--text-w80);
  max-width: 560px;
  margin: 0 auto 16px;
}
.tool-free-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  color: #16a34a;
  padding: 6px 18px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tool-interface {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 2rem;
}
.tool-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.tool-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.tool-input-group label {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.tool-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-soft);
  transition: var(--t);
  outline: none;
}
.tool-input:focus {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.tool-textarea { min-height: 200px; resize: vertical; line-height: 1.6; }

/* Results */
.results-section { margin-top: 36px; }
.results-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.result-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  transition: var(--t);
}
.result-item.pass { border-color: #16a34a; background: rgba(22,163,74,0.04); }
.result-item.warning { border-color: #d97706; background: rgba(217,119,6,0.04); }
.result-item.fail { border-color: #dc2626; background: rgba(220,38,38,0.04); }
.result-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.result-status.pass { color: #16a34a; }
.result-status.warning { color: #d97706; }
.result-status.fail { color: #dc2626; }
.result-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.result-value {
  font-size: 0.82rem;
  color: var(--text-light);
  word-break: break-all;
}
.char-progress {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}
.char-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: var(--t);
}
.char-progress-bar.good { background: #16a34a; }
.char-progress-bar.warning { background: #d97706; }
.char-progress-bar.bad { background: #dc2626; }

/* SERP Preview */
.serp-preview-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 28px;
  margin-top: 28px;
  font-family: arial, sans-serif;
}
.serp-preview-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font);
}
.serp-breadcrumb { font-size: 13px; color: #006621; margin-bottom: 2px; }
.serp-title {
  font-size: 20px;
  color: #1a0dab;
  cursor: pointer;
  line-height: 1.3;
  margin-bottom: 4px;
}
.serp-title:hover { text-decoration: underline; }
.serp-desc { font-size: 14px; color: #545454; line-height: 1.55; }
.char-counter {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.char-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.char-count.good { background: rgba(22,163,74,0.1); color: #16a34a; }
.char-count.warning { background: rgba(217,119,6,0.1); color: #d97706; }
.char-count.bad { background: rgba(220,38,38,0.1); color: #dc2626; }

/* Keywords table */
.keywords-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.875rem;
}
.keywords-table th {
  background: var(--bg-soft);
  padding: 10px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.keywords-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.keywords-table tr:hover td { background: var(--bg-soft); }
.density-bar {
  height: 6px;
  border-radius: 6px;
  background: var(--accent);
  min-width: 4px;
  transition: var(--t);
}
.density-bar.high { background: #dc2626; }
.density-bar.medium { background: #d97706; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 80px 0;
}
.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}
.contact-info > p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: var(--t);
}
.contact-item:hover { border-color: var(--border-accent); }
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}
.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.contact-form-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-control {
  width: 100%;
  padding: 13px 17px;
  border: 2px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.975rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--t);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 60px;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--t);
}
.page-link:hover, .page-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-messages {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.flash {
  padding: 16px 22px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: flashIn 0.3s ease;
}
@keyframes flashIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.flash-success { background: #16a34a; color: #fff; }
.flash-error   { background: #dc2626; color: #fff; }
.flash-warning { background: #d97706; color: #fff; }
.flash-info    { background: var(--accent); color: #fff; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.about-hero p {
  font-size: 1.15rem;
  color: var(--text-w80);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Timeline */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(27,120,226,0.15) 100%);
}
.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}
.timeline-dot {
  width: 42px;
  height: 42px;
  background: var(--grad-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-accent);
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  flex: 1;
  transition: var(--t);
}
.timeline-content:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
}
.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   ADMIN — LOGIN
   ============================================================ */
.admin-login-page {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.admin-login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,120,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,120,226,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.login-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(24px);
  position: relative;
  z-index: 1;
}
.login-logo {
  text-align: center;
  margin-bottom: 40px;
}
.login-logo h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.login-logo p {
  color: var(--text-w50);
  font-size: 0.875rem;
}
.login-card .form-group label { color: var(--text-w80); }
.login-card .form-control {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-dark);
  color: #fff;
}
.login-card .form-control::placeholder { color: var(--text-w50); }
.login-card .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-body {
  background: #f0f2f5;
  min-height: 100vh;
  font-family: var(--font);
}
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--bg-dark);
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-logo {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-dark);
}
.admin-logo a {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.025em;
}
.admin-logo span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-w50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: 3px;
}
.admin-nav { padding: 20px 14px; flex: 1; }
.admin-nav-section { margin-bottom: 24px; }
.admin-nav-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-w50);
  padding: 0 8px;
  margin-bottom: 8px;
  font-weight: 700;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--text-w50);
  text-decoration: none;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--t);
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(27,120,226,0.14);
  color: #fff;
}
.admin-nav a.active { color: var(--accent-light); }
.admin-main { display: flex; flex-direction: column; overflow: hidden; }
.admin-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
}
.admin-header h1 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.admin-content { padding: 28px; flex: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--t);
}
.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-card-info strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat-card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.admin-table-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-table-header h2 {
  font-size: 1rem;
  font-weight: 800;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-soft); }
.badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-success { background: rgba(22,163,74,0.10); color: #16a34a; }
.badge-warning { background: rgba(217,119,6,0.10); color: #d97706; }
.badge-danger  { background: rgba(220,38,38,0.10); color: #dc2626; }
.badge-info    { background: var(--accent-glow); color: var(--accent); }
.admin-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
}
.char-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  float: right;
  padding: 2px 9px;
  border-radius: var(--r-full);
  transition: var(--t);
}
.char-indicator.good { background: rgba(22,163,74,0.1); color: #16a34a; }
.char-indicator.warning { background: rgba(217,119,6,0.1); color: #d97706; }
.char-indicator.bad { background: rgba(220,38,38,0.1); color: #dc2626; }

/* Search input in admin */
.admin-search {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: var(--t);
  width: 240px;
}
.admin-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(24px);
    padding: 20px;
    border-bottom: 1px solid var(--border-dark);
    gap: 4px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-menu.open .nav-link { padding: 12px 16px; font-size: 1rem; }
  .mega-dropdown { display: none !important; }
  .services-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .section { padding: 70px 0; }
  .container { padding: 0 1.25rem; }
  .tool-card-main { padding: 28px 24px; }
  .contact-form-card { padding: 28px 24px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .login-card { padding: 36px 24px; }
  .admin-form-card { padding: 24px 20px; }
}
/* ── FAQ aliases (templates use .faq-q / .faq-a) ── */
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: var(--t);
}
.faq-q:hover { color: var(--accent); background: var(--bg-soft); }
.faq-item.open .faq-q { color: var(--accent); background: var(--bg-soft); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--t);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}
