:root {
  /* Primary Colors - Original Soft Teal */
  --bg: #0b1b2b;
  --bg-alt: #132840;
  --text: #f5f7fa;
  --muted: #b0bcc9;
  --accent: #62e0d9;
  --accent-dark: #2ca9a1;
  --card-bg: #182b42;

  /* Enhanced Palette */
  --accent-light: #a8f4f0;
  --accent-bright: #4de6e1;
  --surface-1: #0f2335;
  --surface-2: #1a3550;
  --surface-3: #1f3a52;
  --border-light: rgba(98, 224, 217, 0.08);
  --border-medium: rgba(98, 224, 217, 0.15);
  --border-strong: rgba(98, 224, 217, 0.25);
  --shadow-dark: rgba(0, 0, 0, 0.4);
  --shadow-accent: rgba(98, 224, 217, 0.2);

  --font-base: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --warn: #f59e0b;
  --success: #10b981;
  --accent2: #7c3aed;
  --accent3: #10b981;
}

/* ─── Animated Background (Subtle) ────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(98, 224, 217, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 224, 217, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: none;
}

@keyframes gridPan {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(98, 224, 217, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(124, 58, 237, 0.02) 0%, transparent 70%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.8s var(--easing-smooth) 0.1s forwards;
}

/* Performance optimizations */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.loading-shimmer {
  background: linear-gradient(90deg, var(--card-bg) 25%, rgba(98, 224, 217, 0.1) 50%, var(--card-bg) 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

/* Progressive enhancement for revealed elements */
.section.revealed {
  animation-play-state: running;
}

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

  * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

a:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

header {
  background: rgba(11, 27, 43, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px var(--shadow-dark);
}

/* Burger Menu Styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: 2px solid var(--accent);
  cursor: pointer;
  padding: 0.4rem;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--accent-light);
  background: rgba(98, 224, 217, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.menu-toggle:hover span {
  background: var(--accent-light);
}

.menu-toggle.active {
  border-color: var(--accent-light);
  background: rgba(98, 224, 217, 0.12);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Remove sticky on mobile */
@media (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px var(--shadow-dark);
  }

  .menu-toggle {
    display: flex;
    order: 2;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: var(--bg);
    border-bottom: 2px solid var(--accent);
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  .nav-links.active {
    max-height: 600px;
    padding: 1rem 0;
  }

  .nav-links a {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 3rem;
    border-bottom: 1px solid var(--border-medium);
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    transition: padding-right 0.2s ease;
    text-align: right;
  }

  .nav-links a:hover {
    background: rgba(98, 224, 217, 0.1);
    color: var(--accent);
    text-shadow: none;
    transform: none;
    padding-right: 4rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .navbar {
    position: relative;
  }
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(0.6rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.navbar h1 {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: clamp(0.1em, 1vw, 0.2em);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  transition: color var(--transition-base), text-shadow var(--transition-base), transform var(--transition-fast);
  padding: clamp(0.3rem, 1vw, 0.5rem) 0;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(98, 224, 217, 0.35);
  transform: translateY(-1px);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--accent-light);
  text-shadow: 0 0 16px rgba(98, 224, 217, 0.4);
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  transform: translateX(-50%) scaleX(1);
  box-shadow: 0 0 10px rgba(98, 224, 217, 0.35);
}

/* Tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    padding: clamp(0.55rem, 1.5vw, 0.9rem) clamp(0.9rem, 1.8vw, 1.3rem);
    gap: 0.8rem;
  }

  .nav-links {
    gap: clamp(0.6rem, 1.8vw, 1.2rem);
  }

  .nav-links a {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  }
}

/* Mobile phones (640px and below) */
@media (max-width: 768px) {
  .navbar {
    padding: clamp(0.5rem, 1.5vw, 0.8rem) clamp(0.8rem, 1.8vw, 1.2rem);
    gap: 0.6rem;
  }

  .navbar h1 {
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    letter-spacing: clamp(0.08em, 0.8vw, 0.15em);
  }

  .nav-links {
    gap: clamp(0.5rem, 1.5vw, 1rem);
  }

  .nav-links a {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    padding: clamp(0.25rem, 0.8vw, 0.4rem) 0;
  }
}

/* Small phones (480px and below) */
@media (max-width: 640px) {
  .navbar {
    padding: clamp(0.45rem, 1.2vw, 0.7rem) clamp(0.75rem, 1.5vw, 1rem);
    gap: 0.5rem;
  }

  .navbar h1 {
    font-size: clamp(0.85rem, 3vw, 1.1rem);
    letter-spacing: clamp(0.08em, 0.7vw, 0.12em);
    flex: 0 0 auto;
  }

  .nav-links {
    gap: clamp(0.4rem, 1.2vw, 0.8rem);
    flex: 1;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: clamp(0.9rem, 1.3vw, 0.8rem);
    padding: clamp(0.2rem, 0.6vw, 0.3rem) 1.5rem;
  }

  .nav-links a::after {
    height: 1.5px;
  }

  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }
}

/* Ultra-small phones (below 400px) */
@media (max-width: 400px) {
  .navbar {
    padding: 0.4rem clamp(0.6rem, 1.2vw, 0.8rem);
    gap: 0.3rem;
  }

  .navbar h1 {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }

  .nav-links {
    gap: 0.3rem;
  }

  .nav-links a {
    font-size: 0.65rem;
    padding: 0.15rem 0;
  }
}

.hero {
  padding: 5rem 1.5rem 4rem;
  background: radial-gradient(circle at top, rgba(98, 224, 217, 0.15), transparent 60%);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(98, 224, 217, 0.05) 0%, transparent 50%);
  animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.02);
  }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(98, 224, 217, 0.05);
  transition: all var(--transition-base);
  isolation: isolate;
  text-align: center;
  display: inline-block;
}

.btn::before,
.btn::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.btn::before {
  inset: 0;
  background: linear-gradient(105deg, transparent 22%, rgba(98, 224, 217, 0.22) 50%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--easing-smooth);
}

.btn::after {
  width: 1rem;
  height: 1rem;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(168, 244, 240, 0.55) 0%, rgba(168, 244, 240, 0.08) 55%, transparent 70%);
  opacity: 0;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(98, 224, 217, 0.12);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #070b12;
  box-shadow: 0 4px 20px rgba(98, 224, 217, 0.3);
}

.btn.primary:hover {
  box-shadow: 0 4px 16px rgba(98, 224, 217, 0.2);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:active::after {
  animation: btnRipple 0.7s ease-out;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(98, 224, 217, 0.3);
}

@keyframes btnRipple {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(16);
  }
}

@keyframes btnGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(98, 224, 217, 0.28);
  }
  50% {
    box-shadow: 0 12px 40px rgba(98, 224, 217, 0.42);
  }
}

.card:hover .btn {
  border-color: rgba(98, 224, 217, 0.5);
}

.card:hover .btn.primary {
  background: #6ee7e0;
  color: #0b1b2b;
}

.section {
  padding: 3.5rem 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s var(--easing-smooth) forwards;
}

.section:nth-child(1) { animation-delay: 0.2s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.6s; }
.section:nth-child(4) { animation-delay: 0.8s; }
.section:nth-child(5) { animation-delay: 1.0s; }
.section:nth-child(6) { animation-delay: 1.2s; }
.section:nth-child(7) { animation-delay: 1.4s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section h3 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.5rem;
  color: var(--accent-bright);
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(98, 224, 217, 0.1);
}

.section h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(135deg, var(--text), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 18px rgba(98, 224, 217, 0.08);
}

.section p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

.card {
  background: rgba(24, 43, 66, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  transition: all var(--transition-base);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: cardSlideUp 0.6s var(--easing-smooth) forwards;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card::before {
  content: '';
  position: absolute;
  inset: -45% -25%;
  background: radial-gradient(circle at 70% 30%, rgba(98, 224, 217, 0.26), transparent 62%);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-bright), var(--accent-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.product-grid .card:nth-child(1) { animation-delay: 0.1s; }
.product-grid .card:nth-child(2) { animation-delay: 0.2s; }
.product-grid .card:nth-child(3) { animation-delay: 0.3s; }
.product-grid .card:nth-child(4) { animation-delay: 0.4s; }
.product-grid .card:nth-child(5) { animation-delay: 0.5s; }
.product-grid .card:nth-child(6) { animation-delay: 0.6s; }
.product-grid .card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  transform: translateY(-2px);
  background: rgba(30, 53, 80, 0.8);
  border-color: rgba(98, 224, 217, 0.25);
  box-shadow: 0 8px 24px rgba(98, 224, 217, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.card:active {
  transform: translateY(-2px) scale(1.01);
  transition: all var(--transition-fast);
}

.card:hover::before {
  opacity: 0.3;
  transform: scale(0.98);
}

.card:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--border-strong), 0 12px 36px var(--shadow-accent), 0 8px 24px var(--shadow-dark);
}

.card:focus-within::after {
  opacity: 1;
}

.card:hover h4 {
  color: var(--accent);
}

.card:hover p {
  color: #ffffff;
}

.card:hover .list li {
  color: #ffffff;
}

.card:hover .list li::before {
  color: var(--accent);
}

.card:hover strong {
  color: var(--accent);
}

.card h4 {
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.card p {
  transition: color var(--transition-fast);
}

.card .list li {
  transition: color var(--transition-fast);
}

.card strong {
  transition: color var(--transition-fast);
}

.card:hover .badge {
  background: rgba(98, 224, 217, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(98, 224, 217, 0.12);
  color: var(--accent);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition-fast);
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.list li {
  position: relative;
  padding-left: 1.4rem;
}

.list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Stats Section */
.stats-section {
  background: var(--bg-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 1rem;
  border: 1px solid rgba(98, 224, 217, 0.12);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 224, 217, 0.3);
  box-shadow: 0 8px 25px rgba(98, 224, 217, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, rgba(98, 224, 217, 0.1), rgba(98, 224, 217, 0.05));
  border-top: 1px solid rgba(98, 224, 217, 0.2);
  border-bottom: 1px solid rgba(98, 224, 217, 0.2);
}

.newsletter-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.email-input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(98, 224, 217, 0.3);
  background: var(--card-bg);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-base);
  transition: all 0.2s ease;
}

.email-input:focus {
  outline: none;
  background: rgba(30, 53, 80, 0.9);
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(98, 224, 217, 0.2);
}

.email-input::placeholder {
  color: var(--muted);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Resources Section */
.resources-section {
  background: var(--bg-alt);
}

/* Comparison Table */
.comparison-section {
  background: var(--bg-alt);
}

.comparison-table {
  margin-top: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(98, 224, 217, 0.2);
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(180px, 1fr) minmax(220px, 1.2fr);
  gap: 0;
  width: 100%;
  min-width: 100%;
}

.comparison-row.header {
  background: rgba(98, 224, 217, 0.15);
  position: sticky;
  top: 0;
  z-index: 2;
}

.comparison-row:not(.header) {
  border-top: 1px solid rgba(98, 224, 217, 0.1);
}

.comparison-row:not(.header):hover {
  background: rgba(98, 224, 217, 0.05);
}

.comparison-cell {
  padding: 1.25rem 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
  word-break: break-word;
  white-space: normal;
}

.comparison-row.header .comparison-cell {
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  white-space: normal;
}

.comparison-cell.feature-name {
  font-weight: 600;
  color: var(--text);
}

.highlight-cell {
  background: rgba(98, 224, 217, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.comparison-row.header .highlight-cell {
  background: rgba(98, 224, 217, 0.25);
}

/* Large tablets (900px and below) */
@media (max-width: 1200px) {
  .comparison-table {
    overflow-x: auto;
  }

  .comparison-cell {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }

  .comparison-row.header .comparison-cell {
    font-size: 0.95rem;
  }
}

/* Tablets (768px - 900px) */
@media (max-width: 900px) {
  .comparison-cell {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }

  .comparison-row.header .comparison-cell {
    font-size: 0.85rem;
  }
}

/* Small tablets and large phones (600px - 768px) */
@media (max-width: 768px) {
  .comparison-table {
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    overflow-x: auto;
  }

  .comparison-row {
    grid-template-columns: 1.8fr 1fr 1fr;
  }

  .comparison-cell {
    padding: 0.8rem 0.9rem;
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .comparison-row.header .comparison-cell {
    font-size: 0.8rem;
    padding: 0.8rem 0.9rem;
  }
}

/* Medium phones (480px - 640px) */
@media (max-width: 640px) {
  .comparison-table {
    border-radius: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
  }

  .comparison-row {
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
    min-width: 350px;
  }

  .comparison-cell {
    padding: 0.65rem 0.7rem;
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .comparison-row.header .comparison-cell {
    font-size: 0.75rem;
    padding: 0.65rem 0.7rem;
  }

  .comparison-cell.feature-name {
    font-weight: 600;
  }
}

/* Small phones (below 480px) */
@media (max-width: 480px) {
  .comparison-table {
    margin-top: 0.75rem;
    border-radius: 0.5rem;
  }

  .comparison-row {
    grid-template-columns: 1.6fr 0.7fr 0.7fr;
    min-width: 300px;
  }

  .comparison-cell {
    padding: 0.55rem 0.6rem;
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .comparison-row.header .comparison-cell {
    font-size: 0.7rem;
    padding: 0.55rem 0.6rem;
  }
}

/* Ultra-small phones (below 375px) */
@media (max-width: 375px) {
  .comparison-row {
    min-width: 280px;
    grid-template-columns: 1.5fr 0.75fr 0.75fr;
  }

  .comparison-cell {
    padding: 0.5rem 0.55rem;
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .comparison-row.header .comparison-cell {
    font-size: 0.65rem;
  }
}

/* Footer Styles */
footer {
  background: var(--bg-alt);
  padding: 3rem 1.5rem 1.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(98, 224, 217, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(98, 224, 217, 0.1);
}

.main-content {
  max-width: 980px;
  margin: 0 auto;
}

.highlight {
  color: var(--accent);
}

/* Enhanced Product Card Styles */
.product-card {
  background: rgba(24, 43, 66, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: -45% -25%;
  background: radial-gradient(circle at 70% 30%, rgba(98, 224, 217, 0.28), transparent 62%);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-bright), var(--accent-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 0.7;
  transform: scale(1);
}

.product-card:focus-within {
  outline: 2px solid var(--accent-bright);
  outline-offset: 6px;
  border-color: transparent;
  box-shadow: 0 0 0 1px var(--border-strong), 0 14px 40px var(--shadow-accent), 0 8px 24px var(--shadow-dark);
}

.product-card:focus-within::after {
  opacity: 1;
}

.product-card:focus-within,
.product-card:focus-within:hover {
  background: rgba(30, 53, 80, 0.8);
}

.product-card:hover {
  transform: translateY(-2px);
  background: var(--surface2);
  border-color: rgba(98, 224, 217, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-title {
  color: var(--accent);
}

.product-card:hover .product-description {
  color: #ffffff;
}

.product-card:hover .product-description .highlight {
  color: #ffffff;
  background: rgba(98, 224, 217, 0.2);
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
}

.product-card:hover .product-type {
  color: var(--accent);
  font-weight: 700;
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.badge-beta {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  transition: all 0.2s ease;
}

.badge-preview {
  background: rgba(251, 191, 36, 0.12);
  color: #f59e0b;
  transition: all 0.2s ease;
}

.product-card:hover .badge-beta {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.product-card:hover .badge-preview {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.product-type {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-description {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.product-description .highlight {
  color: var(--accent);
  font-weight: 600;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.feature-tag {
  background: rgba(98, 224, 217, 0.08);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.product-card:hover .feature-tag {
  background: rgba(98, 224, 217, 0.18);
  color: #ffffff;
}

.card-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #6ee7e0;
  color: #0b1b2b;
  border-color: #6ee7e0;
  transform: translateY(-1px);
}

.product-card:hover .btn-primary {
  background: #6ee7e0;
  color: #0b1b2b;
  border-color: #6ee7e0;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(98, 224, 217, 0.15);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.product-card:hover .btn-secondary {
  background: rgba(98, 224, 217, 0.12);
  color: #ffffff;
  border-color: rgba(98, 224, 217, 0.4);
}

/* Benefit Cards - Simplified version for value props */
.benefit-card {
  text-align: center;
}

.benefit-card .card-header {
  margin-bottom: 0.5rem;
}

.benefit-card .product-title {
  font-size: 1.2rem;
}

.benefit-card .card-content {
  text-align: center;
}

.benefit-card:hover {
  background: #1e3550;
  border-color: rgba(98, 224, 217, 0.35);
}

.benefit-card:hover .product-title {
  color: var(--accent);
}

.benefit-card:hover .product-description {
  color: #ffffff;
}

/* Architecture Diagram Styles */
.architecture-diagram {
  margin: 3rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(11, 27, 43, 0.6) 0%, rgba(30, 53, 80, 0.4) 100%);
  border-radius: 1rem;
  border: 1px solid rgba(98, 224, 217, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  animation: diagramReveal 0.8s var(--easing-smooth) 1.6s forwards;
}

@keyframes diagramReveal {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.architecture-diagram:hover {
  border-color: rgba(98, 224, 217, 0.4);
  box-shadow: 0 16px 48px rgba(98, 224, 217, 0.25), 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.architecture-diagram-header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.architecture-diagram-header h4 {
  color: #f2f4f7;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem 0;
}

.architecture-diagram-header p {
  color: #a6b3c6;
  font-size: 0.85rem;
  margin: 0;
}

.architecture-diagram-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0;
}

.architecture-svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #0b0f14;
  font-family: Inter, Arial, sans-serif;
}

.architecture-svg:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.architecture-summary {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(98, 224, 217, 0.1);
}

.architecture-summary p {
  color: #86efac;
  font-size: 0.85rem;
  margin: 0;
  font-family: monospace;
}

.summary-dot.green {
  color: #22c55e;
}

.summary-dot.cyan {
  color: #62e0d9;
}

.summary-separator {
  margin: 0 1rem;
  color: #62e0d9;
}

.architecture-diagram img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.architecture-diagram img:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.diagram-svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
}

.diagram-svg text {
  font-family: var(--font-base);
}

.diagram-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .architecture-diagram {
    padding: 1rem;
    margin: 2rem 0;
  }

  .architecture-diagram img {
    border-radius: 0.375rem;
  }

  .diagram-svg {
    min-width: 600px;
  }

  .product-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .section h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .form-group {
    flex-direction: column;
  }

  .email-input {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .card-actions {
    flex-direction: column;
  }

  .product-features {
    justify-content: center;
  }

  .card-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

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

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

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }

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

/* Code and Installation Block Styles */
.code-block {
  background-color: var(--surface2);
  border-left: 4px solid var(--success);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.code-block pre {
  background-color: var(--bg);
  color: var(--accent);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  margin: 0;
}

.code-block code {
  color: var(--accent);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.code-block-pre {
  background-color: var(--bg);
  color: var(--accent);
  border: 1px solid var(--border-strong);
  padding: 1.5rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0;
}

.code-block-code {
  color: var(--accent);
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Utility Classes */
.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.text-muted {
  color: #6b7280;
}

/* ─── Enhanced Reveal Animations (Subtle) ────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Card Hover Effects ────────────────────────────── */
.card {
  transition: transform 0.25s var(--easing-smooth),
              border-color 0.25s var(--easing-smooth),
              box-shadow 0.25s var(--easing-smooth);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 224, 217, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ─── Product Card Enhancements ────────────────────── */
.product-card {
  transition: all 0.3s var(--easing-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(98, 224, 217, 0.15);
}

/* ─── Architecture Diagram Animation ────────────────── */
@keyframes arrowPulse {
  0%, 100% { color: var(--border-light); }
  50% { color: var(--accent); }
}

.architecture-diagram-container svg text {
  animation: fadeUp 0.8s ease backwards;
}

/* ─── Progress Bar Animation ────────────────────────── */
.progress-fill {
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.warn {
  background: linear-gradient(90deg, var(--warn), #d97706);
}

/* ─── Pulse Animation ────────────────────────────────── */
@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

.pulse-dot {
  animation: pulseDot 1.5s ease-in-out infinite;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ENHANCED RESPONSIVE DESIGN FOR MOBILE & TABLETS */
/* ─────────────────────────────────────────────────────────────────────────── */

/* Ultra-small phones (below 375px) */
@media (max-width: 374px) {
  .navbar {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .navbar h1 {
    font-size: 0.9rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }

  .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }

  .cta-group {
    gap: 0.5rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section h3 {
    font-size: 1rem;
  }

  .main-content {
    padding: 0;
  }

  .product-grid {
    grid-template-columns: repeat(1, 1fr); 
    gap: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .card h4 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .comparison-table {
    gap: 0.5rem;
  }

  .comparison-cell {
    padding: 0.75rem;
    font-size: 0.75rem;
  }
}

/* Small phones (375px - 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .hero h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 2.5rem 1.5rem;
  }

  .section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }

  .product-card {
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.75rem;
  }

  .card-header {
    margin-bottom: 1.25rem;
  }

  .card-badge {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }

  .product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-family: var(--font-display);
  }

  .product-type {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: var(--muted);
  }

  .product-description .highlight {
    color: var(--accent);
    font-weight: 500;
  }

  .product-features {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .feature-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: rgba(98, 224, 217, 0.1);
    color: var(--accent);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .card-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    font-weight: 600;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent), #7ee8dc);
    color: var(--bg);
    border-color: var(--accent);
  }

  .btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
  }

  .card {
    padding: 1.5rem;
    border-radius: 8px;
  }

  .card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }

  .card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .card .list {
    font-size: 0.85rem;
  }

  .comparison-table {
    gap: 0.5rem;
  }

  .comparison-row {
    padding: 0.75rem;
  }

  .comparison-cell {
    padding: 0.75rem;
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  footer {
    padding: 1.5rem;
  }

  footer p {
    font-size: 0.85rem;
  }
}

/* Tablets in portrait (481px - 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
    flex-direction: row;
  }

  .navbar h1 {
    font-size: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-group {
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
  }

  .btn.primary {
    flex: 1;
    min-width: 180px;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .main-content {
    padding: 0;
  }

  .section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .section h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 1.5rem;
  }

  .section p {
    font-size: 0.95rem;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-inline: 0.7rem;
  }

  .product-card {
    padding: 1.75rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .card p {
    font-size: 0.95rem;
  }

  .card .list li {
    font-size: 0.9rem;
  }

  .comparison-table {
    display: grid;
    gap: 0.9rem;
    border: 0;
    background: transparent;
    overflow: visible;
    margin-top: 1.25rem;
  }

  .comparison-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--border-medium);
    border-radius: 0.9rem;
    overflow: hidden;
    background: rgba(24, 43, 66, 0.65);
    padding: 0;
    min-width: 0;
  }

  .comparison-row.header {
    display: none;
  }

  .comparison-cell {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    border-top: 1px solid rgba(98, 224, 217, 0.12);
  }

  .comparison-row .comparison-cell:first-child {
    border-top: 0;
  }

  .comparison-cell.feature-name {
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(98, 224, 217, 0.12);
    border-top: 0;
  }

  .comparison-row .comparison-cell:nth-child(2)::before,
  .comparison-row .comparison-cell:nth-child(3)::before {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
  }

  .comparison-row .comparison-cell:nth-child(2)::before {
    content: "Traditional Firewalls";
  }

  .comparison-row .comparison-cell:nth-child(3)::before {
    content: "Neurowall";
  }

  .comparison-row .highlight-cell {
    background: rgba(98, 224, 217, 0.14);
    color: var(--accent-light);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .architecture-diagram {
    padding: 1.5rem;
    overflow-x: auto;
  }

  .architecture-diagram-container {
    min-width: 100%;
  }

  .architecture-svg {
    width: 100%;
    height: auto;
  }

  .card-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .card-actions .btn {
    width: 100%;
  }

  .product-features {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  footer p {
    font-size: 0.9rem;
  }
}

/* Tablets in landscape & small desktops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .hero {
    padding: 4.5rem 2rem 3.5rem;
  }

  .hero h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .section {
    padding: 3.5rem 2rem;
  }

  .section h2 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

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

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

  .comparison-table {
    overflow-x: hidden;
  }

  .comparison-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.25fr) minmax(150px, 1fr) minmax(180px, 1.15fr);
    gap: 0;
  }

  .comparison-cell {
    padding: 1rem 1.1rem;
    min-width: 0;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    padding: 1rem 1.8rem;
    min-height: 44px;
  }

  .card,
  .product-card {
    transform: none !important;
  }

  .card:active,
  .product-card:active {
    transform: scale(0.98);
  }

  .nav-links a::after {
    display: none;
  }

  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) {
  .hero {
    padding: 2.5rem 1.5rem 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero p {
    margin-bottom: 1rem;
  }

  .cta-group {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Print styles */
@media print {
  header,
  footer {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }

  a {
    color: inherit;
  }

  a::after {
    content: " (" attr(href) ")";
  }
}
