/*
Theme Name: AI Easy Pick
Theme URI: https://aieasypick.com
Author: AI Easy Pick
Description: Dark-first AI tool review theme with neon cyan accents, smooth animations, and newsroom-inspired layout.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: aieasypick
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Dark Mode (Default) */
  --bg-primary: #000000;
  --bg-secondary: #0A0A0A;
  --bg-tertiary: #111111;
  --bg-card: #0F0F0F;
  --bg-card-hover: #161616;
  --bg-elevated: #1A1A1A;

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-tertiary: rgba(255, 255, 255, 0.35);

  --accent: #00E5FF;
  --accent-hover: #00B8D4;
  --accent-glow: rgba(0, 229, 255, 0.15);
  --accent-glow-strong: rgba(0, 229, 255, 0.3);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(0, 229, 255, 0.3);

  --success: #00E676;
  --warning: #FFD600;
  --error: #FF5252;
  --star: #FFD600;

  /* Typography */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Spacing */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 760px;
  --header-h: 56px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 400ms;
}

/* Light mode override */
[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-tertiary: #F5F5F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F8F8;
  --bg-elevated: #FFFFFF;

  --text-primary: #0A0A0A;
  --text-secondary: rgba(10, 10, 10, 0.55);
  --text-tertiary: rgba(10, 10, 10, 0.35);

  --accent: #0091EA;
  --accent-hover: #007ACC;
  --accent-glow: rgba(0, 145, 234, 0.1);
  --accent-glow-strong: rgba(0, 145, 234, 0.2);

  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --border-accent: rgba(0, 145, 234, 0.3);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast);
}
a:hover { color: var(--accent-hover); }

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

::selection {
  background: var(--accent);
  color: #000;
}

/* ============================================
   LAYOUT
   ============================================ */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s5);
}
.wrap--narrow { max-width: var(--max-w-narrow); }

/* ============================================
   HEADER — Sticky, frosted glass
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.85);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s5);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--s2);
  letter-spacing: -0.02em;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #000;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s5);
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--text-primary); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--s2);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font);
  transition: all var(--dur-fast);
}
.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.theme-toggle svg { width: 14px; height: 14px; }

/* Search trigger */
.search-trigger {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--s2);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
}
.search-trigger:hover { color: var(--text-primary); }
.search-trigger svg { width: 18px; height: 18px; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  color: var(--text-primary);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  margin: 5px 0;
  transition: all var(--dur) var(--ease);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: var(--s6);
    gap: var(--s5);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
}

/* ============================================
   HERO / FEATURED SLIDER
   ============================================ */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--s7);
  opacity: 0;
  transition: opacity var(--dur-slow);
}
.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-nav {
  position: absolute;
  bottom: var(--s7);
  right: var(--s7);
  z-index: 3;
  display: flex;
  gap: var(--s3);
}

.hero-nav button {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
}
.hero-nav button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: transparent;
}

[data-theme="light"] .badge {
  border-color: rgba(0,0,0,0.2);
  color: var(--text-primary);
}

.badge--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.badge--filled {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ============================================
   META INFO (date, read time)
   ============================================ */
.meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: var(--s2) 0 var(--s3);
}
.meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ============================================
   TRENDING TICKER
   ============================================ */
.ticker {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: var(--s3) 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.ticker-label svg { width: 16px; height: 16px; }
.ticker-text {
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.ticker-text a {
  color: var(--text-primary);
  margin: 0 var(--s6);
}
.ticker-text a:hover { color: var(--accent); }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTION
   ============================================ */
.section {
  padding: var(--s9) 0;
}
.section--alt {
  background: var(--bg-secondary);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--s7);
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.section-link:hover { color: var(--accent); }
.section-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.section-link:hover svg { transform: translateX(3px); }

/* ============================================
   ARTICLE CARDS (newsroom.gy layout)
   ============================================ */

/* Grid: 1 large + 2 small */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
.featured-grid .card:first-child {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid .card:first-child {
    grid-row: auto;
  }
}

/* Standard 3-col grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); }
.card:hover .card-img img { transform: scale(1.03); }

.card-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  background: var(--bg-tertiary);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.card-body {
  padding: var(--s4) 0;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: var(--s2);
  transition: color var(--dur-fast);
}
.card:hover h3 { color: var(--accent); }

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Large card variant (first in grid) */
.card--large .card-img { aspect-ratio: 16/12; }
.card--large h3 { font-size: 1.5rem; }

/* Horizontal card (for list view like newsroom.gy category pages) */
.card--horizontal {
  flex-direction: row;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.card--horizontal .card-img {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
}
.card--horizontal .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 600px) {
  .card--horizontal { flex-direction: column; }
  .card--horizontal .card-img { width: 100%; }
}

/* ============================================
   TOOL-SPECIFIC: RATING & VERDICT
   ============================================ */
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 600;
  font-size: 0.9rem;
}
.rating-stars { color: var(--star); letter-spacing: 2px; }
.rating-num { color: var(--text-primary); }

.verdict {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  margin: var(--s7) 0;
}

.verdict-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  margin-bottom: var(--s5);
  flex-wrap: wrap;
}

.verdict-score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.verdict-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) {
  .verdict-cols { grid-template-columns: 1fr; }
}

.verdict-list h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: var(--s3);
}
.verdict-list ul { list-style: none; }
.verdict-list li {
  padding: var(--s2) 0;
  font-size: 0.9rem;
  display: flex;
  gap: var(--s2);
  align-items: flex-start;
}
.verdict-list.pros li::before { content: '✓'; color: var(--success); font-weight: 700; }
.verdict-list.cons li::before { content: '✗'; color: var(--error); font-weight: 700; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: var(--s7) 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: var(--s4) var(--s5);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--bg-tertiary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
}
.compare-table tbody tr:hover td { background: var(--accent-glow); }
.compare-table tbody tr:last-child td { border-bottom: none; }

.check { color: var(--success); font-weight: 700; }
.cross { color: var(--text-tertiary); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  line-height: 1.3;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: #000;
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* Load More */
.load-more {
  display: flex;
  justify-content: center;
  margin-top: var(--s7);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  border-top: 1px solid var(--border);
  padding: var(--s8) 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
}
.newsletter h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 500px;
}
.newsletter-form {
  display: flex;
  gap: var(--s2);
}
.newsletter-form input {
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  min-width: 260px;
  outline: none;
  transition: border-color var(--dur-fast);
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-tertiary); }
.newsletter-form button {
  padding: 12px 24px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

@media (max-width: 700px) {
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: 0; width: 100%; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--s8) 0 var(--s6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--s7);
  margin-bottom: var(--s7);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: var(--s3);
}
.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--s4);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--s2); }
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: var(--s4);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-head {
  padding: var(--s7) 0 var(--s6);
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}
.article-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: var(--s4) 0;
}
.article-head .excerpt {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article-body {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--s5);
}
.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: var(--s8) 0 var(--s5);
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: var(--s6) 0 var(--s4);
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--s5);
  color: var(--text-primary);
}
.article-body ul, .article-body ol {
  padding-left: var(--s5);
  margin-bottom: var(--s5);
}
.article-body li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--s2);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--s4) var(--s5);
  margin: var(--s6) 0;
  background: var(--accent-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* CTA inline */
.cta-inline {
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: var(--s5);
  margin: var(--s6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}
.cta-inline h3 { font-size: 1rem; margin-bottom: var(--s1); }
.cta-inline p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

/* ============================================
   SEARCH OVERLAY (Cmd+K)
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.search-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s4);
  width: 90%;
  max-width: 540px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  transform: translateY(-10px) scale(0.98);
  transition: transform var(--dur) var(--ease-spring);
}
.search-overlay.active .search-modal {
  transform: translateY(0) scale(1);
}
.search-modal input {
  width: 100%;
  padding: var(--s4);
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-family: var(--font);
  outline: none;
}
.search-modal input::placeholder { color: var(--text-tertiary); }
.search-hint {
  padding: var(--s3) var(--s4);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
}
.search-hint kbd {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* Stagger grid children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.24s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* Glow effect for accent elements */
.glow { box-shadow: 0 0 20px var(--accent-glow); }
.glow-strong { box-shadow: 0 0 30px var(--accent-glow-strong); }

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
