/* zkast.io - Premium CSS Design System (Red Laser Edition) */

:root {
  /* Color Tokens */
  --bg-main: #070202;          /* Ultra dark warm black/charcoal */
  --bg-card: rgba(18, 6, 6, 0.6); /* Translucent dark obsidian crimson */
  --bg-card-hover: rgba(26, 8, 8, 0.8);
  --border-color: rgba(255, 42, 95, 0.12); /* Subtle crimson boundary */
  --border-hover: rgba(255, 42, 95, 0.4);
  
  /* Primary Laser/Glow Colors */
  --laser-crimson: #ff2a5f;    /* Vibrant neon crimson */
  --laser-red: #ef4444;        /* Intense direct red */
  --laser-coral: #f97316;      /* Glowing hot coral */
  --laser-glow: rgba(255, 42, 95, 0.25);
  --laser-glow-heavy: rgba(255, 42, 95, 0.5);
  
  /* Text Colors */
  --text-primary: #f8fafc;     /* Ice white */
  --text-secondary: #94a3b8;   /* Cool silver grey */
  --text-muted: #64748b;       /* Darker grey */
  --text-accent: #ff2a5f;      /* Accented text */

  /* Fonts */
  --font-title: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  width: 100vw;
  overflow-x: hidden;
  position: relative;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Remove default scrollbar styling and add a futuristic one */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 95, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 42, 95, 0.5);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2. Ambient Visual Effects */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.laser-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 42, 95, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 42, 95, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  pointer-events: none;
}

.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 2;
}

.glow-1 {
  background: var(--laser-crimson);
  top: 10%;
  left: -150px;
}

.glow-2 {
  background: var(--laser-coral);
  top: 60%;
  right: -150px;
}

/* 3. Typography & Gradients */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--laser-crimson) 0%, var(--laser-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 10;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title.left-align {
  text-align: left;
}

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

/* 4. Button & Badge Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--laser-crimson) 0%, var(--laser-red) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 42, 95, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--laser-coral) 0%, var(--laser-crimson) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 42, 95, 0.5);
}

.btn-primary span, .btn-primary svg {
  position: relative;
  z-index: 2;
}

.btn-secondary {
  background: rgba(255, 42, 95, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 42, 95, 0.1);
  border-color: var(--laser-crimson);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.2);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.security-badge {
  background: rgba(255, 42, 95, 0.06);
  border: 1px solid rgba(255, 42, 95, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--laser-crimson);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 42, 95, 0.05);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--laser-crimson);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 42, 95, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 42, 95, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 42, 95, 0);
  }
}

/* 5. Header Navigation Styling */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 2, 2, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: border-color var(--transition-normal);
}

.header-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--laser-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.logo-container:hover .logo-icon {
  transform: rotate(185deg);
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.accent-dot {
  color: var(--laser-crimson);
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-title);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--laser-crimson);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

/* 6. Hero Section */
.hero-section {
  padding: 100px 0 80px 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 48px;
  font-weight: 400;
}

/* 7. Waitlist Sign-up forms */
.waitlist-card-wrapper {
  width: 100%;
  max-width: 580px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 64px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 42, 95, 0.03);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.waitlist-card-wrapper:focus-within {
  border-color: var(--border-hover);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 42, 95, 0.1);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
}

.input-glow-group {
  display: flex;
  gap: 12px;
  width: 100%;
}

.input-glow-group.form-col {
  flex-direction: column;
  gap: 16px; /* Increased vertical spacing between rows */
}

.email-submit-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.email-top-input {
  flex: 1;
}

.submit-right-btn {
  white-space: nowrap;
}

/* On mobile, stack the email and submit button too */
@media (max-width: 640px) {
  .email-submit-row {
    flex-direction: column;
  }
}



.selects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; /* Increased spacing between selects */
  width: 100%;
}

@media (max-width: 640px) {
  .selects-grid {
    grid-template-columns: 1fr;
  }
}

.waitlist-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  color: var(--text-muted); /* Gray text when unselected */
}

.waitlist-select:focus,
.waitlist-select:valid {
  color: #fff; /* Turn white when selected */
}

.waitlist-select option {
  background: #0f0404;
  color: #f8fafc;
}

.waitlist-input {
  flex: 1;
  background: rgba(7, 2, 2, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 14px 20px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}

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

.waitlist-input:focus {
  border-color: var(--laser-crimson);
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.15);
  background: rgba(14, 4, 4, 0.8);
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.85rem;
  display: none;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.error-msg {
  color: #f87171;
}

.success-msg {
  color: #34d399;
  background: rgba(52, 211, 153, 0.05);
  border: 1px solid rgba(52, 211, 153, 0.15);
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  width: 100%;
}

.success-msg svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--laser-crimson);
  text-shadow: 0 0 10px rgba(255, 42, 95, 0.2);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-color);
}

/* 8. Come Funziona (Architecture steps) & FAQ Section */
.how-it-works-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, transparent 0%, rgba(20, 5, 5, 0.3) 100%);
  position: relative;
  z-index: 10;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--laser-crimson), var(--laser-coral));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 42, 95, 0.05);
}

.step-card:hover::before {
  opacity: 1;
}

.step-badge {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--laser-crimson);
  opacity: 0.12;
  position: absolute;
  top: 24px;
  right: 32px;
  line-height: 1;
  transition: opacity var(--transition-normal);
}

.step-card:hover .step-badge {
  opacity: 0.35;
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-right: 48px;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, transparent 0%, rgba(20, 5, 5, 0.2) 100%);
  position: relative;
  z-index: 10;
}

.faq-accordion-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-item.active {
  border-color: var(--laser-crimson);
  box-shadow: 0 0 20px rgba(255, 42, 95, 0.05);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: transparent;
  border: none;
  padding: 24px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--laser-crimson);
  outline-offset: -2px;
}

.faq-item.active .faq-trigger {
  color: var(--laser-crimson);
}

.faq-question {
  line-height: 1.4;
}

.faq-icon-indicator {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), color var(--transition-normal);
  flex-shrink: 0;
}

.faq-item:hover .faq-icon-indicator {
  color: var(--text-primary);
}

.faq-item.active .faq-icon-indicator {
  transform: rotate(180deg);
  color: var(--laser-crimson);
}

.faq-icon-indicator svg {
  width: 100%;
  height: 100%;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1), opacity var(--transition-normal);
  opacity: 0;
}

.faq-item.active .faq-content {
  opacity: 1;
}

.faq-content-inner {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-content-inner strong {
  color: var(--text-primary);
}

/* 9. Features Grid */
.features-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--laser-crimson), var(--laser-coral));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 42, 95, 0.05);
  background: var(--bg-card-hover);
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 42, 95, 0.06);
  border: 1px solid rgba(255, 42, 95, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--laser-crimson);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--laser-crimson);
  color: #fff;
  box-shadow: 0 0 15px var(--laser-glow);
}

.feature-icon {
  width: 24px;
  height: 24px;
}

.feature-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 10. Developer API Playpen Section */
.api-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.3) 0%, transparent 100%);
  position: relative;
  z-index: 10;
}

.api-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.api-info-panel .left-align {
  margin-bottom: 20px;
}

.api-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.features-list-api {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.red-check {
  color: var(--laser-crimson);
  flex-shrink: 0;
  margin-top: 2px;
}

.editor-panel-wrapper {
  background: #0b0405;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  overflow: hidden;
  max-width: 100%;
}

.editor-header {
  background: rgba(18, 6, 6, 0.9);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.editor-dots {
  display: flex;
  gap: 8px;
}

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

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.editor-tabs {
  display: flex;
  gap: 6px;
}

.editor-select-mobile {
  display: none;
  background: rgba(18, 6, 6, 0.9);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  max-width: 150px;
}

@media (max-width: 640px) {
  .desktop-tabs {
    display: none;
  }
  .editor-select-mobile {
    display: block;
  }
}

.editor-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.editor-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 42, 95, 0.05);
}

.editor-tab.active {
  color: var(--laser-crimson);
  background: rgba(255, 42, 95, 0.1);
  border-color: rgba(255, 42, 95, 0.25);
}

.editor-body {
  padding: 24px;
  min-height: 280px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100vw;
}

.code-snippet {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.85rem; /* Slightly smaller for mobile */
  color: #cbd5e1;
  line-height: 1.6;
  white-space: pre; /* Don't wrap, allow scrolling */
}

.code-snippet.active {
  display: block;
}

@media (min-width: 768px) {
  .code-snippet {
    font-size: 0.9rem;
  }
}

/* Syntax Highlighting */
.code-snippet .keyword { color: #f43f5e; font-weight: 500; }
.code-snippet .string { color: #fdba74; }
.code-snippet .comment { color: #475569; font-style: italic; }
.code-snippet .title { color: #38bdf8; }

/* 11. Final CTA Section (Laser-Scanner) */
.cta-section {
  padding: 100px 0;
  position: relative;
  z-index: 10;
}

.cta-card {
  background: radial-gradient(ellipse at top, rgba(50, 10, 12, 0.35) 0%, rgba(7, 2, 2, 0.9) 100%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 42, 95, 0.04);
}

.cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--border-color), transparent, var(--border-color)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* Scanner effect removed */

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-description {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 40px auto;
}

.bottom-form {
  max-width: 580px;
  margin: 0 auto;
}

.footer-group {
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

/* 12. Footer Styling */
.main-footer {
  background-color: #040101;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-about .logo-container {
  margin-bottom: 20px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links-group {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 850px) {
  .footer-links-group {
    grid-column: span 1;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--laser-crimson);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 42, 95, 0.05);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 13. Mobile Adaptability (Responsive rules) */
@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .api-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {

  .desktop-nav, .header-cta {
    display: none; /* Keep header simple on mobile */
  }
  .main-header {
    background: rgba(7, 2, 2, 0.9);
  }
  .hero-section {
    padding: 60px 0 40px 0;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .stat-divider {
    display: none;
  }
  .input-glow-group {
    flex-direction: column;
    gap: 12px;
  }
  .waitlist-input {
    width: 100%;
  }
  .btn-primary {
    width: 100%;
  }
  .cta-card {
    padding: 32px 20px;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-description {
    font-size: 1rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .waitlist-card-wrapper {
    padding: 16px;
    margin-bottom: 48px;
  }
  .step-card {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .step-badge {
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
  }
  .faq-trigger {
    padding: 20px 16px;
    font-size: 1rem;
  }
  .faq-content-inner {
    padding: 0 16px 20px 16px;
    font-size: 0.9rem;
  }
  .features-grid {
    gap: 20px;
  }
  .feature-card {
    padding: 24px;
    border-radius: 12px;
  }
  .editor-body {
    padding: 16px;
  }
  .cta-card {
    padding: 40px 16px;
    border-radius: 16px;
  }
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-description {
    font-size: 0.95rem;
  }
  .footer-grid {
    gap: 24px;
    margin-bottom: 40px;
  }
  .main-footer {
    padding: 60px 0 24px 0;
  }
}
