/* ==========================================================================
   OmniWork 360 — Modern SaaS Landing Page Stylesheet
   Brand Colors: Primary #0f4c81, Accent Teal #00a896, Coral #f4a261, Dark #0d2847
   ========================================================================== */

:root {
  /* Brand Palette */
  --color-primary: #0f4c81;
  --color-primary-dark: #0a3258;
  --color-primary-light: #1b6ca8;
  --color-teal: #00a896;
  --color-teal-dark: #028090;
  --color-teal-light: #02c39a;
  --color-coral: #f4a261;
  --color-coral-dark: #e76f51;
  --color-danger: #e63946;
  --color-success: #2a9d8f;

  /* Neutrals & Surfaces */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-focus: #0f4c81;

  /* Typography Colors */
  --color-text-main: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-inverse: #ffffff;

  /* Dark Hero & Accent Sections */
  --color-navy-dark: #07172b;
  --color-navy: #0d2847;
  --color-navy-light: #133963;
  --color-navy-surface: #102d50;
  --color-navy-border: rgba(255, 255, 255, 0.12);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow-teal: 0 0 25px rgba(0, 168, 150, 0.35);
  --shadow-glow-primary: 0 0 30px rgba(15, 76, 129, 0.3);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--color-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* Section Spacing */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-navy-dark);
  color: var(--color-text-inverse);
}

.section-alt {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Typography Helpers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  background: rgba(0, 168, 150, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 168, 150, 0.25);
}

.eyebrow-dark {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-title-dark {
  color: var(--color-text-inverse);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.section-subtitle-dark {
  color: #94a3b8;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 60%, var(--color-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #00a896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.45);
  color: #ffffff;
}

.btn-teal {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-teal:hover {
  background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-surface-alt);
  border-color: #cbd5e1;
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-secondary-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 4px rgba(15, 76, 129, 0.2));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  background: var(--color-surface-alt);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 4.5rem 0 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: rgba(15, 76, 129, 0.15);
  top: -100px;
  right: -80px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 168, 150, 0.18);
  bottom: 0;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
}

.hero-headline {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-navy-dark);
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 2.25rem auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-badge-item svg,
.hero-badge-item i {
  color: var(--color-teal);
  font-size: 1rem;
}

/* ==========================================================================
   Interactive Hero Dashboard Mockup
   ========================================================================== */

.hero-mockup-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}

.mockup-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 76, 129, 0.15);
  box-shadow: 0 25px 60px -15px rgba(13, 40, 71, 0.18), 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.mockup-window-header {
  background: #0d2847;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-address-bar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.25rem 1.25rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 380px;
  width: 100%;
  justify-content: center;
}

.window-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.window-status-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 168, 150, 0.25);
  color: #2dd4bf;
  border: 1px solid rgba(0, 168, 150, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Mockup Tabs */
.mockup-tabs-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 1.5rem 0 1.5rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.mockup-tab-btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mockup-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.6);
}

.mockup-tab-btn.active {
  background: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-border);
  border-bottom: 1px solid #ffffff;
  margin-bottom: -1px;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.02);
}

.mockup-tab-content {
  display: none;
  padding: 1.75rem;
  background: #ffffff;
  animation: fadeIn 250ms ease-in-out;
}

.mockup-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Tool Consolidation / Value Comparison Section
   ========================================================================== */

.consolidation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tool-replace-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.tool-replace-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 129, 0.3);
}

.tool-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.replaced-tool-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-danger);
  background: rgba(230, 57, 70, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.omni-solution-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  background: rgba(0, 168, 150, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.tool-replace-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.65rem;
}

.tool-replace-desc {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tool-feature-list {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.tool-feature-item svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

/* ==========================================================================
   Feature Showcase Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 168, 150, 0.4);
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-12 { grid-column: span 12; }

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-box-primary {
  background: rgba(15, 76, 129, 0.1);
  color: var(--color-primary);
}

.icon-box-teal {
  background: rgba(0, 168, 150, 0.1);
  color: var(--color-teal);
}

.icon-box-coral {
  background: rgba(244, 162, 97, 0.15);
  color: var(--color-coral-dark);
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-preview-box {
  margin-top: auto;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

/* ==========================================================================
   Multi-Company Architecture Section (Dark)
   ========================================================================== */

.tenant-architecture-box {
  background: var(--color-navy);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-top: 3rem;
}

.tenant-diagram-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.tenant-owner-node {
  background: rgba(15, 76, 129, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.tenant-divider-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 0.85rem;
}

.tenant-companies-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tenant-company-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.tenant-company-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--color-teal);
  transform: translateX(4px);
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.company-badge-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-teal);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.tenant-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.tenant-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tenant-feature-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0, 168, 150, 0.15);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tenant-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.tenant-feature-item p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   Interactive Dynamic Appraisal Formula Calculator
   ========================================================================== */

.calculator-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 2.5rem;
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.calc-inputs-pane {
  padding: 2.5rem;
  border-right: 1px solid var(--color-border);
}

.calc-results-pane {
  padding: 2.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slider-group {
  margin-bottom: 1.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-weight-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(15, 76, 129, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
}

.slider-val-display {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-primary);
}

.custom-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--color-teal);
}

.calc-score-display {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.composite-score-big {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-navy-dark);
  font-family: var(--font-sans);
  letter-spacing: -0.04em;
  margin: 0.5rem 0;
}

.grade-badge-huge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  margin: 0.5rem auto;
}

/* Tier Badges */
.grade-A-plus { background: #d1e7dd; color: #0f5132; border: 2px solid #badbcc; }
.grade-A { background: #cfe2ff; color: #084298; border: 2px solid #b6d4fe; }
.grade-B { background: #cff4fc; color: #055160; border: 2px solid #b6effb; }
.grade-C { background: #fff3cd; color: #664d03; border: 2px solid #ffecb5; }
.grade-D { background: #f8d7da; color: #842029; border: 2px solid #f5c2c7; }

/* ==========================================================================
   How It Works (Workflow Steps)
   ========================================================================== */

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  position: relative;
  margin-top: 3rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Security & Access Control Grid
   ========================================================================== */

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.security-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.security-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.security-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.security-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(15, 76, 129, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.security-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.security-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.security-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-top: 0.75rem;
}

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

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

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

.faq-chevron {
  transition: transform var(--transition-normal);
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease-out;
  padding: 0 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   Final Call To Action Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, #07172b 0%, #0d2847 60%, #00a896 120%);
  border-radius: var(--radius-xl);
  padding: 4rem 2.5rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.6;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.cta-credentials-hint {
  font-size: 0.8rem;
  color: #94a3b8;
}

.cta-credentials-hint code {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #38bdf8;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #07172b;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem 0;
  max-width: 320px;
  color: #94a3b8;
}

.footer-cluster-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footer-heading {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Modal Component (Appraisal Letter Preview)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 40, 71, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-border);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.show .modal-window {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface-alt);
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.modal-close-btn {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.modal-body {
  padding: 2rem;
}

/* Printout Style inside Modal */
.appraisal-letter-card {
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 2rem;
  background: #ffffff;
  font-family: var(--font-sans);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
    gap: 1.25rem;
    align-items: flex-start;
  }

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

  .nav-toggle {
    display: flex;
  }

  .col-span-8,
  .col-span-4,
  .col-span-6 {
    grid-column: span 12;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calc-inputs-pane {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .tenant-diagram-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 576px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 3rem 0;
  }

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

  .btn-lg {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .mockup-tab-content {
    padding: 1rem;
  }

  .calc-inputs-pane,
  .calc-results-pane {
    padding: 1.5rem;
  }
}

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