:root {
  --bg-color: #0B0F19;
  --surface-color: #111827;
  --surface-variant: #1F2937;
  --card-bg: #151D2F;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(59, 130, 246, 0.4);
  
  --primary: #3B82F6;
  --primary-light: #60A5FA;
  --primary-dark: #1E40AF;
  --accent: #22D3EE;
  --accent-glow: rgba(34, 211, 238, 0.25);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

/* Background Grids & Glows */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.45;
  z-index: 0;
  max-width: 100vw;
  overflow: hidden;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
}

.glow-top-right {
  top: 100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 70%);
}

.glow-bottom-center {
  bottom: 0;
  left: 30%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #22D3EE 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-md) + 2px);
  background: linear-gradient(135deg, #3B82F6, #22D3EE);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.btn-glow:hover::after {
  opacity: 0.6;
  filter: blur(8px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--card-border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: #FFFFFF;
}

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

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-brand img, .nav-logo {
  height: 34px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EF4444, #F59E0B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--primary-light);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.badge-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.3px;
}

.badge-tag {
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}

/* ==========================================================================
   3 Action Option Cards
   ========================================================================== */
.hero-actions-triple {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-btn-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--card-bg);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.btn-opt-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-opt-icon i {
  width: 22px;
  height: 22px;
}

.btn-opt-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.btn-opt-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary-light);
}

.btn-opt-badge.badge-ios {
  color: #C084FC;
}

.btn-opt-badge.badge-web {
  color: var(--accent);
}

.btn-opt-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.btn-opt-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-opt-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  transition: var(--transition);
}

/* Option 1: Android */
.btn-opt-android {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(30, 64, 175, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.4);
}
.btn-opt-android .btn-opt-icon {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}
.btn-opt-android:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(30, 64, 175, 0.25) 100%);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn-opt-android:hover .btn-opt-arrow {
  color: var(--primary-light);
  transform: translateY(2px);
}

/* Option 2: iOS */
.btn-opt-ios {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(126, 34, 206, 0.08) 100%);
  border-color: rgba(168, 85, 247, 0.3);
}
.btn-opt-ios .btn-opt-icon {
  background: linear-gradient(135deg, #A855F7, #7E22CE);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}
.btn-opt-ios:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(126, 34, 206, 0.15) 100%);
  border-color: #C084FC;
  transform: translateY(-2px);
}
.btn-opt-ios:hover .btn-opt-arrow {
  color: #C084FC;
  transform: translateX(3px);
}

/* Option 3: Web */
.btn-opt-web {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(14, 116, 144, 0.08) 100%);
  border-color: rgba(34, 211, 238, 0.25);
}
.btn-opt-web .btn-opt-icon {
  background: linear-gradient(135deg, #06B6D4, #0891B2);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}
.btn-opt-web:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(14, 116, 144, 0.15) 100%);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-opt-web:hover .btn-opt-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.hero-meta-center {
  margin-bottom: 28px;
}

/* ==========================================================================
   iOS Installation Pop-up Modal Styles
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ios-modal-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.2);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .ios-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.modal-close-btn i {
  width: 16px;
  height: 16px;
}

.ios-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-right: 30px;
}

.ios-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #A855F7, #6366F1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.ios-icon-box i {
  width: 22px;
  height: 22px;
}

.ios-modal-titles h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.ios-modal-titles p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ios-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.ios-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.ios-step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.2);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.4);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ios-step-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ios-step-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.ios-step-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.inline-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  color: #C084FC;
}

.highlight-text {
  color: #FFFFFF;
}

.ios-modal-actions {
  display: flex;
  gap: 10px;
}

.btn-modal-launch {
  flex: 1.3;
  padding: 12px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-modal-copy {
  flex: 1;
  padding: 12px;
  font-size: 13px;
  border-radius: 10px;
}

/* Metrics Strip */
.metrics-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  width: fit-content;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.metric-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background-color: var(--card-border);
}

/* Interactive Phone Mockup */
.hero-phone-container {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 320px;
  height: 640px;
  background: #000000;
  border-radius: 44px;
  border: 8px solid #1E293B;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  background: #0B0F19;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  scrollbar-width: none;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

/* Mock App UI */
.mock-header {
  padding: 34px 14px 8px;
  background: #111827;
  border-bottom: 1px solid #1F2937;
}

.mock-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.mock-brand-icon i {
  width: 13px;
  height: 13px;
}

.mock-brand-text {
  font-size: 15px;
  font-weight: 700;
}

.mock-header-actions {
  display: flex;
  gap: 6px;
}

.mock-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1F2937;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
}

.mock-icon-btn i {
  width: 14px;
  height: 14px;
}

.mock-topics-scroll {
  display: flex;
  gap: 6px;
  overflow-x: hidden;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #1F2937;
  font-size: 10px;
  font-weight: 600;
  color: #94A3B8;
  white-space: nowrap;
}

.mock-chip.active {
  background: #3B82F6;
  color: #FFFFFF;
}

.mock-chip i {
  width: 10px;
  height: 10px;
}

/* Mock Feed */
.mock-feed {
  padding: 12px;
  flex: 1;
  padding-bottom: 70px;
}

.mock-hero-card {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mock-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.2);
  color: #22D3EE;
  font-size: 9px;
  font-weight: 800;
  margin-bottom: 8px;
}

.mock-hero-badge i {
  width: 10px;
  height: 10px;
}

.mock-hero-source {
  font-size: 10px;
  color: #60A5FA;
  font-weight: 700;
  margin-bottom: 4px;
}

.mock-hero-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.mock-hero-summary {
  font-size: 10px;
  color: #94A3B8;
  line-height: 1.4;
}

.mock-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  color: #94A3B8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.mock-section-title i {
  width: 12px;
  height: 12px;
  color: #3B82F6;
}

.mock-article-card {
  background: #151D2F;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
}

.mock-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.mock-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.pill-ai {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

.pill-space {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
}

.mock-source {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 600;
}

.mock-match-badge {
  font-size: 9px;
  font-weight: 700;
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
}

.mock-card-body {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mock-card-text {
  flex: 1;
}

.mock-card-text h5 {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #F8FAFC;
  margin-bottom: 3px;
}

.mock-readtime {
  font-size: 9px;
  color: #64748B;
}

.mock-card-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.img-ai {
  background-color: #312E81;
}

.img-space {
  background-color: #78350F;
}

/* Floating Audio Player */
.mock-audio-player {
  position: absolute;
  bottom: 48px;
  left: 8px;
  right: 8px;
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.mock-audio-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-audio-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #3B82F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.mock-audio-icon i {
  width: 12px;
  height: 12px;
}

.mock-audio-info {
  display: flex;
  flex-direction: column;
}

.mock-audio-title {
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
}

.mock-audio-source {
  font-size: 8px;
  color: #94A3B8;
}

.mock-audio-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
}

.mock-audio-btn i {
  width: 12px;
  height: 12px;
}

/* Bottom Bar */
.mock-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: #0F172A;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.mock-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #64748B;
  font-size: 8px;
  font-weight: 600;
}

.mock-nav-item.active {
  color: #3B82F6;
}

.mock-nav-item i {
  width: 14px;
  height: 14px;
}

/* Section Shared */
.section {
  padding: 90px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-tag i {
  width: 14px;
  height: 14px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Sources Grid */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.source-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.source-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.source-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.source-icon i {
  width: 22px;
  height: 22px;
}

.cat-tech { background: #3B82F6; }
.cat-ai { background: #8B5CF6; }
.cat-space { background: #F59E0B; }
.cat-science { background: #10B981; }
.cat-business { background: #06B6D4; }
.cat-world { background: #6366F1; }
.cat-health { background: #14B8A6; }
.cat-climate { background: #84CC16; }
.cat-gaming { background: #EC4899; }
.cat-design { background: #F43F5E; }

.source-category {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
}

.source-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0 6px;
  color: #FFFFFF;
}

.source-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
}

.highlight-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(21, 29, 47, 0.9) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

.feature-icon i {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-graphic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.tag-active {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid var(--primary);
  color: #FFFFFF;
}

.tag-inactive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--card-border);
  color: var(--text-tertiary);
}

/* Install Steps */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h4 {
  font-size: 18px;
  font-weight: 800;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* API Section */
.api-box, .api-console-card {
  background: #060911;
  border: 1px solid #1E293B;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.api-header, .api-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  gap: 10px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.console-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.console-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
}

.btn-refresh-api {
  background: transparent;
  border: 1px solid #334155;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-refresh-api:hover {
  background: #1E293B;
  color: #FFFFFF;
}

.api-method-badge {
  background: var(--success);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.api-endpoint {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
}

.btn-copy-code {
  background: transparent;
  border: 1px solid #334155;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-copy-code:hover {
  background: #1E293B;
  color: #FFFFFF;
}

.api-code, .api-console-body {
  padding: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-sizing: border-box;
  background: #090D16;
}

.api-code code, .api-console-body code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.api-console-body pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Footer */
.footer {
  background: #060911;
  border-top: 1px solid var(--card-border);
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
  max-width: 320px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}

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

.footer-col h5 {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1E293B;
  border: 1px solid var(--primary);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ==========================================================================
   100 Curated Newsrooms Showcase & Filter
   ========================================================================== */
.sources-filter-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: var(--text-tertiary);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.search-box input::placeholder {
  color: var(--text-tertiary);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.category-showcase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.category-showcase-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cat-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cat-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon-badge i {
  width: 24px;
  height: 24px;
}

.cat-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--primary-light);
}

.cat-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.cat-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.newsrooms-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.newsroom-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.newsroom-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.newsroom-num {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-tertiary);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
  padding-top: 2px;
}

.newsroom-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.newsroom-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.newsroom-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.newsroom-item.highlight {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.newsroom-item.hidden {
  display: none;
}

/* Floating Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
}

/* ==========================================================================
   Responsive Mobile Optimization Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .metrics-strip {
    margin: 0 auto;
  }
  .highlight-card {
    grid-column: span 1;
  }
  .install-steps-grid {
    grid-template-columns: 1fr;
  }
  .category-showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Container & Global Spacing */
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .section {
    padding: 48px 0;
  }

  /* Navbar */
  .navbar {
    padding: 4px 0;
  }
  .nav-container {
    padding: 8px 16px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }
  .nav-brand img, .nav-logo {
    height: 26px;
    max-width: 135px;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
  }
  .nav-actions .nav-launch {
    display: none !important;
  }
  .nav-actions .btn-sm {
    padding: 6px 12px;
    font-size: 11.5px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .nav-actions .btn-sm i {
    width: 14px;
    height: 14px;
  }

  /* Hero Section */
  .hero-section {
    padding: 28px 0 40px;
  }
  .hero-container {
    gap: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-badge {
    margin-bottom: 16px;
    padding: 5px 12px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  .badge-text {
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
  }
  .hero-title {
    font-size: clamp(26px, 7.5vw, 36px);
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 14px;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  /* Hero Actions */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    margin-bottom: 28px;
    box-sizing: border-box;
  }
  .download-card {
    width: 100%;
    gap: 8px;
  }
  .btn-mobile-cta {
    width: 100%;
    padding: 14px 16px;
    min-height: 52px;
    border-radius: 12px;
    justify-content: center;
  }
  .btn-title {
    font-size: 15px;
  }
  .btn-subtitle {
    font-size: 11px;
  }
  .qr-card {
    display: none !important;
  }
  .download-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .meta-item {
    font-size: 10.5px;
  }

  /* Metrics Strip */
  .metrics-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    box-sizing: border-box;
  }
  .metric-divider {
    display: none;
  }
  .metric-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 8px;
    border-radius: 8px;
    align-items: center;
    text-align: center;
  }
  .metric-val {
    font-size: 19px;
  }
  .metric-lbl {
    font-size: 10px;
  }

  /* Hero Phone Mockup */
  .hero-phone-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 6px;
    display: flex;
    justify-content: center;
  }
  .phone-frame {
    width: min(290px, calc(100vw - 32px));
    height: 500px;
    border-width: 6px;
    border-radius: 36px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(59, 130, 246, 0.15);
    box-sizing: border-box;
    max-width: 100%;
  }

  /* 110 Newsrooms Directory */
  .sources-filter-container {
    padding: 14px 12px;
    gap: 12px;
    border-radius: 14px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .search-box {
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .search-box input {
    font-size: 13.5px;
    width: 100%;
  }
  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
  }
  .category-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .category-showcase-card {
    padding: 16px 14px;
    gap: 12px;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cat-title {
    font-size: 18px;
  }
  .cat-summary {
    font-size: 12.5px;
  }
  .newsroom-item {
    padding: 8px 10px;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
  }
  .newsroom-name {
    font-size: 13px;
  }
  .newsroom-desc {
    font-size: 11.5px;
  }

  /* Features & Personalization */
  .section-title {
    font-size: 24px !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }
  .section-subtitle {
    font-size: 13.5px !important;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .feature-card {
    padding: 18px 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .personalization-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .personalization-card {
    padding: 18px 14px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Install Guide */
  .install-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .step-card {
    padding: 16px 14px;
    width: 100%;
    box-sizing: border-box;
  }

  /* API Console */
  .api-console-card {
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .console-title {
    font-size: 12px;
  }
  .api-console-body pre code {
    font-size: 11px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  /* Footer */
  .footer {
    padding-bottom: 24px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
  }
  .nav-container {
    padding: 6px 12px;
  }
  .nav-brand img, .nav-logo {
    height: 24px;
    max-width: 120px;
  }
  .nav-actions .btn-sm {
    padding: 5px 10px;
    font-size: 11px;
  }
  .phone-frame {
    width: min(270px, calc(100vw - 24px));
    height: 480px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  .nav-container {
    padding: 6px 8px;
  }
  .nav-brand img, .nav-logo {
    height: 22px;
    max-width: 105px;
  }
  .nav-actions .btn-sm {
    padding: 4px 8px;
    font-size: 10.5px;
  }
  .phone-frame {
    width: min(250px, calc(100vw - 20px));
    height: 430px;
  }
  .hero-title {
    font-size: 23px;
  }
  .btn-opt-title {
    font-size: 13.5px !important;
  }
  .btn-opt-desc {
    font-size: 10.5px !important;
  }
}
