/* ============================================
   MEDSENDER LANDING PAGE - HIGH-FIDELITY CSS
   Version 2.0 - Matches Replit Preview
   ============================================ */

/* CSS Variables */
:root {
  --primary: #662C89;
  --primary-hover: #52236e;
  --primary-light: rgba(124, 58, 237, 0.1);
  --primary-shadow: rgba(124, 58, 237, 0.2);
  --accent: #C03694;
  --accent-hover: #A02A7D;
  --accent-light: rgba(192, 54, 148, 0.1);
  
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  
  --white: #ffffff;
  --green-400: #4ade80;
  --green-600: #16a34a;
  --green-100: #dcfce7;
  --blue-50: rgba(59, 130, 246, 0.1);
  --blue-400: #60a5fa;
  --purple-400: #a78bfa;
  --purple-100: rgba(124, 58, 237, 0.1);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Monaco', 'Consolas', 'Liberation Mono', monospace;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-primary: 0 10px 25px -5px rgba(124, 58, 237, 0.2);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}


/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background-color: var(--white);
}

::selection {
  background-color: var(--primary-light);
}

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

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

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.container-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--slate-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 2.5rem; }
}

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

.section-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--slate-600);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-radius: 5px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-primary);
  border: none;
  font-size: 14px;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--white);
  color: var(--slate-900);
  font-weight: 700;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--slate-50);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-text {
  color: var(--slate-600);
  font-weight: 500;
  transition: color 0.2s ease;
}

.btn-text:hover {
  color: var(--slate-900);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 500;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.link-arrow:hover {
  border-color: var(--white);
}

.link-arrow svg {
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--purple-100);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(124, 58, 237, 0.05);
}

.badge-animated {
  transition: all 0.2s ease;
}

.badge-animated:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
}

.badge-dot-ping {
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot-core {
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  border-radius: 50%;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: rgba(192, 54, 148, 0.2);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  isolation: isolate;
  background-color: #fff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  overflow: visible;      /* so dropdown can hang outside */
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* keep everything in one cluster */
  height: 90px;
}

.navbar-logo img {
  height: 75px;
  width: auto;
}

/* Desktop nav links/actions hidden by default (show at >=768px) */
.navbar-links {
  display: none;
  align-items: center;
  gap: 2.25rem;       /* spacing between Platform / Solutions / etc. */
  margin-left: 6.5rem;/* space between logo and "Platform" */
  margin-right: 20px;
}

.navbar-actions {
  display: none;
  align-items: center;
  gap: 1rem;       /* Login ↔ Book a Demo spacing */
  margin-left: .75rem;/* distance from divider to Login group */
}

/* Base link style (anchors + dropdown toggles) */
.navbar-links a,
.nav-dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--slate-600);
  transition: color 0.2s ease;
}

.navbar-links a:hover,
.nav-dropdown-toggle:hover {
  color: var(--primary);
}

/* Mobile toggle */
.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  padding: 0.5rem;
}

.navbar-toggle .icon-close {
  display: none;
}

.navbar.is-open .navbar-toggle .icon-menu {
  display: none;
}

.navbar.is-open .navbar-toggle .icon-close {
  display: block;
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-100);
}

.navbar-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.navbar-mobile a.btn-primary {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  max-width: 150px;
}

.navbar-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.navbar.is-open .navbar-mobile {
  display: flex;
}

/* Desktop breakpoint */
@media (min-width: 768px) {
  .navbar-links,
  .navbar-actions {
    display: flex;   /* only control display here */
  }
  
  .navbar-toggle,
  .navbar-mobile {
    display: none !important;
  }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  isolation: isolate;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  overflow: visible;      /* so dropdown can hang outside */
}

.navbar-container {
  display: flex;
  align-items: center;
  height: 90px;
}

/* Logo sits on the left and only takes as much space as it needs */
.navbar-logo {
  flex: 0 0 auto;
}
.navbar-logo img {
   height: 75px !important;
  width: auto !important;
}

/* Desktop nav links/actions hidden by default (show at >=768px) */
.navbar-links {
  display: none;
  flex: 1;                     /* middle section grows */
  align-items: center;
  gap: 1.75rem;                /* spacing between Platform / Solutions / etc. */
  justify-content: center;     /* centers nav between logo and actions */
}

.navbar-actions {
  display: none;
  flex: 0 0 auto;              /* right-side cluster (Login + CTA) */
  align-items: center;
  gap: 0.75rem;                /* Login ↔ Book a Demo spacing */
}

/* Base link style (anchors + dropdown toggles) */
.navbar-links a,
.nav-dropdown-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--slate-600);
  transition: color 0.2s ease;
}

.navbar-links a:hover,
.nav-dropdown-toggle:hover {
  color: var(--primary);
}

/* Mobile toggle */
.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  padding: 0.5rem;
}

.navbar-toggle .icon-close {
  display: none;
}

.navbar.is-open .navbar-toggle .icon-menu {
  display: none;
}

.navbar.is-open .navbar-toggle .icon-close {
  display: block;
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-100);
}

.navbar-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}

.navbar-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.navbar.is-open .navbar-mobile {
  display: flex;
}

/* Desktop breakpoint */
@media (min-width: 768px) {
  .navbar-links,
  .navbar-actions {
    display: flex;
  }
  
  .navbar-toggle,
  .navbar-mobile {
    display: none !important;
  }
}

/* ============================================
   NAV DROPDOWNS
   ============================================ */

/* Each dropdown group in the row */
.nav-item {
  position: relative;
}

/* Button that looks like the other links */
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0.25rem 0; /* slightly larger hit area */
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

/* Caret image */
.nav-dropdown-caret {
  display: inline-block;
  width: 12px;
  height: 8px;
  margin-left: 6px;
  position: relative;
  top: 1px; /* tiny vertical nudge to center with text */

  background-image: url(https://2047000.fs1.hubspotusercontent-na1.net/hubfs/2047000/raw_assets/public/Custom/Landing%20Pages/Platform/fax-api/images/caret.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Dropdown menu container */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;          /* sits directly under the toggle */
  left: 0;
  min-width: 260px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 0.75rem;
  z-index: 10000;
  display: none;
}

/* Show on hover (desktop) */
.nav-item:hover .nav-dropdown-menu {
  display: block;
}

/* Icon + description items (Solutions) */
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
}

.nav-dropdown-item:hover {
  background: var(--primary-light);
  color: var(--foreground);
}

.nav-dropdown-icon {
  flex-shrink: 0;
  border-radius: 0.75rem;
}

.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-dropdown-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-dropdown-description {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Simple list links (Resources, Integrations, About) */
.nav-dropdown-simple-link {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--foreground);
}

.nav-dropdown-simple-link:hover {
  background: var(--primary-light);
  color: var(--foreground);
}

/* Mobile tweaks so dropdown menus don't float weirdly */
@media (max-width: 900px) {
  .nav-dropdown-menu {
    position: static;
    margin-top: 0.25rem;
    box-shadow: none;
    border: none;
    padding-left: 0;
  }
}

/* ============================================
   DIVIDER + LOGIN ICON
   ============================================ */

/* Divider between About and Login */
.line-break {
  flex: 0 0 auto;
  width: 1px;
  height: 24px;
  background-color: #ddd;
  margin: 0 10px; /* tight spacing on each side */
}

/* Make Login a flex container */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between icon and text */
  color: #5b2c83; /* purple from screenshot; adjust if you have a var */
  font-weight: 500;
}

/* Ensure Login text size */
a.btn-text.btn-login {
  font-size: 14px;
}

/* Lock icon */
.btn-login .login-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url(https://2047000.fs1.hubspotusercontent-na1.net/hubfs/2047000/raw_assets/public/Custom/Landing%20Pages/Platform/fax-api/images/626c4dca542410a40ccaba42_lock.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  top: -1px;       /* tiny alignment nudge (optional) */
}

/* Hover effects */
.btn-login:hover {
  color: var(--primary); /* or whatever purple you use */
}
.btn-login:hover .login-icon {
  filter: brightness(0.9);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background-color: rgba(248, 250, 252, 0.3);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: 12rem 0 8rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-bg-circle-1 {
  top: -10%;
  right: -10%;
  width: 800px;
  height: 800px;
  background-color: rgba(124, 58, 237, 0.1);
  opacity: 0.6;
  animation: pulse-slow 8s ease-in-out infinite;
}

.hero-bg-circle-2 {
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background-color: rgba(192, 54, 148, 0.1);
  opacity: 0.6;
  animation: pulse-slow 10s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-bg-circle-3 {
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background-color: rgba(124, 58, 237, 0.05);
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.hero-content .badge {
  margin-bottom: 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-badges .icon-check {
  color: var(--accent);
}

.hero-image {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, rgba(192, 54, 148, 0.2), rgba(124, 58, 237, 0.2));
  border-radius: 2rem;
  filter: blur(32px);
  opacity: 0.5;
  animation: pulse-slow 6s ease-in-out infinite;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   TRUSTED BY
   ============================================ */

.trusted-by {
  padding: 3rem 0;
  background-color: rgba(248, 250, 252, 0.5);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  text-align: center;
}

.trusted-by .section-label {
  margin-bottom: 2rem;
}

.logos-section {
      padding: 3rem 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      margin-bottom: 4rem;
    }
    
.logos-grid {
      display: grid;
      grid-template-columns: repeat(4, 2fr);
      gap: 4.5rem;
      align-items: center;
      justify-items: center;
      margin-top: 2rem;
      max-width: 768px;
      margin: auto;
    }
    
.logo-img {
      max-width: 140px;
      height: auto;
      max-height: 70px;
      opacity: 0.7;
      filter: grayscale(1);
      transition: opacity 0.3s, filter 0.3s;
      }

    .logo-img:hover {
      opacity: 1;
    filter: grayscale(0);
    }
    
    @media (min-width: 768px) {
      .logos-grid {
        grid-template-columns: repeat(4, 2fr);
      }
    }
    
    @media (min-width: 1024px) {
      .logos-grid {
        grid-template-columns: repeat(4, 2fr);
      }
      .logos-grid > :last-child {
  gap: 0rem;
}
    }

.logo-placeholder {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-300);
  text-align: center;
  border: 2px dashed var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}

.logo-placeholder-lg {
  display: none;
}

@media (min-width: 1024px) {
  .logo-placeholder-lg {
    display: block;
  }
}

/* ============================================
   SOLUTIONS
   ============================================ */

.solutions {
  padding: 5rem 0;
  background-color: var(--white);
}

.solutions-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.solution-card {
  background-color: var(--white);
  border: 2px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 1024px) {
  .solution-card {
    padding: 3rem;
  }
}

.solution-icon {
  width: 56px;
  height: 56px;
  background-color: var(--blue-50);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
  background-color: var(--primary);
  color: var(--white);
}

.solution-card h3 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.solution-description {
  color: var(--slate-600);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  min-height: 9rem;
}

.checklist {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.checklist li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   FEATURES
   ============================================ */

.features {
  padding: 6rem 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--blue-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: var(--white);
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--slate-600);
  line-height: 1.6;
}

/* ============================================
   AI SECTION
   ============================================ */

.ai-section {
  padding: 6rem 0;
  background-color: var(--slate-900);
  color: var(--white);
  overflow: hidden;
}

.ai-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ai-demo {
  order: 1;
}

@media (min-width: 1024px) {
  .ai-demo {
    order: 0;
  }
}

.ai-demo-window {
  position: relative;
  background-color: var(--slate-950);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-800);
}

.ai-demo-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.ai-demo-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--slate-800);
}

.ai-demo-header span {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--slate-500);
}

.ai-demo-header span:first-child {
  border-right: 1px solid var(--slate-800);
  background-color: rgba(15, 23, 42, 0.5);
}

.ai-demo-header span.text-accent {
  background-color: rgba(192, 54, 148, 0.05);
}

.ai-demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ai-demo-input {
  padding: 1.5rem;
  border-right: 1px solid var(--slate-800);
  background-color: rgba(255, 255, 255, 0.03);
  opacity: 0.5;
  filter: grayscale(1) blur(0.5px);
  transition: all 0.5s ease;
}

.ai-demo-window:hover .ai-demo-input {
  filter: grayscale(0) blur(0);
}

.skeleton-line {
  height: 8px;
  background-color: var(--slate-700);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.skeleton-line.w-third { width: 33%; height: 12px; }
.skeleton-line.w-two-thirds { width: 66%; }
.skeleton-line.w-full { width: 100%; }
.skeleton-line.w-five-sixths { width: 83%; }

.skeleton-divider {
  height: 1px;
  background-color: var(--slate-800);
  margin: 1rem 0;
}

.ai-demo-output {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .ai-demo-output {
    font-size: 0.875rem;
  }
}

.json-line {
  white-space: nowrap;
}

.json-line.indent-1 { padding-left: 1rem; }
.json-line.indent-2 { padding-left: 2rem; }

.json-bracket { color: var(--purple-400); }
.json-key { color: var(--blue-400); }
.json-string { color: var(--green-400); }

.ai-processing-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--slate-700);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
}

.ai-processing-badge svg {
  color: var(--accent);
}

.ai-content {
  order: 0;
}

@media (min-width: 1024px) {
  .ai-content {
    order: 1;
  }
}

.ai-content .badge {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.ai-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.ai-content > p {
  color: var(--slate-400);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.ai-features-list {
  list-style: none;
}

.ai-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ai-feature-icon {
  margin-top: 0.25rem;
  padding: 0.25rem;
  background-color: var(--slate-800);
  border-radius: var(--radius-full);
  color: var(--accent);
}

.ai-features-list li > div {
  display: flex;
  flex-direction: column;
}

.ai-features-list strong {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.ai-features-list span {
  color: var(--slate-400);
}

/* ============================================
   CODE SECTION
   ============================================ */

.code-section {
  padding: 6rem 0;
  background-color: var(--slate-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.code-section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.code-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.code-bg-circle-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(124, 58, 237, 0.2);
}

.code-bg-circle-2 {
  bottom: 25%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background-color: rgba(192, 54, 148, 0.2);
}

.code-header-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-800);
  position: relative;
  z-index: 10;
}

.code-header-bar svg {
  color: var(--slate-400);
}

.code-header-bar span {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.code-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .code-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.code-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.code-content > p {
  color: var(--slate-300);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.steps {
  margin-bottom: 2.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 32px;
  height: 32px;
  background-color: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.step > div {
  display: flex;
  flex-direction: column;
}

.step strong {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.step span {
  color: var(--slate-400);
}

.code-window {
  background-color: var(--slate-950);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--slate-800);
}

.code-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--slate-800);
  background-color: rgba(15, 23, 42, 0.5);
}

.code-window-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background-color: rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.5); }
.dot-yellow { background-color: rgba(234, 179, 8, 0.2); border: 1px solid rgba(234, 179, 8, 0.5); }
.dot-green { background-color: rgba(34, 197, 94, 0.2); border: 1px solid rgba(34, 197, 94, 0.5); }

.code-tabs {
  display: flex;
  gap: 0.25rem;
}

.code-tab {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 0.25rem;
  color: var(--slate-500);
  transition: all 0.2s ease;
}

.code-tab:hover {
  color: var(--slate-300);
  background-color: var(--slate-800);
}

.code-tab.is-active {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.code-window-body {
  padding: 1.5rem;
  overflow-x: auto;
}

.code-panel {
  display: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-300);
  white-space: pre;
  overflow-x: auto;
}

.code-panel.is-active {
  display: block;
}

.code-panel code {
  font-family: inherit;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison {
  padding: 6rem 0;
  background-color: var(--slate-50);
}

.comparison-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.comparison-tabs {
  display: flex;
  background-color: var(--slate-200);
  padding: 0.25rem;
  border-radius: var(--radius-lg);
}

.comparison-tab {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  color: var(--slate-600);
  transition: all 0.2s ease;
}

.comparison-tab:hover {
  color: var(--slate-900);
}

.comparison-tab.is-active {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table-wrapper.is-hidden {
  display: none;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
}

.comparison-table thead tr {
  background-color: var(--slate-50);
}

.comparison-table th {
  font-weight: 600;
  color: var(--slate-500);
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3) {
  text-align: center;
}

.comparison-table th.highlight {
  color: var(--primary);
}

.comparison-table td {
  color: var(--slate-600);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--slate-700);
}

.comparison-table td:nth-child(2) {
  text-align: center;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}

.comparison-table td.highlight {
  background-color: rgba(124, 58, 237, 0.05);
  color: var(--slate-900);
  font-weight: 600;
  text-align: center;
  border-left: 1px solid var(--slate-100);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr {
  transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
  background-color: rgba(248, 250, 252, 0.5);
}

.comparison-footer {
  text-align: center;
  margin-top: 2rem;
}

.comparison-footer p {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(124, 58, 237, 0.05);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(124, 58, 237, 0.1);
  color: var(--slate-700);
  font-weight: 500;
}

.comparison-footer svg {
  color: var(--primary);
}

.ms_footer_content {
    grid-column-gap: 11px;
    grid-row-gap: 11px;
    justify-content: center;
    align-items: flex-start;
    margin-left: 40px;
    margin-right: 20px;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 20px;
    display: flex
}

.ms_footer_main_content {
    width: 65%;
    margin-right: 20px
}

.ms_footer_links {
    flex-direction: column;
    width: 25%;
    margin-right: 15px;
    padding-right: 20px;
    display: flex
}

.ms_footer_title {
    color: #662c89;
    letter-spacing: 1px;
    text-transform: capitalize;
    white-space: normal;
    word-break: normal;
    font-family: DM Sans,sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 17px
}

.ms_footer-logo-center {
    margin-bottom: 10px
}

.ms_footer_link {
    color: #2f2f2f;
    margin-top: 5px;
    margin-bottom: 5px;
    font-family: DM Sans,sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none
}
.ms_container.vertical {
    box-shadow: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1500px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
}
.ms_container {
    color: #2f2e2d;
    flex-flow: row;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    max-width: 1400px;
    margin-top: 17px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
}
.ms_w-container {
    max-width: 940px:
    margin-left: auto;
    margin-right: auto;
}

.ms_social_links {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex: 0 auto;
    justify-content: center;
    align-items: flex-end;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 40px;
    display: flex;
}

.ms_icons {
    padding-left: 0;
    display: flex
}

.ms_icons.social {
    text-align: center
}
.ms_image-8,.ms_image-9,.ms_image-10 {
    padding-right: 10px
}

.ms_link-2 {
    color: #817e8d;
    text-decoration: none;
    font-weight: 700;
    transition: all .825s
}

.ms_link-2:hover {
    color: #832998;
    text-decoration: underline
}

@media screen and (max-width: 767px) {
    .ms_footer_content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 2rem;
    }
}

@media screen and (max-width: 991px) {
    .ms_container.vertical {
        padding-left: 20px;
        padding-right: 20px;
        display: block;
    }
}

/* ============================================
   TESTIMONIAL
   ============================================ */

.testimonial {
  padding: 4rem 0;
  background-color: rgba(248, 250, 252, 0.5);
  border-top: 1px solid var(--slate-100);
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }
}

.testimonial-quote {
  position: relative;
}

.quote-mark {
  position: absolute;
  top: -2rem;
  left: -1.5rem;
  font-size: 4rem;
  color: rgba(124, 58, 237, 0.1);
  font-family: serif;
  line-height: 1;
}

blockquote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  blockquote {
    font-size: 1.5rem;
  }
}

.testimonial-author-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--slate-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--slate-900);
}

.author-info span {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.testimonial-author-card hr {
  border: none;
  border-top: 1px solid var(--slate-100);
  margin: 1rem 0;
}

.testimonial-author-card .link-arrow {
  color: var(--slate-700);
  font-size: 0.875rem;
  border-color: transparent;
}

.testimonial-author-card .link-arrow:hover {
  color: var(--primary);
}

/* ============================================
   STARTUP PROGRAM
   ============================================ */

.startup-program {
  padding: 6rem 0;
  background-color: rgba(59, 130, 246, 0.05);
}

.startup-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .startup-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.startup-image {
  position: relative;
  order: 1;
}

@media (min-width: 1024px) {
  .startup-image {
    order: 0;
  }
}

.startup-image-bg {
  position: absolute;
  inset: -1rem;
  background-color: rgba(192, 54, 148, 0.1);
  border-radius: 2rem;
  transform: rotate(3deg);
}

.startup-image img {
  position: relative;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.startup-floating-card {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
  max-width: 280px;
}

@media (min-width: 768px) {
  .startup-floating-card {
    display: block;
  }
}

.floating-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.floating-card-icon {
  padding: 0.5rem;
  background-color: var(--green-100);
  border-radius: var(--radius-full);
  color: var(--green-600);
}

.floating-card-label {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
}

.floating-card-header strong {
  color: var(--slate-900);
}

.startup-floating-card > p {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.startup-content {
  order: 0;
}

@media (min-width: 1024px) {
  .startup-content {
    order: 1;
  }
}

.startup-content .badge {
  margin-bottom: 1.5rem;
}

.startup-content h2 {
  margin-bottom: 1.5rem;
}

.startup-content > p {
  color: var(--slate-600);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.startup-content .checklist {
  margin-bottom: 2.5rem;
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
  padding: 6rem 0;
  background-color: var(--white);
}

.pricing-grid {
  display: grid;
  gap: 4rem;
  width: 80%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.pricing-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--slate-100);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  transition: background-color 0.3s ease;
}

.pricing-card:hover .pricing-card-bar {
  background-color: var(--slate-200);
}

.pricing-card-bar.is-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pricing-card.is-popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(124, 58, 237, 0.1);
  transform: scale(1.05);
  z-index: 10;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.pricing-card.is-popular h3 {
  color: var(--primary);
}

.pricing-description {
  color: var(--slate-500);
  font-size: 0.875rem;
  min-height: 40px;
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-900);
}

.pricing-price span:not(.price) {
  color: var(--slate-500);
}

.pricing-includes {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  margin-bottom: 1rem;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--slate-400);
}

.pricing-card.is-popular .pricing-features li svg {
  color: var(--primary);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: 6rem 0;
  background-color: var(--slate-50);
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-body a {
  color: #662C89;
  font-weight: normal;
}
.faq-body a:hover {
  font-style: underline;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-header:hover {
  background-color: var(--slate-50);
}

.faq-header h4 {
  color: var(--slate-900);
  font-size: 1rem;
  font-weight: 700;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--slate-400);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
}

.faq-item.is-open .faq-body {
  display: block;
}

.faq-body p {
  color: var(--slate-600);
  line-height: 1.6;
}

.comparison-table-wrapper::after {
    display: none;
}
/* ============================================
   FOOTER
   ============================================ */

/* Footer – match Referral Landing Page */
.footer {
background: rgba(245, 245, 246, 0.3);
margin-top: 0;
}

.footer-content {
padding: 3rem 0;
}

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

@media (min-width: 768px) {
.footer-grid {
grid-template-columns: repeat(4, 1fr);
gap: 3rem;
}

.footer-brand {
grid-column: span 2;
}
}

.footer-logo {
height: auto;
margin-bottom: 1rem;
max-width: 166px;
width: 166px;
}

.footer-description {
font-size: 0.875rem;
color: var(--muted-foreground);
max-width: 28rem;
}

.footer-section-title {
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1rem;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 0.5rem;
}

.footer-link {
font-size: 0.875rem;
color: var(--muted-foreground);
text-decoration: none;
transition: color 0.2s;
}

.footer-link {
color: var(--foreground);
}

.footer-bottom {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
padding-top: 2rem;
border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
.footer-bottom {
flex-direction: row;
justify-content: space-between;
}
}

.footer-copyright {
font-size: 0.875rem;
color: var(--muted-foreground);
}

.footer-legal {
display: flex;
gap: 1.5rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.is-hidden {
  display: none !important;
}

/* ============================================
   MOBILE RESPONSIVE + SCROLL FIX (SAFE)
   ============================================ */

@media (max-width: 767px) {

  /* --------------------------------------------
     GLOBAL MOBILE SAFETY
     -------------------------------------------- */
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .hero,
  .ai-section,
  .code-section,
  .startup-program,
  .pricing,
  .comparison,
  .footer {
    overflow-x: hidden;
  }

  /* --------------------------------------------
     BACKGROUND 
     -------------------------------------------- */
  .hero-bg,
  .code-section-bg {
    overflow: hidden;
  }

  .hero-bg-circle,
  .code-bg-circle {
    max-width: 100vw;
    max-height: 100vh;
  }

  .hero-bg-circle-1,
  .hero-bg-circle-2,
  .hero-bg-circle-3,
  .code-bg-circle-1,
  .code-bg-circle-2 {
    left: auto !important;
    right: auto !important;
    transform: translateX(0) !important;
  }

  /* --------------------------------------------
     GRID + FLEX SAFETY
     -------------------------------------------- */
  [class*="grid"] {
    min-width: 0;
  }

  /* --------------------------------------------
     CODE (FIXED — SINGLE SCROLL SOURCE)
     -------------------------------------------- */

  /* ❌ Remove scroll from the container */
  .code-window {
    max-width: 100%;
    overflow: hidden;
  }

  /* ✅ Allow scroll ONLY here */
  .code-window-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ❌ Do NOT add scroll again */
  .code-panel {
    overflow: visible;
    max-width: none;
  }

  /* Header + tabs */
  .code-window-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .code-tabs {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .code-tab {
    flex: 0 0 auto;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }

  /* --------------------------------------------
     HERO / STARTUP IMAGES
     -------------------------------------------- */
  .hero-image,
  .hero-image-wrapper,
  .startup-image,
  .startup-image img {
    max-width: 100%;
    overflow: hidden;
  }

  /* --------------------------------------------
     NAVBAR SAFETY
     -------------------------------------------- */
  .navbar,
  .navbar-container,
  .navbar-mobile {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* --------------------------------------------
     LOGOS (NO CUTOFF)
     -------------------------------------------- */
  .logos-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logos-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    justify-items: center;
  }

  .logo-img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* --------------------------------------------
     AI SECTION
     -------------------------------------------- */
  .ai-section {
    overflow: visible; 
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ai-content {
    max-width: 100%;
    overflow-x: hidden;
  }

  .ai-content h2 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .ai-content > p {
    font-size: 1rem;
  }

  .ai-demo-content {
    grid-template-columns: 1fr;
  }

  .ai-demo-input {
    border-right: none;
    border-bottom: 1px solid var(--slate-800);
  }

  .ai-demo-output {
    overflow-x: auto;
  }

  .json-line {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* --------------------------------------------
     COMPARISON TABLE
     -------------------------------------------- */
  .comparison-table-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0;
    box-shadow:  0 4px 10px rgb(0 0 0 / 0.08), 0 10px 20px rgb(0 0 0 / 0.06);
    border-radius: var(--radius-2xl);
  }

  .comparison-table {
    min-width: 640px;
  }

  .comparison-footer p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    border-radius: var(--radius-2xl);
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
  }
  
  .startup-image-bg {
    background-color: transparent;
}

  /* --------------------------------------------
     PRICING
     -------------------------------------------- */
  .pricing-grid {
    width: 100%;
    margin: 0;
    gap: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pricing-card.is-popular {
    transform: none;
  }

  /* --------------------------------------------
     FOOTER
     -------------------------------------------- */
  .ms_footer_links {
    align-items: flex-start; 
    text-align: left;
    width: 100%;
    max-width: 240px; 
  }
   .ms_social_links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding-bottom: 20px;
  }

  .ms_icons.social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
  }

  .ms_footer-logo-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --------------------------------------------
   SMALL MOBILE POLISH
   -------------------------------------------- */
@media (max-width: 500px) {

  .trust-badges span {
    min-width: 140px;
  }
  
 .comparison {
    overflow-x: visible;
  }
 
  
.comparison-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  
  .comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
  }
  
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    display: none;
  }

  /* Ensure remaining columns split evenly */
  .comparison-table th,
  .comparison-table td {
    width: 50%;
    padding: 1rem;
  }

 
}