/* ========================================
   Citio Main CSS
   Version: 1.2.0
   Last Updated: Mobile Menu & Button Fix
   - Fixed hamburger menu z-index and clickability
   - Enhanced Start Free Trial button styling
   - Added proper colr gradients with !important
======================================== */

/* ========================================
   Animated Eye Logo
======================================== */
.eye-logo {
  overflow: visible;
}

.eye-logo .eye-pupil {
  transform-origin: center;
  transition: transform 0.15s ease-out;
}

.eye-logo .eye-outline {
  transform-origin: center;
}

/* Autonomous looking animation when not being tracked */
@keyframes lookAround {
  0%, 100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(2px, -1px);
  }
  25% {
    transform: translate(3px, 0);
  }
  40% {
    transform: translate(1px, 1px);
  }
  55% {
    transform: translate(-2px, 1px);
  }
  70% {
    transform: translate(-3px, 0);
  }
  85% {
    transform: translate(-1px, -1px);
  }
}

.eye-logo.autonomous .eye-pupil {
  animation: lookAround 4s ease-in-out infinite;
}

/* Blink animation */
@keyframes blink {
  0%, 45%, 55%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.1);
  }
}

.eye-logo.blink .eye-outline,
.eye-logo.blink .eye-pupil {
  animation: blink 0.15s ease-in-out;
}

/* Glow effect on hover */
.logo:hover .eye-logo .eye-outline,
.logo:hover .eye-logo .eye-pupil {
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.8));
}

/* ========================================
   CSS Variables
======================================== */
:root {
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #0a0a0a;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ========================================
   Layout
======================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ========================================
   Background Effects
======================================== */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000 0%, var(--gray-950) 50%, #000 100%);
}

.bg-glow-1 {
  position: absolute;
  top: -100px;
  left: 25%;
  width: 500px;
  height: 500px;
  background: rgba(220, 38, 38, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse 4s ease-in-out infinite;
}

.bg-glow-2 {
  position: absolute;
  bottom: 20%;
  right: 20%;
  width: 400px;
  height: 400px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse 4s ease-in-out infinite 1s;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 50, 50, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* ========================================
   Navigation
======================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(185, 28, 28, 0.2);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--red-500);
}

.logo-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  position: relative;
  z-index: 1;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-500);
  filter: blur(12px);
  opacity: 0.5;
  border-radius: 50%;
}

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

.nav-links a {
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta .nav-link {
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-cta .nav-link:hover {
  color: #fff;
}

.nav-cta .btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  color: white !important;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.nav-cta .btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(185, 28, 28, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--gray-400);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}

.mobile-menu .btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.mobile-menu .btn-primary:hover {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--gray-800);
  margin: 8px 0;
}

.mobile-user-info {
  padding: 12px 0;
  color: var(--gray-300);
  font-weight: 500;
}

.mobile-logout-btn {
  background: transparent;
  border: 1px solid var(--gray-700);
  color: var(--gray-400);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.mobile-logout-btn:hover {
  border-color: var(--red-500);
  color: var(--red-400);
}

/* Header User Menu */
.header-user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.header-user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gray-700);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
}

.header-user-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gray-600);
}

.header-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.header-user-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.header-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gray-700);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.header-user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--gray-300);
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.header-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.header-dropdown-item svg {
  color: var(--gray-500);
  flex-shrink: 0;
}

.header-dropdown-item:hover svg {
  color: var(--gray-300);
}

.header-dropdown-divider {
  height: 1px;
  background: var(--gray-700);
  margin: 8px 0;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-600) 0%, var(--red-500) 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-400) 100%);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--gray-700);
  color: #fff;
}

.btn-secondary:hover {
  border-color: var(--gray-600);
  background: rgba(255, 255, 255, 0.05);
}

.btn-white {
  background: #fff;
  color: var(--red-600);
}

.btn-white:hover {
  background: #f3f4f6;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  z-index: 10;
  padding: 140px 0 80px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge span {
  color: var(--red-400);
  font-size: 14px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero h1 .white {
  background: linear-gradient(135deg, #fff 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .red {
  background: linear-gradient(135deg, var(--red-500) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 20px;
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-800);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--gray-500);
}

.stat-divider {
  width: 1px;
  background: var(--gray-800);
}

/* ========================================
   Hero Dashboard Preview (Landing Page)
======================================== */
.hero-preview {
  position: relative;
  overflow: hidden;
}

.hero-preview::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-preview-card {
  position: relative;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-950) 100%);
  border-radius: 16px;
  border: 1px solid var(--gray-800);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-800);
  background: rgba(17, 24, 39, 0.5);
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-dot.red {
  background: var(--red-500);
}

.preview-dot.yellow {
  background: #eab308;
}

.preview-dot.green {
  background: #22c55e;
}

.preview-url {
  color: var(--gray-500);
  font-size: 13px;
  margin-left: 8px;
}

.hero-preview-body {
  padding: 24px;
}

.preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.preview-stat-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(55, 65, 81, 0.5);
  border-radius: 12px;
  padding: 16px;
}

.preview-stat-label {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.preview-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.preview-stat-change {
  font-size: 12px;
  margin-top: 4px;
}

.preview-stat-change.up {
  color: #22c55e;
}

.preview-stat-change.alert {
  color: var(--red-500);
}

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

.preview-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(31, 41, 55, 0.3);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.preview-alert:hover {
  background: rgba(31, 41, 55, 0.5);
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.alert-dot.high {
  background: var(--red-500);
}

.alert-dot.medium {
  background: #eab308;
}

.alert-dot.low {
  background: var(--gray-500);
}

.alert-content {
  flex: 1;
  min-width: 0;
}

.alert-title {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert-time {
  font-size: 12px;
  color: var(--gray-500);
}

.alert-arrow {
  color: var(--gray-600);
  font-size: 20px;
}

/* ========================================
   Logos Section
======================================== */
.logos-section {
  position: relative;
  z-index: 10;
  padding: 64px 0;
  border-top: 1px solid rgba(31, 41, 55, 0.5);
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}

.logos-section > .container > p {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 32px;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.logo-item {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

.logo-item:hover {
  color: var(--gray-400);
}

/* ========================================
   Section Header
======================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header h2 .white {
  background: linear-gradient(135deg, #fff 0%, var(--gray-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header h2 .red {
  background: linear-gradient(135deg, var(--red-500) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--gray-400);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   How It Works Section (Cascading Cards)
======================================== */
.how-it-works-section {
  position: relative;
  z-index: 10;
  padding: 100px 0 280px;
  text-align: center;
  overflow: visible;
}

.how-it-works-section .section-header {
  margin-bottom: 32px;
}

.section-label {
  display: inline-block;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 80px;
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.cascade-cards {
  position: relative;
  height: 320px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cascade-card {
  position: absolute;
  width: 180px;
  height: 220px;
  padding: 20px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 16px;
  text-align: left;
  transform-origin: bottom center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

/* Fan positions - even spread from center */
.cascade-card:nth-child(1) {
  left: calc(50% - 420px);
  bottom: 60px;
  transform: rotate(-12deg);
  z-index: 1;
}
.cascade-card:nth-child(2) {
  left: calc(50% - 280px);
  bottom: 30px;
  transform: rotate(-7deg);
  z-index: 2;
}
.cascade-card:nth-child(3) {
  left: calc(50% - 140px);
  bottom: 10px;
  transform: rotate(-2deg);
  z-index: 3;
}
.cascade-card:nth-child(4) {
  left: calc(50% - 0px);
  bottom: 10px;
  transform: rotate(2deg);
  z-index: 4;
}
.cascade-card:nth-child(5) {
  left: calc(50% + 140px);
  bottom: 30px;
  transform: rotate(7deg);
  z-index: 5;
}
.cascade-card:nth-child(6) {
  left: calc(50% + 280px);
  bottom: 60px;
  transform: rotate(12deg);
  z-index: 6;
}

.cascade-card:hover {
  transform: rotate(0deg) translateY(-30px) scale(1.08);
  z-index: 10;
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(239, 68, 68, 0.15);
}

.cascade-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  white-space: nowrap;
}

.cascade-card p {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: auto;
  flex-grow: 1;
}

.cascade-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.metric-value.trophy-icon {
  display: flex;
  align-items: center;
}

.metric-value.trophy-icon svg {
  color: #fbbf24;
  width: 28px;
  height: 28px;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.metric-change.positive {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.metric-change.negative {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.metric-change.gold {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.cascade-card-final {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(17, 24, 39, 0.95));
  border-color: rgba(251, 191, 36, 0.4);
}

.cascade-card-final:hover {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(251, 191, 36, 0.2);
}

/* ========================================
   Problem Section (Why Invisible in AI)
======================================== */
.problem-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.problem-card {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.problem-icon {
  width: 64px;
  height: 64px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.problem-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red-500);
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.solution-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.solution-cta p {
  font-size: 18px;
  color: var(--gray-300);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Dashboard Preview Section
======================================== */
.dashboard-preview-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.3) 50%, transparent 100%);
}

/* Browser Window Frame */
.preview-browser-frame {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(239, 68, 68, 0.1);
  transform: perspective(2000px) rotateX(2deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.preview-browser-frame:hover {
  transform: perspective(2000px) rotateX(0deg) translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(239, 68, 68, 0.15);
}

.preview-browser-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #1a1f2e 0%, #151922 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-browser-dots {
  display: flex;
  gap: 8px;
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-dot.red {
  background: #ff5f57;
}

.preview-dot.yellow {
  background: #febc2e;
}

.preview-dot.green {
  background: #28c840;
}

.preview-browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray-500);
}

.preview-browser-url svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Dashboard Layout Inside Preview */
.preview-dashboard-layout {
  display: flex;
  min-height: 520px;
}

/* Mini Sidebar */
.preview-sidebar {
  width: 56px;
  background: linear-gradient(180deg, #0f1419 0%, #0a0d12 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
}

.preview-sidebar-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.preview-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-nav-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--gray-500);
  transition: all 0.2s ease;
}

.preview-nav-item:hover {
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.05);
}

.preview-nav-item.active {
  color: var(--red-500);
  background: rgba(239, 68, 68, 0.1);
}

/* Main Content Area */
.preview-main-content {
  flex: 1;
  padding: 20px 24px;
  background: linear-gradient(135deg, #0d1117 0%, #0a0d12 100%);
  overflow: hidden;
}

.preview-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.preview-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.preview-date-pills {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 8px;
}

.preview-pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.preview-pill.active {
  background: var(--red-500);
  color: #fff;
}

/* Stats Row */
.preview-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.preview-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}

.preview-stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.preview-stat-value.green {
  color: #22c55e;
}

.preview-stat-value.blue {
  color: #3b82f6;
}

.preview-stat-value.purple {
  color: #8b5cf6;
}

.preview-stat-value.orange {
  color: #f59e0b;
}

.preview-stat-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Provider Section */
.preview-provider-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.preview-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.preview-provider-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-provider-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-provider-name {
  width: 90px;
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-provider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-bar-track {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.preview-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.preview-provider-count {
  width: 36px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-300);
  text-align: right;
}

/* Table Section */
.preview-table-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.preview-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-th {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease;
}

.preview-table-row:last-child {
  border-bottom: none;
}

.preview-table-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.preview-td {
  display: flex;
  align-items: center;
}

.preview-query-text {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.preview-provider-badge.chatgpt {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.preview-provider-badge.claude {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.preview-provider-badge.perplexity {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.preview-citation-title {
  font-size: 13px;
  color: var(--gray-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-date {
  font-size: 12px;
  color: var(--gray-500);
}

/* Feature Cards Below Preview */
.preview-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.preview-feature-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, var(--gray-950) 100%);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.preview-feature-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08);
}

.preview-feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-500);
  transition: transform 0.3s ease;
}

.preview-feature-card:hover .preview-feature-icon {
  transform: scale(1.1);
}

.preview-feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

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

/* Dashboard Preview Responsive */
@media (max-width: 1024px) {
  .preview-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-table-header,
  .preview-table-row {
    grid-template-columns: 1.5fr 1fr 1.5fr 0.8fr;
  }
}

@media (max-width: 768px) {
  .preview-browser-frame {
    transform: none;
  }

  .preview-browser-frame:hover {
    transform: translateY(-4px);
  }

  .preview-sidebar {
    width: 44px;
  }

  .preview-dashboard-layout {
    min-height: 400px;
  }

  .preview-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .preview-stat-card {
    padding: 10px 12px;
  }

  .preview-stat-value {
    font-size: 20px;
  }

  .preview-provider-section {
    display: none;
  }

  .preview-table-header,
  .preview-table-row {
    grid-template-columns: 1fr 1fr;
  }

  .preview-table-header .preview-th:nth-child(3),
  .preview-table-header .preview-th:nth-child(4),
  .preview-table-row .preview-td:nth-child(3),
  .preview-table-row .preview-td:nth-child(4) {
    display: none;
  }

  .preview-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .preview-feature-card {
    padding: 24px;
  }
}

/* ========================================
   FAQ Accordion Section
======================================== */
.faq-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.faq-item:first-child {
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.faq-trigger:hover .faq-question {
  color: var(--red-500);
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s ease;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  color: var(--red-500);
  transition: all 0.3s ease;
}

.faq-icon svg {
  transition: transform 0.3s ease;
}

.faq-icon-vertical {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .faq-icon {
  background: rgba(239, 68, 68, 0.2);
}

.faq-item.active .faq-icon-vertical {
  transform: rotate(90deg);
  opacity: 0;
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.7;
  padding-bottom: 24px;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 15px;
  }
  .faq-answer p {
    font-size: 14px;
  }
}

/* ========================================
   Workflow Section (How It Works - Landing)
======================================== */
.workflow-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-500), transparent);
}

.workflow-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--red-500);
}

.workflow-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ========================================
   Auto-Replicate Section
======================================== */
.replicate-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.replicate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.replicate-content {
  max-width: 500px;
}

.replicate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-400);
  margin-bottom: 24px;
}

.replicate-badge svg {
  color: var(--red-400);
}

.replicate-content h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.replicate-content h2 .white {
  background: linear-gradient(135deg, #fff 0%, var(--gray-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.replicate-content h2 .red {
  background: linear-gradient(135deg, var(--red-500) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.replicate-description {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 32px;
}

.replicate-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.replicate-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.replicate-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-400);
  flex-shrink: 0;
}

.replicate-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.replicate-feature-text strong {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.replicate-feature-text span {
  font-size: 14px;
  color: var(--gray-500);
}

.replicate-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Visual Flow */
.replicate-visual {
  position: relative;
}

.replicate-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-step-icon {
  width: 56px;
  height: 56px;
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.flow-step-icon.highlight {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--red-400);
}

.flow-step-icon.success {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.flow-step-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.flow-step-detail {
  font-size: 12px;
  color: var(--gray-500);
}

.flow-arrow {
  color: var(--gray-600);
  flex-shrink: 0;
}

/* Output Preview Card */
.replicate-output-card {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 16px;
  overflow: hidden;
}

.output-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(17, 24, 39, 0.6);
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.output-card-dots {
  display: flex;
  gap: 6px;
}

.output-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(75, 85, 99, 0.6);
}

.output-card-dots span:first-child {
  background: #ef4444;
}

.output-card-dots span:nth-child(2) {
  background: #eab308;
}

.output-card-dots span:nth-child(3) {
  background: #22c55e;
}

.output-card-title {
  font-size: 12px;
  color: var(--gray-500);
}

.output-card-content {
  padding: 20px;
}

.output-image-placeholder {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 1px dashed rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--red-400);
}

.output-image-placeholder span {
  font-size: 12px;
  color: var(--gray-500);
}

.output-content-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.output-line {
  height: 10px;
  background: rgba(75, 85, 99, 0.4);
  border-radius: 4px;
}

.output-line.title {
  width: 70%;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.output-line.short {
  width: 50%;
}

.output-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.output-tag {
  padding: 6px 12px;
  background: rgba(75, 85, 99, 0.3);
  border-radius: 6px;
  font-size: 11px;
  color: var(--gray-400);
}

.output-tag.branded {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red-400);
}

/* Responsive */
@media (max-width: 900px) {
  .replicate-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .replicate-content {
    max-width: 100%;
    text-align: center;
  }

  .replicate-features {
    align-items: center;
  }

  .replicate-feature {
    text-align: left;
  }

  .replicate-flow {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .flow-arrow {
    display: none;
  }

  .flow-step {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  .replicate-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .replicate-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .replicate-feature-icon {
    width: 36px;
    height: 36px;
  }

  .replicate-feature-icon svg {
    width: 16px;
    height: 16px;
  }

  .replicate-feature-text strong {
    font-size: 13px;
  }

  .replicate-feature-text span {
    font-size: 11px;
    line-height: 1.4;
  }

  .flow-step {
    flex: 0 0 calc(50% - 8px);
  }

  .flow-step-icon {
    width: 44px;
    height: 44px;
  }

  .flow-step-icon svg {
    width: 20px;
    height: 20px;
  }

  .flow-step-label {
    font-size: 12px;
  }

  .flow-step-detail {
    font-size: 10px;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: -8px;
  font-size: 96px;
  font-weight: 800;
  color: rgba(239, 68, 68, 0.1);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.step-content {
  position: relative;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gray-800);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--red-600) 0%, var(--red-500) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.25);
}

.step-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.step-content p {
  color: var(--gray-400);
  line-height: 1.6;
}

/* ========================================
   Showcase Section
======================================== */
.showcase-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.showcase-content h2 .white {
  color: #fff;
}

.showcase-content h2 .red {
  background: linear-gradient(135deg, var(--red-500) 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-content > p {
  color: var(--gray-400);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.showcase-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-check {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-check svg {
  color: #fff;
}

.showcase-item span {
  color: var(--gray-300);
}

.showcase-image {
  position: relative;
  overflow: hidden;
}

.showcase-image::before {
  content: '';
  position: absolute;
  inset: -50px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}

.showcase-image img {
  position: relative;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--gray-800);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Content Planner Preview Section
======================================== */
.content-planner-preview-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 24, 39, 0.3) 50%, transparent 100%);
}

.content-planner-preview-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.content-planner-preview-section .section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Browser Frame */
.planner-browser-frame {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(239, 68, 68, 0.1);
  max-width: 1000px;
  margin: 0 auto;
  transform: perspective(2000px) rotateX(2deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.planner-browser-frame:hover {
  transform: perspective(2000px) rotateX(0deg) translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(239, 68, 68, 0.15);
}

.planner-browser-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(31, 41, 55, 0.5);
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.planner-browser-dots {
  display: flex;
  gap: 6px;
}

.planner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.planner-dot.red { background: #ef4444; }
.planner-dot.yellow { background: #eab308; }
.planner-dot.green { background: #22c55e; }

.planner-browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 39, 0.5);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--gray-500);
}

.planner-browser-url svg {
  color: #22c55e;
}

/* Calendar Content */
.planner-calendar-content {
  padding: 24px;
}

.planner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.planner-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-100);
}

.planner-month-label {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Stats Row */
.planner-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.planner-stat {
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.planner-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.planner-stat-value.green { color: #22c55e; }
.planner-stat-value.blue { color: #3b82f6; }
.planner-stat-value.purple { color: #a855f7; }

.planner-stat-label {
  font-size: 12px;
  color: var(--gray-500);
}

/* Calendar Grid */
.planner-calendar-grid {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.planner-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(31, 41, 55, 0.6);
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.planner-weekdays span {
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
}

.planner-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.planner-day {
  position: relative;
  min-height: 70px;
  padding: 8px;
  border-right: 1px solid rgba(75, 85, 99, 0.2);
  border-bottom: 1px solid rgba(75, 85, 99, 0.2);
  transition: all 0.2s ease;
}

.planner-day:nth-child(7n) {
  border-right: none;
}

.planner-day.empty {
  background: rgba(17, 24, 39, 0.3);
}

.planner-day.published {
  background: rgba(34, 197, 94, 0.08);
}

.planner-day.scheduled {
  background: rgba(59, 130, 246, 0.08);
}

.planner-day.today {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.day-number {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.planner-day.today .day-number {
  color: var(--red-400);
}

.day-keyword {
  font-size: 9px;
  color: var(--gray-300);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-status.published {
  background: #22c55e;
  color: white;
}

.day-status.scheduled {
  background: rgba(59, 130, 246, 0.3);
  border: 2px solid #3b82f6;
}

.day-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.day-badge.today {
  background: var(--red-500);
  color: white;
}

/* Feature Badges */
.planner-feature-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.planner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 8px;
  font-size: 12px;
  color: var(--gray-400);
}

.planner-badge svg {
  color: var(--gray-500);
}

.planner-badge.highlight {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--red-400);
}

.planner-badge.highlight svg {
  color: var(--red-400);
}

/* Features Grid Below Calendar */
.planner-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.planner-feature-card {
  text-align: center;
  padding: 32px 24px;
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.planner-feature-card:hover {
  background: rgba(31, 41, 55, 0.6);
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.planner-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 12px;
  color: var(--red-400);
}

.planner-feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-100);
  margin-bottom: 12px;
}

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

/* CTA */
.planner-cta {
  text-align: center;
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
  .planner-browser-frame {
    transform: none;
  }

  .planner-browser-frame:hover {
    transform: translateY(-4px);
  }

  .planner-stats-row {
    grid-template-columns: 1fr;
  }

  .planner-day {
    min-height: 50px;
    padding: 4px;
  }

  .day-keyword {
    display: none;
  }

  .planner-feature-badges {
    gap: 8px;
  }

  .planner-badge span {
    display: none;
  }

  .planner-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Pricing Section - Single Plan Design
======================================== */
.pricing-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

/* Wrapper for centering */
.pricing-single-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main Card Container */
.pricing-single-card {
  position: relative;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.6) 0%, rgba(17, 24, 39, 0.8) 100%);
  border-radius: 16px;
  border: 1px solid rgba(75, 85, 99, 0.5);
  overflow: hidden;
}

/* Hidden - not using glow border */
.pricing-glow-border {
  display: none;
}

/* Content Container */
.pricing-single-content {
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* Left Column - Price */
.pricing-single-left {
  padding: 40px 36px;
  border-right: 1px solid rgba(75, 85, 99, 0.4);
  display: flex;
  flex-direction: column;
}

.pricing-single-name {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.pricing-single-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-current {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

.pricing-original {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: line-through;
}

.pricing-single-price .pricing-period {
  font-size: 16px;
  color: var(--gray-500);
}

.pricing-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  background: var(--red-500);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.pricing-cta-btn:hover {
  background: var(--red-400);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.pricing-cta-btn svg {
  flex-shrink: 0;
}

.pricing-guarantee {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

/* Right Column - Features */
.pricing-single-right {
  padding: 40px 36px;
}

.pricing-features-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.4;
}

.pricing-feature-list li svg {
  flex-shrink: 0;
  color: var(--red-400);
  margin-top: 2px;
}

.pricing-feature-list li strong {
  color: #fff;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-single-content {
    grid-template-columns: 1fr;
  }

  .pricing-single-left {
    border-right: none;
    border-bottom: 1px solid rgba(75, 85, 99, 0.4);
    text-align: center;
    align-items: center;
  }

  .pricing-single-price {
    justify-content: center;
  }

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

  .pricing-single-right {
    padding: 32px 28px;
  }
}

@media (max-width: 480px) {
  .pricing-single-left,
  .pricing-single-right {
    padding: 28px 20px;
  }

  .pricing-current {
    font-size: 48px;
  }

  .pricing-single-name {
    font-size: 24px;
  }
}

/* ========================================
   CTA Section
======================================== */
.cta-section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-950) 100%);
  border: 1px solid var(--gray-800);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.1) 0%, transparent 50%, rgba(220, 38, 38, 0.1) 100%);
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-content {
  position: relative;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.cta-content > p {
  color: var(--gray-400);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   Footer
======================================== */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--gray-800);
  padding: 64px 0 32px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 14px;
}

.footer-column h4 {
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: var(--gray-500);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  color: var(--gray-500);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #fff;
}

/* ========================================
   Responsive - Tablet
======================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-preview {
    order: 1;
  }

  .hero-content {
    order: 0;
  }

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

  .cascade-cards {
    max-width: 100%;
    height: 300px;
  }

  .cascade-card {
    width: 160px;
    height: 200px;
    padding: 16px;
  }

  .cascade-card:nth-child(1) { left: calc(50% - 360px); }
  .cascade-card:nth-child(2) { left: calc(50% - 240px); }
  .cascade-card:nth-child(3) { left: calc(50% - 120px); }
  .cascade-card:nth-child(4) { left: calc(50% + 0px); }
  .cascade-card:nth-child(5) { left: calc(50% + 120px); }
  .cascade-card:nth-child(6) { left: calc(50% + 240px); }

  .cascade-card h4 { font-size: 14px; }
  .cascade-card p { font-size: 11px; }
  .metric-value { font-size: 20px; }

  .problem-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

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

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

  .workflow-step::after {
    display: none;
  }

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

/* ========================================
   Responsive - Mobile
======================================== */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-grid,
  .showcase-grid,
  .steps-grid,
  .pricing-grid {
    overflow: hidden;
  }

  .how-it-works-section {
    padding: 80px 0 120px;
  }

  .cascade-cards {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 20px;
  }

  .cascade-card {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 180px;
    left: auto !important;
    bottom: auto !important;
    transform: rotate(0deg) !important;
  }

  .cascade-card:hover {
    transform: translateY(-8px) !important;
  }

  .cascade-card h4 { white-space: normal; }
}

@media (max-width: 600px) {
  .cascade-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cascade-card {
    min-height: 160px;
    padding: 14px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

  .cta-card {
    padding: 40px 24px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .logos-grid {
    gap: 24px;
  }

  .logo-item {
    font-size: 16px;
  }

  /* Prevent glow effects from causing overflow */
  .hero-preview::before,
  .showcase-image::before {
    display: none;
  }

  .problem-section,
  .audience-section,
  .faq-section {
    padding: 60px 0;
  }

  .problem-grid,
  .audience-grid,
  .faq-grid {
    margin-top: 30px;
  }

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

  .workflow-section {
    padding: 60px 0;
  }

  .integrations-section {
    padding: 60px 0;
  }
}

/* ========================================
   Responsive - Small Mobile
======================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-stat-value {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 16px;
  }

  .feature-card,
  .step-content,
  .pricing-card {
    padding: 24px;
  }

  .step-number {
    font-size: 64px;
    left: 0;
  }

  .step-card {
    overflow: hidden;
  }

  .pricing-amount {
    font-size: 32px;
  }

  .cta-glow {
    width: 300px;
    height: 300px;
  }
}
/* Auth loading state - prevents flash of wrong auth UI */
.auth-loading {
  transition: opacity 0.15s ease-in-out;
}
