/*
! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/

html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

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

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

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

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

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

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

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

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

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

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

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

.block {
  display: block;
}

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

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.w-full {
  width: 100%;
}

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

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

.max-w-none {
  max-width: none;
}

.flex-1 {
  flex: 1 1 0%;
}

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

.grow {
  flex-grow: 1;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.list-none {
  list-style-type: none;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

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

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

.gap-8 {
  gap: 2rem;
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.break-words {
  overflow-wrap: break-word;
}

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

.border {
  border-width: 1px;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

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

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

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

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

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

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

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

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

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

.text-smd {
  font-size: 0.813rem;
}

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

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

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

.uppercase {
  text-transform: uppercase;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-primary-accent {
  --tw-text-opacity: 1;
  color: rgb(192 38 211 / var(--tw-text-opacity));
}

.text-secondary-text {
  color: rgba(255, 255, 255, 0.85);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

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

.below-fold {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

:root {
  --primary-accent: #C026D3;
  --secondary-accent: #2563EB;
  --primary-text: #F1F5F9;
  --secondary-text: #94A3B8;
  --muted-text: #64748B;
  --dividers-neutral: #374151;
  --hover-focus-bg: #374151;
  --glow-effect: rgba(192, 38, 211, 0.6);
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --background-start: #0D1117;
  --background-end: #000000;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --ui: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

h1,h2,h3 {
  font-family: var(--ui);
  font-weight: 700;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #0f172a 50%, #1e293b 75%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  background-attachment: fixed;
  color: var(--primary-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(192, 38, 211, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.02) 49%, rgba(255, 255, 255, 0.02) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.01) 49%, rgba(255, 255, 255, 0.01) 51%, transparent 52%);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-hidden {
  transform: translateY(-100%);
}

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

.navbar .nav-links {
  flex: 1;
  justify-content: center;
  margin: 0 2rem;
}

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

/* Button System */

.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
}

.btn-primary {
  background: var(--primary-accent);
  color: white;
  border-color: var(--primary-accent);
}

.btn-primary:hover {
  background: #A21CAF;
  border-color: #A21CAF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 38, 211, 0.4);
}

.btn-primary:focus-visible {
  box-shadow: 0 0 0 2px rgba(192, 38, 211, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-accent);
  border-color: var(--secondary-accent);
}

.btn-secondary:hover {
  background: var(--secondary-accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary:focus-visible {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--secondary-text);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--card-bg);
  color: var(--primary-text);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-secondary, .btn-ghost {
    transition: none;
  }

  .btn-primary:hover, .btn-secondary:hover {
    transform: none;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-text);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  margin-right: 5px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-accent);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 1001;
  min-width: 200px;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--secondary-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-menu a:hover {
  color: var(--primary-accent);
  background-color: var(--hover-focus-bg);
}

.dropdown-menu.show-dropdown {
  display: block;
}

.main-content {
  padding-top: 80px;
  flex-grow: 1;
  /* Added for sticky footer */
}

.hero {
  text-align: center;
  padding: 4rem 2rem 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-text);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted-text);
}

.trust-item {
  white-space: nowrap;
}

.trust-divider {
  color: var(--muted-text);
}

.workflow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-width: 100px;
}

.step-icon {
  font-size: 2rem;
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 50%;
  border: 1px solid var(--card-border);
}

.workflow-arrow {
  font-size: 1.5rem;
  color: var(--secondary-accent);
  font-weight: bold;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--primary-text);
  font-size: 1rem;
}

.testimonial cite {
  color: var(--muted-text);
  font-size: 0.9rem;
}

.satisfaction-guarantee {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--secondary-accent);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.satisfaction-guarantee p {
  margin: 0;
  color: var(--primary-text);
  font-size: 0.95rem;
}

/* Container and Layout */

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

/* Section Spacing */

.py-16 {
  padding: 4rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .md\:py-24 {
    padding: 6rem 0;
  }
}

/* Section Framing */

.content-section {
  position: relative;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  opacity: 0.6;
}

.content-section:first-of-type::before {
  display: none;
}

/* Section backgrounds with subtle gradients */

.content-section:nth-child(even) {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  border-radius: 2px;
}

/* Value Proposition Cards */

.value-prop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-prop-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .value-prop-card:hover {
    transform: none;
  }
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-prop-card h3 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-prop-card p {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.card-link {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #A21CAF;
}

/* Use Case Cards */

.use-case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  min-height: 200px;
  /* Ensure container has height */
}

.use-case-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .use-case-card:hover {
    transform: none;
  }
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-header h3 {
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.industry-tag {
  background: rgba(37, 99, 235, 0.2);
  color: var(--secondary-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.metric-chip {
  background: rgba(192, 38, 211, 0.2);
  color: var(--primary-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.before, .after {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.before h4, .after h4 {
  color: var(--primary-text);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.before h4 {
  color: #EF4444;
}

.after h4 {
  color: #10B981;
}

.before ul, .after ul {
  margin: 0;
  padding-left: 1rem;
  list-style-type: disc;
}

.before li, .after li {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-actions .btn-primary,
.card-actions .btn-secondary {
  flex: 1;
  min-width: 120px;
}

@media (max-width: 768px) {
  .use-case-cards {
    grid-template-columns: 1fr;
  }

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

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-header h3 {
    min-width: auto;
  }
}

/* Case Study Header */

.case-study-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.case-study-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.client-info h1 {
  color: var(--primary-text);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.meta-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.location-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.results-summary {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.result-label {
  display: block;
  color: var(--secondary-text);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.result-value {
  display: block;
  color: var(--primary-accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.problem-solution {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.problem, .solution, .result {
  flex: 1;
  min-width: 200px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
}

.problem h2, .solution h2, .result h2 {
  color: var(--primary-text);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.problem h2 {
  color: #EF4444;
}

.solution h2 {
  color: var(--secondary-accent);
}

.result h2 {
  color: #10B981;
}

.problem p, .solution p, .result p {
  color: var(--secondary-text);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.arrow {
  font-size: 1.5rem;
  color: var(--secondary-accent);
  font-weight: bold;
}

/* Sticky CTA */

.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sticky-cta-content span {
  color: var(--primary-text);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .case-study-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-info h1 {
    font-size: 2rem;
  }

  .problem-solution {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .sticky-cta {
    position: static;
    margin: 2rem;
  }

  .sticky-cta-content {
    justify-content: center;
    text-align: center;
  }
}

/* Ensure chatbot doesn't overlap with sticky elements */

flowise-chatbot {
  z-index: 9999 !important;
}

.sticky-cta {
  z-index: 999 !important;
}

/* Additional spacing for pages with sticky CTAs */

@media (max-width: 768px) {
  body.has-sticky-cta {
    padding-bottom: 6rem;
  }
}

/* About Section */

.founders-section {
  margin-bottom: 4rem;
}

.founders-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.founders-intro h3 {
  color: var(--primary-text);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.founders-intro p {
  color: var(--secondary-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.founders-photos {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.founder-card {
  text-align: center;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.founder-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  border-color: rgba(192, 38, 211, 0.2);
}

.founder-card h3 {
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.founder-card .founder-title {
  color: var(--primary-accent);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.founder-card .founder-bio {
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Updated founder photo styling for about page - larger, rectangular frames */

.founder-photo {
  width: 280px;
  height: 320px;
  border-radius: 1rem;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.founder-photo:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
  border-color: rgba(192, 38, 211, 0.3);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  border-radius: 0.8rem;
  transition: transform 0.3s ease;
}

/* Specific optimization for Chris Ables photo */

.founder-photo img[src="chris beige jacket v3.png"] {
  -o-object-position: center 25%;
     object-position: center 25%;
}

/* Specific optimization for Will Ables photo */

.founder-photo img[src="Will Ables Headshot.jpg"] {
  -o-object-position: center 20%;
     object-position: center 20%;
}

.founder-photo img:hover {
  transform: scale(1.05);
}

/* Responsive design for founder cards */

@media (max-width: 768px) {
  .founders-photos {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }

  .founder-card {
    max-width: 280px;
    padding: 1.5rem 1rem;
  }

  .founder-photo {
    width: 240px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .founder-photo {
    width: 200px;
    height: 240px;
  }

  .founder-card {
    max-width: 240px;
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founder-photo img,
  .founder-card,
  .founder-photo {
    transition: none;
  }

  .founder-photo:hover {
    transform: none;
  }

  .founder-card:hover {
    transform: none;
  }
}

/* About page specific styles */

.about-hero {
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  padding: 8rem 0 4rem 0;
  margin-top: -1rem;
}

.about-hero .page-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-text) 0%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-hero .page-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 0.5rem;
}

.about-stats .stat-label {
  color: var(--secondary-text);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-hero .page-title {
    font-size: 2.5rem;
  }

  .about-stats {
    gap: 1rem;
  }

  .about-stats .stat-item {
    padding: 1rem;
    min-width: 120px;
  }
}

.placeholder-photo {
  font-size: 3rem;
  color: var(--secondary-text);
}

.founder-card h4 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.founder-card p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  margin: 0;
}

.delivery-process {
  margin-bottom: 4rem;
}

.delivery-process h3 {
  color: var(--primary-text);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  max-width: 280px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}

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

.process-step h4 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.process-step p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--secondary-accent);
  font-weight: bold;
  margin: 0 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem;
}

.info-card h4 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card li {
  color: var(--secondary-text);
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

.info-card p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.info-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .founders-photos {
    gap: 2rem;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */

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

.contact-form h3 {
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.contact-form > p {
  color: var(--secondary-text);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.quick-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem;
}

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

.form-group label {
  display: block;
  color: var(--primary-text);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  color: var(--primary-text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.08);
}

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

.form-confirmation {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  border-radius: 0.5rem;
  color: #10B981;
  text-align: center;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-card h3 {
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.contact-card > p {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.calendar-placeholder {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--secondary-accent);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.calendar-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.calendar-placeholder p {
  color: var(--secondary-text);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.contact-details {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-details h4 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
}

.contact-item {
  color: var(--secondary-text);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 0 var(--glow-effect);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px 10px rgba(0, 179, 179, 0.2);
}

.content-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Two columns for larger screens */
  gap: 2rem;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    /* Single column for smaller screens */
  }

  .navbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    /* Adjusted padding for better centering */
    gap: 0.5rem;
    /* Reduced gap for mobile */
  }

  .nav-links {
    flex-direction: row;
    justify-content: center;
    /* Start from left instead of centering full width */
    gap: 0.75rem;
    /* Reduce spacing between items */
    padding: 0 1rem;
    /* Add breathing room from screen edges */
    align-items: center;
    /* Center buttons horizontally */
    margin-left: 0;
    /* Remove margin for centering */
  }

  .nav-links a {
    line-height: 1;
    white-space: nowrap;
  }

  .logo {
    white-space: nowrap;
    font-size: 1.2rem;
    /* Adjust font size for smaller screens if needed */
    justify-content: center;
    /* Center content within the logo */
    width: 100%;
    /* Ensure logo takes full width for centering */
    gap: 0rem;
    /* Further reduced gap between logo image and text */
    margin-left: -35px;
    /* Shift logo to the left to center the text */
  }

  .logo span {
    /* Target the text inside the logo */
    line-height: 1;
  }

  .logo-img {
    margin-right: 0;
    /* Remove margin for centering */
  }
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card-grid .use-case-3-card {
}

.centered-card-container {
  grid-column: 1 / -1;
  /* Span all columns */
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  /* Add some space above it */
}

.centered-card-container .card {
  width: 50%;
  /* Make the card take half the width of the container, matching the other cards */
}

@media (max-width: 768px) {
  .centered-card-container .card {
    width: 100%;
    /* Full width on smaller screens */
  }
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-accent);
  margin-top: 0;
  margin-bottom: 1rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback for cases where JS doesn't load or intersection observer fails */

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure use case cards are visible after 2 seconds if JS fails */

.use-case-card.fade-in {
  animation: ensureVisible 0.1s ease-out 2s forwards;
}

@keyframes ensureVisible {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Immediate fix: Make use case cards visible on use-cases page */

#use-cases-content .use-case-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--dividers-neutral);
  color: var(--secondary-text);
}

.background-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.background-shapes.visible {
  opacity: 1;
}

.shape {
  position: absolute;
  background: linear-gradient(135deg, rgba(192, 38, 211, 0.12), rgba(37, 99, 235, 0.08));
  opacity: 0.4;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: professionalFloat 20s ease-in-out infinite;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.shape:nth-child(even) {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.06));
  animation-duration: 25s;
  animation-delay: -5s;
}

.shape:nth-child(3n) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(192, 38, 211, 0.06));
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes professionalFloat {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.2;
  }

  25% {
    transform: translateY(-30px) translateX(20px) scale(1.1);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-10px) translateX(-15px) scale(0.9);
    opacity: 0.3;
  }

  75% {
    transform: translateY(-40px) translateX(10px) scale(1.05);
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
    opacity: 0.1;
  }
}

#chatbot-overlay {
  position: fixed;
  bottom: 60px;
  /* Adjusted to be closer */
  right: 10px;
  /* Adjusted to shift right */
  color: var(--primary-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px;
  border-radius: 5px;
  z-index: 999;
  display: block;
  /* Initially visible */
}

@media (max-width: 768px) {
  #chatbot-overlay {
    right: 5px;
    /* Adjusted for mobile */
  }
}

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

/* Hide the Use Cases dropdown on mobile */

@media (max-width: 768px) {
  .dropdown-menu {
    display: none !important;
  }
}

/* Mobile Responsiveness */

@media (max-width: 768px) {
  body.blog-page {
    background: #0f172a;
    background-size: auto;
    animation: none;
    background-attachment: scroll;
    /* Changed from fixed */
  }

  body.blog-page::before,
  body.blog-page::after {
    display: block;
    /* Re-enabled */
  }

  .navbar {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }

  .navbar .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin: 1rem 0 0 0;
    gap: 1rem;
  }

  .nav-cta {
    order: 2;
  }

  .dropdown-menu {
    display: none !important;
  }

  .hero {
    padding: 3rem 1rem 4rem 1rem;
  }

  .main-content {
    padding-top: 180px;
    /* Adjusted for mobile navbar height */
  }

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

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .workflow-visual {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trust-strip {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .navbar .nav-links {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-primary, .btn-secondary {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .workflow-step {
    min-width: 80px;
  }

  .step-icon {
    font-size: 1.5rem;
    padding: 0.75rem;
  }

  .trust-strip {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .trust-divider {
    display: none;
  }
}

/* Enhanced Blog Card Styles with Overlay */

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-accent);
}

.blog-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.7) 0%,
    rgba(13, 17, 23, 0.4) 40%,
    rgba(192, 38, 211, 0.3) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

.blog-category {
  align-self: flex-start;
  background: rgba(192, 38, 211, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  box-shadow: 0 4px 12px rgba(192, 38, 211, 0.3);
}

.blog-content-overlay {
  color: white;
  text-align: left;
}

.blog-content-overlay h3 {
  color: white;
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-content-overlay p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.blog-overlay .blog-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.blog-overlay .blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  font-weight: 500;
}

.blog-overlay .read-time:before {
  content: "📖";
  margin-right: 0;
}

.blog-overlay .blog-date:before {
  content: "📅";
  margin-right: 0;
}

/* Fallback content for non-hover devices */

@media (hover: none) {
  .blog-overlay {
    opacity: 1;
    background: linear-gradient(
      135deg,
      rgba(13, 17, 23, 0.8) 0%,
      rgba(13, 17, 23, 0.5) 40%,
      rgba(192, 38, 211, 0.4) 100%
    );
  }
}

@media (max-width: 768px) {
  .blog-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-image {
    height: 280px;
  }

  .blog-overlay {
    opacity: 1;
    background: linear-gradient(
      135deg,
      rgba(13, 17, 23, 0.8) 0%,
      rgba(13, 17, 23, 0.5) 40%,
      rgba(192, 38, 211, 0.4) 100%
    );
    padding: 1.25rem;
  }

  .blog-content-overlay h3 {
    font-size: 1.25rem;
  }

  .blog-content-overlay p {
    font-size: 0.9rem;
  }

  .blog-overlay .blog-meta {
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Enhanced Use Case Card Styles */

.use-case-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

.use-case-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-image img {
  transform: scale(1.05);
}

.use-case-image .metric-chip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(192, 38, 211, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(192, 38, 211, 0.3);
}

/* Update existing use-case-card to work with new image structure */

.use-case-card {
  overflow: hidden;
  border-radius: 1rem;
}

.use-case-card .card-header {
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .use-case-image {
    height: 200px;
  }
}

/* Case Study Hero Image Styles */

.case-study-hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.case-study-hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.case-study-hero-image .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.6),
    rgba(192, 38, 211, 0.3)
  );
}

@media (max-width: 768px) {
  .case-study-hero-image {
    height: 250px;
    margin-bottom: 1.5rem;
  }
}

/* Blog Hero Image Styles */

.blog-hero-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.blog-hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.8) 0%,
    rgba(13, 17, 23, 0.6) 50%,
    rgba(192, 38, 211, 0.4) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.blog-hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
}

.blog-category-large {
  display: inline-block;
  background: rgba(192, 38, 211, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(192, 38, 211, 0.3);
}

.blog-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.blog-hero-content p {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 2rem 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.blog-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
}

.blog-hero-meta span {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .blog-hero-image {
    height: 350px;
    margin-bottom: 1.5rem;
  }

  .blog-hero-overlay {
    padding: 2rem 1.5rem;
  }

  .blog-hero-content h1 {
    font-size: 2rem;
  }

  .blog-hero-content p {
    font-size: 1.125rem;
  }

  .blog-hero-meta {
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  .blog-hero-meta span {
    padding: 0.375rem 0.75rem;
  }
}

/* Enhanced Blog Index Styles */

.blog-header-section {
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(192, 38, 211, 0.1) 100%);
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.blog-hero-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.blog-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-text);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.blog-main-subtitle {
  font-size: 1.375rem;
  color: var(--secondary-text);
  margin: 0 0 3rem 0;
  line-height: 1.5;
}

.blog-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.blog-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--secondary-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.blog-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-filter-section {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--primary-text);
  margin: 0 0 2rem 0;
}

.blog-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-filter {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--card-border);
  border-radius: 2rem;
  color: var(--secondary-text);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-filter:hover,
.category-filter.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: white;
  transform: translateY(-2px);
}

/* Enhanced Blog Card Overlays */

.blog-cta-overlay {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.blog-card:hover .arrow-icon {
  transform: translateX(4px);
}

/* Newsletter Section */

.blog-newsletter-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.newsletter-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.newsletter-content {
  flex: 1;
}

.newsletter-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-text);
  margin: 0 0 1rem 0;
}

.newsletter-content p {
  color: var(--secondary-text);
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.form-group-inline {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  color: var(--primary-text);
  font-size: 0.95rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  padding: 0.875rem 2rem;
  white-space: nowrap;
}

.newsletter-disclaimer {
  font-size: 0.8rem;
  color: var(--secondary-text);
  margin: 0;
}

.newsletter-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-icon {
  font-size: 4rem;
  opacity: 0.5;
}

/* Enhanced Individual Blog Post Styles */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  background: var(--primary-accent);
  width: 0%;
  transition: width 0.3s ease;
}

.article-nav {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.article-toc h4 {
  color: var(--primary-text);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li {
  margin: 0.75rem 0;
}

.article-toc a {
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-toc a:hover {
  color: var(--primary-accent);
}

.article-toc a:before {
  content: "→";
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.article-toc a:hover:before {
  opacity: 1;
}

.enhanced-blog-content {
  max-width: none;
  line-height: 1.75;
}

.content-introduction {
  border-left: 4px solid var(--primary-accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.lead-paragraph {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-text);
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.content-section-header {
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-accent);
  position: relative;
}

.content-section-header:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background: var(--primary-accent);
}

/* Responsive Design */

@media (max-width: 768px) {
  .blog-main-title {
    font-size: 2.5rem;
  }

  .blog-main-subtitle {
    font-size: 1.125rem;
  }

  .blog-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .newsletter-card {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .form-group-inline {
    flex-direction: column;
    gap: 1rem;
  }

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

  .category-filter {
    flex: 1;
    text-align: center;
  }

  .article-nav {
    margin: 1rem 0;
    padding: 1rem;
  }

  .blog-header-section {
    padding-top: 6rem;
  }

  .blog-filter-section .section-subtitle {
    text-align: center;
    width: 100%;
  }
}

/* Form Messages */

.form-message {
  animation: slideInRight 0.3s ease;
}

.form-message-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.form-message-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Form Loading States */

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button[type="submit"]:disabled:hover {
  transform: none;
  background: var(--primary-accent);
}

/* Form Layout Enhancements */

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

.divider-text {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--card-border);
}

.divider-text span {
  background: var(--card-bg);
  color: var(--secondary-text);
  padding: 0 1rem;
  font-size: 0.875rem;
  position: relative;
}

/* Multi-step form styling */

.form-progress {
  margin-bottom: 2rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--card-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  border-radius: 3px;
  width: 33.33%;
  transition: width 0.3s ease;
}

.progress-text {
  color: var(--secondary-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-step {
  animation: slideInRight 0.3s ease;
}

.step-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.step-header h4 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step-header p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  margin: 0;
}

/* Checkbox grid for challenges */

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.checkbox-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-item:hover {
  border-color: var(--primary-accent);
  background: rgba(192, 38, 211, 0.05);
}

.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: relative;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid var(--card-border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked ~ .checkmark {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-item input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}

.challenge-content {
  flex: 1;
}

.challenge-content strong {
  color: var(--primary-text);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.challenge-content small {
  color: var(--secondary-text);
  font-size: 0.825rem;
  line-height: 1.4;
}

/* Radio grid for services */

.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.radio-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-item:hover {
  border-color: var(--primary-accent);
  background: rgba(192, 38, 211, 0.05);
  transform: translateY(-2px);
}

.radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-checkmark {
  position: relative;
  width: 18px;
  height: 18px;
  background: transparent;
  border: 2px solid var(--card-border);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.radio-item input[type="radio"]:checked ~ .radio-checkmark {
  border-color: var(--primary-accent);
  background: var(--primary-accent);
}

.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}

.radio-item input[type="radio"]:checked ~ .radio-checkmark:after {
  display: block;
}

.service-content {
  flex: 1;
  position: relative;
}

.service-content strong {
  color: var(--primary-text);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.service-content small {
  color: var(--secondary-text);
  font-size: 0.875rem;
  line-height: 1.4;
}

.popular-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.new-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, var(--primary-accent), #9333ea);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Form navigation */

.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0 1rem;
  gap: 1rem;
}

.form-navigation button {
  flex: 1;
  max-width: 200px;
}

/* Trust signals */

.form-trust-signals {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-text);
}

.trust-icon {
  font-size: 1rem;
}

.trust-item small {
  font-size: 0.825rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .radio-grid {
    grid-template-columns: 1fr;
  }

  .form-trust-signals {
    gap: 1rem;
  }

  .form-navigation {
    flex-direction: column;
  }

  .form-navigation button {
    max-width: none;
  }
}

/* Contact Page Specific Styling */

.contact-hero {
  background: linear-gradient(135deg, var(--background-start) 0%, var(--primary-accent) 0.1%, var(--background-end) 100%);
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(192, 38, 211, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-text);
  line-height: 1.1;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-text);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-accent);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--secondary-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.contact-alternatives {
  background: linear-gradient(180deg, transparent, var(--card-bg) 50%, transparent);
  padding: 4rem 0;
}

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.alternative-item {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.alternative-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-accent);
}

.alt-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.alternative-item h3 {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.alternative-item p {
  color: var(--secondary-text);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.alternative-item small {
  color: var(--muted-text);
  font-size: 0.875rem;
  display: block;
  margin-top: 0.5rem;
}

.alt-link {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.alt-link:hover {
  color: #a21caf;
  text-decoration: underline;
}

.alt-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 4rem 0 3rem;
  }

  .contact-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .alternatives-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .alternative-item {
    padding: 1.5rem;
  }

  .alt-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Call-to-Action Section */

.cta-section {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-accent) 0.1%, var(--card-bg) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(192, 38, 211, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--secondary-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  min-width: 200px;
  padding: 1rem 2rem;
  font-weight: 600;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-icon {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    min-width: 280px;
  }

  .cta-features {
    gap: 1.5rem;
  }

  .feature-item {
    font-size: 0.875rem;
  }
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

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

@media (min-width: 1024px) {
  .lg\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}
