/* ============================================================
   DBLense Website - Main Stylesheet
   Professional SQL Server Tools
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  /* Primary Colors — Purple */
  --primary: #A855F7;
  --primary-dark: #C084FC;
  --primary-light: #D8B4FE;
  --primary-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #C084FC 100%);

  /* Secondary Colors */
  --secondary: #C084FC;
  --accent: #E9D5FF;
  --success: #3fb950;
  --warning: #d29922;
  --danger: #f85149;

  /* Neutral Colors — Dark Theme */
  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #1c2128;
  --gray-900: #e6edf3;
  --gray-800: #c9d1d9;
  --gray-700: #b1bac4;
  --gray-600: #8b949e;
  --gray-500: #6e7681;
  --gray-400: #484f58;
  --gray-300: #30363d;
  --gray-200: #21262d;
  --gray-100: #161b22;
  --white: #0d1117;

  /* Surface Colors */
  --surface: #161b22;
  --surface-raised: #1c2128;
  --surface-overlay: #21262d;
  --border-color: #30363d;
  --border-light: #21262d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;

  /* Typography */
  --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(168,85,247,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #e55a2b;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: #ffffff;
  color: #1c2128;
  border: 1px solid #ffffff;
  font-weight: 600;
}
.btn-white .inline-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  vertical-align: middle;
  vertical-align: -2px;
  margin-right: 4px;
  object-fit: contain;
  display: inline-block;
  overflow: hidden;
}
.btn-white:hover {
  background: #e6edf3;
  color: #0d1117;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-icon {
  font-size: 1.2em;
}

.btn .inline-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin-right: 4px;
}

/* ── Header / Navigation ───────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-logo .logo-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(168, 85, 247, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--surface-raised);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover {
  background: rgba(168, 85, 247, 0.08);
  color: var(--primary);
}

.nav-dropdown-menu .dropdown-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: none;
}

.nav-dropdown-menu .dropdown-icon img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain;
}

.nav-dropdown-menu .dropdown-text {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-menu .dropdown-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-dropdown-menu .dropdown-desc {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.hero-badge .inline-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  margin-right: 2px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #e6edf3 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero Carousel ─────────────────────────────────────────── */
.hero-carousel {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  touch-action: pan-y;
}

.hero-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(168,85,247,0.06) 0%, rgba(99,102,241,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  box-sizing: border-box;
}

.hero-slide-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-content {
  flex: 1;
  text-align: left;
}

.hero-slide-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.hero-slide-text {
  display: block;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(168,85,247,0.5);
  transform: scale(1.3);
}

.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.35);
}

/* ── Product Cards ─────────────────────────────────────────── */
.products-section {
  padding: var(--section-padding);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.15);
  border-color: var(--secondary);
}

.product-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: white;
  background: none;
}

.product-card-icon img {
  width: 72px;
  height: 72px;
}

.product-card h3 {
  margin-bottom: 12px;
}

.product-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-card-features {
  margin-bottom: 24px;
}

.product-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-card-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
}

.product-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

/* Product icon colors — purple diamond with yellow icons */
.icon-analyzer,
.icon-monitor,
.icon-compare,
.icon-backup,
.icon-runner,
.icon-replay {
  background: none;
}

.product-card-icon,
.download-icon,
.nav-dropdown-menu .dropdown-icon {
  background: none;
}

/* ── Features Section ──────────────────────────────────────── */
.features-section {
  padding: var(--section-padding);
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface-raised);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(168, 85, 247, 0.12);
  color: var(--secondary);
  overflow: hidden;
}

.feature-icon img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
}

.feature-item h4 {
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Why DBLense Section ───────────────────────────────────── */
.why-section {
  padding: var(--section-padding);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-content h2 {
  margin-bottom: 20px;
}

.why-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.why-list-icon img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain;
}

.why-list-text h4 {
  margin-bottom: 4px;
}

.why-list-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.why-image {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.why-image-dashboard {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.dashboard-bar {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-bottom: 12px;
}

.dashboard-bar.filled {
  position: relative;
  overflow: hidden;
}

.dashboard-bar.filled::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 4px;
}

.bar-1::after { width: 85%; background: var(--primary); }
.bar-2::after { width: 62%; background: var(--secondary); }
.bar-3::after { width: 90%; background: var(--success); }
.bar-4::after { width: 45%; background: var(--accent); }

.dashboard-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.dashboard-metric span:last-child {
  color: var(--primary-light);
  font-weight: 600;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-section {
  padding: var(--section-padding);
  background: var(--primary-gradient);
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

/* ── Pricing Section ───────────────────────────────────────── */
.pricing-section {
  padding: var(--section-padding);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 24px rgba(168,85,247,0.15);
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li .check {
  color: var(--success);
  font-weight: 700;
}

.pricing-features li .cross {
  color: var(--gray-400);
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--warning);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #010409;
  color: var(--text-muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: #e6edf3;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #ffffff;
}

.footer-column h4 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ── Product Page Specific Styles ──────────────────────────── */
.product-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  color: #e6edf3;
  position: relative;
  z-index: 0;
}

.product-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-hero h1 {
  color: #e6edf3;
  font-size: 2.75rem;
  -webkit-text-fill-color: initial;
  background: none;
}

.product-hero p {
  color: rgba(230,237,243,0.8);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-hero-actions {
  display: flex;
  gap: 16px;
}

.product-screenshot {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
}

.product-features-section {
  padding: var(--section-padding);
}

.product-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-feature-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.product-feature-item:hover {
  background: rgba(168, 85, 247, 0.04);
}

.product-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: none;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.product-feature-icon img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
}

.product-feature-text h4 {
  margin-bottom: 6px;
}

.product-feature-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Requirements Section */
.requirements-section {
  padding: var(--section-padding);
  background: var(--surface);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.requirement-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.requirement-item strong {
  min-width: 120px;
  color: var(--text-primary);
}

.requirement-item span {
  color: var(--text-secondary);
}

/* ── Documentation Page Styles ─────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 100px 24px 60px;
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: 100vh;
}

.docs-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
}

.docs-nav-section {
  margin-bottom: 24px;
}

.docs-nav-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 8px;
}

.docs-nav-section a {
  display: block;
  padding: 7px 10px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  margin-bottom: 1px;
}

.docs-nav-section a:hover,
.docs-nav-section a.active {
  color: var(--primary);
  background: rgba(168, 85, 247, 0.08);
  border-left-color: var(--primary);
}

.docs-content {
  max-width: 800px;
}

.docs-content img.inline-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}

.docs-content .alert img.inline-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}

.docs-content h1 {
  margin-bottom: 8px;
}

.docs-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.docs-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.docs-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.docs-content ul, .docs-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.docs-content ul { list-style: disc; }
.docs-content ol { list-style: decimal; }

.docs-content li {
  margin-bottom: 6px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.docs-content code {
  font-family: var(--font-mono);
  background: rgba(168, 85, 247, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--secondary);
}

.docs-content pre {
  background: #010409;
  color: #e6edf3;
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.docs-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.docs-content .callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border-left: 4px solid;
}

.docs-content .callout.info {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--secondary);
}

.docs-content .callout.warning {
  background: rgba(210, 153, 34, 0.1);
  border-color: var(--warning);
}

.docs-content .callout.tip {
  background: rgba(63, 185, 80, 0.08);
  border-color: var(--success);
}

/* ── Auth Pages ────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  background: var(--dark);
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px;
  width: 100%;
  max-width: 440px;
}

.auth-card h2 {
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition);
  background: var(--surface-raised);
  color: var(--text-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.form-control.error {
  border-color: var(--danger);
}

.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-help {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Account / Dashboard ───────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 100px 0 60px;
  min-height: 100vh;
}

.account-sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 92px;
}

.account-user {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.account-menu a .inline-icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin-right: 0;
}

.account-menu a:hover,
.account-menu a.active {
  background: rgba(168, 85, 247, 0.08);
  color: var(--primary);
}

.account-content {
  min-width: 0;
}

.account-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  margin-bottom: 24px;
}

.account-panel h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* License Cards */
.license-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.license-info h4 {
  margin-bottom: 4px;
}

.license-key {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.license-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.license-status.active {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
}

.license-status.trial {
  background: rgba(255, 193, 7, 0.15);
  color: #d9a100;
}

.license-status.expired {
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger);
}

/* ── Download Page ─────────────────────────────────────────── */
.download-section {
  padding: var(--section-padding);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 24px rgba(168,85,247,0.15);
}

.download-icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
  background: none;
}

.download-icon img {
  width: 72px;
  height: 72px;
}

/* Inline icon helper for text with icons */


.download-info {
  flex: 1;
}

.download-info h4 {
  margin-bottom: 4px;
}

.download-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Tables ────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

table th {
  background: var(--surface-overlay);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

table tbody tr:hover {
  background: rgba(168, 85, 247, 0.04);
}

/* ── Alerts / Notifications ────────────────────────────────── */
.alert {
  padding: 12px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(63, 185, 80, 0.1);
  color: var(--success);
  border: 1px solid rgba(63, 185, 80, 0.2);
}

.alert-error {
  background: rgba(248, 81, 73, 0.1);
  color: var(--danger);
  border: 1px solid rgba(248, 81, 73, 0.2);
}

.alert-info {
  background: rgba(168, 85, 247, 0.08);
  color: var(--secondary);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.alert-warning {
  background: rgba(210, 153, 34, 0.1);
  color: var(--warning);
  border: 1px solid rgba(210, 153, 34, 0.2);
}

/* ── Comparison Table ──────────────────────────────────────── */
.comparison-table {
  margin-top: 48px;
}

.comparison-table th:first-child {
  text-align: left;
  width: 40%;
}

.comparison-table th {
  text-align: center;
}

.comparison-table td {
  text-align: center;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

/* ── Toast Notification ────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--surface-raised);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease;
  border-left: 4px solid;
  color: var(--text-primary);
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.info { border-color: var(--primary); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Loading / Spinner ─────────────────────────────────────── */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,17,23,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary { background: rgba(168,85,247,0.12); color: var(--primary); }
.badge-success { background: rgba(63,185,80,0.12); color: var(--success); }
.badge-warning { background: rgba(210,153,34,0.15); color: var(--warning); }
.badge-enterprise { background: rgba(192,132,252,0.12); color: var(--secondary); font-size: 0.7rem; }
.badge-new { background: var(--accent); color: white; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .product-hero .container { grid-template-columns: 1fr; text-align: center; }
  .product-hero-actions { justify-content: center; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 120px 0 60px; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .product-features-list { grid-template-columns: 1fr; }
  .hero-stats, .hero-carousel { margin-top: 32px; }
  .hero-slide { padding: 24px 20px; gap: 16px; }
  .hero-slide-icon { width: 48px; height: 48px; min-width: 48px; }
  .hero-slide-number { font-size: 1.15rem; }
  .hero-slide-text { font-size: 0.85rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  
  .nav-links.open, .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
}

/* ── Utility Classes ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-secondary); }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
