/* ===== AI Toolkit — Modern Light Theme ===== */

:root {
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --bg-header: rgba(255,255,255,0.85);
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: #eef2ff;
  --accent: #f59e0b;
  --border: #e2e8f0;
  --border-card: #f1f5f9;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --max-w: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "JetBrains Mono", "Consolas", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); border-bottom-color: var(--primary); }

/* ===== Main ===== */
main { flex: 1; padding: 32px 0 48px; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 48px 0 36px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
}
.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  background: var(--bg-card);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ===== Category ===== */
.category-section {
  margin-bottom: 36px;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 4px;
}
.category-header .cat-icon {
  font-size: 1.2rem;
}
.category-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}
.category-header .cat-count {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  background: var(--bg-card);
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* ===== Tool Grid ===== */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.tool-card .tool-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}
.tool-card .tool-info { flex: 1; min-width: 0; }
.tool-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.tool-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tool-card .tool-tag {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: 10px;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== Tool Page ===== */
.tool-page {
  max-width: 780px;
  margin: 0 auto;
}
.tool-page-header {
  margin-bottom: 24px;
}
.tool-page-header .breadcrumb {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.tool-page-header .breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.tool-page-header .breadcrumb a:hover { text-decoration: underline; }
.tool-page-header .breadcrumb span { color: var(--text-tertiary); margin: 0 4px; }

.tool-page-header .tool-icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.tool-page-header .tool-icon-title .icon-badge {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.tool-page-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.tool-page-header .tool-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 8px;
}

/* ===== Tool Widget ===== */
.tool-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.tool-widget textarea,
.tool-widget input[type="text"] {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.6;
}
.tool-widget textarea:focus,
.tool-widget input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.tool-widget textarea { min-height: 120px; }

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all .2s;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  white-space: nowrap;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-tertiary);
  box-shadow: var(--shadow-sm);
}
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-success { background: #10b981; }
.btn-success:hover { background: #059669; }
.btn-danger { background: #ef4444; }
.btn-danger:hover { background: #dc2626; }

.output-area {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 12px;
  min-height: 50px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  word-break: break-all;
  white-space: pre-wrap;
  max-height: 500px;
  overflow-y: auto;
  color: var(--text);
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.stats-bar span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ===== Tool Meta ===== */
.tool-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}
.tool-meta p { margin-bottom: 4px; }
.tool-meta p:last-child { margin-bottom: 0; }
.tool-meta strong { color: var(--text); }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: auto;
}
.footer-content { text-align: center; }
.footer-content p { font-size: 0.82rem; color: var(--text-tertiary); }
.footer-nav { margin-top: 12px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { font-size: 0.82rem; color: var(--text-secondary); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--primary); text-decoration: underline; }

/* ===== Content Pages (About, Privacy, etc.) ===== */
.content-page h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.page-content { line-height: 1.8; font-size: 0.95rem; color: var(--text); }
.page-content h2 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.page-content h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 8px; }
.page-content p { margin-bottom: 12px; }
.page-content ul, .page-content ol { margin-bottom: 12px; padding-left: 22px; }
.page-content li { margin-bottom: 6px; }
.page-content strong { font-weight: 600; }
.page-content a { color: var(--primary); text-decoration: underline; }
.page-content code { background: var(--bg-card); padding: 2px 6px; border-radius: 4px; font-size: 0.88em; }

/* ===== Sticky Bottom Ad ===== */
.ad-sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  z-index: 9999;
  min-height: 100px;
}
.ad-sticky-bottom .ad-close-btn {
  position: absolute;
  right: 8px;
  top: 4px;
  background: transparent;
  border: none;
  color: #999;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}
.ad-sticky-bottom .ad-close-btn:hover { color: #fff; }
body { padding-bottom: 100px; } /* prevent content being hidden behind sticky ad */

/* ===== Ad Slot ===== */
.ad-slot { margin: 20px 0; min-height: 90px; }
.ad-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  box-shadow: var(--shadow-sm);
}
.ad-placeholder-inner {
  color: var(--text-tertiary);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.7;
}

/* ===== Mode Toggle ===== */
.mode-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mode-toggle .btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-tertiary);
}

/* ===== Home Layout: Sidebar + Main ===== */
.home-layout {
  display: flex;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
  min-height: calc(100vh - 64px - 120px);
}

/* ===== Sidebar ===== */
.sidebar {
  width: 210px;
  flex-shrink: 0;
  padding-top: 32px;
}
.sidebar-inner {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.sidebar-inner:hover {
  scrollbar-color: var(--border) transparent;
}
.sidebar-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 0 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.18s ease;
  margin-bottom: 2px;
  cursor: pointer;
}
.sidebar-item:hover {
  background: var(--bg-card);
  color: var(--text);
}
.sidebar-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.sidebar-item-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.sidebar-item-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-count {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  background: var(--bg);
  padding: 1px 8px;
  border-radius: 10px;
  min-width: 22px;
  text-align: center;
  font-weight: 500;
}
.sidebar-item.active .sidebar-count {
  background: var(--primary);
  color: #fff;
}

/* Popular tools in sidebar */
.sidebar-section {
  padding: 0 12px;
  margin-top: 8px;
}
.sidebar-tool-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s;
}
.sidebar-tool-item:hover {
  background: var(--bg-card);
  color: var(--text);
}

/* ===== Home Main ===== */
.home-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.home-main .container {
  padding: 0;
}
.home-layout .hero {
  text-align: left;
  padding: 32px 0 28px;
}
.home-layout .hero h1 {
  font-size: 1.6rem;
}
.home-layout .hero p {
  margin: 0;
  max-width: 100%;
  font-size: 0.92rem;
}
.home-layout .hero-stats {
  justify-content: flex-start;
  margin-top: 20px;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 24px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.92rem; }
  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 16px 18px; }
  .tool-widget { padding: 16px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .tool-page-header h1 { font-size: 1.2rem; }
  .site-header .container { height: 56px; }

  /* Sidebar → horizontal filter bar on mobile */
  .home-layout { flex-direction: column; gap: 16px; padding: 0 16px; }
  .sidebar { width: 100%; padding-top: 0; overflow-x: auto; }
  .sidebar-inner { position: static; display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding: 8px 0; }
  .sidebar-title { display: none; }
  .sidebar-item { flex-shrink: 0; white-space: nowrap; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-card); font-size: 0.82rem; }
  .sidebar-item-icon { font-size: 0.9rem; width: auto; }
  .sidebar-count { display: none; }
  .home-layout .hero { padding: 20px 0; }
  .home-layout .hero h1 { font-size: 1.3rem; }
  .home-main .container { padding: 0; }
}

/* ===== AI 行业日报 — Card-Style Redesign ===== */
.daily-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.daily-hero {
  position: relative;
  padding: 80px 24px 64px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%);
}
.daily-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(99,102,241,0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(139,92,246,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(236,72,153,0.08) 0%, transparent 40%);
}
.daily-hero-content {
  position: relative;
  z-index: 1;
}
.daily-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 20px;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.35);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.daily-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.daily-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 520px;
}
.daily-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.daily-stat {
  text-align: center;
}
.daily-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: -0.02em;
}
.daily-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* How it works — Card section */
.daily-how {
  padding: 64px 0;
  background: var(--bg-card);
}
.daily-how h2 {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 44px;
  color: var(--text);
  font-weight: 700;
}
.daily-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.daily-how-card {
  text-align: center;
  padding: 32px 24px 36px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.daily-how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.how-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}
.daily-how-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}
.daily-how-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Issue list — Card style */
.daily-issues {
  padding: 64px 0;
  background: var(--bg);
}
.daily-issues h2 {
  font-size: 1.5rem;
  margin: 0 0 28px;
  color: var(--text);
  font-weight: 700;
}
.daily-grid {
  display: grid;
  gap: 14px;
}
.daily-card {
  display: flex;
  gap: 20px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.daily-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,0.25);
}
.daily-card-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
}
.daily-card-day {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}
.daily-card-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.daily-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.daily-card-body h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 700;
}
.daily-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.daily-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-tertiary);
}
.daily-card-arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.5;
}
.daily-card:hover .daily-card-arrow {
  transform: translateX(5px);
  opacity: 1;
  color: var(--primary);
}

/* Single issue page — Card style */
.daily-issue {
  padding: 40px 0 64px;
  background: var(--bg);
}
.daily-issue .daily-container {
  max-width: 800px;
}
.daily-issue-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px 28px;
  margin-bottom: 28px;
}
.daily-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 16px;
  font-weight: 500;
}
.daily-back:hover {
  text-decoration: underline;
}
.daily-issue-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.daily-issue-badge {
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(99,102,241,0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
}
.daily-issue-time {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.daily-issue h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.3;
}
.daily-issue-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.daily-issue-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.daily-issue-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.daily-issue-content h3 {
  font-size: 1.08rem;
  margin: 20px 0 8px;
  color: var(--text);
}
.daily-issue-content p {
  margin: 0 0 12px;
}
.daily-issue-content a {
  color: var(--primary);
  text-decoration: none;
}
.daily-issue-content a:hover {
  text-decoration: underline;
}
.daily-issue-content blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  background: rgba(99,102,241,0.05);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
}
.daily-issue-content ul, .daily-issue-content ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.daily-issue-content li {
  margin-bottom: 6px;
}
.daily-issue-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.daily-issue-footer {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.daily-issue-footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.daily-footer-qr {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.daily-footer-text {
  flex: 1;
  text-align: left;
}

.daily-issue-footer p {
  color: var(--text-muted);
  margin: 0 0 8px;
}

/* CTA */
.daily-cta {
  padding: 64px 0;
  text-align: center;
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 50%, #24243e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.daily-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 60%);
}
.daily-cta .daily-container {
  position: relative;
  z-index: 1;
}
.daily-cta h2 {
  font-size: 1.6rem;
  margin: 0 0 10px;
  font-weight: 800;
}
.daily-cta > .daily-container > p {
  color: rgba(255,255,255,0.65);
  margin: 0 0 32px;
  font-size: 1rem;
}
.daily-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.daily-qr {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.daily-cta-right {
  text-align: left;
}
.daily-cta-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.daily-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.daily-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.daily-cta-buttons {
  display: flex;
  gap: 12px;
}
.daily-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.daily-btn:hover {
  transform: translateY(-2px);
}
.daily-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
}
.daily-btn-primary:hover {
  box-shadow: 0 4px 20px rgba(99,102,241,0.45);
}
.daily-btn-outline {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
.daily-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .daily-hero { padding: 50px 16px 40px; }
  .daily-hero h1 { font-size: 1.8rem; }
  .daily-hero-desc { font-size: 1rem; }
  .daily-hero-stats { gap: 24px; }
  .daily-issues { padding: 40px 0; }
  .daily-card { padding: 16px 18px; gap: 14px; }
  .daily-card-date { width: 50px; height: 50px; }
  .daily-card-day { font-size: 1.1rem; }
  .daily-issue h1 { font-size: 1.4rem; }
  .daily-how-grid { grid-template-columns: 1fr; }
  .daily-cta { padding: 40px 16px; }
  .daily-issue-header { padding: 24px 20px 20px; }
  .daily-issue-content { padding: 24px 20px; }
  .daily-cta-content { flex-direction: column; gap: 24px; }
  .daily-qr { width: 140px; height: 140px; }
  .daily-cta-right { text-align: center; }
  .daily-cta-steps { align-items: center; }
  .daily-cta-buttons { justify-content: center; }
  .daily-issue-footer-inner { flex-direction: column; text-align: center; }
  .daily-footer-text { text-align: center; }
}
