/*
Theme Name: Soro HU
Theme URI: https://trysoro.com
Author: Soro
Author URI: https://trysoro.com
Description: Magyar SEO autopilot platform – AI-alapú tartalomgenerálás és keresőoptimalizálás
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: soro-hu
Tags: seo, ai, magyar, dashboard
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --ink: #0D0F14;
  --ink-soft: #1E2230;
  --surface: #F7F5F0;
  --surface-warm: #EDE9E1;
  --accent: #D4541A;
  --accent-light: #F26D30;
  --accent-muted: rgba(212, 84, 26, 0.12);
  --gold: #C9A84C;
  --gold-light: #E8C86A;
  --green: #2D7A5F;
  --green-light: #3AA37E;
  --blue: #1A4ED4;
  --text-primary: #0D0F14;
  --text-secondary: #4A4F5C;
  --text-muted: #8A8F9E;
  --border: rgba(13,15,20,0.1);
  --border-strong: rgba(13,15,20,0.2);
  --shadow-sm: 0 2px 8px rgba(13,15,20,0.08);
  --shadow-md: 0 8px 32px rgba(13,15,20,0.12);
  --shadow-lg: 0 24px 64px rgba(13,15,20,0.16);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1rem; color: var(--text-secondary); }

.mono { font-family: var(--font-mono); }

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}

.nav-logo .logo-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
}

.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active { color: var(--accent); }

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

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-warm); color: var(--ink); }

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-large {
  padding: 14px 28px; font-size: 1rem; border-radius: var(--radius);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main { padding-top: var(--nav-h); }

.container {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(212,84,26,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 50%);
}

.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image: 
    linear-gradient(rgba(13,15,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,15,20,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--accent-muted);
  border: 1px solid rgba(212,84,26,0.2);
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic; color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}

.hero-social-proof {
  margin-top: 48px;
  display: flex; align-items: center; gap: 20px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -10px;
  background: var(--surface-warm);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--text-secondary);
}

.avatar:first-child { margin-left: 0; }

.social-text { font-size: 0.85rem; color: var(--text-muted); }
.social-text strong { color: var(--text-primary); }

/* Hero visual – dashboard mock */
.hero-visual {
  position: relative;
}

.dashboard-mock {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s ease;
}

.dashboard-mock:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.mock-topbar {
  background: var(--ink);
  padding: 12px 20px;
  display: flex; align-items: center; gap: 8px;
}

.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #FF5F57; }
.mock-dot.yellow { background: #FFBD2E; }
.mock-dot.green { background: #28C840; }

.mock-url {
  flex: 1; margin: 0 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px; padding: 4px 12px;
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}

.mock-body { padding: 24px; }

.mock-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 20px;
}

.mock-stat {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.mock-stat-label {
  font-size: 0.7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mock-stat-value {
  font-size: 1.4rem; font-weight: 700; color: var(--ink);
  font-family: var(--font-display);
}

.mock-stat-delta {
  font-size: 0.72rem; font-weight: 600;
  color: var(--green);
}

.mock-chart {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 16px;
  height: 90px;
  display: flex; align-items: flex-end; gap: 6px;
  margin-bottom: 16px;
}

.mock-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: var(--accent);
  opacity: 0.3;
  animation: barGrow 1.2s ease forwards;
  transform-origin: bottom;
}

.mock-bar.active { opacity: 1; }
.mock-bar:nth-child(2) { animation-delay: 0.05s; }
.mock-bar:nth-child(3) { animation-delay: 0.1s; }
.mock-bar:nth-child(4) { animation-delay: 0.15s; }
.mock-bar:nth-child(5) { animation-delay: 0.2s; }
.mock-bar:nth-child(6) { animation-delay: 0.25s; }
.mock-bar:nth-child(7) { animation-delay: 0.3s; height: 100% !important; }

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.mock-article-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mock-article-row:last-child { border-bottom: none; }

.mock-article-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--accent-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}

.mock-article-title {
  flex: 1; font-size: 0.75rem; color: var(--text-secondary);
}

.mock-article-badge {
  font-size: 0.65rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px;
  background: rgba(45,122,95,0.12);
  color: var(--green);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 0;
  background: var(--ink);
  color: white;
}

.section-label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; line-height: 1.7; max-width: 560px; }

.features-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 64px;
}

.features-header .section-title { color: white; }
.features-header .section-subtitle { color: rgba(255,255,255,0.5); }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  padding: 40px 36px;
  transition: background 0.2s;
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}

.feature-card:hover { background: rgba(255,255,255,0.07); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.feature-card h3 { color: white; margin-bottom: 12px; font-size: 1.2rem; }
.feature-card p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section { padding: 100px 0; }

.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  margin-top: 64px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.step-card {
  padding: 40px 28px;
  position: relative;
}

.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: white; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--ink); margin-bottom: 28px;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.step-card:hover .step-number {
  background: var(--accent); color: white;
  border-color: var(--accent);
  transform: scale(1.1);
}

.step-card h4 { margin-bottom: 10px; }
.step-card p { font-size: 0.875rem; }

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section { padding: 100px 0; background: var(--surface-warm); }

.pricing-header { text-align: center; margin-bottom: 64px; }
.pricing-header .section-title { margin-bottom: 16px; }
.pricing-header .section-subtitle { margin: 0 auto; }

.pricing-toggle {
  display: inline-flex; align-items: center; gap: 0;
  background: white; border-radius: 100px;
  border: 1px solid var(--border);
  padding: 4px; margin-top: 32px;
}

.toggle-btn {
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; border: none; background: transparent;
  color: var(--text-muted); transition: all 0.2s;
  font-family: var(--font-body);
}

.toggle-btn.active {
  background: var(--accent); color: white;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}

.pricing-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: var(--ink); color: white;
  border-color: transparent;
  transform: scale(1.04);
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-card-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 100px;
  background: var(--accent); color: white;
}

.pricing-tier {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 12px;
}

.pricing-card.featured .pricing-tier { color: var(--accent-light); }

.pricing-name {
  font-family: var(--font-display); font-size: 1.6rem;
  margin-bottom: 20px;
}

.pricing-card.featured .pricing-name { color: white; }

.pricing-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display); font-size: 3.2rem;
  color: var(--ink); line-height: 1;
}

.pricing-card.featured .price-amount { color: white; }

.price-currency {
  font-size: 1.2rem; color: var(--text-muted); font-weight: 500;
  align-self: flex-start; margin-top: 8px;
}

.pricing-card.featured .price-currency { color: rgba(255,255,255,0.5); }

.price-period {
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-card.featured .price-period { color: rgba(255,255,255,0.4); }

.pricing-features { margin-bottom: 36px; }

.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.08); }

.feature-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(45,122,95,0.12);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0; margin-top: 1px;
}

.pricing-card.featured .feature-check { background: rgba(212,84,26,0.2); color: var(--accent-light); }

.btn-full { width: 100%; justify-content: center; }

.btn-white {
  background: white; color: var(--accent);
}
.btn-white:hover { background: var(--surface); }

/* ============================================
   KEYWORD RESEARCH PAGE
   ============================================ */
.page-hero {
  padding: 60px 0 40px;
}

.page-hero-label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); margin-bottom: 12px;
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; }

.keyword-tool-wrapper { padding: 0 0 80px; }

.keyword-search-box {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.search-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  margin-bottom: 24px;
}

.search-input-wrap { position: relative; }

.search-input {
  width: 100%; padding: 14px 20px 14px 48px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 1rem; font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s;
  outline: none;
}

.search-input:focus { border-color: var(--accent); }

.search-icon {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 1rem;
}

.search-filters {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500;
  cursor: pointer; background: white; color: var(--text-secondary);
  transition: all 0.2s;
}

.filter-chip:hover, .filter-chip.active {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-muted);
}

.keyword-results-table {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-header {
  display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 1fr auto;
  padding: 16px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}

.table-row {
  display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 1fr auto;
  padding: 16px 24px; align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.table-row:last-child { border-bottom: none; }
.table-row:hover { background: var(--surface); }

.keyword-name {
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}

.keyword-url {
  font-size: 0.75rem; color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.metric-value {
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
}

.metric-sub {
  font-size: 0.72rem; color: var(--text-muted);
}

.difficulty-bar {
  height: 6px; border-radius: 3px;
  background: var(--border);
  overflow: hidden; margin-bottom: 4px;
}

.difficulty-fill {
  height: 100%; border-radius: 3px;
  background: var(--accent);
}

.difficulty-fill.easy { background: var(--green); }
.difficulty-fill.medium { background: var(--gold); }
.difficulty-fill.hard { background: var(--accent); }

.trend-badge {
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px;
}

.trend-up { background: rgba(45,122,95,0.1); color: var(--green); }
.trend-down { background: rgba(212,84,26,0.1); color: var(--accent); }
.trend-flat { background: rgba(138,143,158,0.12); color: var(--text-muted); }

/* ============================================
   AI CIKK GENERÁTOR PAGE
   ============================================ */
.generator-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 0;
  min-height: calc(100vh - var(--nav-h));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin: 24px 0 80px;
  box-shadow: var(--shadow-md);
}

.generator-sidebar {
  background: var(--ink); color: white;
  padding: 32px;
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 28px; }

.sidebar-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3); margin-bottom: 10px;
}

.sidebar-input {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: white; font-family: var(--font-body); font-size: 0.875rem;
  outline: none; transition: border-color 0.2s;
}

.sidebar-input:focus { border-color: var(--accent-light); }
.sidebar-input::placeholder { color: rgba(255,255,255,0.25); }

.sidebar-select {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: white; font-family: var(--font-body); font-size: 0.875rem;
  outline: none; cursor: pointer;
  appearance: none;
}

.option-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}

.option-btn {
  padding: 8px 12px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5); font-size: 0.8rem;
  cursor: pointer; text-align: center;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.option-btn.active, .option-btn:hover {
  background: var(--accent-muted); color: var(--accent-light);
  border-color: rgba(212,84,26,0.3);
}

.generate-btn {
  width: 100%; padding: 14px;
  background: var(--accent); color: white;
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; margin-top: 8px;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.generate-btn:hover { background: var(--accent-light); transform: translateY(-1px); }

.generator-preview {
  background: white; padding: 48px 56px;
  overflow-y: auto;
}

.preview-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.preview-toolbar-left { display: flex; align-items: center; gap: 8px; }

.toolbar-btn {
  padding: 6px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: white; color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 500; cursor: pointer;
  font-family: var(--font-body); transition: all 0.15s;
}

.toolbar-btn:hover { border-color: var(--accent); color: var(--accent); }
.toolbar-btn.active { background: var(--accent); color: white; border-color: transparent; }

.seo-score-bar {
  display: flex; align-items: center; gap: 12px;
}

.seo-score-label { font-size: 0.8rem; color: var(--text-muted); }

.score-pills {
  display: flex; gap: 6px;
}

.score-pill {
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
}

.score-green { background: rgba(45,122,95,0.1); color: var(--green); }
.score-yellow { background: rgba(201,168,76,0.12); color: #9A7B20; }
.score-red { background: rgba(212,84,26,0.1); color: var(--accent); }

.article-content h1 { font-size: 2.2rem; margin-bottom: 16px; color: var(--ink); }
.article-content h2 { font-size: 1.5rem; margin: 36px 0 14px; color: var(--ink); }
.article-content p { font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.article-content ul { padding-left: 20px; margin-bottom: 16px; }
.article-content ul li { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 8px; list-style: disc; }

.article-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  background: var(--accent-muted); color: var(--accent);
}

.meta-info {
  font-size: 0.78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-layout {
  display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - var(--nav-h));
}

.dashboard-sidebar {
  background: white; border-right: 1px solid var(--border);
  padding: 32px 20px;
}

.sidebar-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; margin-bottom: 4px; transition: all 0.15s;
}

.sidebar-nav-item:hover { background: var(--surface); color: var(--ink); }
.sidebar-nav-item.active { background: var(--accent-muted); color: var(--accent); }

.sidebar-nav-icon { font-size: 1rem; width: 20px; text-align: center; }

.sidebar-section-title {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); padding: 0 14px;
  margin: 20px 0 8px;
}

.dashboard-main {
  background: var(--surface); padding: 40px;
  overflow-y: auto;
}

.dashboard-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 36px;
}

.dashboard-greeting h2 { font-size: 1.8rem; margin-bottom: 4px; }
.dashboard-greeting p { font-size: 0.9rem; color: var(--text-muted); }

.kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 32px;
}

.kpi-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  transition: all 0.2s;
}

.kpi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.kpi-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}

.kpi-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.kpi-delta {
  font-size: 0.75rem; font-weight: 700;
  padding: 3px 8px; border-radius: 100px;
}

.delta-up { background: rgba(45,122,95,0.1); color: var(--green); }
.delta-down { background: rgba(212,84,26,0.1); color: var(--accent); }

.kpi-value {
  font-family: var(--font-display); font-size: 2.4rem;
  color: var(--ink); line-height: 1; margin-bottom: 6px;
}

.kpi-label { font-size: 0.8rem; color: var(--text-muted); }

.dashboard-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 24px;
}

.dash-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
}

.dash-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}

.dash-card-title { font-family: var(--font-display); font-size: 1.1rem; }

.dash-card-link {
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
}

.activity-list { }

.activity-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}

.ai-icon { background: var(--accent-muted); }
.kw-icon { background: rgba(45,122,95,0.1); }
.pub-icon { background: rgba(26,78,212,0.1); }

.activity-content { flex: 1; }
.activity-title { font-size: 0.875rem; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.activity-sub { font-size: 0.78rem; color: var(--text-muted); }
.activity-time { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; font-family: var(--font-mono); }

/* Quick actions */
.quick-actions { display: grid; gap: 10px; }

.qa-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: white; cursor: pointer; transition: all 0.2s;
  font-family: var(--font-body);
}

.qa-btn:hover { border-color: var(--accent); background: var(--accent-muted); }

.qa-icon { font-size: 1.1rem; }
.qa-text { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.qa-arrow { margin-left: auto; color: var(--text-muted); font-size: 0.8rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink); color: white;
  padding: 80px 0 40px;
}

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-display); font-size: 1.8rem;
  color: white; margin-bottom: 16px;
}

.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }

.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); margin-bottom: 16px; }

.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

.footer-badges { display: flex; gap: 12px; }

.footer-badge {
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem; color: rgba(255,255,255,0.4);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-card.featured { transform: none; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .generator-layout { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .table-header, .table-row { grid-template-columns: 2fr 1fr 1fr; }
  .table-header > *:nth-child(n+4), .table-row > *:nth-child(n+4) { display: none; }
}
