/* ========================================
   AuxForge - Premium Design System
   ======================================== */

/* Modern Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core Palette - Enhanced Frosted Ice Theme */
  --bg-dark: #050a12;
  --bg-card: #0a1018;

  /* Brand Colors - Vibrant Icy Blue-White */
  --primary: #60c0e8;
  --primary-light: #b8e0f4;
  --primary-glow: rgba(96, 192, 232, 0.5);
  --accent: #40d0f0;
  --accent-pink: #80d8f8;

  /* Semantic Colors */
  --success: #50e8c0;
  --warning: #f0d080;
  --info: #60b8f0;

  /* Text - Crisp Snowy White */
  --text-main: #f4f8fc;
  --text-muted: #90b0c8;
  --text-dim: #5080a0;

  /* Glassmorphism - Crystal Frost */
  --glass-bg: rgba(100, 180, 220, 0.04);
  --glass-border: rgba(100, 180, 220, 0.12);
  --glass-highlight: rgba(150, 210, 255, 0.18);

  /* Timing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Animated Background - Hexagonal Mesh
   ======================================== */

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #040810;
  /* Deep dark background with cool undertone */
  background-image:
    /* Radial Glows - Vibrant Frosted Ice */
    radial-gradient(circle at 15% 50%, rgba(64, 208, 240, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(96, 192, 232, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(80, 180, 255, 0.12) 0%, transparent 50%);
}

/* Hexagonal Pattern Overlay */
.mesh-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='40' viewBox='0 0 24 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c5.523 0 10-4.477 10-10V10C10 4.477 5.523 0 0 0h24c-5.523 0-10 4.477-10 10v20c0 5.523 5.523 10 10 10H0z' fill='%231a2535' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2390cdf4' fill-opacity='0.04' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.floating-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(64, 208, 240, 0.35), transparent 70%);
  /* Vibrant Ice Blue */
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(128, 216, 248, 0.3), transparent 70%);
  /* Bright Frost */
  top: 40%;
  right: -50px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 180, 255, 0.25), transparent 70%);
  /* Crystal Blue */
  bottom: -150px;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 28s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ========================================
   Utilities
   ======================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #80d8f8 40%, #40d0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animated-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #1a8ab8 0%, #0d9eb5 50%, #088a9c 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px -5px rgba(64, 208, 240, 0.3);
  transition: all 0.08s ease-out;
}

.btn-glow {
  box-shadow:
    0 0 20px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glow:hover {
  box-shadow:
    0 0 40px rgba(99, 102, 241, 0.5),
    0 20px 40px -20px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-highlight);
  border-color: rgba(64, 208, 240, 0.3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px -5px rgba(64, 208, 240, 0.3);
  transition: all 0.08s ease-out;
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out-back);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ========================================
   Header
   ======================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background:
    radial-gradient(1200px 400px at 20% -20%,
      rgba(100, 200, 240, 0.08),
      transparent 60%),
    linear-gradient(to bottom,
      rgba(5, 10, 18, 0.7) 0%,
      rgba(4, 8, 15, 0.8) 60%,
      rgba(3, 6, 12, 0.9) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(100, 180, 220, 0.06);
  box-shadow: inset 0 -40px 60px -40px rgba(0, 0, 0, 0.6);
  transition: all 0.3s var(--ease-out-expo);
}

/* Grain texture overlay for header */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

header.scrolled {
  background:
    radial-gradient(1200px 400px at 20% -20%,
      rgba(100, 200, 240, 0.06),
      transparent 60%),
    linear-gradient(to bottom,
      rgba(5, 10, 18, 0.92) 0%,
      rgba(4, 8, 15, 0.95) 100%);
  border-bottom-color: rgba(100, 180, 220, 0.1);
  padding: 0.75rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s var(--ease-out-back), filter 0.3s ease;
  /* Frosted glow to anchor logo into header */
  filter:
    drop-shadow(0 0 8px rgba(140, 220, 255, 0.2)) drop-shadow(0 0 20px rgba(140, 220, 255, 0.12));
}

.logo:hover .logo-img {
  transform: rotate(-5deg) scale(1.05);
  filter:
    drop-shadow(0 0 12px rgba(140, 220, 255, 0.3)) drop-shadow(0 0 30px rgba(140, 220, 255, 0.18));
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 5rem;
}

/* Hero Visual - Code Mockup */
.hero-visual {
  width: 100%;
  max-width: 900px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1), transparent 50%);
  pointer-events: none;
}

.window-controls {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
}

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

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.code-mockup {
  padding: 1.5rem 2rem 2rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  line-height: 2;
}

.code-line {
  opacity: 0;
  transform: translateY(10px);
  animation: typeLine 0.4s var(--ease-out-expo) forwards;
  animation-delay: calc(var(--delay) * 0.4s + 0.5s);
}

@keyframes typeLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prompt {
  color: var(--text-dim);
}

.user {
  color: var(--success);
  font-weight: 600;
}

.string {
  color: #fbbf24;
}

.comment {
  color: var(--primary-light);
  font-style: italic;
}

.arrow {
  color: var(--text-dim);
}

.plan {
  color: #f472b6;
  font-weight: 600;
}

.api {
  color: #fbbf24;
  font-weight: 600;
}

.coding {
  color: var(--info);
  font-weight: 600;
}

.terminal {
  color: var(--accent);
  font-weight: 600;
}

.success {
  color: var(--success);
  font-weight: 600;
}

.success-msg {
  color: var(--success);
}

/* Floating Animation for Visual */
.animate-float {
  animation: floatVisual 6s ease-in-out infinite;
}

@keyframes floatVisual {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  animation: fadeInUp 1s ease 2s both;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
  }
}

/* ========================================
   Section Styles
   ======================================== */

section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.section-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   Features
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  background: rgba(10, 16, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.feature-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

/* Cursor-following border glow */
.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(96, 192, 232, 0.25),
      transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(8, 14, 22, 0.98);
  border-color: rgba(64, 208, 240, 0.4);
  box-shadow:
    0 15px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(64, 208, 240, 0.2),
    0 0 20px rgba(64, 208, 240, 0.08);
  transition: all 0.1s ease-out;
}

.feature-card:hover .feature-glow {
  opacity: 0;
}

/* ========================================
   Hexagon Targeting State
   Simple: opaque bg, slight scale, subtle border glow
   ======================================== */

.feature-card.hex-targeted,
.pricing-card.hex-targeted,
.agent-card.hex-targeted {
  transform: translateY(-4px) scale(1.02);
  background: rgba(8, 14, 22, 0.98);
  /* Nearly opaque */
  border-color: rgba(64, 208, 240, 0.4);
  box-shadow:
    0 15px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(64, 208, 240, 0.2),
    0 0 20px rgba(64, 208, 240, 0.08);
  transition: all 0.1s ease-out;
}

.hero-visual.hex-targeted {
  transform: scale(1.01);
  transition: all 0.1s ease-out;
}

.code-mockup.hex-targeted {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(64, 208, 240, 0.1);
  transition: all 0.1s ease-out;
}

.btn-primary.hex-targeted,
.btn-secondary.hex-targeted {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px -5px rgba(64, 208, 240, 0.3);
  transition: all 0.08s ease-out;
}

.nav-links a.hex-targeted,
.footer-link.hex-targeted {
  color: var(--accent);
  transition: all 0.08s ease-out;
}

.comparison-table tr.hex-targeted {
  background: rgba(64, 208, 240, 0.08);
  box-shadow: inset 0 0 0 1px rgba(64, 208, 240, 0.3);
  transition: all 0.08s ease-out;
}

.code-mockup.hex-targeted {
  transform: scale(1.01);
  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(64, 208, 240, 0.3);
  transition: all 0.1s ease-out;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-link {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease-out-expo);
}

.feature-card:hover .feature-link {
  opacity: 1;
  transform: translateX(0);
}

.feature-link span {
  transition: transform 0.2s;
}

.feature-link:hover span {
  transform: translateX(4px);
}

/* ========================================
   Pricing
   ======================================== */

.pricing-toggle-container {
  display: inline-flex;
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  padding: 0.3rem;
  margin-top: 2rem;
}

.toggle-label {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 99px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.toggle-label.active {
  color: white;
  background: var(--primary);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: rgba(10, 16, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
}

/* Cursor-following border glow */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(96, 192, 232, 0.2),
      transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.pricing-card:hover::before {
  opacity: 0;
}

.pricing-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(8, 14, 22, 0.98);
  border-color: rgba(64, 208, 240, 0.4);
  box-shadow:
    0 15px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(64, 208, 240, 0.2),
    0 0 20px rgba(64, 208, 240, 0.08);
  transition: all 0.1s ease-out;
}

.pricing-card.highlight {
  background: linear-gradient(180deg, rgba(96, 192, 232, 0.08) 0%, rgba(10, 16, 24, 0.7) 100%);
  border-color: rgba(96, 192, 232, 0.3);
  transform: scale(1.02);
}

.pricing-card.highlight:hover {
  transform: scale(1.02) translateY(-4px);
  background: linear-gradient(180deg, rgba(96, 192, 232, 0.12) 0%, rgba(10, 16, 24, 0.9) 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 0.4rem 1.25rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-value {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-period {
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ========================================
   Footer
   ======================================== */

footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0;
  background: rgba(2, 6, 23, 0.9);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

.footer-links a:hover {
  color: white;
}

/* ========================================
   Animations
   ======================================== */

.animate-fade-in {
  animation: fadeIn 0.8s var(--ease-out-expo) both;
}

.animate-slide-up {
  animation: slideUp 0.8s var(--ease-out-expo) both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s var(--ease-out-expo),
    transform 0.6s var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Agents Section
   ======================================== */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.agent-card {
  position: relative;
  background: rgba(10, 16, 24, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-left: 2px solid transparent;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out-expo);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Cursor-following border glow */
.agent-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(96, 192, 232, 0.2),
      transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.agent-card:hover::before {
  opacity: 0;
}

.agent-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(8, 14, 22, 0.98);
  border-color: rgba(64, 208, 240, 0.4);
  box-shadow:
    0 15px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(64, 208, 240, 0.2),
    0 0 20px rgba(64, 208, 240, 0.08);
  transition: all 0.1s ease-out;
}

.agent-icon {
  width: 42px;
  height: 42px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.agent-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.agent-info p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ========================================
   Comparison Section
   ======================================== */

.comparison-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
  margin-bottom: 6rem;
  /* Space before footer */
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  /* Ensure scroll on small screens */
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  padding-left: 2rem;
  font-weight: 600;
  color: var(--text-main);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(99, 102, 241, 0.05);
  /* Highlight AuxForge column */
  color: #fff;
}

.comparison-table th.highlight {
  border-bottom: 2px solid var(--primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(64, 208, 240, 0.08);
  box-shadow: inset 0 0 0 1px rgba(64, 208, 240, 0.3);
  transition: all 0.08s ease-out;
}

.check-icon {
  color: var(--success);
  display: inline-flex;
}

.cross-icon {
  color: #ef4444;
  opacity: 0.3;
  display: inline-flex;
}

.feature-row-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   Footer Social Links
   ======================================== */

.footer-social h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-expo);
}

.social-links a:hover {
  background: var(--glass-highlight);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(96, 192, 232, 0.2);
}

/* ========================================
   Mobile Navigation
   ======================================== */

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
}

.hamburger-line:nth-child(1) {
  transform: translateY(-6px);
}

.hamburger-line:nth-child(3) {
  transform: translateY(6px);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(5, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
  z-index: 99;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 1.5rem;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 0;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-cta {
  margin-top: 0.5rem;
}

body.menu-open {
  overflow: hidden;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet and below */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile landscape and tablet portrait */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 6rem 1rem 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    margin-bottom: 3rem;
  }

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

  .hero-visual {
    max-width: 100%;
  }

  .code-mockup {
    padding: 1rem;
    font-size: 0.75rem;
    line-height: 1.8;
  }

  section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .features-grid,
  .agents-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card,
  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-card.highlight {
    transform: none;
  }

  .pricing-card.highlight:hover {
    transform: translateY(-4px);
  }

  /* Footer responsive */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-primary,
  .footer-contact,
  .footer-social {
    text-align: center;
  }

  .footer-contact p {
    text-align: center;
  }

  .footer-contact p span {
    margin-left: 0 !important;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Comparison table */
  .comparison-table th,
  .comparison-table td {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    padding-left: 1rem;
  }

  .scroll-indicator {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

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

  .pricing-toggle-container {
    flex-direction: row;
    gap: 0.25rem;
  }

  .toggle-label {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .price-value {
    font-size: 2.75rem;
  }

  .comparison-wrapper {
    margin: 0 -1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}