/**
 * Animated Landing Page - Styles
 * Showcasing AnimationManager capabilities
 */
/* ============================================ */
/* CSS Variables */
/* ============================================ */
:root {
  --bg-body: #0a0a0f;
  --color-secondary: #12121a;
  --bg-card: #1a1a24;
  --bg-card-hover: #22222e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --color-border: rgba(255, 255, 255, 0.08);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
}
/* ============================================ */
/* Base Styles */
/* ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 120px 0;
  position: relative;
}
/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ============================================ */
/* Buttons */
/* ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.btn-xl {
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 12px;
}
.btn-block {
  width: 100%;
  justify-content: center;
}
/* ============================================ */
/* Section Header */
/* ============================================ */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}
/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -200px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -100px;
  left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #d946ef;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-slow 10s ease-in-out infinite;
}
@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20px, -30px);
  }
  50% {
    transform: translate(-20px, 20px);
  }
  75% {
    transform: translate(30px, 10px);
  }
}
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.2);
  }
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 32px;
  /* Initial state for animation */
  opacity: 0;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.hero-title {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.title-line {
  display: block;
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(30px);
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  /* Initial state for animation */
  opacity: 0;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(20px);
}
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  /* Initial state for animation */
  opacity: 0;
}
.stat-item {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.scroll-text {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce-down 2s infinite;
}
@keyframes bounce-down {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) translate(5px, 5px);
    opacity: 0.5;
  }
}
/* ============================================ */
/* FEATURES SECTION */
/* ============================================ */
.features-section {
  background: var(--color-secondary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(30px);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}
/* ============================================ */
/* HOW IT WORKS SECTION */
/* ============================================ */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 40px;
  align-items: center;
  /* Initial state for animation */
  opacity: 0;
  transform: translateX(50px);
}
.step.reverse {
  transform: translateX(-50px);
}
.step.reverse .step-content {
  order: 2;
}
.step.reverse .step-visual {
  order: 1;
}
.step-number {
  font-size: 72px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
}
.step-content h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}
.step-content p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 400px;
}
.step-visual {
  display: flex;
  justify-content: center;
}
.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  min-width: 280px;
}
.card-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red {
  background: #ef4444;
}
.dot.yellow {
  background: #f59e0b;
}
.dot.green {
  background: #10b981;
}
.card-content {
  padding: 24px;
}
.skeleton-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin-bottom: 12px;
}
.skeleton-line.w-60 {
  width: 60%;
}
.skeleton-line.w-80 {
  width: 80%;
}
.skeleton-btn {
  width: 100px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 6px;
  margin-top: 16px;
}
.code-preview {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 14px;
}
.code-preview code {
  display: block;
  margin-bottom: 8px;
}
.code-preview .success {
  color: #10b981;
}
.code-preview .muted {
  color: var(--text-muted);
}
.metrics-card {
  display: flex;
  gap: 32px;
  padding: 32px;
}
.metric {
  text-align: center;
}
.metric-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-label {
  font-size: 13px;
  color: var(--text-muted);
}
/* ============================================ */
/* TESTIMONIALS SECTION */
/* ============================================ */
.testimonials-section {
  background: var(--color-secondary);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  /* Initial state for animation */
  opacity: 0;
  transform: scale(0.9);
}
.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-color: rgba(99, 102, 241, 0.3);
}
.testimonial-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.author-avatar.gradient-avatar {
  background: var(--accent-gradient);
}
.author-info strong {
  display: block;
  margin-bottom: 2px;
}
.author-info span {
  font-size: 13px;
  color: var(--text-muted);
}
/* ============================================ */
/* PRICING SECTION */
/* ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  position: relative;
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(30px);
}
.pricing-card.popular {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-color: var(--accent-primary);
  transform: scale(1.05) translateY(30px);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
}
.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}
.pricing-header h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-header p {
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-price {
  text-align: center;
  margin-bottom: 32px;
}
.pricing-price .price {
  font-size: 48px;
  font-weight: 700;
}
.pricing-price .period {
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features .icon-check {
  color: #10b981;
}
/* ============================================ */
/* CTA SECTION */
/* ============================================ */
.cta-section {
  background: var(--color-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.orb-cta-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -200px;
  left: -200px;
}
.orb-cta-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -150px;
  right: -150px;
}
.cta-content {
  position: relative;
  z-index: 1;
  /* Initial state for animation */
  opacity: 0;
  transform: scale(0.95);
}
.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-content > p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.cta-buttons {
  margin-bottom: 24px;
}
.cta-note {
  font-size: 14px;
  color: var(--text-muted);
}
/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
  background: var(--bg-body);
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo {
  font-size: 28px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-muted);
}
.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 0;
  font-size: 15px;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--accent-primary);
  text-decoration: none;
}
/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 1024px) {
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .step-number {
    display: none;
  }
  .step-content p {
    max-width: 100%;
  }
  .step.reverse .step-content,
  .step.reverse .step-visual {
    order: unset;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero-stats {
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: scale(1) translateY(30px);
  }
}