/* Custom styles for adam marketing website */

/* Base variables */
:root {
  --bg-primary: #202020;
  --bg-secondary: #2b2b2b;
  --bg-card: #2b2b2b;
  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;
  --accent-purple: #8b5cf6;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;
  --border-color: #404040;
  --success: #c8c8c8;
  --warning: #f59e0b;
}

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

/* Custom glow effects */
.glow-blue {
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.glow-blue-sm {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.text-glow {
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

/* Gradient backgrounds */
.gradient-hero {
  background: linear-gradient(135deg, #202020 0%, #2b2b2b 50%, #202020 100%);
}

.gradient-radial {
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.gradient-border {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Feature card gradient border */
.feature-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-blue), transparent 50%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Pricing card styles */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border: 2px solid var(--accent-blue);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--accent-blue);
  color: white;
  padding: 4px 40px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
}

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Comparison table */
.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

/* Check and X icons for comparison */
.check-icon {
  color: var(--success);
}

.x-icon {
  color: var(--text-muted);
}

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-blue));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Code block styling */
.code-block {
  background: #181818;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Trust bar logos */
.trust-logo {
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.trust-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Pricing toggle */
.pricing-toggle {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 9999px;
  padding: 4px;
}

.pricing-toggle-btn {
  padding: 8px 24px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.pricing-toggle-btn.active {
  background: var(--accent-blue);
  color: white;
}

/* Feature list checkmarks */
.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Stats counter */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer */
.footer-link {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }

  .pricing-card.popular::before {
    font-size: 10px;
    padding: 2px 30px;
    right: -35px;
  }
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

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

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