/* Ascent by Blue Sphere Technologies - Main Stylesheet */

:root {
  /* ============================================
     BRAND COLORS - Ascent Brand Guide (Final)
     ============================================ */

  /* Primary Brand Colors */
  --color-brand-primary: #1C5FD4;     /* Brand Blue - trust, control, platform authority */
  --color-brand-secondary: #0F2A44;   /* Deep Blue - dark mode surfaces, headers */

  /* Accent Colors */
  --color-accent-teal: #16C096;       /* Teal - motion cues, gradient transitions */
  --color-accent-green: #3AD67D;      /* Green - success states only */

  /* Neutral Colors */
  --color-neutral-silver: #C7CBD1;    /* Silver - wordmark, secondary text on dark */
  --color-neutral-dark: #0F1225;      /* Core Dark - primary dark backgrounds */
  --color-neutral-light: #D9DBE1;     /* Neutral Light - light backgrounds, print */

  /* Semantic UI Tokens */
  --color-bg-primary: #0F1225;
  --color-bg-secondary: #0F2A44;
  --color-bg-light: #D9DBE1;

  --color-text-primary: #C7CBD1;
  --color-text-secondary: #9EA4AD;
  --color-text-inverse: #FFFFFF;

  --color-action-primary: #1C5FD4;
  --color-action-hover: #164BB0;

  --color-success: #3AD67D;
  --color-highlight: #16C096;

  /* ============================================
     LEGACY MAPPINGS (for backwards compatibility)
     ============================================ */

  /* Primary Colors - mapped to new brand colors */
  --primary-900: var(--color-neutral-dark);       /* #0F1225 */
  --primary-800: var(--color-brand-secondary);    /* #0F2A44 */
  --primary-700: #133E5C;                         /* Interpolated shade */
  --primary-600: var(--color-brand-primary);      /* #1C5FD4 */
  --primary-500: var(--color-brand-primary);      /* #1C5FD4 */
  --primary-400: #4A7FE0;                         /* Lighter shade */
  --primary-300: #7AA0E8;                         /* Even lighter */
  --primary-200: #B0C8F2;                         /* Light shade */
  --primary-100: #E5EDFB;                         /* Lightest shade */
  --primary-50: #F2F6FD;                          /* Near white */

  /* Accent Colors - mapped to Teal */
  --accent-500: var(--color-accent-teal);         /* #16C096 */
  --accent-400: #2DD4A8;                          /* Lighter teal */
  --accent-300: #5DE4C2;                          /* Light teal */
  --accent-100: #D1FAF0;                          /* Lightest teal */

  /* Success/Growth Colors - mapped to Green (tertiary only) */
  --success-500: var(--color-accent-green);       /* #3AD67D */
  --success-400: #5DE095;                         /* Lighter green */

  /* Neutral Colors - mapped to new neutrals */
  --neutral-950: #080A12;
  --neutral-900: var(--color-neutral-dark);       /* #0F1225 */
  --neutral-800: var(--color-brand-secondary);    /* #0F2A44 */
  --neutral-700: #1A3A58;
  --neutral-600: #4A5568;
  --neutral-500: #718096;
  --neutral-400: var(--color-text-secondary);     /* #9EA4AD */
  --neutral-300: var(--color-neutral-silver);     /* #C7CBD1 */
  --neutral-200: var(--color-neutral-light);      /* #D9DBE1 */
  --neutral-100: #EBEDF0;
  --neutral-50: #F5F6F7;
  --white: #ffffff;

  /* Typography - Libre Franklin per brand guide */
  --font-sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1280px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --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-glow: 0 0 40px rgba(28, 95, 212, 0.3);  /* Updated to brand blue */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1.125rem;
  color: var(--neutral-600);
}

.text-gradient {
  /* Brand Guide: Blue → Teal gradient allowed */
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  /* Brand Guide: Blue → Teal gradient for primary actions */
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-accent-teal) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(28, 95, 212, 0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(28, 95, 212, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-600);
  border: 2px solid var(--primary-200);
}

.btn-secondary:hover {
  border-color: var(--primary-500);
  background: var(--primary-50);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-600);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-500);
  border-radius: 1px;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-600);
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
}

.nav-dropdown-toggle:hover {
  color: var(--primary-600);
}

.nav-dropdown-toggle svg {
  width: 1rem;
  height: 1rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
  margin-top: 0.75rem;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-600);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background: var(--neutral-50);
  color: var(--primary-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--neutral-700);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Brand Guide: Blue → Teal gradients, subtle green accents */
  background:
    radial-gradient(circle at 20% 80%, rgba(22, 192, 150, 0.15) 0%, transparent 50%),  /* Teal */
    radial-gradient(circle at 80% 20%, rgba(28, 95, 212, 0.2) 0%, transparent 50%),    /* Brand Blue */
    radial-gradient(circle at 50% 50%, rgba(58, 214, 125, 0.08) 0%, transparent 70%);  /* Green (subtle) */
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-300);
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 1rem;
  height: 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 4rem;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-dark {
  background: var(--neutral-900);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--neutral-400);
}

.section-gray {
  background: var(--neutral-50);
}

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

.section-header p {
  margin-top: 1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100, #cffafe) 100%);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary-600);
}

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

.feature-card p {
  font-size: 1rem;
}

/* Integration Section */
.integrations {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 50%, var(--accent-100, #cffafe) 100%);
}

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

.integrations-content p {
  color: var(--neutral-500);
  margin-bottom: 2rem;
}

.integration-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-logo img {
  height: 1.75rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
}

.integration-logo svg {
  width: 2rem;
  height: 2rem;
}

/* Testimonial Section */
.testimonial-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
}

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

.testimonial-quote {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2rem;
}

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

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

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

.testimonial-name {
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-600);
}

.cta-section .btn-primary:hover {
  background: var(--neutral-100);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  position: relative;
  transition: all var(--transition-base);
}

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

.pricing-card.featured {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-500);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--primary-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

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

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-900);
  line-height: 1;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-500);
}

.pricing-description {
  font-size: 0.9375rem;
  color: var(--neutral-600);
  margin-bottom: 2rem;
}

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

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--neutral-700);
}

.pricing-features li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-card .btn {
  width: 100%;
}

/* About Page */
.about-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  text-align: center;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  transition: all var(--transition-base);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary-600);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--neutral-200);
}

.value-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.value-card h3 svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-500);
}

/* Contact Page */
.contact-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  text-align: center;
}

.contact-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-method-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-600);
}

.contact-method h4 {
  margin-bottom: 0.25rem;
}

.contact-method p {
  font-size: 1rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--neutral-300);
  border-radius: 0.5rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

/* Footer */
.footer {
  background: var(--neutral-900);
  padding: 4rem 0 2rem;
  color: var(--neutral-400);
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  font-size: 0.9375rem;
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-800);
  border-radius: 0.5rem;
  color: var(--neutral-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-600);
  color: var(--white);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Use Cases Pages */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.use-case-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.use-case-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.use-case-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-600);
}

.use-case-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.use-case-card p {
  color: var(--neutral-600);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.use-case-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-600);
  transition: gap var(--transition-fast);
}

.use-case-link svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-fast);
}

.use-case-card:hover .use-case-link {
  gap: 0.75rem;
}

.use-case-card:hover .use-case-link svg {
  transform: translateX(4px);
}

/* Use Case Detail Pages */
.use-case-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  text-align: center;
}

.use-case-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.use-case-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.use-case-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.use-case-hero .hero-badge svg {
  width: 1rem;
  height: 1rem;
}

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

.benefit-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-100);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.benefit-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.benefit-card h3 svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-600);
  flex-shrink: 0;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

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

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

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

/* Page specific overrides */
.page-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature detail sections */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature-detail:nth-child(even) {
  direction: rtl;
}

.feature-detail:nth-child(even) > * {
  direction: ltr;
}

.feature-detail-content h3 {
  margin-bottom: 1rem;
}

.feature-detail-content p {
  margin-bottom: 1.5rem;
}

.feature-detail-list {
  list-style: none;
}

.feature-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 1.0625rem;
  color: var(--neutral-800);
  font-weight: 500;
  line-height: 1.5;
}

.feature-detail-list li svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--success-500);
  flex-shrink: 0;
  margin-top: 0.1875rem;
}

/* Dark section list styling */
.section-dark .feature-detail-list li {
  color: var(--neutral-200);
}

.feature-detail-image {
  background: var(--neutral-100);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
}

.feature-detail-image img,
.feature-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-detail-image img:hover,
.feature-screenshot:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-2xl);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Screenshot */
.hero-screenshot {
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-preview {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

  .feature-detail:nth-child(even) {
    direction: ltr;
  }
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--neutral-200);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--neutral-500);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 1rem;
}

/* Pricing Crosswalk */
.crosswalk-header {
  display: grid;
  grid-template-columns: 1fr 100px 100px 100px;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--neutral-100);
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 600;
  color: var(--neutral-700);
  text-align: center;
}

.crosswalk-header-spacer {
  text-align: left;
}

.crosswalk-plan {
  font-size: 0.875rem;
}

.crosswalk-categories {
  border: 1px solid var(--neutral-200);
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}

.crosswalk-category {
  border-bottom: 1px solid var(--neutral-200);
}

.crosswalk-category:last-child {
  border-bottom: none;
}

.crosswalk-category-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--neutral-50);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-800);
  transition: background var(--transition-fast);
}

.crosswalk-category-header:hover {
  background: var(--neutral-100);
}

.crosswalk-category-header .chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--neutral-500);
  transition: transform var(--transition-fast);
}

.crosswalk-category.active .crosswalk-category-header .chevron {
  transform: rotate(180deg);
}

.crosswalk-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.crosswalk-category.active .crosswalk-category-content {
  max-height: 1000px;
  overflow: visible;
}

.crosswalk-feature {
  display: grid;
  grid-template-columns: 1fr 100px 100px 100px;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--neutral-100);
  background: white;
  align-items: center;
}

.crosswalk-feature:hover {
  background: var(--neutral-50);
}

.crosswalk-feature-name {
  font-size: 0.9375rem;
  color: var(--neutral-700);
}

.crosswalk-feature-check {
  text-align: center;
}

.crosswalk-feature-check .check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success-500);
}

.crosswalk-feature-check .dash {
  color: var(--neutral-300);
  font-size: 1rem;
}

.crosswalk-feature-check .coming-soon-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-500);
}

.crosswalk-feature-check .basic-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #D97706; /* Amber/orange to indicate partial/limited support */
}

.crosswalk-feature-check .basic-tooltip {
  position: relative;
  cursor: help;
  display: inline-flex;
}

.crosswalk-feature-check .basic-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 0.75rem;
  background: var(--neutral-800);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 1000;
  margin-bottom: 0.5rem;
  pointer-events: none;
}

.crosswalk-feature-check .basic-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--neutral-800);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 1000;
  margin-bottom: -0.25rem;
}

.crosswalk-feature-check .basic-tooltip:hover::after,
.crosswalk-feature-check .basic-tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

.coming-soon-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--primary-500);
  background: var(--primary-100);
  border-radius: 9999px;
}

.crosswalk-feature.has-coming-soon {
  background: linear-gradient(to right, transparent, rgba(28, 95, 212, 0.05));
}

.basic-badge {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--neutral-600);
  background: var(--neutral-200);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .crosswalk-header {
    grid-template-columns: 1fr 70px 70px 70px;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }

  .crosswalk-plan {
    font-size: 0.6875rem;
  }

  .crosswalk-feature {
    grid-template-columns: 1fr 70px 70px 70px;
    padding: 0.5rem 1rem;
  }

  .crosswalk-feature-name {
    font-size: 0.8125rem;
  }

  .crosswalk-category-header {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

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

.comparison-table th {
  background: var(--neutral-50);
  font-weight: 600;
  color: var(--neutral-900);
}

.comparison-table th:first-child {
  border-radius: 0.5rem 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 0.5rem 0 0;
}

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

.comparison-table tr:hover td {
  background: var(--neutral-50);
}

.comparison-table .check {
  color: var(--success-500);
}

.comparison-table .cross {
  color: var(--neutral-400);
}

/* Timeline - About Page */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: var(--neutral-200);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.75rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--primary-500);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-200);
}

.timeline-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  white-space: nowrap;
}

.timeline-badge-founded {
  background: var(--primary-100);
  color: var(--primary-700);
}

.timeline-badge-switch {
  background: #fef3c7;
  color: #92400e;
}

.timeline-badge-search {
  background: #fce7f3;
  color: #9d174d;
}

.timeline-badge-build {
  background: #d1fae5;
  color: #065f46;
}

.timeline-badge-launch {
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100) 100%);
  color: var(--primary-700);
}

.timeline-text {
  font-size: 0.9375rem;
  color: var(--neutral-700);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.timeline-date {
  font-weight: 600;
  color: var(--neutral-900);
}
