/* CSS Variables for Brand Colors */
:root {
  --color-raisin-black: #302c36;
  --color-jet: #433f49;
  --color-dim-gray: #6c6970;
  --color-platinum: #e5e5e5;
  --color-white: #ffffff;
  --color-seasalt: #f8f7f5;
  --color-periwinkle: #d0c5f8;
  --color-tropical-indigo: #a793fa;
  --color-medium-slate-blue: #7e61fd;
  --color-electric-indigo: #552eff;

  /* Spacing Variables (matching syna-landing) */
  --spacing-0: 0;
  --spacing-1: 0.25rem;   /* 4px */
  --spacing-2: 0.5rem;    /* 8px */
  --spacing-3: 0.75rem;   /* 12px */
  --spacing-4: 1rem;      /* 16px */
  --spacing-5: 1.25rem;   /* 20px */
  --spacing-6: 1.5rem;    /* 24px */
  --spacing-8: 2rem;      /* 32px */
  --spacing-10: 2.5rem;   /* 40px */
  --spacing-12: 3rem;     /* 48px */
  --spacing-16: 4rem;     /* 64px */
  --spacing-20: 5rem;     /* 80px */
  --spacing-24: 6rem;     /* 96px */
  --spacing-32: 8rem;     /* 128px */

  /* Font Variables (matching syna-landing) */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border Radius Variables (matching syna-landing) */
  --border-radius-sm: 0.125rem;  /* 2px */
  --border-radius-md: 0.25rem;   /* 4px */
  --border-radius-lg: 0.5rem;    /* 8px */
  --border-radius-xl: 1rem;      /* 16px */
  --border-radius-full: 9999px;  /* Fully rounded */
}

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-jet);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

#root,
#__next {
  isolation: isolate;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-raisin-black);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-medium-slate-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--color-electric-indigo);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

/* Header & Navigation - Glass Morphism Style */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  margin: 1rem auto 0;
  max-width: 1200px;
  font-family: 'Poppins', -apple-system, sans-serif;
  transition: all 0.3s ease;
}

.header.shrunk {
  margin: 0.5rem auto 0;
  border-radius: 12px;
}

.header.shrunk .nav-logo .logo-link {
  font-size: 1.2rem;
}

.header.shrunk .nav-container {
  padding: 0.75rem 1.5rem;
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

.nav-logo .logo-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-raisin-black);
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--color-raisin-black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
  opacity: 1;
  color: var(--color-electric-indigo);
  transform: translateX(4px);
  transition: all 0.2s ease;
  outline: none;
  background-color: transparent;
}

.nav-link.active {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  color: var(--color-raisin-black);
}

.cta-button {
  background: linear-gradient(135deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  border: none;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 15px rgba(126, 97, 253, 0.3),
    0 2px 8px rgba(85, 46, 255, 0.1);
  white-space: nowrap;
  cursor: pointer;
}

.cta-button:hover,
.cta-button:focus {
  color: var(--color-white) !important;
  transform: translateY(-3px);
  box-shadow:
    0 8px 25px rgba(126, 97, 253, 0.4),
    0 4px 15px rgba(85, 46, 255, 0.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1005;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-raisin-black);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--color-raisin-black);
  border-radius: 3px;
  transition: all 0.3s ease;
  left: 0;
}

.hamburger-line::before {
  top: -8px;
}

.hamburger-line::after {
  top: 8px;
}

.hamburger.active .hamburger-line {
  background-color: transparent;
}

.hamburger.active .hamburger-line::before {
  top: 0;
  transform: rotate(45deg);
  background-color: var(--color-electric-indigo);
}

.hamburger.active .hamburger-line::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: var(--color-electric-indigo);
}

/* Mobile hamburger overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.menu-overlay.visible {
  display: block;
}

.no-scroll {
  overflow: hidden;
}

/* Hero Section - Frosted Glass Style */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin: 30px 30px 30px 30px;
  background: var(--color-seasalt);
  z-index: 1;
}

/* Hero Text Styles */
.hero .hero-tagline {
  font-size: 11px;
  color: var(--color-jet);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-2);
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .hero-heading {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-6);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-raisin-black);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.hero .accent-text {
  color: var(--color-jet);
  font-weight: 700;
  position: relative;
  transform: translateY(0);
  display: block;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero .hero-description {
  font-size: 1.25rem;
  color: var(--color-jet);
  margin-bottom: var(--spacing-8);
  line-height: 1.5;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.hero .hero-description > div {
  display: flex;
  align-items: center;
}

.hero .hero-description > div:first-child {
  margin-bottom: 0;
}

.hero .cta-buttons {
  display: flex;
  gap: var(--spacing-5);
  justify-content: flex-start;
  margin-bottom: var(--spacing-4);
  align-items: center;
}

.hero .btn {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease-out, border-color 0.3s ease-out, background-color 0.3s ease-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
}

.hero .btn-cta {
  background: linear-gradient(135deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  border: none;
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  box-shadow:
    0 4px 15px rgba(126, 97, 253, 0.3),
    0 2px 8px rgba(85, 46, 255, 0.1);
  transition: all 0.3s ease;
}

.hero .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 25px rgba(126, 97, 253, 0.4),
    0 4px 15px rgba(85, 46, 255, 0.2);
}

.hero .btn-secondary {
  background: rgba(126, 97, 253, 0.1);
  border: 1px solid rgba(126, 97, 253, 0.2);
  color: var(--color-medium-slate-blue);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .btn-secondary:hover {
  background: rgba(126, 97, 253, 0.15);
  border-color: rgba(126, 97, 253, 0.3);
  transform: translateY(-2px);
}

.hero .hero-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--spacing-6);
  margin-bottom: var(--spacing-6);
  gap: var(--spacing-2);
  width: fit-content;
  padding: var(--spacing-1) var(--spacing-3);

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(208, 197, 248, 0.3);
  border-radius: 4px;

  box-shadow:
    0 4px 15px rgba(85, 46, 255, 0.06),
    0 1px 3px rgba(48, 44, 54, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(108, 105, 112, 0.1);
}

.hero .hero-rating .stars {
  display: flex;
  color: var(--color-medium-slate-blue);
  gap: 0;
}

.hero .hero-rating .star,
.hero .hero-rating .star-half {
  font-size: var(--font-size-sm);
  line-height: 1;
}

.hero .star-half {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: var(--color-platinum);
}

.hero .star-half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: var(--color-medium-slate-blue);
}

.hero .hero-rating p {
  font-weight: 500;
  margin-left: var(--spacing-1);
  color: var(--color-raisin-black);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.hero .hero-stats {
  font-size: 0.9rem;
  color: var(--color-jet);
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* Subtle Light Beams */
.hero .light-beam {
  position: absolute;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero .light-beam-1 {
  top: -100px;
  left: -100px;
  width: 300px;
  height: 600px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(208, 197, 248, 0.08) 20%,
    rgba(167, 147, 250, 0.12) 40%,
    rgba(126, 97, 253, 0.18) 60%,
    rgba(85, 46, 255, 0.15) 80%,
    transparent 100%
  );
  transform: rotate(35deg) scale(1);
  animation: gentleLight1 12s ease-in-out infinite;
}

.hero .light-beam-2 {
  top: 10%;
  right: -150px;
  width: 400px;
  height: 800px;
  background: linear-gradient(
    -45deg,
    transparent 0%,
    rgba(167, 147, 250, 0.06) 15%,
    rgba(126, 97, 253, 0.10) 35%,
    rgba(85, 46, 255, 0.08) 65%,
    transparent 100%
  );
  transform: rotate(-20deg);
  animation: gentleLight2 10s ease-in-out infinite reverse;
}

.hero .light-beam-3 {
  bottom: -200px;
  left: 20%;
  width: 500px;
  height: 700px;
  background: linear-gradient(
    60deg,
    transparent 0%,
    rgba(208, 197, 248, 0.05) 25%,
    rgba(167, 147, 250, 0.09) 45%,
    rgba(126, 97, 253, 0.06) 75%,
    transparent 100%
  );
  transform: rotate(15deg) scale(0.8);
  animation: gentleLight3 12s ease-in-out infinite;
}

@keyframes gentleLight1 {
  0%, 100% {
    opacity: 0.4;
    transform: rotate(35deg) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: rotate(35deg) scale(1.05);
  }
}

@keyframes gentleLight2 {
  0%, 100% {
    opacity: 0.3;
    transform: rotate(-20deg) scale(0.95);
  }
  50% {
    opacity: 0.6;
    transform: rotate(-20deg) scale(1.1);
  }
}

@keyframes gentleLight3 {
  0%, 100% {
    opacity: 0.25;
    transform: rotate(15deg) scale(0.8);
  }
  50% {
    opacity: 0.55;
    transform: rotate(15deg) scale(0.9);
  }
}

/* Elegant subtle background with animated orbs */
.hero .bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.hero .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-periwinkle), transparent 70%);
  top: -300px;
  left: -150px;
  animation-duration: 25s;
}

.hero .orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-tropical-indigo), transparent 70%);
  top: 15%;
  right: -200px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.hero .orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--color-seasalt), transparent 70%);
  bottom: -300px;
  left: 15%;
  animation-duration: 35s;
  animation-delay: -10s;
  opacity: 0.06;
}

.hero .orb-4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--color-medium-slate-blue), transparent 70%);
  bottom: 5%;
  right: 10%;
  animation-duration: 28s;
  animation-delay: -15s;
}

.hero .orb-5 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--color-electric-indigo), transparent 70%);
  top: 45%;
  left: 45%;
  transform: translate(-50%, -50%);
  animation-duration: 32s;
  animation-delay: -8s;
  opacity: 0.05;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-container {
  width: 100%;
  max-width: 1400px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10rem;
  position: relative;
}

.hero-text {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding-left: 2rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-raisin-black);
}

.hero-animation {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero-canvas {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars-motif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star {
  position: absolute;
  background-color: var(--color-tropical-indigo);
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) { top: 10%; left: 20%; width: 4px; height: 4px; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; left: 80%; width: 6px; height: 6px; animation-delay: 1s; }
.star:nth-child(3) { top: 60%; left: 10%; width: 3px; height: 3px; animation-delay: 2s; }
.star:nth-child(4) { top: 80%; left: 70%; width: 5px; height: 5px; animation-delay: 0.5s; }
.star:nth-child(5) { top: 40%; left: 90%; width: 4px; height: 4px; animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* About Section */
.about {
  background-color: var(--color-seasalt);
}

.about-content {
  max-width: 800px;
}

.about-intro {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.about-list {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.about-list li {
  margin-bottom: 0.5rem;
}

.about-details {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Services Section */
.services {
  position: relative;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-seasalt) 100%);
  padding: 6rem 0;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(208, 197, 248, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(167, 147, 250, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(126, 97, 253, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services-intro {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-raisin-black);
  text-align: center;
  margin-bottom: var(--spacing-6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  position: relative;
}

.services-intro::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  border-radius: 2px;
}

.services-description {
  font-size: var(--font-size-lg);
  color: var(--color-jet);
  text-align: center;
  margin-bottom: var(--spacing-16);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 500;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-platinum);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.service-icon {
  margin-bottom: var(--spacing-8);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--spacing-8);
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
}

.service-icon svg {
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.service-card:hover .service-icon svg {
  transform: scale(1.15) rotate(5deg);
  color: var(--color-electric-indigo);
}

.service-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-raisin-black);
  margin-bottom: var(--spacing-6);
  position: relative;
}

.service-description {
  font-size: var(--font-size-base);
  color: var(--color-jet);
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* Enhanced hover effects for service cards */
.service-card:hover .service-title {
  color: var(--color-electric-indigo);
  transform: translateY(-2px);
}

.service-card:hover .service-description {
  color: var(--color-raisin-black);
  transform: translateY(-1px);
}

/* Advantages Section */
.advantages {
  background: var(--color-white);
  padding: 5rem 0;
  position: relative;
}

.advantages .container {
  position: relative;
  z-index: 2;
}

.advantages-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: var(--spacing-12);
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.advantage-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: var(--color-seasalt);
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--color-platinum);
  margin-bottom: var(--spacing-6);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.advantage-icon svg {
  transition: color 0.3s ease;
}

.advantage-text {
  flex: 1;
}

.advantage-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-raisin-black);
  margin-bottom: var(--spacing-4);
  transition: color 0.3s ease;
}

.advantage-description {
  font-size: var(--font-size-base);
  color: var(--color-dim-gray);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  transition: color 0.3s ease;
}

.advantage-item:hover .advantage-title {
  color: var(--color-medium-slate-blue);
}

.advantage-item:hover .advantage-description {
  color: var(--color-raisin-black);
}

/* Responsive design for advantages */
@media (max-width: 768px) {
  .advantage-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .advantage-icon {
    margin: 0 auto;
  }
}

/* Process Timeline Section */
.process {
  background: var(--color-white);
  padding: 5rem 0;
  position: relative;
}

.process .container {
  position: relative;
  z-index: 2;
}

.process-description {
  font-size: var(--font-size-lg);
  color: var(--color-jet);
  text-align: center;
  margin-bottom: var(--spacing-12);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-medium-slate-blue), var(--color-electric-indigo));
  border-radius: 1px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(126, 97, 253, 0.3);
  z-index: 3;
  position: relative;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  mask-composite: xor;
  -webkit-mask-composite: xor;
}

.timeline-content {
  flex: 1;
  padding-top: 0.5rem;
}

.timeline-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-raisin-black);
  margin-bottom: var(--spacing-4);
}

.timeline-description {
  font-size: var(--font-size-base);
  color: var(--color-dim-gray);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Responsive design for timeline */
@media (max-width: 768px) {
  .timeline {
    gap: 2rem;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    gap: 1.5rem;
  }

  .timeline-marker {
    width: 48px;
    height: 48px;
    font-size: var(--font-size-lg);
  }

  .timeline-title {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 480px) {
  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .timeline::before {
    display: none;
  }

  .timeline-marker {
    align-self: center;
  }
}

/* Process CTA Buttons */
.process-cta {
  display: flex;
  gap: var(--spacing-6);
  justify-content: center;
  align-items: center;
  margin-top: var(--spacing-12);
  flex-wrap: wrap;
}

.process-cta .btn-secondary {
  background: rgba(126, 97, 253, 0.1);
  border: 1px solid rgba(126, 97, 253, 0.2);
  color: var(--color-medium-slate-blue);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.process-cta .btn-secondary:hover {
  background: rgba(126, 97, 253, 0.15);
  border-color: rgba(126, 97, 253, 0.3);
  transform: translateY(-2px);
}

.process-cta .cta-button {
  background: linear-gradient(135deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  border: none;
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  box-shadow:
    0 4px 15px rgba(126, 97, 253, 0.3),
    0 2px 8px rgba(85, 46, 255, 0.1);
  transition: all 0.3s ease;
}

.process-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 25px rgba(126, 97, 253, 0.4),
    0 4px 15px rgba(85, 46, 255, 0.2);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--color-medium-slate-blue), var(--color-electric-indigo));
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

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

.cta .container {
  position: relative;
  z-index: 2;
}

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

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-6);
  line-height: 1.2;
  color: var(--color-white);
}

.cta-description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-10);
  line-height: 1.6;
  opacity: 0.9;
  color: var(--color-white);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-6);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: var(--color-white) !important;
  color: var(--color-medium-slate-blue) !important;
  padding: 1.25rem 2.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: var(--font-weight-semibold) !important;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.15),
    0 3px 10px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
}

.cta-primary:hover {
  color: var(--color-medium-slate-blue) !important;
  transform: translateY(-3px) !important;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 6px 15px rgba(0, 0, 0, 0.15) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--color-white) !important;
  padding: 1.25rem 2rem !important;
  border-radius: 0.75rem !important;
  font-weight: var(--font-weight-semibold) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  transition: all 0.3s ease !important;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Responsive design for CTA */
@media (max-width: 768px) {
  .cta {
    padding: 4rem 0;
  }

  .cta-title {
    font-size: var(--font-size-3xl);
  }

  .cta-description {
    font-size: var(--font-size-base);
  }

  .cta-buttons {
    gap: var(--spacing-4);
  }

  .cta-primary,
  .cta-secondary {
    padding: 1rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}

/* Testimonials Section */
.testimonials {
  background: var(--color-white);
  padding: 5rem 0;
  position: relative;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-12);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow:
    0 10px 40px rgba(85, 46, 255, 0.08),
    0 4px 16px rgba(48, 44, 54, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(208, 197, 248, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 4rem;
  color: rgba(126, 97, 253, 0.1);
  font-family: 'Georgia', serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(85, 46, 255, 0.12),
    0 8px 25px rgba(48, 44, 54, 0.08);
  border-color: rgba(126, 97, 253, 0.2);
}

.testimonial-content {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-size: var(--font-size-lg);
  color: var(--color-jet);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(208, 197, 248, 0.2);
}

.author-info h4,
.author-info p {
  margin: 0;
}

.author-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-raisin-black);
  margin-bottom: 0.25rem;
}

.author-position {
  font-size: var(--font-size-sm);
  color: var(--color-dim-gray);
  font-weight: 400;
}

.author-rating {
  display: flex;
  gap: 0.125rem;
}

.author-rating .star {
  color: var(--color-medium-slate-blue);
  font-size: var(--font-size-sm);
}

/* Responsive design for testimonials */
@media (max-width: 768px) {
  .testimonials {
    padding: 4rem 0;
  }

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

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 1rem;
    left: 1.5rem;
  }

  .testimonial-text {
    font-size: var(--font-size-base);
  }

  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .author-rating {
    align-self: flex-end;
  }
}

/* Responsive design for advantages */
@media (max-width: 768px) {
  .advantage-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .advantage-icon {
    margin: 0 auto;
  }
}

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

.process-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  background-color: var(--color-periwinkle);
  padding: 1.5rem;
  border-radius: 0.5rem;
  flex: 1;
  max-width: 200px;
}

/* Contact Section */
.contact {
  background: var(--color-white);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(208, 197, 248, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(167, 147, 250, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.contact-header {
  margin-bottom: 4rem;
}

.contact-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-raisin-black);
  margin-bottom: var(--spacing-4);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-jet);
  opacity: 0.8;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta {
  display: flex;
  justify-content: center;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-3);
  background: transparent;
  border: 2px solid var(--color-medium-slate-blue);
  color: var(--color-medium-slate-blue);
  padding: 1.25rem 2.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(126, 97, 253, 0.08),
    0 2px 8px rgba(126, 97, 253, 0.04);
}

.contact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(126, 97, 253, 0.1), transparent);
  transition: left 0.6s ease;
}

.contact-button:hover::before {
  left: 100%;
}

.contact-button:hover {
  background: var(--color-medium-slate-blue);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(126, 97, 253, 0.25),
    0 6px 20px rgba(126, 97, 253, 0.15);
  border-color: var(--color-medium-slate-blue);
}

.contact-button:hover .button-icon {
  transform: translateX(4px);
}

.button-text {
  position: relative;
  z-index: 2;
}

.button-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

/* Portfolio Section */
.portfolio {
  background: var(--color-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 40% 30%, rgba(208, 197, 248, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(167, 147, 250, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.portfolio .container {
  position: relative;
  z-index: 2;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio-description {
  font-size: var(--font-size-lg);
  color: var(--color-jet);
  opacity: 0.8;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

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

.portfolio-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(208, 197, 248, 0.2);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow:
    0 8px 32px rgba(85, 46, 255, 0.06),
    0 2px 8px rgba(48, 44, 54, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(126, 97, 253, 0.02) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover::before {
  opacity: 1;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(85, 46, 255, 0.12),
    0 8px 20px rgba(48, 44, 54, 0.08);
  border-color: rgba(126, 97, 253, 0.3);
}

.portfolio-content {
  position: relative;
  z-index: 2;
}

.portfolio-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-raisin-black);
  margin-bottom: var(--spacing-4);
  line-height: 1.3;
}

.portfolio-description {
  font-size: var(--font-size-base);
  color: var(--color-jet);
  line-height: 1.6;
  margin-bottom: var(--spacing-6);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-medium-slate-blue);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
  position: relative;
}

.portfolio-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-medium-slate-blue);
  transition: width 0.3s ease;
}

.portfolio-link:hover::after {
  width: 100%;
}

.portfolio-link:hover {
  color: var(--color-electric-indigo);
  transform: translateX(4px);
}

/* Responsive design for portfolio section */
@media (max-width: 768px) {
  .portfolio {
    padding: 4rem 0;
  }

  .portfolio-header {
    margin-bottom: 3rem;
  }

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

  .portfolio-card {
    padding: 2rem;
  }

  .portfolio-title {
    font-size: var(--font-size-lg);
  }
}

/* Responsive design for contact section */
@media (max-width: 768px) {
  .contact {
    padding: 6rem 0 4rem;
  }

  .contact-wrapper {
    padding: 0 1rem;
  }

  .contact-header {
    margin-bottom: 3rem;
  }

  .contact-title {
    font-size: var(--font-size-3xl);
  }

  .contact-subtitle {
    font-size: var(--font-size-base);
  }

  .contact-button {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

/* Footer */
.footer {
  background-color: var(--color-raisin-black);
  color: var(--color-white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links,
.footer-legal,
.footer-social {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--color-platinum);
  transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--color-white);
}

.social-link {
  font-weight: 600;
  color: var(--color-platinum);
  transition: color 0.3s ease;
}

.social-link:hover,
.social-link:focus {
  color: var(--color-white);
}

.footer-bottom {
  padding: 1rem 0;
  border-top: 1px solid var(--color-jet);
  text-align: center;
}

/* Page Content (for privacy/terms) */
.page-content {
  padding: 6rem 0 4rem;
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.last-updated {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dim-gray);
}

.draft-notice {
  background-color: var(--color-periwinkle);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-legal,
  .footer-social {
    justify-content: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
.nav-link:focus,
.cta-button:focus,
.footer-link:focus,
.social-link:focus,
.form-input:focus,
.form-textarea:focus {
  outline: 2px solid var(--color-electric-indigo);
  outline-offset: 2px;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-raisin-black);
}

/* Phone Dashboard and Widgets */
.hero .phone-container {
  position: relative;
  width: 280px;
  height: 570px;
  margin: 0 auto;
  z-index: 10;
}

.hero .phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-jet);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 10px 15px rgba(85, 46, 255, 0.15),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background-color: var(--color-jet);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.hero .phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--color-seasalt);
  border-radius: 32px;
  overflow: hidden;
}

.hero .phone-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
  overflow: hidden;
}

.hero .app-header {
  padding: 16px;
  background: rgba(126, 97, 253, 0.08);
  border-bottom: 1px solid rgba(126, 97, 253, 0.1);
  display: flex;
  align-items: center;
}

.hero .app-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero .profile-avatar.codex-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-raisin-black);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
}

.hero .profile-info {
  display: flex;
  flex-direction: column;
}

.hero .profile-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-raisin-black);
}

.hero .profile-status {
  font-size: 12px;
  color: var(--color-medium-slate-blue);
}

.hero .app-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero .dashboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(126, 97, 253, 0.1);
}

.hero .dashboard-item.typing {
  justify-content: flex-start;
}

.hero .item-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.hero .item-content {
  flex: 1;
}

.hero .item-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--color-raisin-black);
  margin-bottom: 2px;
}

.hero .item-description {
  font-size: 11px;
  color: var(--color-jet);
  opacity: 0.8;
}

.hero .typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero .typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-medium-slate-blue);
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.hero .typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.hero .typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

.hero .typing-indicator span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero .app-footer {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(126, 97, 253, 0.1);
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero .nav-dots {
  display: flex;
  gap: 6px;
}

.hero .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(126, 97, 253, 0.3);
  transition: background 0.3s ease;
}

.hero .dot.active {
  background: var(--color-medium-slate-blue);
}

/* Floating Widgets */
.hero .floating-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(85, 46, 255, 0.08),
    0 2px 8px rgba(48, 44, 54, 0.04);
  width: 200px;
  z-index: 15;
  overflow: visible;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: fadeInFloat 0.8s ease forwards;
  opacity: 1;
}

.hero .widget-header {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: rgba(126, 97, 253, 0.04);
  border-bottom: 1px solid rgba(126, 97, 253, 0.06);
  gap: 8px;
}

.hero .widget-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-medium-slate-blue);
}

.hero .floating-widget h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-raisin-black);
  margin: 0;
}

.hero .widget-content {
  padding: 12px 15px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
}

@keyframes fadeInFloat {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Widget Positioning */
.hero .top-widget {
  top: -20px;
  right: -120px;
  animation-delay: 0.4s;
  z-index: 50;
}

.hero .middle-widget {
  left: -120px;
  bottom: 42%;
  animation-delay: 0.6s;
}

.hero .bottom-widget {
  bottom: 10px;
  right: -120px;
  animation-delay: 0.8s;
}

/* Project Items */
.hero .project-item {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(126, 97, 253, 0.06);
}

.hero .project-name {
  font-weight: 600;
  color: var(--color-raisin-black);
  margin-bottom: 2px;
}

.hero .project-status {
  color: var(--color-medium-slate-blue);
}

.hero .project-stats {
  margin-top: 5px;
  font-size: 11px;
  color: var(--color-medium-slate-blue);
  padding: 4px 8px;
  background: rgba(126, 97, 253, 0.1);
  border-radius: 12px;
  display: inline-block;
  align-self: flex-end;
}

/* Consulting Items */
.hero .consult-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(126, 97, 253, 0.06);
}

.hero .consult-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(126, 97, 253, 0.3);
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
}

.hero .consult-item.completed .consult-checkbox::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-medium-slate-blue);
  border-radius: 2px;
}

.hero .consult-item.completed .consult-text {
  text-decoration: line-through;
  color: var(--color-jet);
  opacity: 0.7;
}

.hero .consult-text {
  color: var(--color-raisin-black);
}

.hero .consult-stats {
  margin-top: 5px;
  font-size: 11px;
  color: var(--color-medium-slate-blue);
  padding: 4px 8px;
  background: rgba(126, 97, 253, 0.1);
  border-radius: 12px;
  display: inline-block;
  align-self: flex-end;
}

/* Analytics Grid */
.hero .analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.hero .metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero .metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-raisin-black);
  margin-bottom: 2px;
}

.hero .metric-label {
  font-size: 10px;
  color: var(--color-jet);
  opacity: 0.8;
}

.hero .analytics-stats {
  margin-top: 5px;
  font-size: 11px;
  color: var(--color-medium-slate-blue);
  padding: 4px 8px;
  background: rgba(126, 97, 253, 0.1);
  border-radius: 12px;
  display: inline-block;
  align-self: flex-end;
}

.hero .floating-widget:hover {
  transform: translateY(-12px) scale(1.02) !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease-out, border-color 0.3s ease-out, background-color 0.3s ease-out;
  box-shadow:
    0 25px 50px rgba(85, 46, 255, 0.2),
    0 10px 25px rgba(48, 44, 54, 0.1);
  border: 1px solid rgba(126, 97, 253, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

/* Technology Stack Section */
.hero .logo-scroll-section {
  position: absolute;
  width: 100%;
  max-width: 400px;
  bottom: 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(208, 197, 248, 0.3);
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(85, 46, 255, 0.04),
    0 1px 3px rgba(48, 44, 54, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(108, 105, 112, 0.05);
  z-index: 60;
}

.hero .logo-scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 16px;
}

.hero .logo-scroll-container::before,
.hero .logo-scroll-container::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  top: 0;
}

.hero .logo-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 247, 245, 0.9) 0%, transparent 100%);
  border-radius: 16px 0 0 16px;
}

.hero .logo-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 247, 245, 0.9) 0%, transparent 100%);
  border-radius: 0 16px 16px 0;
}

.hero .logo-scroll {
  display: flex;
  animation: scrollLogos 20s linear infinite;
  width: max-content;
}

.hero .logo-item {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  position: relative;
  z-index: 200;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  filter: grayscale(100%) brightness(1.2);
}

.hero .logo-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-raisin-black);
  color: var(--color-white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .logo-item:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: -30px;
}

.hero .logo-item:hover {
  filter: grayscale(0%) brightness(1.2) drop-shadow(0 8px 16px rgba(126, 97, 253, 0.3));
  transform: translateY(-2px);
  background: radial-gradient(circle, rgba(208, 197, 248, 0.1) 0%, transparent 70%);
}

.hero .tech-icon {
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Typing Animation */
.hero .typing-text {
  color: var(--color-jet);
  font-weight: 700;
  position: relative;
  display: inline-block;
  min-width: 200px;
  font-size: 1.3em;
  white-space: nowrap;
  transition: all 0.1s ease;
}

.hero .typing-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--color-jet);
  position: relative;
  top: 0;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
    transform: scaleY(1);
  }
  51%, 100% {
    opacity: 0;
    transform: scaleY(0.8);
  }
}

/* Clean Typography Hierarchy */
.hero .hero-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.hero .accent-text {
  font-size: 1.4em;
  font-weight: 700;
}

/* Trusted By Section */
.trusted-by {
  padding: 0rem 0;
  overflow: hidden;
  margin-bottom: var(--spacing-4);
  background: var(--color-white);
}

.trusted-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.8s ease-out;
  transform: translateY(30px);
  opacity: 0;
}

.trusted-container.fade-in-element {
  transform: translateY(0);
  opacity: 1;
}

.trusted-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-raisin-black);
  text-align: center;
  margin: 0 0 3rem 0;
  opacity: 0.9;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  justify-items: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  gap: 2rem;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3);
  background: var(--color-raisin-black);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 140px;
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.logo-item:hover {
  transform: translateY(-4px);
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item svg,
.logo-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: brightness(0.8) contrast(1.1);
}

.logo-item:hover svg,
.logo-item:hover img {
  filter: brightness(1) contrast(1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .trusted-title {
    font-size: var(--font-size-xl);
  }

  .logo-item {
    padding: var(--spacing-2);
  }
}

@media (max-width: 768px) {
  .logos-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: var(--spacing-2);
    padding: var(--spacing-2);
    width: 100%;
    max-width: none;
    position: relative;
  }

  .logos-grid::-webkit-scrollbar {
    display: none;
  }

  .logo-item {
    flex: 0 0 auto;
    width: 90px;
    min-height: 55px;
    max-width: 90px;
  }

  .logo-item svg,
  .logo-item img {
    max-height: 35px;
  }
}

@media (max-width: 768px) {
  .logos-grid {
    gap: var(--spacing-1);
    padding: var(--spacing-1);
  }

  .logo-item {
    width: 80px;
    min-height: 50px;
    max-width: 80px;
    padding: var(--spacing-1);
  }

  .logo-item svg,
  .logo-item img {
    max-height: 30px;
  }
}

@media (max-width: 480px) {
  .trusted-container {
    gap: var(--spacing-2);
  }

  .trusted-by {
    margin-bottom: var(--spacing-8);
  }

  .trusted-title {
    font-size: var(--font-size-xs);
    margin-bottom: var(--spacing-1);
  }

  .logos-grid {
    gap: 0.1rem;
    padding: 0.1rem;
  }

  .logo-item {
    width: 70px;
    min-height: 45px;
    max-width: 70px;
    padding: 0.5rem;
  }

  .logo-item svg,
  .logo-item img {
    max-height: 25px;
  }
}

/* Page Content Styling */
.page-content {
  padding: 6rem 0 4rem;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-raisin-black);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

.content-wrapper h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-jet);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
}

.content-wrapper p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--color-jet);
}

.content-wrapper ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.content-wrapper a {
  color: var(--color-medium-slate-blue);
  text-decoration: underline;
}

.content-wrapper a:hover {
  color: var(--color-electric-indigo);
}

.section-spacer {
  height: 0.25rem;
  margin: 0.25rem 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
