/* Base Styles */
:root {
  --primary: #3154F5;
  --primary-hover: #2845E3;
  --secondary: #12B76A;
  --accent: #9747FF;
  --accent-yellow: #FEC84B;
  --text-primary: #1D2939;
  --text-secondary: #667085;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 16px;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-white {
  background-color: #fff;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gray-600);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: inline-block;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary-full, .btn-outline-full {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
}

.btn-primary-full {
  background-color: var(--primary);
  color: #fff;
}

.btn-outline-full {
  background-color: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

/* Header/Navbar */
.sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.desktop-nav {
  display: none;
}

.nav-buttons {
  display: none;
}

.mobile-menu-button {
  display: block;
  background: transparent;
  color: var(--gray-600);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
  box-shadow: var(--shadow-xl);
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-container {
  padding: 2rem;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: var(--gray-500);
}

.mobile-menu nav {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.75rem 0;
}

.mobile-menu nav a:hover {
  color: var(--primary);
}

.mobile-nav-buttons {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .desktop-nav a {
    margin-left: 2rem;
    font-weight: 500;
    color: var(--gray-600);
  }

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

  .nav-buttons {
    display: flex;
    align-items: center;
  }

  .nav-buttons button {
    margin-left: 1rem;
  }

  .mobile-menu-button {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 3rem 0 6rem;
  background-color: #fff;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.text-primary {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-feature {
  display: flex;
  align-items: center;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  color: var(--secondary);
}

.dot {
  margin: 0 0.75rem;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.image-container {
  position: relative;
  z-index: 1;
}

.image-container img {
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.accent-shape {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 0.75rem;
  z-index: -1;
}

.accent-yellow {
  background-color: var(--accent-yellow);
  right: -1rem;
  bottom: -1rem;
}

.accent-blue {
  background-color: var(--primary);
  left: -1rem;
  top: -1rem;
}

.trusted-by {
  margin-top: 5rem;
  text-align: center;
}

.trusted-by p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
}

.placeholder-logo {
  width: 6rem;
  height: 2rem;
  background-color: var(--gray-200);
  border-radius: 0.25rem;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
  }

  .logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1;
    text-align: left;
    padding-right: 3rem;
    margin-bottom: 0;
  }

  .hero-image {
    flex: 1;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-features {
    justify-content: flex-start;
  }
}

/* Section Styling */
.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  background-color: var(--gray-50);
  transition: box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(49, 84, 245, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.step {
  text-align: center;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.step img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.cta-center {
  text-align: center;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Examples Section */
.examples {
  padding: 5rem 0;
  background-color: #fff;
}

.examples-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.example-card {
  padding: 1.5rem;
  background-color: var(--gray-50);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.example-card h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.example-side {
  text-align: center;
}

.label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.example-side img {
  border-radius: 0.375rem;
  border: 1px solid var(--gray-200);
  width: 100%;
  height: auto;
}

.transparent-bg {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImNoZWNrZXJib2FyZCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiB4PSIwIiB5PSIwIj48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9IiNmOWZhZmIiLz48cmVjdCB4PSIxMCIgeT0iMCIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBmaWxsPSIjZjNmNGY2Ii8+PHJlY3QgeD0iMCIgeT0iMTAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgZmlsbD0iI2YzZjRmNiIvPjxyZWN0IHg9IjEwIiB5PSIxMCIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBmaWxsPSIjZjlmYWZiIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2NoZWNrZXJib2FyZCkiLz48L3N2Zz4=');
  border-radius: 0.375rem;
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100%;
  text-align: center;
}

.placeholder-image svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.placeholder-image p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

.use-cases {
  text-align: center;
}

.use-cases h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.use-case {
  padding: 1rem;
  background-color: var(--gray-50);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.use-case svg {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.use-case p {
  font-weight: 500;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-case-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.pricing-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.pricing-plan {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-plan:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-plan.popular {
  position: relative;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
}

.popular-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-yellow);
  color: var(--gray-800);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-bottom-left-radius: 0.5rem;
}

.plan-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-plan.popular .plan-header {
  background-color: rgba(49, 84, 245, 0.05);
}

.plan-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.plan-header p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.period {
  color: var(--gray-500);
  margin-left: 0.5rem;
}

.plan-features {
  padding: 1.5rem;
}

.plan-features ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
}

.feature-included svg, .feature-excluded svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.125rem;
}

.feature-included .check-icon {
  color: var(--secondary);
}

.x-icon {
  color: var(--gray-400);
}

.feature-excluded {
  color: var(--gray-400);
}

.enterprise-cta {
  text-align: center;
  margin-top: 3rem;
}

.enterprise-cta p {
  color: var(--gray-500);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .pricing-plans {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-plan.popular {
    transform: translateY(-1rem) scale(1.05);
  }
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: #fff;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

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

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

.accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 20rem;
}

.accordion-content p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.faq-contact {
  text-align: center;
  margin-top: 3rem;
}

.faq-contact p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 24rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background-color: var(--gray-900);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: color 0.2s ease-in-out;
}

.social-links a:hover {
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: var(--gray-400);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-bottom p {
  color: var(--gray-400);
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: white;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 3fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}