/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --flowup-primary: #9b87f5;
  --flowup-secondary: #7E69AB;
  --flowup-tertiary: #6E59A5;
  --flowup-darkpurple: #1A1F2C;
  --flowup-lightpurple: #F1F0FB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border: 1px solid #e2e8f0;
}

.border-t {
  border-top: 1px solid;
}

.border-gray-700 {
  border-color: #4a5568;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.w-full {
  width: 100%;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-16 {
  width: 4rem;
}

.w-32 {
  width: 8rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.h-12 {
  height: 3rem;
}

.h-32 {
  height: 8rem;
}

.max-w-full {
  max-width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.bg-white {
  background-color: #ffffff;
}

.bg-flowup-primary {
  background-color: var(--flowup-primary);
}

.bg-flowup-lightpurple {
  background-color: var(--flowup-lightpurple);
}

.bg-flowup-darkpurple {
  background-color: var(--flowup-darkpurple);
}

.text-white {
  color: #ffffff;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-700 {
  color: #4a5568;
}

.text-flowup-primary {
  color: var(--flowup-primary);
}

/* Components */
.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.object-cover {
  object-fit: cover;
}

.overflow-hidden {
  overflow: hidden;
}

.form-group {
  margin-bottom: 1rem;
}

/* CTA Buttons */
.cta {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.cta-primary {
  background: linear-gradient(90deg, var(--flowup-primary), var(--flowup-secondary));
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.cta-secondary {
  background-color: #ffffff;
  color: var(--flowup-primary);
  border: 2px solid var(--flowup-primary);
}

.cta-secondary:hover {
  background-color: rgba(241, 240, 251, 0.1);
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 50;
}

header a {
  text-decoration: none;
  color: #4a5568;
  transition: color 0.2s ease;
}

header a:hover {
  color: var(--flowup-primary);
}

/* Footer styles */
footer {
  background-color: var(--flowup-darkpurple);
  color: #ffffff;
}

footer a {
  text-decoration: none;
  color: #d1d5db;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff;
}

/* Custom components */
.section-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--flowup-primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
  margin-right: 0.75rem;
}

.check-list {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.bg-gradient-flowup {
  background: linear-gradient(90deg, var(--flowup-primary), var(--flowup-secondary));
}

/* Animation for fade-in */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media queries */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }

  .md\:text-left {
    text-align: left;
  }
  
  .md\:text-xl {
    font-size: 1.25rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  
  .md\:mb-0 {
    margin-bottom: 0;
  }
  
  .md\:h-16 {
    height: 4rem;
  }
  
  .md\:justify-start {
    justify-content: flex-start;
  }
  
  .flex-shrink-0 {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .lg\:text-5xl {
    font-size: 3rem;
  }
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Form elements */
input, textarea {
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
  border-color: var(--flowup-primary);
}