/* Reset and Base Styles */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif;
}

body {
  margin: 0;
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

svg {
  display: block;
  vertical-align: middle;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in-delayed {
  animation: fadeIn 0.7s ease-out 0.1s both;
}

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

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

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

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

/* Display */
.hidden {
  display: none;
}

.grid {
  display: grid;
}

.flex {
  display: flex;
}

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

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

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

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

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

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

/* Flexbox */
.flex-wrap {
  flex-wrap: wrap;
}

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

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

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

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

/* Gap */
.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

/* Padding */
.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

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

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

.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-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

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

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-28 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

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

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

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

/* Width & Height */
.h-8 {
  height: 2rem;
}

.h-9 {
  height: 2.25rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-28 {
  height: 7rem;
}

.w-8 {
  width: 2rem;
}

.w-9 {
  width: 2.25rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-full {
  width: 100%;
}

/* Border Radius */
.rounded-lg {
  border-radius: 0.5rem;
}

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

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

.rounded-3xl {
  border-radius: 1.5rem;
}

/* Border */
.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

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

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-slate-100 {
  border-color: rgb(241 245 249);
}

.border-slate-200 {
  border-color: rgb(226 232 240);
}

.border-slate-300 {
  border-color: rgb(203 213 225);
}

.border-white {
  border-color: rgb(255 255 255);
}

/* Background Colors */
.bg-white {
  background-color: rgb(255 255 255);
}

.bg-slate-50 {
  background-color: rgb(248 250 252);
}

.bg-slate-100 {
  background-color: rgb(241 245 249);
}

.bg-slate-200 {
  background-color: rgb(226 232 240);
}

.bg-slate-700 {
  background-color: rgb(51 65 85);
}

.bg-slate-800 {
  background-color: rgb(30 41 59);
}

.bg-slate-900 {
  background-color: rgb(15 23 42);
}

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

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

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

.from-white {
  --tw-gradient-from: rgb(255 255 255);
  --tw-gradient-to: rgb(255 255 255 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-slate-900 {
  --tw-gradient-from: rgb(15 23 42);
  --tw-gradient-to: rgb(15 23 42 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-slate-50 {
  --tw-gradient-to: rgb(248 250 252);
}

.to-slate-600 {
  --tw-gradient-to: rgb(71 85 105);
}

.to-slate-700 {
  --tw-gradient-to: rgb(51 65 85);
}

/* Colorful gradient backgrounds for icons */
.from-blue-500 {
  --tw-gradient-from: rgb(59 130 246);
  --tw-gradient-to: rgb(59 130 246 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-blue-600 {
  --tw-gradient-to: rgb(37 99 235);
}

.from-purple-500 {
  --tw-gradient-from: rgb(168 85 247);
  --tw-gradient-to: rgb(168 85 247 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-purple-600 {
  --tw-gradient-to: rgb(147 51 234);
}

.from-green-500 {
  --tw-gradient-from: rgb(34 197 94);
  --tw-gradient-to: rgb(34 197 94 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-green-600 {
  --tw-gradient-to: rgb(22 163 74);
}

.to-emerald-600 {
  --tw-gradient-to: rgb(5 150 105);
}

.from-orange-500 {
  --tw-gradient-from: rgb(249 115 22);
  --tw-gradient-to: rgb(249 115 22 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-orange-600 {
  --tw-gradient-to: rgb(234 88 12);
}

.to-red-600 {
  --tw-gradient-to: rgb(220 38 38);
}

.from-cyan-500 {
  --tw-gradient-from: rgb(6 182 212);
  --tw-gradient-to: rgb(6 182 212 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-violet-500 {
  --tw-gradient-from: rgb(139 92 246);
  --tw-gradient-to: rgb(139 92 246 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-pink-600 {
  --tw-gradient-to: rgb(219 39 119);
}

.from-indigo-600 {
  --tw-gradient-from: rgb(79 70 229);
  --tw-gradient-to: rgb(79 70 229 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-indigo-600 {
  --tw-gradient-to: rgb(79 70 229);
}

/* Background Clip */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

/* Brand accent utilities */
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at top right,
      rgba(79, 70, 229, 0.16),
      transparent 55%
    ),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03), transparent);
  pointer-events: none;
}

.hero-title-gradient {
  background-image: linear-gradient(
    to right,
    rgb(15 23 42),
    rgb(37 99 235),
    rgb(56 189 248)
  );
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgb(15 23 42);
  background: linear-gradient(
    to right,
    rgba(56, 189, 248, 0.18),
    rgba(37, 99, 235, 0.18)
  );
  box-shadow:
    0 18px 40px -24px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(148, 163, 184, 0.3);
}

.hero-pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f9fafb, rgb(56, 189, 248));
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.28);
}

.section-accent {
  background:
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.05),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(37, 99, 235, 0.06),
      transparent 55%
    );
}

.card-accent {
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.12),
    rgba(248, 250, 252, 0.96)
  );
  border-color: rgba(148, 163, 184, 0.6);
}

.card-elevated {
  box-shadow:
    0 18px 40px -24px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(148, 163, 184, 0.18);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    background-color 0.18s ease-out,
    border-color 0.18s ease-out;
}

.card-elevated:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 45px -26px rgba(15, 23, 42, 0.4),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  background-color: rgb(248 250 252);
  border-color: rgb(203 213 225);
}

.card-elevated > .p-6 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.cta-gradient-strong {
  background-image: linear-gradient(
    to right,
    rgb(15 23 42),
    rgb(30 64 175),
    rgb(8 47 73)
  );
}

.text-accent-soft {
  color: rgb(56 189 248);
}

.text-accent-success {
  color: rgb(16 185 129);
}

/* Text Colors */
.text-white {
  color: rgb(255 255 255);
}

.text-slate-200 {
  color: rgb(226 232 240);
}

.text-slate-400 {
  color: rgb(148 163 184);
}

.text-slate-500 {
  color: rgb(100 116 139);
}

.text-slate-600 {
  color: rgb(71 85 105);
}

.text-slate-800 {
  color: rgb(30 41 59);
}

.text-slate-900 {
  color: rgb(15 23 42);
}

.text-transparent {
  color: transparent;
}

/* Font Size */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

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

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

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

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

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

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

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

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

/* Font Weight */
.font-medium {
  font-weight: 500;
}

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

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

/* Line Height */
.leading-tight {
  line-height: 1.25;
}

/* Letter Spacing */
.tracking-tight {
  letter-spacing: -0.025em;
}

/* Box Shadow */
.shadow-xl {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Backdrop Filter */
.backdrop-blur {
  backdrop-filter: blur(8px);
}

.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

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

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

/* Hover States */
.hover\:text-slate-900:hover {
  color: rgb(15 23 42);
}

.hover\:bg-slate-50:hover {
  background-color: rgb(248 250 252);
}

.hover\:bg-slate-100:hover {
  background-color: rgb(241 245 249);
}

.hover\:bg-slate-800:hover {
  background-color: rgb(30 41 59);
}

.hover\:bg-white\/10:hover {
  background-color: rgb(255 255 255 / 0.1);
}

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

/* Responsive Design - Small screens (sm: 640px) */
@media (min-width: 640px) {
  .sm\:inline-flex {
    display: inline-flex;
  }

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

/* Responsive Design - Medium screens (md: 768px) */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:block {
    display: block;
  }

  .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-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

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

  .md\:col-span-6 {
    grid-column: span 6 / span 6;
  }

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

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

  .md\:py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* Responsive Design - Large screens (lg: 1024px) */
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: white;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgb(241 245 249);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(15 23 42);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(100 116 139);
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: rgb(241 245 249);
  color: rgb(15 23 42);
}

.modal-body {
  padding: 1.5rem;
}

.modal-description {
  color: rgb(71 85 105);
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(30 41 59);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: rgb(15 23 42);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(15 23 42);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-message {
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgb(220 252 231);
  color: rgb(22 101 52);
  border: 1px solid rgb(134 239 172);
}

.form-message.error {
  display: block;
  background-color: rgb(254 226 226);
  color: rgb(153 27 27);
  border: 1px solid rgb(252 165 165);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.btn-primary {
  background-color: rgb(15 23 42);
  color: white;
  border: none;
}

.btn-primary:hover:not(:disabled) {
  background-color: rgb(30 41 59);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: white;
  color: rgb(71 85 105);
  border: 1px solid rgb(203 213 225);
}

.btn-secondary:hover {
  background-color: rgb(248 250 252);
}

/* Book a Demo Button Styles */
#bookDemoBtn,
#bookDemoBtn2 {
  cursor: pointer;
  transition: all 0.2s ease;
}

#bookDemoBtn:hover {
  background-color: rgb(248 250 252);
  transform: translateY(-1px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#bookDemoBtn2:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive Form */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 0;
    max-height: 100vh;
    border-radius: 0;
  }
}
