
/* Base styles */
:root {
  /* Colors */
  --medblue-50: #F0F9FF;
  --medblue-100: #E6F7FF;
  --medblue-200: #BAE7FF;
  --medblue-300: #91D5FF;
  --medblue-400: #69C0FF;
  --medblue-500: #1EAEDB;
  --medblue-600: #0EA5E9;
  --medblue-700: #0C8CCB;
  --medblue-800: #096BAF;
  --medblue-900: #003A8C;
  
  --medpurple-50: #F6F3FF;
  --medpurple-100: #F0E7FF;
  --medpurple-200: #D6BCFA;
  --medpurple-300: #B794F4;
  --medpurple-400: #9B87F5;
  --medpurple-500: #7E69AB;
  --medpurple-600: #6E59A5;
  --medpurple-700: #553C9A;
  --medpurple-800: #44337A;
  --medpurple-900: #322659;
  
  --white: #FFFFFF;
  --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;
  
  --blue-50: #F0F9FF;
  
  --radius: 0.75rem;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-900);
  background-color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.flex-row {
  flex-direction: row;
}

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

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

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

.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

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

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

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

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
}

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

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

.leading-tight {
  line-height: 1.25;
}

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

.text-left {
  text-align: left;
}

.gradient-text {
  background-image: linear-gradient(to right, var(--medblue-600), var(--medpurple-500));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.text-white {

}

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

.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-medblue-300 {
  color: var(--medblue-300);
}

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

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

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

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

/* Backgrounds */
.bg-white {
  background-color: var(--white);
}

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

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

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--medblue-500), var(--medpurple-500));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--white), var(--blue-50));
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--white), var(--blue-50));
}

.from-medblue-500 {
  --tw-gradient-from: var(--medblue-500);
}

.to-medpurple-500, .to-medpurple-600 {
  --tw-gradient-to: var(--medpurple-500);
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

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

.rounded-2xl {
  border-radius: 1rem;
}

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

.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

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

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

.border-medblue-300 {
  border-color: var(--medblue-300);
}

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

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Spacing */
.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

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

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

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

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

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

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

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

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

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

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

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

.pt-12 {
  padding-top: 3rem;
}

.pt-16 {
  padding-top: 4rem;
}

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

.pt-40 {
  padding-top: 10rem;
}

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

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

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

.pb-24 {
  padding-bottom: 6rem;
}

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

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

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

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

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

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

.mb-10 {
  margin-bottom: 2.5rem;
}

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

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

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

.mr-4 {
  margin-right: 1rem;
}

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

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

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

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

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

/* Layout */
.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.top-full {
  top: 100%;
}

.top-1\/2 {
  top: 50%;
}

.bottom-4 {
  bottom: 1rem;
}

.left-0 {
  left: 0;
}

.left-1\/2 {
  left: 50%;
}

.right-4 {
  right: 1rem;
}

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

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

.w-full {
  width: 100%;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-28 {
  width: 7rem;
}

.w-44 {
  width: 11rem;
}

.h-6 {
  height: 1.5rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-28 {
  height: 7rem;
}

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

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

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

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* Transforms */
.transform {
  transform: translateX(0) translateY(0);
}

.rotate-3 {
  transform: rotate(3deg);
}

.-rotate-12 {
  transform: rotate(-12deg);
}

.-translate-x-1\/4 {
  transform: translateX(-25%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.translate-y-full {
  transform: translateY(100%);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:translate-y-1:hover {
  transform: translateY(-0.25rem);
}

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

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

.focus\:outline-none:focus {
  outline: none;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px var(--medblue-200);
}

.focus\:ring-offset-2:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--medblue-300);
}

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

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

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse-light {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-pulse-light {
  animation: pulse-light 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Component Styles */
.btn-primary {
  padding: 0.75rem 1.5rem;
  background-image: linear-gradient(to right, var(--medblue-500), var(--medpurple-500));
  color: white;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: transform 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--medblue-300);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background-color: var(--white);
  color: var(--medpurple-600);
  border: 1px solid var(--medpurple-200);
  border-radius: 0.5rem;
  font-weight: 500;
  transition: transform 0.3s, background-color 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  transform: scale(1.05);
  background-color: var(--medpurple-50);
}

.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--medpurple-300);
}

.card-hover {
  transition: all 0.3s;
}

.card-hover:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-0.25rem);
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.glass-effect {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
input, textarea, select {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--medblue-300);
  box-shadow: 0 0 0 2px var(--medblue-200);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-button {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0.5rem;
}

.accordion-button:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.accordion-panel {
  padding: 0 1.5rem 1rem 1.5rem;
  color: var(--gray-600);
}

.accordion-icon {
  transition: transform 0.3s;
}

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

/* Toast */
.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #22C55E;
  color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s;
  z-index: 50;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive design */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:space-y-0 > * + * {
    margin-top: 0;
  }
  
  .sm\:space-x-4 > * + * {
    margin-left: 1rem;
  }
  
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:text-sm {
    font-size: 0.875rem;
  }
  
  .md\:text-2xl {
    font-size: 1.5rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
  
  .md\:p-3 {
    padding: 0.75rem;
  }
  
  .md\:h-28 {
    height: 7rem;
  }
  
  .md\:w-28 {
    width: 7rem;
  }
  
  .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\:mb-0 {
    margin-bottom: 0;
  }
  
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .md\:pt-40 {
    padding-top: 10rem;
  }
  
  .md\:pb-24 {
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }
  
  .lg\:w-1\/2 {
    width: 50%;
  }
  
  .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\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:mb-0 {
    margin-bottom: 0;
  }
  
  .lg\:max-w-full {
    max-width: 100%;
  }
}

@media (min-width: 1280px) {
  .xl\:text-6xl {
    font-size: 3.75rem;
  }
}

.hidden {
  display: none;
}
