/* ==========================================================================
   飞鸟 (FlyBird) Light Editorial Pop SaaS Stylesheet
   Theme: Crisp Light Magazine + Telemetry Control Room + Vibrant Pop Palette
   Target: Mobile-first, high performance, zero external dependencies
   ========================================================================== */

:root {
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-color: #e2e8f0;
  --border-color-hover: #94a3b8;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-sub: #64748b;

  /* Vibrant Pop Colors (No Neon) */
  --accent-blue: #2563eb;
  --accent-blue-dark: #1d4ed8;
  --accent-blue-light: #eff6ff;

  --accent-purple: #7c3aed;
  --accent-purple-dark: #6d28d9;
  --accent-purple-light: #faf5ff;

  --accent-rose: #e11d48;
  --accent-rose-dark: #be123c;
  --accent-rose-light: #fff1f2;

  --accent-cyan: #0284c7;
  --accent-cyan-light: #f0f9ff;

  --accent-green: #059669;
  --accent-green-light: #ecfdf5;

  --accent-amber: #d97706;
  --accent-amber-light: #fffbebfb;

  --gradient-primary: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  --gradient-pop: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #e11d48 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-pop: 0 10px 25px -5px rgba(37, 99, 235, 0.18);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --max-width: 1240px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% -5%, rgba(37, 99, 235, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(225, 29, 72, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-blue-dark);
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Vibrant Pop Editorial Typography Helpers */
.text-gradient {
  background: var(--gradient-pop);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-serif-title {
  font-family: var(--font-serif);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-blue-light);
  border: 1px solid #bfdbfe;
  color: var(--accent-blue-dark);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-pop);
  color: #ffffff;
  box-shadow: var(--shadow-pop);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-pop);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-blue-dark);
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-150%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.nav-mobile.active {
  transform: translateY(0);
}

.nav-mobile .nav-link {
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

/* Editorial Hero & Control Room Integrated Section */
.hero-editorial {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
}

.editorial-masthead {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px auto;
}

.masthead-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  color: var(--accent-green);
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
}

.issue-tag {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.masthead-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-main);
}

.masthead-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 26px auto;
}

.masthead-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.masthead-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-weight: 600;
}

.highlight-icon {
  color: var(--accent-green);
  font-weight: bold;
}

/* Control Room Ticker Bar (Pop Alert Styling) */
.alert-ticker-box {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(217, 119, 6, 0.12);
}

.alert-tag {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #c2410c;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.ticker-content-wrapper {
  overflow: hidden;
  width: 100%;
}

.ticker-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Control Room Live Telemetry Dashboard Grid (Vibrant Pop Accent Borders) */
.control-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.control-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.control-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.card-blue::before { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.card-green::before { background: linear-gradient(90deg, #059669, #10b981); }
.card-purple::before { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.card-amber::before { background: linear-gradient(90deg, #d97706, #f59e0b); }

.control-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.1);
}

.metric-head {
  font-size: 0.775rem;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 700;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-unit {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 600;
}

.metric-foot {
  font-size: 0.775rem;
  font-family: var(--font-mono);
  font-weight: 600;
}

.text-blue { color: #1d4ed8; }
.text-green { color: #047857; }
.text-purple { color: #6d28d9; }
.text-amber { color: #c2410c; }
.text-rose { color: #be123c; }
.text-cyan { color: #0369a1; }

/* Editorial Rankings Leaderboard & Data Matrix Split (Vibrant Pop) */
.control-room-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 20px;
}

.control-panel-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border-color);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.rank-row:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateX(2px);
}

.rank-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.775rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.rank-1 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.rank-2 { background: linear-gradient(135deg, #059669, #047857); }
.rank-3 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.rank-4 { background: linear-gradient(135deg, #e11d48, #be123c); }

.rank-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.rank-tag {
  font-size: 0.725rem;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.tag-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tag-purple { background: #faf5ff; color: #6d28d9; border: 1px solid #e9d5ff; }
.tag-cyan { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
.tag-rose { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

.editorial-note {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.compact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
}

.compact-table th {
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.725rem;
  text-transform: uppercase;
  font-weight: 700;
}

.compact-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.load-bar-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.load-bar {
  width: 50px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.load-fill {
  height: 100%;
  border-radius: 3px;
}

.bg-green { background: #059669; }
.bg-blue { background: #2563eb; }
.bg-purple { background: #7c3aed; }
.bg-amber { background: #d97706; }

.status-pill {
  font-size: 0.725rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-family: var(--font-family);
}

.status-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.status-purple { background: #faf5ff; color: #6d28d9; border: 1px solid #e9d5ff; }
.status-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 0.775rem;
  color: var(--text-sub);
  font-weight: 600;
}

.hover-underline:hover { text-decoration: underline; }

/* Global Sections */
.section {
  padding: 85px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--accent-purple);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Bento Grid System (Light Pop) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.bento-card:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -5px rgba(15, 23, 42, 0.1);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-dark);
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.card-icon.purple {
  background: #faf5ff;
  border-color: #e9d5ff;
  color: var(--accent-purple-dark);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
}

.card-icon.cyan {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: var(--accent-cyan);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.1);
}

.card-icon.rose {
  background: #fff1f2;
  border-color: #fecdd3;
  color: var(--accent-rose);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.1);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* AI & Streaming Section */
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.tag-item-blue { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.tag-item-purple { border-color: #e9d5ff; color: #6d28d9; background: #faf5ff; }
.tag-item-rose { border-color: #fecdd3; color: #be123c; background: #fff1f2; }
.tag-item-amber { border-color: #fef08a; color: #c2410c; background: #fffbebfb; }

/* SaaS Pricing Section (Light Pop) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.pricing-card.popular {
  background: #ffffff;
  border: 2.5px solid var(--accent-blue);
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.2);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-pop);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue-dark);
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.price-cycle {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 600;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-check {
  color: var(--accent-green);
  flex-shrink: 0;
  font-weight: 900;
}

/* Blog Cards Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.1);
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-sub);
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-cat {
  color: var(--accent-cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #f0f9ff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #bae6fd;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-main);
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-blue-dark);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.review-content {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-pop);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.775rem;
  color: var(--text-sub);
}

/* FAQ Accordion (Light Pop) */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
  box-shadow: var(--shadow-card);
}

.faq-item.active {
  border-color: var(--accent-blue);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-blue-dark);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

/* Footer (Light Pop) */
.footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand-desc {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-blue-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.825rem;
  color: var(--text-sub);
}

.footer-external-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-external-links a {
  color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 600;
}

.footer-external-links a:hover {
  color: var(--accent-blue-dark);
}

/* Article Template Styles */
.article-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--border-color);
}

.article-header {
  max-width: 860px;
  margin-bottom: 40px;
}

.article-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-main);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-sub);
  font-weight: 600;
}

.article-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-main);
  line-height: 1.8;
  font-size: 1.025rem;
  box-shadow: var(--shadow-card);
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 36px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border-color);
  color: var(--text-main);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px 0;
  color: #1e293b;
}

.article-content p {
  margin-bottom: 18px;
  color: #334155;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
  color: #334155;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.925rem;
}

.article-content th, .article-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-content th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-blue);
  background: #eff6ff;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  box-shadow: var(--shadow-card);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-color);
  color: var(--text-main);
}

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

.sidebar-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

.sidebar-links a:hover {
  color: var(--accent-blue-dark);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .masthead-title {
    font-size: 2.6rem;
  }

  .control-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .control-room-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-3, .col-4, .col-6, .col-8 {
    grid-column: span 12;
  }

  .article-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }

  .masthead-title {
    font-size: 2.1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .control-metrics-grid {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 24px 16px;
  }

  .article-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .masthead-title {
    font-size: 1.75rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .masthead-ctas {
    width: 100%;
    flex-direction: column;
  }

  .masthead-ctas .btn {
    width: 100%;
  }
}
