@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-base: #FFFFFF;
  --bg-surface: #F9FAFB;
  --bg-elevated: #F2F4F7;
  --bg-overlay: rgba(0,0,0,0.04);

  /* Text */
  --text-primary: #101828;
  --text-secondary: #667085;
  --text-muted: #98A2B3;

  /* Brand */
  --primary-25: #F0FDF7;
  --primary-50: #DCFCEE;
  --primary-100: #B9FAD8;
  --primary-200: #7BF2BC;
  --primary-500: #03BE6D;
  --primary-600: #03BE6D;
  --primary-700: #029954;
  --primary-800: #016B3C;
  --primary-900: #014D2B;

  /* Gray scale */
  --gray-25: #FCFCFD;
  --gray-50: #F9FAFB;
  --gray-100: #F2F4F7;
  --gray-200: #EAECF0;
  --gray-300: #D0D5DD;
  --gray-400: #98A2B3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1D2939;
  --gray-900: #101828;

  /* Semantic */
  --success-500: #12B76A;
  --warning-500: #F79009;
  --error-500: #F04438;

  /* Borders */
  --border: #EAECF0;
  --border-green: rgba(3,190,109,0.3);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,0.10), 0 1px 2px rgba(16,24,40,0.06);
  --shadow-md: 0 4px 8px -2px rgba(16,24,40,0.10), 0 2px 4px -2px rgba(16,24,40,0.06);
  --shadow-lg: 0 12px 16px -4px rgba(16,24,40,0.08), 0 4px 6px -2px rgba(16,24,40,0.03);

  /* Green glow (subtle on light) */
  --glow-green: 0 0 40px rgba(3,190,109,0.12), 0 8px 32px rgba(3,190,109,0.08);
  --glow-green-sm: 0 0 12px rgba(3,190,109,0.2);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   CSS RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background-color: var(--bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

.text-display {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.text-h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.text-h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.text-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

.text-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

.text-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

.text-caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-sm {
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.section-lg {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-gray {
  background-color: var(--bg-surface);
}

.section-dark {
  background-color: var(--bg-base);
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

/* Grid utilities */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Spacing helpers */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

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

/* ============================================================
   BUTTONS — pill-shaped throughout
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--primary-600);
  color: #ffffff;
  border: 1px solid var(--primary-600);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: var(--glow-green-sm);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--gray-700);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.btn-ghost {
  background-color: transparent;
  color: var(--gray-600);
  border: 1px solid transparent;
  padding-left: 12px;
  padding-right: 12px;
}

.btn-ghost:hover {
  color: var(--gray-900);
  background-color: var(--gray-50);
}

.btn-white {
  background-color: #03BE6D;
  color: #ffffff;
  border: 1px solid #03BE6D;
  font-weight: 700;
}

.btn-white:hover {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-1px);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  line-height: 1.6;
}

.badge-primary {
  background-color: rgba(3,190,109,0.15);
  color: var(--primary-500);
  border: 1px solid rgba(3,190,109,0.25);
}

.badge-success {
  background-color: rgba(3,190,109,0.12);
  color: #03BE6D;
  border: 1px solid rgba(3,190,109,0.2);
}

.badge-warning {
  background-color: rgba(247,144,9,0.12);
  color: #F79009;
  border: 1px solid rgba(247,144,9,0.2);
}

.badge-error {
  background-color: rgba(240,68,56,0.12);
  color: #F04438;
  border: 1px solid rgba(240,68,56,0.2);
}

.badge-gray {
  background-color: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

/* ============================================================
   SECTION LABEL CHIPS
   ============================================================ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(3,190,109,0.1);
  border: 1px solid rgba(3,190,109,0.25);
  color: #03BE6D;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-header {
  max-width: 640px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .text-h2,
.section-header .text-display {
  margin-bottom: 16px;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.card-lg {
  padding: 32px;
}

.card-hover {
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

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

/* Glassmorphism cards */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

/* ============================================================
   GREEN ORB / GLOW DECORATIVE ELEMENTS
   ============================================================ */

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,190,109,0.12) 0%, rgba(3,190,109,0.03) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.orb-hero-1 {
  width: 700px;
  height: 700px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.orb-hero-2 {
  width: 350px;
  height: 350px;
  bottom: 60px;
  right: 5%;
  opacity: 0.25;
}

.orb-hero-3 {
  width: 250px;
  height: 250px;
  bottom: 80px;
  left: 5%;
  opacity: 0.2;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--gray-900);
  background-color: var(--gray-50);
}

.nav-link.active {
  color: var(--primary-500);
  background-color: rgba(3,190,109,0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--gray-600);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  gap: 4px;
  background: #ffffff;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease;
}

.nav-mobile-link:hover {
  background-color: var(--gray-50);
  color: var(--gray-900);
}

.nav-mobile-link.active {
  color: var(--primary-500);
  background-color: rgba(3,190,109,0.1);
}

.nav-mobile-divider {
  height: 1px;
  background-color: var(--border);
  margin: 8px 0;
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

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

.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Centered hero: text on top, mockup below */
.hero-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-title {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-mockup-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
}

/* ============================================================
   LOGO BAR / TRUSTED BY
   ============================================================ */

.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 6px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--gray-50);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-600), transparent);
}

.stat-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-bottom: 16px;
}

.stat-sparkline-bar {
  width: 6px;
  background: rgba(3,190,109,0.25);
  border-radius: 2px;
  flex-shrink: 0;
}

.stat-sparkline-bar.active {
  background: var(--primary-500);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   FEATURE TILES / CARDS
   ============================================================ */

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-green);
  box-shadow: 0 0 30px rgba(3,190,109,0.06);
}

.icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(3,190,109,0.1);
  border: 1px solid rgba(3,190,109,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-container svg {
  color: var(--primary-500);
}

/* ============================================================
   CHIP ROW (feature tags)
   ============================================================ */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

/* ============================================================
   PAIN CARDS
   ============================================================ */

.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(3,190,109,0.08) !important;
}

/* ============================================================
   STEP CARDS (for 3-step section)
   ============================================================ */

.step-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3,190,109,0.1);
  border: 1px solid rgba(3,190,109,0.3);
  color: var(--primary-500);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ============================================================
   CHECKMARK LIST
   ============================================================ */

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(3,190,109,0.15);
  border: 1px solid rgba(3,190,109,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

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

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.star-rating {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--primary-500);
  font-size: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 1px;
}

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

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .pricing-card-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.pricing-card.featured {
  border-color: var(--primary-500);
  box-shadow: 0 0 40px rgba(3,190,109,0.12), 0 0 80px rgba(3,190,109,0.06);
  background: var(--bg-elevated);
}

.pricing-price {
  margin: 24px 0;
}

.pricing-price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-price-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* Pricing toggle */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.toggle-label.active {
  color: var(--gray-900);
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background-color: var(--gray-200);
  border-radius: 100px;
  transition: background-color 0.2s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-xs);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary-600);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.savings-badge {
  background: rgba(3,190,109,0.15);
  color: var(--primary-500);
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(3,190,109,0.2);
}

/* ============================================================
   MOCKUP CHROME (browser frame)
   ============================================================ */

.browser-chrome {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  position: relative;
  z-index: 2;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f9fafb;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

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

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

.browser-dot-red { background-color: #FF5F57; }
.browser-dot-yellow { background-color: #FEBC2E; }
.browser-dot-green { background-color: #28C840; }

.browser-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  color: #9ca3af;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
  max-width: 320px;
  margin: 0 auto;
}

/* ============================================================
   DASHBOARD MOCKUP (dark version)
   ============================================================ */

.dashboard-mockup {
  display: flex;
  height: 440px;
  background: #0C1210;
}

.dash-sidebar {
  width: 220px;
  background: #080D0B;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 20px 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-sidebar-logo {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dash-sidebar-logo-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-500);
  border-radius: 6px;
}

.dash-sidebar-logo-text {
  width: 60px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.dash-nav-item {
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.dash-nav-item.active {
  background: rgba(3,190,109,0.12);
}

.dash-nav-item-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.dash-nav-item-text {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  flex: 1;
}

.dash-nav-item.active .dash-nav-item-text {
  background: rgba(255,255,255,0.55);
}

.dash-nav-item.active .dash-nav-item-icon {
  background: var(--primary-500);
}

.dash-nav-item .dash-nav-item-icon {
  background: rgba(255,255,255,0.1);
}

.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-topbar {
  height: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  justify-content: space-between;
}

.dash-topbar-title {
  width: 120px;
  height: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.dash-topbar-actions {
  display: flex;
  gap: 8px;
}

.dash-topbar-btn {
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-600);
  width: 80px;
}

.dash-topbar-btn-ghost {
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  width: 60px;
}

.dash-content {
  flex: 1;
  padding: 20px;
  overflow: hidden;
  background: #0C1210;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash-stat-card {
  background: #111A16;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}

.dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-600), transparent);
}

.dash-stat-label {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  width: 70%;
  margin-bottom: 10px;
}

.dash-stat-value {
  height: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  width: 50%;
  margin-bottom: 8px;
}

.dash-stat-trend {
  height: 6px;
  background: rgba(3,190,109,0.2);
  border-radius: 4px;
  width: 40%;
}

.dash-tasks {
  background: #111A16;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
}

.dash-tasks-header {
  height: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.dash-tasks-header-text {
  width: 80px;
  height: 9px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.dash-task-row {
  height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.dash-task-row:last-child {
  border-bottom: none;
}

.dash-task-check {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  flex-shrink: 0;
}

.dash-task-check.done {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.dash-task-name {
  height: 9px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  flex: 1;
  max-width: 200px;
}

.dash-task-badge {
  height: 20px;
  border-radius: var(--radius-full);
  width: 60px;
}

.dash-task-badge.in-progress { background: rgba(3,190,109,0.15); }
.dash-task-badge.done-badge { background: rgba(3,190,109,0.1); }
.dash-task-badge.review { background: rgba(247,144,9,0.15); }
.dash-task-badge.todo { background: rgba(255,255,255,0.06); }

.dash-task-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   CHAT MOCKUP (dark)
   ============================================================ */

.chat-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}

.chat-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-bubble.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-avatar-ai {
  background: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar-user {
  background: var(--gray-200);
}

.chat-text {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  line-height: 1.5;
}

.chat-bubble.ai .chat-text {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 2px var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

.chat-bubble.user .chat-text {
  background: rgba(3,190,109,0.12);
  border: 1px solid rgba(3,190,109,0.25);
  color: var(--primary-700);
  border-radius: var(--radius-lg) 2px var(--radius-lg) var(--radius-lg);
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  margin-top: 8px;
}

.chat-input-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
}

.chat-send-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   PROPOSAL MOCKUP (dark)
   ============================================================ */

.proposal-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.proposal-editor {
  background: var(--bg-surface);
  padding: 20px;
  border-right: 1px solid var(--border);
}

.proposal-preview {
  background: var(--bg-elevated);
  padding: 20px;
}

.proposal-block {
  height: 12px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 8px;
}

.proposal-block.dark { background: rgba(255,255,255,0.15); }
.proposal-block.accent { background: rgba(3,190,109,0.2); width: 60%; }
.proposal-block.short { width: 40%; }
.proposal-block.medium { width: 70%; }

.feature-visual-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 8px;
}

/* ============================================================
   FEATURE PAGE ROWS
   ============================================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .feature-row .feature-visual {
    order: -1;
  }
}

/* Feature visual mockup */
.feature-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   DATA TABLE (dark)
   ============================================================ */

.data-table {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border-collapse: collapse;
}

.data-table th {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
  color: var(--text-secondary);
}

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

.data-table tr:hover td {
  background: rgba(255,255,255,0.025);
}

.value-up { color: #03BE6D; }
.value-down { color: #F04438; }

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

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}

.compare-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--bg-surface);
}

.compare-table tbody tr:hover td {
  background: var(--bg-surface);
}

.compare-table .check {
  color: var(--primary-500);
}

.compare-table .dash {
  color: var(--text-muted);
}

.compare-table .category-row td {
  background: var(--bg-elevated);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 10px 20px;
}

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 64px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-content-left {
  padding-right: 40px;
  text-align: right;
}

.timeline-content-right {
  padding-left: 40px;
  text-align: left;
}

.timeline-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #060A09;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--bg-base), 0 0 0 8px var(--border-green), var(--glow-green-sm);
}

.timeline-empty {
  /* empty side of alternating layout */
}

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

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  background: none;
  border: none;
  transition: color 0.15s ease;
}

.accordion-trigger:hover {
  color: var(--gray-900);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary-500);
}

.accordion-content {
  display: none;
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.accordion-item.open .accordion-content {
  display: block;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(3,190,109,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--gray-900);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(3,190,109,0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%238A9490' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
  background-color: #ffffff;
}

.form-select option {
  background: #ffffff;
  color: var(--gray-900);
}

.form-hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #101828;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #667085;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-tagline {
  font-size: 14px;
  color: #8A9490;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: #4A5550;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-text {
  font-size: 14px;
  color: #4A5550;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ============================================================
   ICON CONTAINER (dark)
   ============================================================ */

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */

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

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

/* ============================================================
   VALUES GRID
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============================================================
   CONTACT SPECIFIC
   ============================================================ */

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 768px */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-lg {
    padding: 80px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .text-display {
    font-size: 36px;
  }

  .text-h1 {
    font-size: 28px;
  }

  .text-h2 {
    font-size: 24px;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-subtitle {
    margin: 0 auto 36px;
  }

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

  .hero-title {
    font-size: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .timeline-step {
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
  }

  .timeline-content-left {
    display: none;
  }

  .timeline-content-right {
    padding-left: 0;
    text-align: left;
  }

  .timeline-center {
    justify-content: flex-start;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proposal-mockup {
    grid-template-columns: 1fr;
  }

  .proposal-preview {
    display: none;
  }

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

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

  .hero {
    padding-top: 100px;
  }
}

/* Desktop: 1024px */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

  .hero-subtitle {
    margin: 0 auto 36px;
  }

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

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

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* ============================================================
   UTILITY OVERRIDES
   ============================================================ */

.w-full { width: 100%; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.text-primary-color { color: var(--primary-500); }
.text-success { color: var(--success-500); }
.text-gray-500 { color: var(--text-secondary); }
.text-gray-600 { color: var(--text-secondary); }
.text-gray-900 { color: var(--gray-900); }
.text-white { color: #fff; }
.text-primary { color: var(--primary-500); }

.bg-white { background-color: var(--bg-surface); }
.bg-primary-50 { background-color: rgba(3,190,109,0.1); }

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