/* Anthropon Marketing Site — Custom Styles */

:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-light: #3B82F6;
  --color-primary-50: #EFF6FF;
  --color-primary-100: #DBEAFE;
  --color-secondary: #0F172A;
  --color-accent: #06B6D4;
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-surface: #F8FAFC;
  --color-muted: #64748B;
}

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

/* Inter font */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #312E81 100%);
}

.hero-gradient-light {
  background: linear-gradient(135deg, var(--color-primary-50) 0%, #ffffff 50%, #F0F9FF 100%);
}

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature card hover */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(79, 70, 229, 0.15);
}

/* Pricing card */
.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 20px 40px -12px rgba(79, 70, 229, 0.2);
}

/* CTA button pulse */
.cta-pulse {
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Scroll animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-chevron {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Comparison table */
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
}

.comparison-table tr {
  border-bottom: 1px solid #E2E8F0;
}

.comparison-table tr:hover {
  background-color: var(--color-primary-50);
}

/* Logo styles */
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

/* Testimonial card */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 60px;
  color: var(--color-primary-100);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Stats counter */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Floating badge */
.badge-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Nav blur */
.nav-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Screenshot placeholder */
.screenshot-placeholder {
  background: linear-gradient(135deg, #E0E7FF 0%, #EEF2FF 50%, #F0F9FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.screenshot-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(79, 70, 229, 0.03) 8px,
    rgba(79, 70, 229, 0.03) 16px
  );
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Security shield icon animation */
.shield-pulse {
  animation: shield-glow 2.5s ease-in-out infinite;
}

@keyframes shield-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(79, 70, 229, 0.2)); }
  50% { filter: drop-shadow(0 0 12px rgba(79, 70, 229, 0.4)); }
}

/* Step connector line */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-100) 100%);
}

@media (max-width: 768px) {
  .step-connector::after {
    display: none;
  }
}

/* Sticky nav shadow on scroll */
.nav-scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
