/* === AgentsMon Marketing Site — Premium Platinum Theme === */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #050505;
  /* Deep Black */
  color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Animated Gradient Text (Platinum Style) ---------- */
.gradient-text {
  background: linear-gradient(135deg, #ffffff, #e2e8f0, #94a3b8, #cbd5e1);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---------- Glassmorphism (Premium) ---------- */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  /* More rounded */
}

.glass-nav {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- Card Hover Glow (Silver/Green) ---------- */
.glow-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.05), 0 0 20px rgba(74, 222, 128, 0.05);
  /* White/Green subtle glow */
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Hero Grid Background (Subtle) ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 30s linear infinite;
  opacity: 0.5;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.03), transparent 60%);
}

@keyframes gridDrift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(80px, 80px);
  }
}

/* ---------- Floating Dots (Monochrome + Accent) ---------- */
.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
  animation: float var(--dur, 8s) ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  25% {
    transform: translateY(-20px) translateX(10px);
  }

  50% {
    transform: translateY(-10px) translateX(-10px);
  }

  75% {
    transform: translateY(-25px) translateX(5px);
  }
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}

[data-reveal-delay="5"] {
  transition-delay: 0.5s;
}

[data-reveal-delay="6"] {
  transition-delay: 0.6s;
}

[data-reveal-delay="7"] {
  transition-delay: 0.7s;
}

[data-reveal-delay="8"] {
  transition-delay: 0.8s;
}

/* ---------- Pulse ---------- */
.pulse {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ---------- Counter Gradient (Silver) ---------- */
.counter-value {
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

/* ---------- Code Block ---------- */
.code-block {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.95rem;
  color: #e2e8f0;
  overflow-x: auto;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.code-block .prompt {
  color: #4ade80;
  /* Green accent */
  user-select: none;
  margin-right: 0.5rem;
}

/* ---------- Step Connector ---------- */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2rem;
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  opacity: 1;
}

@media (max-width: 768px) {
  .step-connector::after {
    display: none;
  }
}

/* ---------- Dashboard Mockup ---------- */
.browser-frame {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 80px -20px rgba(0, 0, 0, 0.8);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-url {
  flex: 1;
  margin-left: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.mock-dashboard {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  min-height: 320px;
}

.mock-card {
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
}

.mock-gauge {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.05);
  border-top-color: #fff;
  border-right-color: #4ade80;
  /* Green */
  border-bottom-color: rgba(255, 255, 255, 0.1);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-gauge-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.mock-alert-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.mock-alert-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .mock-dashboard {
    grid-template-columns: 1fr;
  }
}

/* ---------- Badge / Pill ---------- */
.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.compliance-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.compliance-badge svg {
  flex-shrink: 0;
}

/* ---------- CTA Buttons (Premium) ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2.25rem;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  border-radius: 9999px;
  /* Pill shape */
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2.25rem;
  background: transparent;
  color: #ffffff;
  font-weight: 500;
  border-radius: 9999px;
  /* Pill shape */
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
}

/* ---------- Nav Active ---------- */
.nav-link {
  position: relative;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  /* Dot indicator */
  height: 4px;
  background: #fff;
  border-radius: 50%;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: #050505;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 60;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .nav-link {
  font-size: 1.25rem;
  display: block;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Section Divider (Subtle) ---------- */
.section-glow {
  position: relative;
}

.section-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ---------- Utility ---------- */
.text-secondary {
  color: #94a3b8;
}

.max-w-screen {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Selection color */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- Integration Card ---------- */
.integration-card {
  display: flex;
  flex-direction: column;
}

.integration-card .code-snippet {
  margin-top: auto;
}

/* ---------- Code Snippet (inline 1-liner) ---------- */
.code-snippet {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: nowrap;
  line-height: 1.5;
}

/* ---------- Platform icon placeholder ---------- */
.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Feature icon container ---------- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
}

@media (max-width: 640px) {
  .stats-bar {
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }
}

/* ---------- Step number badge ---------- */
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ---------- Platform Comparison Matrix ---------- */
.platform-matrix {
  border-collapse: collapse;
}

.platform-matrix th {
  position: sticky;
  top: 0;
  background: #050505;
  z-index: 1;
}

.platform-matrix tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.matrix-category-row td {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.matrix-full {
  color: #4ade80;
  /* Green check */
  font-weight: 600;
}

.matrix-none {
  color: rgba(255, 255, 255, 0.1);
}