/* -------------------------------------------------------------
 * LOCALDEV SOFTWARE SOLUTIONS - Brand Stylesheet
 * Colors: Navy Blue (#1D2A47), Accent Orange (#FF7A00),
 *         Light Gray (#F8F8F8), Dark Gray (#3B3B3B), Soft Blue (#A8C0E0)
 * Fonts: Montserrat (Headings), Open Sans (Body), Fira Code (UI/Code)
 * ------------------------------------------------------------- */

/* Reset & Variables */
:root {
  --color-navy: #1D2A47;
  --color-navy-dark: #0f182c;
  --color-orange: #FF7A00;
  --color-orange-dark: #cc6200;
  --color-light-gray: #F8F8F8;
  --color-white: #FFFFFF;
  --color-dark-gray: #3B3B3B;
  --color-soft-blue: #A8C0E0;
  --color-slate: #5A6E85;
  --color-emerald: #059669;
  
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-code: 'Fira Code', 'Source Code Pro', monospace;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 30px rgba(29, 42, 71, 0.08);
  --shadow-premium: 0 20px 40px rgba(29, 42, 71, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --border-radius: 12px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--color-navy);
}

p {
  color: var(--color-dark-gray);
  font-weight: 300;
}

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

.text-orange {
  color: var(--color-orange);
}

.font-code {
  font-family: var(--font-code);
}

/* Scroll Trigger Reveals */
.scroll-trigger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-trigger.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-orange-dark);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  transition: transform 0.3s ease;
}

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

/* -------------------------------------------------------------
 * Navigation Bar Styling
 * ------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
  padding: 20px 0;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(29, 42, 71, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-medium);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 72px;
  transition: var(--transition-smooth);
}

.navbar.scrolled .brand-logo {
  height: 52px;
}

.logo-image {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

/* Navbar Scrolled Logo Color Inversion via CSS Filter */
.navbar.scrolled .logo-image {
  /* Invert navy text part of logo to white, leaving orange intact */
  filter: brightness(0) invert(1) sepia(0) saturate(0) hue-rotate(0deg) drop-shadow(0 2px 5px rgba(0,0,0,0.15));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-navy);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: var(--transition-fast);
}

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

.navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-orange);
}

.navbar.scrolled .nav-cta {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: transparent;
}

.navbar.scrolled .nav-cta:hover {
  background-color: var(--color-orange-dark);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.navbar.scrolled .mobile-toggle .bar {
  background-color: var(--color-white);
}

/* -------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(248, 248, 248, 0.92) 0%, rgba(255, 255, 255, 0.85) 100%), 
              url('assets/landscape.png') no-repeat center center/cover;
}

/* geometric networks overlay */
.network-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(29, 42, 71, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(255, 122, 0, 0.04) 1.5px, transparent 1.5px);
  background-size: 30px 30px, 60px 60px;
  background-position: 0 0, 15px 15px;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-dark-gray);
  max-width: 90%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.badge-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  padding: 16px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(29, 42, 71, 0.06);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: var(--shadow-medium);
}

.badge-icon {
  background-color: rgba(255, 122, 0, 0.1);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--color-slate);
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-fade {
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* -------------------------------------------------------------
 * Live Dashboard Mockup Framework
 * ------------------------------------------------------------- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* Laptop Frame Wrapper */
.device-mockup.laptop-frame {
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 20px 50px rgba(29, 42, 71, 0.18));
}

.laptop-screen {
  background-color: var(--color-navy);
  border: 10px solid #2d3135;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Laptop Top Camera notch */
.laptop-screen::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background-color: #1e2022;
  border-radius: 2px;
  z-index: 10;
}

/* Simulator Title bar */
.mockup-header {
  background-color: var(--color-navy-dark);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-orange);
  box-shadow: 0 0 6px var(--color-orange);
}

.mockup-title {
  color: var(--color-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.mockup-tabs {
  display: flex;
  gap: 6px;
}

.tab-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

.tab-btn.active {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.mockup-user .user-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-soft-blue);
  font-family: var(--font-code);
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Simulator Screen Content Area */
.mockup-content {
  flex-grow: 1;
  background-color: var(--color-light-gray);
  position: relative;
  overflow: hidden;
}

.tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.tab-panel.active {
  opacity: 1;
  pointer-events: auto;
}

/* -------------------------------------------------------------
 * Simulator Tab 1: POS & Inventory
 * ------------------------------------------------------------- */
.simulator-layout {
  display: grid;
  grid-template-columns: 100px 1fr 130px;
  height: 100%;
  font-size: 0.7rem;
}

/* Side navigation category list */
.sim-sidebar {
  background-color: var(--color-white);
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-sidebar-title {
  font-weight: 700;
  color: var(--color-slate);
  font-size: 0.55rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.category-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  text-align: left;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-dark-gray);
}

.category-btn.active {
  background-color: rgba(29, 42, 71, 0.05);
  color: var(--color-navy);
}

.stock-alerts-box {
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 8px;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--color-orange);
  font-size: 0.55rem;
  margin-bottom: 4px;
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.alert-item {
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 0.5rem;
  font-weight: 600;
}

.alert-item.warn {
  background-color: rgba(255, 122, 0, 0.1);
  color: var(--color-orange-dark);
}

.alert-item.critical {
  background-color: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

/* Products grid column */
.sim-products {
  padding: 10px;
  overflow-y: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-orange);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.product-title {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 0.65rem;
}

.product-price {
  color: var(--color-orange);
  font-weight: 700;
  margin-top: 2px;
}

.product-stock {
  font-size: 0.55rem;
  color: var(--color-slate);
  margin-top: 1px;
}

.add-to-cart-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background-color: var(--color-navy);
  color: var(--color-white);
  border: none;
  font-size: 0.5rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
}

/* Checkout receipt sidebar column */
.sim-cart {
  background-color: var(--color-white);
  border-left: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.cart-title {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.empty-cart-msg {
  font-size: 0.55rem;
  color: var(--color-slate);
  text-align: center;
  margin-top: 20px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(0,0,0,0.04);
  padding-bottom: 2px;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-weight: 600;
}

.cart-item-qty {
  font-size: 0.5rem;
  color: var(--color-slate);
}

.cart-item-price {
  font-weight: 700;
}

.cart-totals {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 6px;
  margin-top: auto;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.checkout-btn {
  width: 100%;
  font-size: 0.55rem;
  padding: 6px 0;
  border-radius: 4px;
}

/* -------------------------------------------------------------
 * Simulator Tab 2: Kanban Workflow Tracker
 * ------------------------------------------------------------- */
.kanban-simulator {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  height: 100%;
  overflow-y: auto;
}

.kanban-column {
  background-color: rgba(0,0,0,0.03);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.column-header {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.6rem;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(29, 42, 71, 0.08);
  padding-bottom: 4px;
}

.col-count {
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 0.5rem;
  padding: 1px 4px;
  border-radius: 3px;
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.kanban-card-item {
  background-color: var(--color-white);
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.2s ease;
}

.kanban-card-item:hover {
  transform: scale(0.98);
}

.card-tag {
  align-self: flex-start;
  font-size: 0.45rem;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 2px;
}

.tag-blue { background-color: rgba(168, 192, 224, 0.25); color: var(--color-navy); }
.tag-orange { background-color: rgba(255, 122, 0, 0.12); color: var(--color-orange-dark); }
.tag-green { background-color: rgba(5, 150, 105, 0.12); color: var(--color-emerald); }

.kanban-card-item h4 {
  font-size: 0.6rem;
  font-weight: 700;
}

.kanban-card-item p {
  font-size: 0.5rem;
  color: var(--color-slate);
  line-height: 1.3;
}

.card-footer {
  border-top: 1px solid rgba(0,0,0,0.03);
  padding-top: 4px;
  margin-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.45rem;
  color: var(--color-slate);
}

.move-card-btn {
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: bold;
}

/* -------------------------------------------------------------
 * Simulator Tab 3: Site Design Customizer
 * ------------------------------------------------------------- */
.customizer-simulator {
  display: grid;
  grid-template-columns: 110px 1fr;
  height: 100%;
}

.customizer-sidebar {
  background-color: var(--color-white);
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.customizer-sidebar h3 {
  font-size: 0.6rem;
}

.custom-desc {
  font-size: 0.5rem;
  color: var(--color-slate);
}

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-btn {
  background: none;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 4px;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.5rem;
  text-align: left;
  transition: var(--transition-fast);
}

.theme-btn.active {
  border-color: var(--color-orange);
  background-color: rgba(255, 122, 0, 0.05);
}

.color-preview {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Simulated customer preview frame */
.customizer-preview {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  padding: 10px;
}

.preview-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.preview-brand {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.55rem;
}

.preview-links {
  display: flex;
  gap: 6px;
  font-size: 0.45rem;
  color: var(--color-slate);
}

.preview-hero {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px;
}

.preview-hero h4 {
  font-size: 0.75rem;
}

.preview-hero p {
  font-size: 0.5rem;
  max-width: 80%;
  line-height: 1.3;
}

.preview-cta-btn {
  margin-top: 6px;
  border: none;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.5rem;
  cursor: pointer;
  color: var(--color-white);
  transition: var(--transition-fast);
}

/* Site color variables for dynamic swap */
.customizer-preview.theme-orange .preview-brand { color: #FF7A00; }
.customizer-preview.theme-orange .preview-cta-btn { background-color: #FF7A00; }
.customizer-preview.theme-orange .preview-cta-btn:hover { background-color: #cc6200; }

.customizer-preview.theme-emerald .preview-brand { color: #059669; }
.customizer-preview.theme-emerald .preview-cta-btn { background-color: #059669; }
.customizer-preview.theme-emerald .preview-cta-btn:hover { background-color: #047857; }

.customizer-preview.theme-indigo .preview-brand { color: #4F46E5; }
.customizer-preview.theme-indigo .preview-cta-btn { background-color: #4F46E5; }
.customizer-preview.theme-indigo .preview-cta-btn:hover { background-color: #4338CA; }

/* Keyboard base portion of laptop */
.laptop-keyboard {
  background-color: #d1d5db;
  border-radius: 0 0 16px 16px;
  height: 14px;
  position: relative;
  border-bottom: 4px solid #9ca3af;
  flex-shrink: 0;
}

.keyboard-indent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #4b5563;
  border-radius: 0 0 4px 4px;
}

/* -------------------------------------------------------------
 * About / Local Advantage Section
 * ------------------------------------------------------------- */
.about-section {
  background-color: var(--color-light-gray);
  padding: 100px 0;
}

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

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

.subtitle {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-slate);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.advantage-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(255, 122, 0, 0.1);
}

.advantage-icon-wrapper {
  background-color: rgba(255, 122, 0, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.advantage-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.95rem;
  color: var(--color-slate);
}

/* Comparison block */
.comparison-block {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-medium);
  margin-top: 80px;
  border: 1px solid rgba(29, 42, 71, 0.05);
}

.comparison-block h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

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

.comp-box {
  padding: 24px;
  border-radius: 8px;
}

.comp-box.bad {
  background-color: rgba(239, 68, 68, 0.02);
  border: 1.5px dashed rgba(239, 68, 68, 0.15);
}

.comp-box.good {
  background-color: rgba(5, 150, 105, 0.02);
  border: 1.5px solid rgba(5, 150, 105, 0.15);
}

.comp-box h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.comp-box.bad h4 { color: #DC2626; }
.comp-box.good h4 { color: var(--color-emerald); }

.comp-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-box li {
  font-size: 0.95rem;
  color: var(--color-slate);
}

/* -------------------------------------------------------------
 * Services Section (Cards control Dashboard mockup)
 * ------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

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

.service-card {
  background-color: var(--color-light-gray);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1.5px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--color-orange);
  background-color: var(--color-white);
  box-shadow: var(--shadow-premium);
  transform: scale(1.02);
}

.service-visual-badge {
  position: absolute;
  top: 15px;
  right: -25px;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-code);
  font-size: 0.6rem;
  font-weight: bold;
  padding: 4px 30px;
  transform: rotate(45deg);
}

.service-icon {
  background-color: rgba(255, 122, 0, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-slate);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-action-hint {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.service-card:hover .service-action-hint {
  transform: translateX(6px);
}

/* -------------------------------------------------------------
 * Process Section (Timeline)
 * ------------------------------------------------------------- */
.process-section {
  padding: 100px 0;
  background-color: var(--color-light-gray);
  overflow: hidden;
}

.process-timeline-container {
  max-width: 800px;
  margin: 60px auto 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Drawing progress line */
.timeline-line-background {
  position: absolute;
  left: 28px;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: rgba(29, 42, 71, 0.08);
  border-radius: 2px;
}

.timeline-line-progress {
  position: absolute;
  left: 28px;
  top: 0;
  width: 4px;
  height: 0; /* JS scales this on scroll */
  background-color: var(--color-orange);
  border-radius: 2px;
  transition: height 0.1s ease-out;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.5);
}

.timeline-step {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.step-marker {
  width: 60px;
  height: 60px;
  background-color: var(--color-white);
  border: 4px solid rgba(29, 42, 71, 0.08);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.timeline-step.step-active .step-marker {
  border-color: var(--color-orange);
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.3);
  transform: scale(1.05);
}

.step-content-card {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-subtle);
  flex-grow: 1;
  transition: var(--transition-smooth);
}

.timeline-step.step-active .step-content-card {
  border-left: 4px solid var(--color-orange);
  box-shadow: var(--shadow-medium);
}

.step-icon {
  background-color: rgba(255, 122, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-content-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-content-card p {
  color: var(--color-slate);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.step-meta {
  font-family: var(--font-code);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* -------------------------------------------------------------
 * Testimonials Section
 * ------------------------------------------------------------- */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--color-light-gray);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(29, 42, 71, 0.03);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.testimonial-content p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.5;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.user-avatar-text {
  width: 48px;
  height: 48px;
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
}

.user-details h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.user-details p {
  font-size: 0.8rem;
  color: var(--color-slate);
}

.success-metric {
  position: absolute;
  right: 0;
  font-family: var(--font-code);
  font-weight: 700;
  font-size: 0.8rem;
  background-color: rgba(5, 150, 105, 0.1);
  color: var(--color-emerald);
  padding: 4px 10px;
  border-radius: 20px;
}

/* -------------------------------------------------------------
 * Lead Capture Contact Form
 * ------------------------------------------------------------- */
.contact-section {
  padding: 80px 0 100px 0;
  background-color: var(--color-white);
}

.contact-card {
  background-color: var(--color-navy);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.contact-info {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, rgba(29, 42, 71, 0.98) 0%, rgba(15, 24, 44, 0.98) 100%),
              url('assets/landscape.png') no-repeat center center/cover;
  min-width: 0; /* Prevents CSS Grid item overflow */
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-info h2 {
  color: var(--color-white);
  font-size: 2.2rem;
  line-height: 1.15;
}

.contact-info p {
  color: var(--color-soft-blue);
  font-size: 1.05rem;
}

/* Smart Helper Highlight */
.solution-helper-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  border: 1.5px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition-smooth);
}

.solution-helper-box.highlight {
  background-color: rgba(255, 122, 0, 0.1);
  border-color: var(--color-orange);
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.15);
  transform: scale(1.02);
}

.helper-icon {
  background-color: rgba(255, 122, 0, 0.15);
  padding: 6px;
  border-radius: 6px;
  display: flex;
}

.solution-helper-box.highlight .helper-icon {
  background-color: var(--color-orange);
}

.solution-helper-box.highlight .helper-icon svg {
  stroke: var(--color-white);
}

.helper-content h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.helper-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.contact-footer-notes p {
  font-size: 0.8rem;
  color: var(--color-slate);
}

/* Form Styling */
.contact-form {
  background-color: var(--color-light-gray);
  padding: 60px;
  color: var(--color-navy);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-navy);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(29, 42, 71, 0.12);
  background-color: var(--color-white);
  color: var(--color-navy);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
  transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15), inset 0 1px 3px rgba(0,0,0,0.02);
}

.form-group placeholder {
  color: #888;
}

.form-submit-btn {
  margin-top: 10px;
}

/* -------------------------------------------------------------
 * Footer & Success Overlays
 * ------------------------------------------------------------- */
.footer {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  align-self: flex-start;
  /* Filter logo navy portion to white */
  filter: brightness(0) invert(1) sepia(0) saturate(0);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  max-width: 80%;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  border-bottom: 1.5px solid rgba(255, 122, 0, 0.3);
  padding-bottom: 6px;
  display: inline-block;
}

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

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-orange);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  font-size: 0.8rem;
  color: var(--color-slate);
}

/* Success Modal Overlay */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 24, 44, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-modal {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.show .success-modal {
  transform: scale(1);
}

.modal-checkmark {
  background-color: var(--color-emerald);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.3);
}

.success-modal h2 {
  font-size: 1.6rem;
  color: var(--color-navy);
}

.success-modal p {
  color: var(--color-slate);
  font-size: 0.95rem;
  line-height: 1.5;
}

.success-modal button {
  width: 100%;
  margin-top: 10px;
}

/* -------------------------------------------------------------
 * Responsive Layout (Media Queries)
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-badges {
    width: 100%;
  }
  .advantage-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info {
    padding: 40px;
  }
  .contact-form {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }
  
  .navbar.scrolled {
    padding: 8px 0;
  }
  
  .brand-logo {
    height: 44px;
  }
  
  .navbar.scrolled .brand-logo {
    height: 36px;
  }
  
  .nav-links {
    display: none; /* Mobile menu collapsed by default */
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  /* Active state mobile drawer styling */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 24px;
    right: 24px;
    background-color: var(--color-navy-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
    gap: 20px;
  }
  
  .nav-links.active .nav-link {
    color: var(--color-white);
  }
  
  .nav-links.active .nav-cta {
    width: 100%;
  }
  
  .hero-section {
    padding: 100px 0 60px 0;
  }
  
  .hero-title {
    font-size: 2.0rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  
  .hero-subtitle {
    font-size: 1.0rem;
    max-width: 100%;
  }
  
  .btn-large {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 8px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  
  .hero-badges {
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  .advantage-grid,
  .services-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .device-mockup.laptop-frame {
    max-width: 100%;
  }
  
  .simulator-layout {
    grid-template-columns: 80px 1fr; /* Drop receipt sidebar on mobile viewport mockup for density */
  }
  
  .sim-cart {
    display: none;
  }
  
  .contact-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-info {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 24px !important;
    gap: 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .contact-info * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  .solution-helper-box {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 16px !important;
  }

  .helper-content {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .contact-footer-notes p {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
  }
  
  .contact-form {
    padding: 30px 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* -------------------------------------------------------------
 * TIGHT MOBILE VIEWPORT OPTIMIZATIONS (Screen width < 480px)
 * ------------------------------------------------------------- */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
  }
  
  .brand-logo {
    height: 38px;
  }
  
  .navbar.scrolled .brand-logo {
    height: 32px;
  }
  
  .hero-section {
    padding: 85px 0 40px 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  /* Mockup Header tab adjustments for density */
  .mockup-header {
    padding: 6px 8px;
  }
  
  .mockup-title {
    display: none; /* Hide simulator text title to save space */
  }
  
  .tab-btn {
    padding: 4px 6px;
  }
  
  .tab-btn span {
    display: none; /* Hide tab button texts, showing only icons */
  }
  
  .mockup-user {
    display: none; /* Hide admin badge to save space */
  }
  
  /* Mockup Content adjustments */
  .simulator-layout {
    grid-template-columns: 1fr; /* Stack layout vertically */
  }
  
  .sim-sidebar {
    display: none; /* Collapse mock sidebar on tiny screens */
  }
  
  /* Cards and sections padding adjustments */
  .advantage-card, 
  .service-card,
  .testimonial-card {
    padding: 24px 16px;
  }
  
  .section-header h2 {
    font-size: 1.65rem;
  }
  
  /* Lead Capture Form & contact info adjustments */
  .contact-info {
    width: 100% !important;
    max-width: 100% !important;
    padding: 30px 16px !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }
  
  .contact-info h2 {
    font-size: 1.45rem;
  }
  
  .contact-form {
    padding: 30px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .solution-helper-box {
    padding: 12px !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .helper-content h4 {
    font-size: 0.85rem;
  }
  
  .helper-content p {
    font-size: 0.75rem;
  }
  
  .footer-container {
    padding: 0 16px;
  }
}
