* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated color scheme inspired by ReplyRush: light background with purple/magenta accents */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f3f4f6;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --accent-primary: #8b5cf6;
  --accent-secondary: #d946ef;
  --accent-tertiary: #ec4899;
  --border-color: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Sticky navbar with enhanced styling and smooth transitions */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Enhanced button styles with gradient and smooth hover effects */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border: none;
  padding: 0.85rem 1.85rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

/* Hero section with enhanced animations and smooth gradient background */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
  position: relative;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(217, 70, 239, 0.05) 100%);
  border-radius: 20px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(217, 70, 239, 0.1));
  color: var(--accent-primary);
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 0.8s ease-out 0.1s both;
  letter-spacing: -0.5px;
  font-weight: 900;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInRight 0.8s ease-out 0.2s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animated gradient orbs with floating animation */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
}

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

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  top: -50px;
  right: -50px;
  animation-delay: 0s;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-tertiary));
  bottom: -50px;
  left: -50px;
  animation-delay: 2s;
}

.tech-preview {
  position: relative;
  z-index: 10;
  animation: scaleIn 0.8s ease-out 0.4s both;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.preview-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.preview-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 30px 70px rgba(139, 92, 246, 0.15);
  transform: translateY(-8px);
}

.preview-header {
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--accent-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-left: 4px solid var(--border-color);
}

.reply {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(217, 70, 239, 0.08));
  padding: 1rem;
  border-radius: 8px;
  color: var(--accent-primary);
  font-size: 0.9rem;
  border-left: 4px solid var(--accent-primary);
  font-weight: 600;
}

/* Stats section with counter animation */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.stat-value {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features section with improved grid and card animations */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.features > h2 {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 900;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 4rem;
  font-weight: 500;
}

.features-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-category {
  animation: fadeInUp 0.6s ease-out;
}

.category-title {
  font-size: 1.85rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.12);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

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

/* Benefits section with improved visual hierarchy */
.benefits {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(217, 70, 239, 0.08));
  border-radius: 20px;
  margin-bottom: 4rem;
  border: 2px solid rgba(139, 92, 246, 0.1);
}

.benefits > h2 {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 900;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.15);
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1.15);
  }
  50% {
    transform: scale(1.25);
  }
}

.benefit-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 500;
}

/* CTA section with enhanced form styling */
.cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(217, 70, 239, 0.1));
  border-radius: 20px;
  border: 2px solid var(--border-color);
  animation: fadeIn 0.8s ease-out;
}

.cta h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta > p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  background: white;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: 1.1rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  flex: 1;
  min-width: 250px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.newsletter-form input::placeholder {
  color: var(--text-secondary);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
  background: white;
}

.newsletter-form button {
  white-space: nowrap;
}

.form-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 10px;
  display: none;
  font-weight: 600;
  animation: slideInUp 0.3s ease-out;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 2px solid #10b981;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 2px solid #ef4444;
}

/* Enhanced footer styling */
.footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1.25rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-section p {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-secondary);
  border-top: 2px solid var(--border-color);
  padding-top: 2rem;
  font-weight: 500;
}

/* Enhanced animations keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1rem 4rem;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    gap: 1.25rem;
    font-size: 0.85rem;
  }

  .features > h2 {
    font-size: 2rem;
  }

  .benefits > h2 {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    min-width: unset;
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .preview-card {
    max-width: 100%;
  }
}

