/* AEO Excellence — main stylesheet */

:root {
  --color-bg:           #0a0f1e;
  --color-surface:      #111827;
  --color-surface-2:    #1a2236;
  --color-surface-3:    #232d44;
  --color-border:       #1e2d45;
  --color-border-strong:#2a3b58;
  --color-accent:       #00d4ff;
  --color-accent-2:     #7c3aed;
  --color-accent-soft:  rgba(0, 212, 255, 0.12);
  --color-text:         #f1f5f9;
  --color-text-muted:   #94a3b8;
  --color-text-faint:   #475569;
  --color-success:      #10b981;
  --color-warning:      #f59e0b;
  --color-error:        #ef4444;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 0 24px rgba(0, 212, 255, 0.18);

  --gradient-accent: linear-gradient(135deg, #00d4ff, #7c3aed);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-text); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(0, 212, 255, 0.3); color: var(--color-text); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; background: var(--color-accent); color: #000;
  padding: 8px 16px; border-radius: 6px; font-weight: 600; z-index: 1000;
}
.skip-link:focus { left: 8px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans); font-weight: 700; color: var(--color-text);
  margin: 0 0 16px 0; line-height: 1.25;
}
h1 { font-size: 3rem; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 16px 0; color: var(--color-text-muted); }
strong { color: var(--color-text); font-weight: 600; }
small { font-size: 0.875rem; color: var(--color-text-muted); }
ul, ol { color: var(--color-text-muted); padding-left: 24px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.section-dark { background: var(--color-surface); }
.section-darker { background: #06090f; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 600;
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.05);
  border-radius: 999px; padding: 6px 14px;
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.1);
}

.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  padding: 14px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: all 0.2s ease; white-space: nowrap; min-height: 48px;
}
.btn-sm { padding: 10px 16px; font-size: 0.9rem; min-height: 40px; }
.btn-primary {
  background: rgba(0, 212, 255, 0.08);
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.1), 0 0 0 rgba(0, 212, 255, 0);
}
.btn-primary:hover {
  background: rgba(0, 212, 255, 0.15); color: var(--color-text);
  box-shadow: inset 0 0 16px rgba(0, 212, 255, 0.2), 0 0 28px rgba(0, 212, 255, 0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-outline:hover { background: var(--color-surface-2); border-color: var(--color-accent); color: var(--color-accent); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: transparent; }
.btn-ghost:hover { background: var(--color-surface-2); color: var(--color-accent); }
.btn-violet {
  background: rgba(124, 58, 237, 0.1); color: #c4b5fd; border-color: var(--color-accent-2);
}
.btn-violet:hover { background: rgba(124, 58, 237, 0.2); color: #fff; box-shadow: 0 0 24px rgba(124, 58, 237, 0.4); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: padding 0.2s ease;
}
.site-header.scrolled { padding: 0; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 1.25rem; font-weight: 700; color: var(--color-text);
  letter-spacing: -0.01em;
}
.brand-mark {
  background: var(--gradient-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name { color: var(--color-text); margin-left: 4px; }
.brand:hover { color: var(--color-text); }

.site-nav {
  display: flex; align-items: center; gap: 32px; flex: 1; justify-content: flex-end;
}
.nav-list {
  display: flex; align-items: center; gap: 24px; list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  color: var(--color-text-muted); font-weight: 500; font-size: 0.95rem;
  padding: 8px 0; position: relative;
}
.nav-list a:hover { color: var(--color-text); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
}

.hamburger {
  display: none; background: transparent; border: none;
  width: 44px; height: 44px; padding: 8px; flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; width: 28px; height: 2px;
  background: var(--color-text); border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 120px 0 96px; overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.08), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.08), transparent 60%),
              var(--color-bg);
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.7; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center;
}
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin: 24px 0; }
.hero p.lead {
  font-size: 1.25rem; color: var(--color-text-muted); max-width: 720px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 12px 24px; color: var(--color-text-muted); font-size: 0.9rem;
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); display: inline-block; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--color-accent); }

/* ---------- Logo bar ---------- */
.logobar {
  padding: 48px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.logobar-label {
  text-align: center; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-faint); margin-bottom: 24px;
}
.logobar-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 32px 48px;
}
.logobar-grid .logo-mark {
  font-weight: 700; color: var(--color-text-muted); font-size: 1.1rem;
  letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.65;
  transition: opacity 0.2s;
}
.logobar-grid .logo-mark:hover { opacity: 1; }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; align-items: stretch;
}
.card:hover { border-color: var(--color-border-strong); }
.card.card-hoverable:hover {
  transform: translateY(-4px); border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--shadow-card), 0 0 32px rgba(0, 212, 255, 0.12);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0, 212, 255, 0.1); color: var(--color-accent);
  font-size: 1.25rem; margin-bottom: 16px;
}
.card-icon.warn { background: rgba(239, 68, 68, 0.1); color: var(--color-error); }
.card-icon.violet { background: rgba(124, 58, 237, 0.1); color: var(--color-accent-2); }
.card-icon.success { background: rgba(16, 185, 129, 0.1); color: var(--color-success); }

/* ---------- Problem section ---------- */
.problem-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.problem-list { display: flex; flex-direction: column; gap: 16px; }
.problem-list .card { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
.problem-list .card-icon { flex-shrink: 0; margin-bottom: 0; }
.problem-list .card h3 { font-size: 1.05rem; margin: 0 0 4px 0; }
.problem-list .card p { margin: 0; font-size: 0.95rem; }

.before-after { display: flex; flex-direction: column; gap: 16px; }
.snippet-card {
  border-radius: var(--radius-md); padding: 20px;
  border: 1px solid var(--color-border); background: var(--color-surface);
}
.snippet-card .label {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--color-text-faint); margin-bottom: 12px;
}
.snippet-before { opacity: 0.6; }
.snippet-before .blue-link { color: #6b7cff; font-size: 1.05rem; text-decoration: underline; margin-bottom: 4px; display: block; }
.snippet-before .url { color: #10b981; font-size: 0.85rem; margin-bottom: 8px; }
.snippet-before .desc { color: var(--color-text-faint); font-size: 0.9rem; margin: 0; }

.snippet-after {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
}
.snippet-after .ai-header { display: flex; align-items: center; gap: 8px; color: var(--color-accent); font-weight: 600; margin-bottom: 12px; font-size: 0.9rem; }
.snippet-after .ai-answer { color: var(--color-text); margin: 0 0 12px; }
.snippet-after .ai-cite { color: var(--color-text-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.snippet-after .ai-cite strong { color: var(--color-accent); font-weight: 600; }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step-card { text-align: left; align-items: stretch; }
.step-number {
  font-size: 2.5rem; font-weight: 700; line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.step-card h3 { display: flex; align-items: center; gap: 12px; }
.step-card h3 i { color: var(--color-accent); font-size: 1.1rem; }

/* ---------- Service preview cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.service-card {
  position: relative; align-items: stretch;
}
.service-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.4), 0 0 32px rgba(0, 212, 255, 0.18);
}
.service-card .price-tag {
  display: inline-flex; align-items: center; padding: 6px 12px;
  background: rgba(0, 212, 255, 0.1); color: var(--color-accent);
  border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  margin-bottom: 16px; border: 1px solid rgba(0, 212, 255, 0.25);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { flex-grow: 1; margin-bottom: 20px; }

/* ---------- Comparison table ---------- */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--color-border);
}
.compare-table thead th {
  background: var(--color-surface-2); color: var(--color-text);
  font-weight: 600; font-size: 0.95rem;
}
.compare-table tbody td { color: var(--color-text-muted); font-size: 0.95rem; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--color-success); font-weight: 600; }
.compare-table .no { color: var(--color-text-faint); }

/* ---------- AEO explainer ---------- */
.explainer { max-width: 880px; margin: 0 auto; }
.explainer h3 { color: var(--color-text); margin-top: 32px; }

/* ---------- Lead capture form ---------- */
.lead-form-wrap {
  max-width: 540px; margin: 0 auto;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 500;
  color: var(--color-text); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  background: var(--color-bg); color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-trust {
  text-align: center; color: var(--color-text-muted);
  font-size: 0.85rem; margin-top: 16px;
}
.form-trust i { color: var(--color-accent); margin-right: 4px; }
.form-status {
  display: none; padding: 12px 16px; border-radius: var(--radius-sm);
  margin-bottom: 16px; font-size: 0.95rem;
}
.form-status.success { display: block; background: rgba(16, 185, 129, 0.1); color: var(--color-success); border: 1px solid rgba(16, 185, 129, 0.25); }
.form-status.error { display: block; background: rgba(239, 68, 68, 0.1); color: var(--color-error); border: 1px solid rgba(239, 68, 68, 0.25); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: center;
}
.testimonial-card {
  flex: 1 1 320px; max-width: 380px; align-items: stretch;
}
.testimonial-quote i { font-size: 1.5rem; color: var(--color-accent); margin-bottom: 12px; display: block; }
.testimonial-quote p {
  font-size: 1rem; color: var(--color-text); line-height: 1.7;
  margin-bottom: 20px; font-weight: 500;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-accent); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-info .name { color: var(--color-text); font-weight: 600; font-size: 0.95rem; }
.testimonial-info .title { color: var(--color-text-muted); font-size: 0.85rem; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; align-items: stretch;
}
.blog-card { align-items: stretch; }
.blog-card .pill {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  background: rgba(0, 212, 255, 0.1); color: var(--color-accent);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 1.15rem; margin-bottom: 12px;
}
.blog-card h3 a { color: var(--color-text); }
.blog-card h3 a:hover { color: var(--color-accent); }
.blog-card p { font-size: 0.95rem; flex-grow: 1; }
.blog-meta { display: flex; align-items: center; gap: 12px; color: var(--color-text-faint); font-size: 0.85rem; margin-top: 12px; }
.blog-meta .read-more { color: var(--color-accent); font-weight: 600; margin-left: auto; }

.filter-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 32px;
}
.filter-pills a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-border);
  color: var(--color-text-muted); font-size: 0.9rem; font-weight: 500;
  transition: all 0.2s;
}
.filter-pills a:hover, .filter-pills a.active { background: var(--color-accent-soft); color: var(--color-accent); border-color: var(--color-accent); }

.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px;
}
.pagination a, .pagination span {
  padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  color: var(--color-text-muted); font-weight: 500; min-width: 44px; text-align: center;
}
.pagination .current { background: var(--color-accent-soft); color: var(--color-accent); border-color: var(--color-accent); }

/* ---------- Article ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-hero { padding: 48px 0 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--color-text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: var(--color-text-faint); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--color-text-muted); font-size: 0.9rem; margin-top: 16px; }
.article-meta .author { display: flex; align-items: center; gap: 8px; }
.article-meta .author-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-accent); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.8rem; }

.article-body { font-size: 1.0625rem; line-height: 1.8; }
.article-body p, .article-body ul, .article-body ol { color: var(--color-text); }
.article-body h2 { margin: 40px 0 16px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body strong { color: var(--color-text); }
.article-body code {
  background: var(--color-surface-2); padding: 2px 6px; border-radius: 4px;
  font-size: 0.9em; color: var(--color-accent);
}
.article-body blockquote {
  border-left: 3px solid var(--color-accent); padding: 4px 24px;
  color: var(--color-text-muted); font-style: italic; margin: 24px 0;
}

.article-cta {
  margin: 48px 0 24px; padding: 32px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.25); text-align: center;
}
.article-cta h3 { margin-bottom: 12px; }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex; align-items: center; gap: 12px; padding: 4px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 999px; margin: 0 auto 48px; justify-content: center;
}
.pricing-toggle button {
  padding: 8px 18px; border-radius: 999px; border: none;
  background: transparent; color: var(--color-text-muted); font-weight: 600; font-size: 0.9rem;
  min-height: 36px;
}
.pricing-toggle button.active { background: var(--color-accent-soft); color: var(--color-accent); }
.pricing-toggle .save-badge { font-size: 0.7rem; background: var(--color-success); color: #000; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }

.pricing-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr); align-items: stretch;
}
.pricing-card { position: relative; align-items: stretch; }
.pricing-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.4), 0 0 32px rgba(0, 212, 255, 0.18);
  transform: translateY(-8px);
}
.pricing-card.violet { border-color: var(--color-accent-2); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent); color: #000;
  padding: 4px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pricing-card .plan-price {
  font-size: 2.75rem; font-weight: 700; color: var(--color-text); line-height: 1;
  margin: 16px 0;
}
.pricing-card .plan-price .unit { font-size: 1rem; color: var(--color-text-muted); font-weight: 500; }
.pricing-card .plan-desc { color: var(--color-text-muted); margin-bottom: 24px; min-height: 48px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--color-text); font-size: 0.95rem; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--color-accent); font-size: 0.85rem; flex-shrink: 0; margin-top: 4px;
}
.hidden-annual, .hidden-monthly { display: none; }
.pricing.is-annual .show-annual { display: block; }
.pricing.is-annual .show-monthly { display: none; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: transparent; border: none;
  padding: 20px 24px; color: var(--color-text); font-size: 1.05rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
}
.faq-question .icon { color: var(--color-accent); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 800px; padding-bottom: 20px; }
.faq-answer p { color: var(--color-text-muted); margin: 0; }

.faq-category { margin-bottom: 32px; }
.faq-category h3 { font-size: 1.25rem; margin-bottom: 16px; color: var(--color-accent); }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
  text-align: center; padding: 24px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
}
.stat .value { font-size: 2.5rem; font-weight: 700; background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 8px; }
.stat .label { color: var(--color-text-muted); font-size: 0.9rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.team-card { text-align: center; align-items: center; }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--gradient-accent); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.75rem; margin-bottom: 16px; }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: var(--color-accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }

/* ---------- CTA section ---------- */
.cta-section {
  padding: 96px 0; text-align: center;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12), transparent 70%),
              linear-gradient(180deg, var(--color-surface), var(--color-bg));
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.125rem; max-width: 640px; margin: 0 auto 32px; }
.cta-section .hero-cta { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #06090f; border-top: 1px solid var(--color-border);
  padding: 64px 0 32px; margin-top: 0;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer-col h4 { font-size: 0.95rem; color: var(--color-text); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--color-text-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--color-accent); }
.brand--footer { margin-bottom: 12px; }
.footer-tagline { color: var(--color-text-muted); font-size: 0.95rem; max-width: 360px; margin-bottom: 12px; }
.footer-copy { color: var(--color-text-faint); font-size: 0.85rem; margin: 0; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--color-border); gap: 16px;
}
.social { display: flex; gap: 12px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-surface); color: var(--color-text-muted);
  border: 1px solid var(--color-border); font-size: 1rem;
}
.social a:hover { background: var(--color-accent-soft); color: var(--color-accent); border-color: var(--color-accent); }
.footer-mini { color: var(--color-text-faint); font-size: 0.85rem; margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 720px; margin: 0 auto;
  background: var(--color-surface); border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md); padding: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: var(--shadow-card); z-index: 200;
  animation: slideUp 0.3s ease-out;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; flex: 1; }
.cookie-actions { display: flex; gap: 8px; align-items: stretch; flex-shrink: 0; }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center;
  padding: 48px 24px;
  background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.06), transparent 60%), var(--color-bg);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-card);
}
.auth-card h1 { font-size: 1.75rem; margin-bottom: 8px; text-align: center; }
.auth-card .auth-sub { text-align: center; color: var(--color-text-muted); margin-bottom: 24px; }
.auth-card .form-group { margin-bottom: 16px; }
.auth-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; font-size: 0.9rem;
}
.auth-meta { text-align: center; color: var(--color-text-muted); font-size: 0.9rem; margin-top: 24px; }
.auth-meta a { font-weight: 600; }
.checkbox { display: flex; align-items: flex-start; gap: 8px; color: var(--color-text-muted); font-size: 0.9rem; }
.checkbox input { width: auto; min-height: auto; margin-top: 4px; }

/* ---------- Dashboard ---------- */
.dash-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 80px); }
.dash-sidebar {
  background: var(--color-surface); border-right: 1px solid var(--color-border);
  padding: 32px 16px;
}
.dash-sidebar h4 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint); padding: 0 12px; margin-bottom: 12px; }
.dash-nav { list-style: none; padding: 0; margin: 0 0 32px; }
.dash-nav li { margin: 0; }
.dash-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm); color: var(--color-text-muted);
  font-size: 0.95rem; min-height: 40px; font-weight: 500;
}
.dash-nav a i { width: 18px; }
.dash-nav a:hover { background: var(--color-surface-2); color: var(--color-text); }
.dash-nav a.active { background: var(--color-accent-soft); color: var(--color-accent); }

.dash-main { padding: 40px 32px; }
.dash-header { margin-bottom: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.dash-header h1 { font-size: 1.75rem; margin: 0; }

.dash-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-bottom: 32px; align-items: stretch;
}
.dash-stat {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-stat .label { color: var(--color-text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.dash-stat .value { color: var(--color-text); font-size: 1.75rem; font-weight: 700; }
.dash-stat i { color: var(--color-accent); font-size: 1.25rem; align-self: flex-start; margin-bottom: 8px; }

.dash-panel {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px;
  box-shadow: var(--shadow-card); min-height: 180px;
  display: flex; flex-direction: column;
}
.dash-panel h2 { font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.dash-panel h2 i { color: var(--color-accent); }

.empty-state {
  flex: 1; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; text-align: center; padding: 24px 12px;
}
.empty-state i { font-size: 2rem; color: var(--color-text-faint); margin-bottom: 4px; }
.empty-state p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

.upgrade-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.3); border-radius: var(--radius-md);
  padding: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px;
}
.upgrade-card .copy { flex: 1; min-width: 240px; }
.upgrade-card h3 { margin-bottom: 4px; }
.upgrade-card p { margin: 0; }

.plan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.plan-badge.free { background: rgba(148, 163, 184, 0.15); color: var(--color-text-muted); }
.plan-badge.pro { background: rgba(0, 212, 255, 0.15); color: var(--color-accent); }
.plan-badge.agency { background: rgba(124, 58, 237, 0.15); color: #c4b5fd; }

/* ---------- Tables (admin/dashboard) ---------- */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%; border-collapse: collapse;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden;
}
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.table thead th { background: var(--color-surface-2); color: var(--color-text); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.table tbody td { color: var(--color-text-muted); }
.table tbody tr:hover { background: rgba(255,255,255,0.02); }
.table .actions { display: flex; gap: 8px; align-items: center; }
.table .status-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.status-pill.pending { background: rgba(245, 158, 11, 0.15); color: var(--color-warning); }
.status-pill.in_progress { background: rgba(0, 212, 255, 0.15); color: var(--color-accent); }
.status-pill.completed { background: rgba(16, 185, 129, 0.15); color: var(--color-success); }
.status-pill.paid { background: rgba(16, 185, 129, 0.15); color: var(--color-success); }
.status-pill.refunded { background: rgba(239, 68, 68, 0.15); color: var(--color-error); }

/* ---------- Resources grid ---------- */
.resources-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: stretch;
}
.resource-card { position: relative; align-items: stretch; }
.resource-card .format-badge {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  background: var(--color-surface-2); color: var(--color-accent);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
}
.resource-card .plan-required { float: right; }
.resource-card h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.resource-card p { font-size: 0.9rem; flex-grow: 1; margin-bottom: 16px; }
.resource-card.locked { opacity: 0.85; }
.resource-card.locked .lock-overlay {
  position: absolute; inset: 0; background: rgba(10, 15, 30, 0.85);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; padding: 24px; text-align: center;
}
.resource-card.locked .lock-overlay i { font-size: 1.75rem; color: var(--color-warning); }

/* ---------- Two-column contact ---------- */
.two-col {
  display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; align-items: start;
}
.info-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; }
.info-card h3 { font-size: 1.1rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; color: var(--color-text-muted); font-size: 0.95rem; }
.info-list li i { color: var(--color-accent); width: 20px; flex-shrink: 0; margin-top: 4px; }

/* ---------- Page hero (non-home pages) ---------- */
.page-hero {
  padding: 80px 0 40px;
  background: radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.06), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.06), transparent 60%),
              var(--color-bg);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero .lead {
  font-size: 1.125rem; color: var(--color-text-muted);
  max-width: 720px; margin: 0 auto;
}
.answer-summary {
  max-width: 760px; margin: 24px auto 0; padding: 16px 20px;
  background: rgba(0, 212, 255, 0.06); border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm); text-align: left;
}
.answer-summary p { margin: 0; color: var(--color-text); font-size: 1rem; line-height: 1.7; }
.answer-summary strong { color: var(--color-accent); }

/* ---------- Service detail blocks ---------- */
.service-block {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 32px; margin-bottom: 24px;
  scroll-margin-top: 100px;
}
.service-block h2 { font-size: 1.5rem; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.service-block .price-tag { font-size: 0.95rem; padding: 4px 10px; }
.service-block ul.checklist { list-style: none; padding: 0; }
.service-block ul.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--color-text); padding: 6px 0; }
.service-block ul.checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--color-accent); flex-shrink: 0; margin-top: 4px; }

/* ---------- Ad slots ---------- */
.ad-slot {
  background: rgba(255,255,255,0.03); color: var(--color-text-faint);
  font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--color-border); border-radius: var(--radius-sm);
  margin: 32px auto;
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-sidebar { padding: 16px; border-right: none; border-bottom: 1px solid var(--color-border); }
  .dash-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 0; }
  .dash-nav a { white-space: nowrap; }
  .dash-sidebar h4 { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .hero p.lead { font-size: 1.05rem; }
  .hamburger { display: flex; }
  .site-nav {
    position: fixed; inset: 64px 0 0 0;
    background: var(--color-bg); flex-direction: column; align-items: stretch;
    padding: 32px 24px; gap: 24px; transform: translateX(100%);
    transition: transform 0.3s ease; overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--color-border); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 16px; }
  .nav-cta .btn { width: 100%; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .two-col { grid-template-columns: 1fr; }
  .dash-main { padding: 24px 16px; }
  .auth-card { padding: 32px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 8px; left: 8px; right: 8px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 48px; }
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 2rem; }
  .pricing-card { padding: 24px 20px; }
  .lead-form-wrap { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat .value { font-size: 2rem; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
