/* Matrix Terminal Shader - Website Styles */
:root {
  --matrix-green: #00ff41;
  --matrix-cyan: #00ffff;
  --matrix-red: #ff0040;
  --matrix-gold: #ffd700;
  --matrix-dark-green: #008f11;
  
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: rgba(0, 20, 0, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  
  --border-green: rgba(0, 255, 65, 0.3);
  --glow-green: 0 0 30px rgba(0, 255, 65, 0.7);
  
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', 'Consolas', monospace;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-darker);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Matrix Background Effect (Video) */
#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  opacity: 0.7;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-green);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--matrix-green);
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a:hover {
  color: var(--matrix-green);
  text-shadow: var(--glow-green);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--matrix-green);
  transition: width 0.3s ease;
}

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

.nav-redpill {
  color: #ff0040 !important;
}

.nav-redpill:hover {
  text-shadow: 0 0 20px rgba(255, 0, 64, 0.5) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--matrix-green);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  animation: glow 3s ease-in-out infinite;
}

.matrix-green { 
  color: var(--matrix-green); 
  text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}
.matrix-cyan { 
  color: var(--matrix-cyan); 
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}
.matrix-red { 
  color: var(--matrix-red); 
  text-shadow: 0 0 15px rgba(255, 0, 64, 0.5);
}
.matrix-gold { 
  color: var(--matrix-gold); 
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-proof {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 255, 65, 0.08);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.proof-free {
  color: var(--matrix-green);
  border-color: rgba(0, 255, 65, 0.35);
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.btn-green {
  background: linear-gradient(135deg, var(--matrix-green), var(--matrix-dark-green));
  color: var(--bg-darker);
  border: 2px solid var(--matrix-green);
  box-shadow: var(--glow-green);
}

.btn-green:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-green);
}

.btn-secondary:hover {
  background: rgba(0, 255, 65, 0.15);
  border-color: var(--matrix-green);
  color: var(--matrix-green);
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-subtitle {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Terminal Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.terminal-mockup {
  width: 100%;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  border: 2px solid var(--border-green);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.terminal-header {
  background: rgba(0, 255, 65, 0.1);
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-green);
}

.terminal-buttons {
  display: flex;
  gap: 0;
}

.btn-close, .btn-minimize, .btn-maximize {
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
  cursor: default;
}

.btn-minimize:hover, .btn-maximize:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-close:hover {
  background: #e81123;
  color: #fff;
}

.terminal-title {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.terminal-content {
  height: 300px;
  overflow: hidden;
}

.terminal-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 20px;
  background: var(--matrix-green);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--matrix-green);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Section Styling */
section {
  padding: 5rem 0;
  position: relative;
}

section + section {
  border-top: 1px solid rgba(0, 255, 65, 0.08);
}

/* Section dividers */
.features {
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.03) 0%, transparent 100%);
}

.workflow {
  background: linear-gradient(135deg, #001a00 0%, #002200 50%, #001a00 100%);
}

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

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  color: var(--matrix-green);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */

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

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-green);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--matrix-green);
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.6);
  background: rgba(0, 30, 0, 0.95);
}

.feature-icon {
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.icon-svg {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(81%) sepia(75%) saturate(2878%) hue-rotate(85deg) brightness(113%) contrast(119%);
}

.icon-svg-lg {
  width: 40px;
  height: 40px;
}

.icon-svg-sm {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(81%) sepia(75%) saturate(2878%) hue-rotate(85deg) brightness(113%) contrast(119%);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--matrix-green);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Workflow Section */

.workflow-showcase {
  max-width: 1100px;
  margin: 0 auto;
}

.workflow-text-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.workflow-text-intro h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--matrix-green);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.workflow-text-intro p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.layout-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.layout-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-green);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.layout-card:hover {
  border-color: var(--matrix-green);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
  transform: translateY(-4px);
}

.layout-label {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--matrix-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-green);
  background: rgba(0, 255, 65, 0.05);
}

.layout-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.layout-description {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 255, 65, 0.1);
}

.workflow-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.workflow-colors-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
  font-style: italic;
  margin: 0;
}

.color-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.color-dot.green { background: var(--matrix-green); box-shadow: 0 0 6px var(--matrix-green); }
.color-dot.red { background: var(--matrix-red); box-shadow: 0 0 6px var(--matrix-red); }
.color-dot.blue { background: var(--matrix-cyan); box-shadow: 0 0 6px var(--matrix-cyan); }
.color-dot.gold { background: var(--matrix-gold); box-shadow: 0 0 6px var(--matrix-gold); }

/* Platform Tabs */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.platform-tab {
  background: rgba(0, 20, 0, 0.6);
  border: 1px solid rgba(0, 255, 65, 0.2);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}

.platform-tab:hover:not(.disabled) {
  border-color: var(--matrix-green);
  color: var(--matrix-green);
}

.platform-tab.active {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--matrix-green);
  color: var(--matrix-green);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.platform-tab.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.platform-content {
  display: none;
}

.platform-content.active {
  display: block;
}

/* Get Started Section (merged Installation + Download) */
.get-started {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.02), rgba(0, 20, 0, 0.05));
}

.get-started-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.get-started-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 255, 65, 0.15);
}

.step:last-child {
  border-bottom: none;
}

.get-started-requirements {
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.get-started-requirements h4 {
  margin-bottom: 0.75rem;
  color: var(--matrix-green);
  font-size: 0.95rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--matrix-green);
  color: var(--bg-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--matrix-green);
}

.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: 6px;
  padding: 1rem 3rem 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  position: relative;
}

.code-block pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--matrix-green);
  margin: 0;
}

.inline-code {
  background: rgba(0, 255, 65, 0.1);
  color: var(--matrix-green);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.installation-requirements {
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: 8px;
  padding: 2rem;
}

.installation-requirements h3 {
  margin-bottom: 1rem;
  color: var(--matrix-green);
}

.requirements-list {
  list-style: none;
}

.requirements-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

/* Download Options (within Get Started) */
.download-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-green);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.download-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--matrix-green);
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.6);
  background: rgba(0, 30, 0, 0.95);
}

.download-card.featured {
  border-color: var(--matrix-green);
  box-shadow: var(--glow-green);
}

.download-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--matrix-green);
  color: var(--bg-darker);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

.download-icon {
  margin-bottom: 1rem;
  line-height: 1;
}

.download-card h3 {
  margin-bottom: 1rem;
  color: var(--matrix-green);
}

.download-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.download-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.download-info span {
  padding: 0.25rem 0.5rem;
  background: rgba(0, 255, 65, 0.1);
  border-radius: 4px;
  color: var(--text-secondary);
}

.btn-download {
  width: 100%;
  justify-content: center;
}

/* Choose Your Path Section */
.support {
  padding: 4rem 0;
}

.pill-choice {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pill-choice-divider {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
}

.support-card {
  text-align: center;
  flex: 1;
  padding: 3rem 2rem;
  background: rgba(0, 20, 0, 0.6);
  border: 1px solid var(--border-green);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-card.bluepill-card {
  border-color: rgba(0, 255, 255, 0.3);
  background: rgba(0, 10, 20, 0.6);
}

.support-card.redpill-card {
  border-color: rgba(255, 0, 64, 0.3);
  background: rgba(20, 0, 0, 0.6);
}

.support-card h2 {
  font-family: var(--font-mono);
  color: var(--matrix-green);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.bluepill-card h2 {
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.redpill-card h2 {
  color: #ff0040;
  text-shadow: 0 0 20px rgba(255, 0, 64, 0.5);
}

.pill-price-free {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: bold;
  color: #00ffff;
  margin-bottom: 1.5rem;
}

.support-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.redpill-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 1.5rem;
}

.redpill-price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: normal;
}

.btn-redpill {
  display: inline-flex;
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, #ff0040, #cc0033);
  color: #fff;
  border: 2px solid #ff0040;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.4);
}

.btn-redpill:hover {
  background: linear-gradient(135deg, #ff3366, #ff0040);
  box-shadow: 0 0 40px rgba(255, 0, 64, 0.7);
  transform: translateY(-3px) scale(1.05);
}

.btn-bluepill-outline {
  display: inline-flex;
  padding: 0.875rem 2.5rem;
  background: transparent;
  color: #00ffff;
  border: 2px solid rgba(0, 255, 255, 0.4);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-bluepill-outline:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00ffff;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Agent Smith Email Section */
.agent-smith {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(20, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.smith-card {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(10, 5, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.smith-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.smith-title {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.smith-quote {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.smith-quote em {
  color: var(--matrix-green);
  font-style: italic;
}

.smith-subtext {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.smith-form {
  margin: 0 auto;
  max-width: 450px;
}

.smith-input-row {
  display: flex;
  gap: 0.5rem;
}

.smith-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.smith-input-row input:focus {
  outline: none;
  border-color: var(--matrix-green);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.smith-input-row input::placeholder {
  color: var(--text-muted);
}

.smith-btn {
  background: var(--matrix-green);
  color: #000;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.smith-btn:hover {
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  transform: translateY(-1px);
}

.smith-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.smith-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}

.smith-fine-print {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 1rem;
}

.smith-fine-print a {
  color: var(--matrix-green);
  text-decoration: none;
}

.smith-fine-print a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .pill-choice {
    flex-direction: column;
    gap: 1rem;
  }

  .pill-choice-divider {
    justify-content: center;
  }

  .smith-input-row {
    flex-direction: column;
  }

  .smith-btn {
    width: 100%;
  }
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-green);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  color: var(--matrix-green);
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--matrix-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-green);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 0 1rem;
    border-bottom: 2px solid var(--matrix-green);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    display: flex;
  }

  .nav-menu.nav-menu-open {
    max-height: 400px;
    padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .layout-demo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .workflow-colors {
    gap: 0.75rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }

  .get-started-layout {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
}

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

@keyframes glow {
  0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
  50% { text-shadow: 0 0 40px rgba(0, 255, 65, 0.8), 0 0 80px rgba(0, 255, 65, 0.4); }
}

@keyframes matrixPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.9; }
}

.feature-card, .download-card, .step {
  animation: fadeIn 0.6s ease-out;
}

/* Add subtle pulsing to Matrix background */
#matrix-bg {
  animation: matrixPulse 4s ease-in-out infinite;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
  background: rgba(0, 255, 65, 0.3);
  color: var(--text-primary);
}

/* Focus Styling */
.btn:focus, a:focus {
  outline: 2px solid var(--matrix-green);
  outline-offset: 2px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  cursor: zoom-out;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border: 2px solid var(--border-green);
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
}

.layout-screenshot {
  cursor: zoom-in;
}

/* Email Gate Modal */
.email-gate-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.email-gate-overlay.active {
  display: flex;
}

.email-gate-card {
  background: rgba(0, 20, 0, 0.95);
  border: 1px solid var(--matrix-green);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 255, 65, 0.15);
  position: relative;
}

.email-gate-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-mono);
  line-height: 1;
}

.email-gate-close:hover {
  color: var(--matrix-green);
}

.email-gate-card h2 {
  font-family: var(--font-mono);
  color: var(--matrix-green);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.email-gate-card .gate-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.email-gate-card .gate-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  outline: none;
}

.email-gate-card .gate-input:focus {
  border-color: var(--matrix-green);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.email-gate-card .gate-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--matrix-green);
  color: #000;
  border: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.email-gate-card .gate-btn:hover {
  box-shadow: var(--glow-green);
  transform: translateY(-1px);
}

.email-gate-card .gate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.email-gate-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}

.gate-skip-link {
  display: block;
  color: #444;
  font-size: 0.8rem;
  text-decoration: none;
  margin-top: 1rem;
  transition: color 0.2s ease;
}

.gate-skip-link:hover {
  color: var(--text-muted);
}

.email-gate-fine-print {
  color: #555;
  font-size: 0.75rem;
  margin-top: 1rem;
}

.email-gate-fine-print a {
  color: #555;
}

/* Download links revealed after email gate */
.gate-download-links {
  margin-top: 1.25rem;
  text-align: center;
}

.gate-download-links a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--matrix-green);
  color: #000;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.gate-download-links a:hover {
  box-shadow: var(--glow-green);
  transform: translateY(-1px);
}

.gate-download-links .gate-alt-link {
  display: block;
  background: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: normal;
  padding: 0.25rem;
}

.gate-download-links .gate-alt-link:hover {
  color: var(--matrix-green);
  box-shadow: none;
  transform: none;
}