/* Base Styles */
:root {
  --primary-color: #0066ff;
  --primary-hover: #0052cc;
  --secondary-color: #f5f7fa;
  --text-color: #1f293a;
  --text-muted: #6b7280;
  --gray-light: #f5f7fa;
  --gray: #e5e7eb;
  --gray-dark: #9ca3af;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --white: #ffffff;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-color);
  border: 1px solid var(--gray);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--gray);
  color: var(--text-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.logo-mark {
  background-color: var(--primary-color);
  color: white;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-link.login {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background-color: var(--white);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.screenshot {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transform: perspective(800px) rotateY(-5deg);
  transition: var(--transition);
}

.screenshot:hover {
  transform: perspective(800px) rotateY(0);
}

/* Section Styles */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.bg-light {
  background-color: var(--secondary-color);
}

/* How It Works */
.steps {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  padding: 20px;
  margin: 0;
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
  color: var(--white);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Pricing Plans */
.pricing-plans {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 60px;
}

.pricing-plan {
  flex: 1;
  max-width: 350px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-plan:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.pricing-plan.popular {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
  z-index: 1;
}

.popular-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom-left-radius: var(--border-radius);
}

.plan-header {
  text-align: center;
  padding: 30px 20px;
  border-bottom: 1px solid var(--gray);
}

.plan-price {
  margin: 20px 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 30px;
}

.plan-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.plan-features li::before {
  content: "✓";
  color: var(--success);
  position: absolute;
  left: 0;
}

.pricing-plan .btn {
  display: block;
  margin: 0 30px 30px;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 80px 0 30px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 50px;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--gray);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: var(--text-muted);
}

.social-link:hover {
  color: var(--primary-color);
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .steps {
    flex-direction: column;
  }

  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }

  .pricing-plan {
    width: 100%;
    max-width: 400px;
  }

  .pricing-plan.popular {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-column {
    flex: 1 0 40%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 60px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .hero {
    padding: 130px 0 60px;
  }
}
