/* ========================================
   GDK Digital - Main Stylesheet
   Dark Theme (Fortilis Design System)
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Color Variables - Dark Slate Theme */
:root {
  /* Background Colors */
  --bg-primary: #0f172a;      /* slate-900 */
  --bg-secondary: #1e293b;    /* slate-800 */
  --bg-tertiary: #334155;     /* slate-700 */
  --bg-card: #1e293b;         /* slate-800 */
  --bg-card-hover: #334155;   /* slate-700 */

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;  /* slate-400 */
  --text-tertiary: #64748b;   /* slate-500 */
  --text-muted: #475569;      /* slate-600 */

  /* Border Colors */
  --border-primary: #334155;  /* slate-700 */
  --border-secondary: #1e293b; /* slate-800 */
  --border-hover: #475569;    /* slate-600 */

  /* Accent Colors */
  --accent: #3b82f6;          /* blue-500 */
  --accent-dark: #2563eb;     /* blue-600 */
  --accent-light: #60a5fa;    /* blue-400 */
  --accent-bg: rgba(59, 130, 246, 0.2);

  /* Status Colors */
  --success: #22c55e;         /* green-500 */
  --success-dark: #16a34a;    /* green-600 */
  --success-bg: rgba(34, 197, 94, 0.2);
  --danger: #ef4444;          /* red-500 */
  --danger-dark: #dc2626;     /* red-600 */
  --danger-bg: rgba(239, 68, 68, 0.2);
  --warning: #f59e0b;         /* amber-500 */
  --warning-bg: rgba(245, 158, 11, 0.2);

  /* Additional Accent Colors */
  --purple: #a855f7;
  --purple-bg: rgba(168, 85, 247, 0.2);
  --cyan: #06b6d4;
  --cyan-bg: rgba(6, 182, 212, 0.2);
  --yellow: #eab308;
  --yellow-bg: rgba(234, 179, 8, 0.2);
  --orange: #f97316;
  --orange-bg: rgba(249, 115, 22, 0.2);
  --pink: #ec4899;
  --pink-bg: rgba(236, 72, 153, 0.2);
  --indigo: #6366f1;
  --indigo-bg: rgba(99, 102, 241, 0.2);

  /* Shadows */
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-primary);
  min-height: 100vh;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

/* Focus states */
*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Header / Navigation */
header {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.cta-button {
  background-color: var(--accent-dark);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--accent);
  color: var(--text-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  nav {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .nav-cta {
    order: -1;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
  }

  .nav-cta .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  padding: 5rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--text-primary);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Version Badge */
.version-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-bg);
  color: var(--accent-light);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.version-badge .pulse {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent-dark);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Shimmer effect on primary button */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Section Spacing */
section {
  padding: 4rem 2rem;
}

.section-alt {
  background-color: rgba(30, 41, 59, 0.5);
}

@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  background-color: var(--accent-bg);
  color: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Card Component */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.3);
  border-color: var(--border-hover);
}

.card h3 {
  margin-top: 0;
  font-size: 1.125rem;
}

.card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Card with accent border */
.card-accent {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: inset 0 1px 0 0 rgba(59, 130, 246, 0.1);
}

.card-success {
  border-color: rgba(34, 197, 94, 0.3);
}

.card-purple {
  border-color: rgba(168, 85, 247, 0.3);
}

.card-cyan {
  border-color: rgba(6, 182, 212, 0.3);
}

/* Card Icon */
.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.card-icon.blue {
  background-color: var(--accent-bg);
  color: var(--accent);
}

.card-icon.green {
  background-color: var(--success-bg);
  color: var(--success);
}

.card-icon.purple {
  background-color: var(--purple-bg);
  color: var(--purple);
}

.card-icon.yellow {
  background-color: var(--yellow-bg);
  color: var(--yellow);
}

.card-icon.red {
  background-color: var(--danger-bg);
  color: var(--danger);
}

.card-icon.cyan {
  background-color: var(--cyan-bg);
  color: var(--cyan);
}

.card-icon.orange {
  background-color: var(--orange-bg);
  color: var(--orange);
}

.card-icon.pink {
  background-color: var(--pink-bg);
  color: var(--pink);
}

.card-icon.indigo {
  background-color: var(--indigo-bg);
  color: var(--indigo);
}

/* Card Image */
.card-image {
  width: 100%;
  height: 200px;
  background-color: var(--bg-tertiary);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Features List */
.features {
  list-style: none;
}

.features li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-secondary);
}

.features li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
}

/* Check list */
.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.check-list li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Icon Components */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: var(--accent-bg);
}

.icon-box svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

/* Sprite helper using gdk_icons_01.png (11x6 grid of 256px tiles) */
.icon-sprite {
  background-image: url("../logos/gdk_icons_01.png");
  background-size: 2816px 1536px;
  background-repeat: no-repeat;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
}

.icon-sprite.gear {
  background-position: -0px -0px;
}

.icon-sprite.shield {
  background-position: -256px -0px;
}

.icon-sprite.chat {
  background-position: -512px -0px;
}

.icon-sprite.check {
  background-position: -768px -0px;
}

/* Testimonial Card */
.testimonial {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.testimonial p {
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Footer */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-secondary);
  color: var(--text-primary);
  padding: 3rem 2rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

footer a {
  color: var(--text-secondary);
}

footer a:hover {
  color: var(--text-primary);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  border-top: 1px solid var(--border-secondary);
  padding-top: 2rem;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Form Styles */
form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-tertiary);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-tertiary);
}

.text-accent {
  color: var(--accent);
}

.text-success {
  color: var(--success);
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }

/* Background utilities */
.bg-primary {
  background-color: var(--bg-primary);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.bg-card {
  background-color: var(--bg-card);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background-color: var(--accent-dark);
  color: var(--text-primary);
}

.badge-success {
  background-color: var(--success);
  color: var(--text-primary);
}

.badge-new {
  background-color: var(--cyan);
  color: var(--bg-primary);
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-coming-soon {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
}

/* Price Display */
.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 1rem 0;
}

.price-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: normal;
}

/* Pricing Card */
.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--accent);
  color: var(--text-primary);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.5s ease-out forwards;
}

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

/* Animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Responsive Tables */
.table-wrapper {
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--border-primary);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: var(--bg-tertiary);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-primary);
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: var(--bg-secondary);
}

/* Code styling */
code {
  font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
  background-color: var(--bg-primary);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: var(--accent-light);
}

pre {
  font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
  background-color: var(--bg-primary);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-primary);
}

pre code {
  background: none;
  padding: 0;
}

/* Stats / Metrics */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.cta-section h2 {
  margin-bottom: 0.75rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Platform badges */
.platform-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.platform-badges span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.platform-badges span:hover {
  color: var(--text-primary);
}

/* Download card glow effect */
.download-card {
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

/* Stripe Button Style */
.stripe-button,
.stripe-button:hover {
  background-color: var(--accent-dark) !important;
  border: none !important;
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--border-primary);
  margin: 2rem 0;
}

/* Loading spinner */
.spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 2px solid white;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-message-success {
  background-color: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-message-error {
  background-color: var(--danger-bg);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* Button loading state */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  nav, footer, .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

  .card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
