
/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --surface: #1e1e2a;
  --surface-hover: #252535;

  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);

  --success: #00d68f;
  --warning: #ffaa00;
  --danger: #ff6b6b;

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --gradient-hero: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #74b9ff 100%);
  --gradient-cta: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --gradient-card: linear-gradient(180deg, rgba(108, 92, 231, 0.05) 0%, transparent 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 24px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: #74b9ff;
  bottom: -100px;
  left: -100px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero__content {
  margin-bottom: 48px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* ============================================
   Analyzer Box
   ============================================ */
.analyzer {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.analyzer__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.analyzer__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.analyzer__tab:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.analyzer__tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.analyzer__input-wrap {
  display: flex;
  gap: 12px;
}

.analyzer__input-wrap.hidden {
  display: none;
}

.analyzer__input {
  flex: 1;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.analyzer__input:focus,
.analyzer__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.analyzer__textarea {
  width: 100%;
  min-height: 180px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'DM Mono', monospace;
  resize: vertical;
  transition: var(--transition);
}

.analyzer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.analyzer__btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.analyzer__btn:active {
  transform: translateY(0);
}

.analyzer__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
  color: var(--text-secondary);
}

.analyzer__loading.hidden {
  display: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================
   Results Section
   ============================================ */
.results {
  padding: 80px 24px;
  background: var(--bg-secondary);
}

.results.hidden {
  display: none;
}

.results__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.results__header {
  text-align: center;
  margin-bottom: 48px;
}

.results__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Score Overview */
.score-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.score-overview__circle {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring {
  position: absolute;
  width: 100%;
  height: 100%;
}

.score-overview__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.score-overview__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.score-overview__summary {
  flex: 1;
  min-width: 280px;
}

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

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

.score-summary-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.score-summary-item__dot.pass { background: var(--success); }
.score-summary-item__dot.warn { background: var(--warning); }
.score-summary-item__dot.fail { background: var(--danger); }

.score-summary-item__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.score-summary-item__text strong {
  color: var(--text-primary);
}

/* Analysis Grid */
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.analysis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.analysis-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.analysis-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.analysis-card__badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.analysis-card__badge.pass {
  background: rgba(0, 214, 143, 0.15);
  color: var(--success);
}

.analysis-card__badge.warn {
  background: rgba(255, 170, 0, 0.15);
  color: var(--warning);
}

.analysis-card__badge.fail {
  background: rgba(255, 107, 107, 0.15);
  color: var(--danger);
}

.analysis-card__content {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.analysis-card__content code {
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--accent-light);
  word-break: break-all;
}

.analysis-card__detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Recommendations */
.recommendations {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}

.recommendations__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--accent-light);
}

.recommendations__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recommendations__list li {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.recommendations__list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Keywords Section */
.keywords-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.keywords-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.keywords-section.hidden {
  display: none;
}

.keywords-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.keyword-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.keyword-item__word {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.keyword-item__bar {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
}

.keyword-item__bar-fill {
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.keyword-item__stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.features__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.features__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.features__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--accent-light);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Process Section
   ============================================ */
.process {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.process__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process__header {
  text-align: center;
  margin-bottom: 64px;
}

.process__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.process__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.process__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.process__step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process__step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.process__step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process__step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  padding: 80px 24px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

.faq__container {
  max-width: 800px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.faq__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item:hover {
  border-color: var(--border-hover);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
}

.faq__question:hover {
  color: var(--accent-light);
}

.faq__icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: 100px 24px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta__container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--gradient-cta);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 24px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .analyzer__input-wrap {
    flex-direction: column;
  }

  .analyzer__btn {
    width: 100%;
  }

  .score-overview {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .stats__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process__step {
    flex-direction: column;
    gap: 16px;
  }

  .process__step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .analyzer {
    padding: 16px;
  }

  .analyzer__tab {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .keywords-grid {
    grid-template-columns: 1fr;
  }
}
