/* Base Styles */
:root {
  --purple-50: #faf5ff;
  --purple-100: #4d4d4d;
  --purple-500: #3c3c3c;
  --purple-600: #1e1e1e;
  --purple-700: #111111;
  --purple-800: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --light--stable-light: #56cfbf;
  --light--information-base: #335cff;
  --light--feature-base: #7f5eda;
  --light--warning-light: #d18859;
}

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

body {
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.1;
  color: var(--gray-900);
}

.text-color-gradient {

  
  /* background-image: linear-gradient(205deg, rgba(0, 0, 0, 1) 0%, rgba(23, 23, 23, 1) 41%, rgba(30, 30, 30, 0.66) 77%, rgba(255, 255, 255, 1) 100%); */

  -webkit-text-fill-color: transparent;
  /* background-image: linear-gradient(90deg,#d3458c,#7a53be 52%,#305fe7); */
  
  /* linear-gradient(90deg,var(--light--stable-light),var(--light--information-base),var(--light--feature-base),var(--light--warning-light)); */
  background-image:  linear-gradient(205deg,rgba(0, 0, 0, 1) 0%, rgba(30, 30, 30, 1) 0%, rgba(30, 30, 30, 0.66) 65%, rgba(255, 255, 255, 1) 97%);
  -webkit-background-clip: text;
  background-clip: text;
  width: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* Container Utilities */
.min-h-screen {
  min-height: 100vh;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

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

.justify-end {
  justify-content: flex-end;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Spacing */
.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-x-10 > * + * {
  margin-left: 2.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-3 {
  margin-left: 0.75rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-8 {
  margin-left: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.-mt-16 {
  margin-top: -4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pb-28 {
  padding-bottom: 7rem;
}

.pl-8 {
  padding-left: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

/* Typography */
.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-white {
  color: white;
}

.text-gray-50 {
  color: var(--gray-50);
}

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

.text-gray-500 {
  color: var(--gray-500);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-900 {
  color: var(--gray-900);
}

.text-purple-50 {
  color: var(--purple-50);
}

.text-purple-100 {
  color: var(--purple-100);
}

.text-purple-500 {
  color: var(--purple-500);
}

.text-purple-600 {
  color: var(--purple-600);
}

.text-purple-700 {
  color: var(--purple-700);
}

.text-purple-200 {
  color: rgba(233, 213, 255, 1);
}

/* Background */
.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: var(--gray-50);
}

.bg-gray-200 {
  background-color: var(--gray-200);
}

.bg-purple-50 {
  background-color: var(--purple-50);
}

.bg-purple-100 {
  background-color: var(--purple-100);
}

.bg-purple-500 {
  background-color: var(--purple-500);
}

.bg-purple-600 {
  background-color: var(--purple-600);
}

.bg-purple-700 {
  background-color: var(--purple-700);
}

.bg-purple-800 {
  background-color: var(--purple-800);
}

.hover\:bg-purple-50:hover {
  background-color: var(--purple-50);
}

.hover\:bg-purple-700:hover {
  background-color: var(--purple-700);
}

.hover\:bg-purple-800:hover {
  background-color: var(--purple-800);
}

.hover\:bg-gray-50:hover {
  background-color: var(--gray-50);
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-purple-50 {
  --tw-gradient-from: var(--purple-50);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0));
}

.to-white {
  --tw-gradient-to: white;
}

/* Border */
.border {
  border: 1px solid var(--gray-200);
}

.border-t {
  border-top: 1px solid var(--gray-200);
}

.border-transparent {
  border-color: transparent;
}

.border-gray-200 {
  border-color: var(--gray-200);
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-white {
  border-color: white;
}

.border-purple-200 {
  border-color: #e9d5ff;
}

.border-purple-600 {
  border-color: var(--purple-600);
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadow */
.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.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);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hover\:shadow-lg {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Display */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.z-10 {
  z-index: 10;
}

/* Width & Height */
.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-full {
  height: 100%;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.w-3\/4 {
  width: 75%;
}

.w-4\/5 {
  width: 80%;
}

.w-11\/12 {
  width: 91.666667%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-xl {
  max-width: 36rem;
}

/* Transitions */
.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-5 {
  grid-column: span 5 / span 5;
}

.col-span-7 {
  grid-column: span 7 / span 7;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Media Queries */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\:h-10 {
    height: 2.5rem;
  }
  
  .sm\:mt-0 {
    margin-top: 0;
  }
  
  .sm\:mt-5 {
    margin-top: 1.25rem;
  }
  
  .sm\:mt-8 {
    margin-top: 2rem;
  }
  
  .sm\:mt-12 {
    margin-top: 3rem;
  }
  
  .sm\:ml-3 {
    margin-left: 0.75rem;
  }
  
  .sm\:pb-16 {
    padding-bottom: 4rem;
  }
  
  .sm\:text-lg {
    font-size: 1.125rem;
  }
  
  .sm\:text-4xl {
    font-size: 2.25rem;
  }
  
  .sm\:text-5xl {
    font-size: 3rem;
  }
  
  .sm\:flex {
    display: flex;
  }
  
  .sm\:justify-center {
    justify-content: center;
  }
  
  .sm\:gap-4 {
    gap: 1rem;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .sm\:max-w-xl {
    max-width: 36rem;
  }
  
  .sm\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .md\:w-auto {
    width: auto;
  }
  
  .md\:mt-5 {
    margin-top: 1.25rem;
  }
  
  .md\:mt-8 {
    margin-top: 2rem;
  }
  
  .md\:mt-16 {
    margin-top: 4rem;
  }
  
  .md\:pb-20 {
    padding-bottom: 5rem;
  }
  
  .md\:text-xl {
    font-size: 1.25rem;
  }
  
  .md\:text-3xl {
    font-size: 1.875rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:text-6xl {
    font-size: 3.75rem;
  }
  
  .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\:max-w-3xl {
    max-width: 48rem;
  }
  
  .md\:p-12 {
    padding: 3rem;
  }
  
  .md\:text-left {
    text-align: left;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:space-x-10 > * + * {
    margin-left: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:justify-start {
    justify-content: flex-start;
  }
  
  .lg\:mt-0 {
    margin-top: 0;
  }
  
  .lg\:mt-20 {
    margin-top: 5rem;
  }
  
  .lg\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .lg\:pb-28 {
    padding-bottom: 7rem;
  }
  
  .lg\:flex-grow-0 {
    flex-grow: 0;
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid {
    display: grid;
  }
  
  .lg\:gap-4 {
    gap: 1rem;
  }
  
  .lg\:gap-8 {
    gap: 2rem;
  }
  
  .lg\:gap-12 {
    gap: 3rem;
  }
  
  .lg\:p-12 {
    padding: 3rem;
  }
  
  .lg\:w-1\/2 {
    width: 50%;
  }
  
  .lg\:flex {
    display: flex;
  }
  
  .lg\:flex-shrink-0 {
    flex-shrink: 0;
  }
  
  .lg\:items-center {
    align-items: center;
  }
  
  .lg\:justify-between {
    justify-content: space-between;
  }
  
  .lg\:block {
    display: block;
  }
}

@media (min-width: 1280px) {
  .xl\:mt-28 {
    margin-top: 7rem;
  }
  
  .xl\:pb-32 {
    padding-bottom: 8rem;
  }
}

/* Additional Enhancements */
.hover\:text-purple-700:hover {
  color: var(--purple-700);
}

.hover\:text-gray-900:hover {
  color: var(--gray-900);
}

/* Card Hover Effects */
a.block .border {
  transition: all 0.3s ease;
}

a.block:hover .border {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button Transitions */
.rounded-md {
  transition: all 0.3s ease;
}

/* Hero Background Enhancement */
.bg-gradient-to-b {
  background-size: 100% 100%;
  background-position: 0px 0px;
}

/* Italics */
.italic {
  font-style: italic;
}

/* Better Button Styling */
a[href].bg-purple-600,
a[href].bg-purple-700,
a[href].bg-white {
  transition: all 0.3s ease;
}

a[href].bg-purple-600:hover {
  transform: translateY(-2px);
}

a[href].bg-white.text-purple-600:hover {
  transform: translateY(-2px);
}

/* Stats Cards Animation */
.grid-cols-2.md\:grid-cols-4 > div {
  transition: all 0.3s ease;
}

.grid-cols-2.md\:grid-cols-4 > div:hover {
  transform: scale(1.05);
}

/* Brevo-style Navigation Menu */
.main-nav {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

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

.nav-item {
  position: relative;
  margin: 0 0.75rem;
}

.nav-item > a {
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-item > a:hover {
  color: var(--purple-600);
}

.nav-item > a svg {
  margin-left: 0.25rem;
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s ease;
}

.nav-item:hover > a svg {
  transform: rotate(180deg);
}

/* Fix for transparent dropdown menus - add solid background */
.dropdown-menu, 
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 1rem 0;
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 1200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  flex-wrap: wrap;
}

.nav-item:hover .dropdown-menu,
.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background-color: white; /* Ensure solid background color */
}

.nav-item:hover .mega-dropdown {
  transform: translateX(-50%) translateY(0);
  background-color: white; /* Ensure solid background color */
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  display: block;
  color: var(--gray-700);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--purple-50);
  color: var(--purple-600);
}

.dropdown-section {
  flex: 1;
  min-width: 200px;
  padding: 0 0.7rem;
  margin-bottom: 1rem;
}

.dropdown-heading {
  font-weight: 600;
  color: var(--purple-600);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-700);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background-color: white;
  transition: all 0.3s ease;
  z-index: 2000;
}

.mobile-nav.active {
  height: 100vh;
  overflow-y: auto;
}

.mobile-nav-container {
  padding: 1rem;
}

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-items {
  padding: 1rem 0;
}

.mobile-nav-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-dropdown-btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0;
  cursor: pointer;
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-content.active {
  max-height: 500px;
}

.mobile-dropdown-item {
  padding: 0.5rem 1rem;
  display: block;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.auth-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .auth-buttons {
    display: none;
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
}
