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

/* ==========================================
   1. DESIGN SYSTEM VARIABLES (LIGHT THEME)
   ========================================== */
:root {
  /* Colors */
  --primary: #156afc;         /* Vibrant brand blue */
  --primary-hover: #0055ff;
  --primary-light: #f0f7ff;
  --primary-glow: rgba(21, 106, 252, 0.12);
  
  --secondary: #10b981;       /* Emerald for positive states */
  --secondary-light: #ecfdf5;
  
  /* App Suite Colors (Mapped to Logo Layers) */
  --payroll-color: #10b981;      /* Green band */
  --payroll-bg: #ecfdf5;
  
  --hrms-color: #8b5cf6;         /* Purple/Indigo band */
  --hrms-bg: #f5f3ff;
  
  --projects-color: #06b6d4;     /* Cyan/Blue band */
  --projects-bg: #ecfeff;
  
  --crm-color: #f97316;          /* Orange band */
  --crm-bg: #fff7ed;
  
  --timesheets-color: #eab308;   /* Yellow band */
  --timesheets-bg: #fef9c3;
  
  --budget-color: #ef4444;       /* Red band */
  --budget-bg: #fef2f2;
  
  --bg-base: #f8fafc;         /* Premium off-white page background */
  --bg-surface: #ffffff;      /* Pure white for sections */
  --bg-card: #ffffff;         /* Card background */
  
  --text-primary: #0f172a;    /* Rich slate/charcoal for headings */
  --text-secondary: #475569;  /* Balanced gray for paragraphs */
  --text-muted: #94a3b8;     /* Light gray for helper text */
  
  --border-color: #f1f5f9;    /* Ultra-light borders */
  --border-color-dark: #e2e8f0;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* Grid & Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px auto;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.badge-center {
  display: flex;
  margin: 0 auto 20px auto;
  width: fit-content;
}

/* ==========================================
   3. BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  font-size: 0.975rem;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-base);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(79, 70, 229, 0.1);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color-dark);
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-muted);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================
   4. NAVIGATION HEADER (GLASSMORPHISM)
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.header-scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================
   5. HERO SECTION (HOME & PRODUCT PAGES)
   ========================================== */
.hero {
  padding: 180px 0 100px 0;
  overflow: hidden;
  background: radial-gradient(100% 100% at 50% 0%, var(--primary-light) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered .hero-title {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-description {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
}

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

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero graphic - clean modern SaaS dashboard component */
.hero-visual {
  position: relative;
  width: 100%;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

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

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.stat-value.green {
  color: var(--secondary);
}

.mockup-chart {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 140px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-header {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  padding-top: 10px;
}

.chart-bar {
  width: 10%;
  background-color: var(--primary);
  opacity: 0.3;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  transition: var(--transition-slow);
}

.chart-bar:nth-child(even) {
  background-color: var(--primary);
  opacity: 0.8;
}

.chart-bar:hover {
  opacity: 1;
}

/* Floating Card Ornament */
.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.floating-icon {
  width: 36px;
  height: 36px;
  background-color: var(--secondary-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.floating-details h4 {
  font-size: 0.875rem;
  font-weight: 700;
}

.floating-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================
   6. SOCIAL PROOF
   ========================================== */
.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-base);
}

.social-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.logo-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.partner-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-fast);
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 0.9;
  color: var(--text-secondary);
}

/* ==========================================
   7. FEATURE GRID
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

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

.feature-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
}

/* Suite Card (Multi-Module Apps) Styling */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.suite-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.suite-card.payroll { border-top-color: var(--payroll-color); }
.suite-card.hrms { border-top-color: var(--hrms-color); }
.suite-card.projects { border-top-color: var(--projects-color); }
.suite-card.crm { border-top-color: var(--crm-color); }
.suite-card.timesheets { border-top-color: var(--timesheets-color); }
.suite-card.budget { border-top-color: var(--budget-color); }

.app-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.app-icon-wrapper svg {
  width: 22px;
  height: 22px;
  display: block;
}

.suite-card.payroll .app-icon-wrapper { background-color: var(--payroll-bg); color: var(--payroll-color); }
.suite-card.hrms .app-icon-wrapper { background-color: var(--hrms-bg); color: var(--hrms-color); }
.suite-card.projects .app-icon-wrapper { background-color: var(--projects-bg); color: var(--projects-color); }
.suite-card.crm .app-icon-wrapper { background-color: var(--crm-bg); color: var(--crm-color); }
.suite-card.timesheets .app-icon-wrapper { background-color: var(--timesheets-bg); color: var(--timesheets-color); }
.suite-card.budget .app-icon-wrapper { background-color: var(--budget-bg); color: var(--budget-color); }

.suite-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suite-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.suite-card .learn-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.suite-card:hover .learn-more {
  gap: 8px;
}

.suite-card.payroll .learn-more { color: var(--payroll-color); }
.suite-card.hrms .learn-more { color: var(--hrms-color); }
.suite-card.projects .learn-more { color: var(--projects-color); }
.suite-card.crm .learn-more { color: var(--crm-color); }
.suite-card.timesheets .learn-more { color: var(--timesheets-color); }
.suite-card.budget .learn-more { color: var(--budget-color); }

/* Suite Diagram in Hero (Replacing Dashboard) */
.suite-diagram {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-center {
  width: 130px;
  height: 130px;
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 16px;
}

.diagram-logo {
  max-width: 100%;
  height: auto;
}

.diagram-node {
  position: absolute;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  transition: var(--transition-normal);
}

.diagram-node::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  display: block;
}

/* Position 6 nodes around center */
.diagram-node.payroll { top: 5%; left: 12%; border-left: 4px solid var(--payroll-color); }
.diagram-node.payroll::before { background-color: var(--payroll-color); }

.diagram-node.hrms { top: 5%; right: 12%; border-left: 4px solid var(--hrms-color); }
.diagram-node.hrms::before { background-color: var(--hrms-color); }

.diagram-node.projects { top: 48%; right: 2%; border-left: 4px solid var(--projects-color); }
.diagram-node.projects::before { background-color: var(--projects-color); }

.diagram-node.crm { bottom: 5%; right: 12%; border-left: 4px solid var(--crm-color); }
.diagram-node.crm::before { background-color: var(--crm-color); }

.diagram-node.timesheets { bottom: 5%; left: 12%; border-left: 4px solid var(--timesheets-color); }
.diagram-node.timesheets::before { background-color: var(--timesheets-color); }

.diagram-node.budget { top: 48%; left: 2%; border-left: 4px solid var(--budget-color); }
.diagram-node.budget::before { background-color: var(--budget-color); }

.diagram-node:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Split Showcase Row */
.showcase-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
  margin-top: 100px;
}

.showcase-row:nth-child(even) {
  direction: rtl;
}

.showcase-row:nth-child(even) .showcase-text {
  direction: ltr;
}

.showcase-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.showcase-text p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

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

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text-primary);
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.showcase-visual {
  background-color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   8. TESTIMONIALS
   ========================================== */
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-base);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 8rem;
  color: var(--primary-light);
  font-family: serif;
  line-height: 1;
}

.quote-text {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--border-color-dark);
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================
   9. PAYROLL CALCULATOR (PRODUCT PAGE)
   ========================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background-color: var(--bg-base);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.calc-description {
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label {
  font-weight: 600;
  color: var(--text-primary);
}

.calc-value-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Custom Range Input Styling */
.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border-color-dark);
  border-radius: var(--radius-full);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.25);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.25);
}

.calc-results {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result-item {
  border-bottom: 1px solid var(--border-color-dark);
  padding-bottom: 16px;
}

.result-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}

.result-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.result-value.green {
  color: var(--secondary);
}

.result-suffix {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================
   10. STEP-BY-STEP PROCESS TIMELINE
   ========================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  height: 100%;
  width: 2px;
  background-color: var(--border-color-dark);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--bg-base);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-active .step-number {
  background-color: var(--primary);
  color: var(--bg-base);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.step-content {
  background-color: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
}

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

/* ==========================================
   11. FAQ ACCORDION (PRODUCT PAGE)
   ========================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  background-color: var(--bg-base);
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--border-color-dark);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: var(--transition-normal);
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--text-secondary);
  transition: var(--transition-normal);
}

.faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
}

/* Expanded state class */
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-icon::before, .faq-item.active .faq-icon::after {
  background-color: var(--primary);
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ==========================================
   12. CTA BOX & FOOTER
   ========================================== */
.cta-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px auto;
  font-size: 1.1rem;
}

.cta-box .btn-primary {
  background-color: var(--primary);
  color: var(--bg-base);
}

.cta-box::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background-color: var(--primary);
  opacity: 0.05;
  border-radius: var(--radius-full);
  filter: blur(80px);
}

.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color-dark);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-secondary);
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

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

.footer-links a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a:hover {
  color: var(--primary);
}

/* ==========================================
   13. ANIMATIONS & SCROLL UTILITIES
   ========================================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ==========================================
   14. MOBILE RESPONSIVENESS (BREAKPOINTS)
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }
  .showcase-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  /* Responsive Header Navigation */
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--bg-base);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-normal);
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.05);
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-cta {
    width: 100%;
    margin-top: 16px;
  }
  
  .nav-cta .btn {
    width: 100%;
  }

  /* Hamburger anim state */
  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero & Showcase Grids */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .dashboard-mockup {
    transform: none !important;
  }
  
  .dashboard-mockup:hover {
    transform: none !important;
  }
  
  .floating-card {
    display: none; /* Hide floating card on smaller screens to prevent overflow issues */
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
  }
  
  .showcase-row:nth-child(even) {
    direction: ltr;
  }
  
  /* Calculator Responsive */
  .calc-container {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-step {
    gap: 16px;
  }
  
  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================
   15. AUTHENTICATION PAGES (LOGIN & SIGNUP)
   ========================================== */
.auth-split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh;
}

.auth-content-panel {
  background: linear-gradient(135deg, var(--primary-light) 0%, #eff6ff 100%);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-color-dark);
  position: relative;
  overflow: hidden;
}

.auth-content-panel::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  opacity: 0.03;
  border-radius: var(--radius-full);
  filter: blur(80px);
}

.auth-panel-logo {
  display: inline-block;
  z-index: 10;
}

.auth-panel-features {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 500px;
  z-index: 10;
}

.auth-panel-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-align: left;
}

.auth-panel-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.auth-panel-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.auth-checkmark {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--payroll-bg);
  color: var(--payroll-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
}

.auth-panel-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  z-index: 10;
}

.auth-form-panel {
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.auth-form-card {
  width: 100%;
  max-width: 400px;
}

.auth-mobile-logo {
  display: none;
  margin-bottom: 32px;
}

.auth-header {
  margin-bottom: 32px;
}

.auth-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition-fast);
}

.auth-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Password Toggle style */
.auth-pass-toggle {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  user-select: none;
  transition: var(--transition-fast);
}

.auth-pass-toggle:hover {
  color: var(--primary);
}

/* Workspace input layout */
.workspace-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.workspace-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.workspace-input-wrapper .auth-input {
  border: none;
  border-radius: 0;
  padding: 12px 14px;
}

.workspace-input-wrapper .auth-input:focus {
  box-shadow: none;
}

.workspace-suffix {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 1px solid var(--border-color-dark);
  height: 100%;
  display: flex;
  align-items: center;
  align-self: stretch;
  user-select: none;
}

/* Password Strength Indicator */
.strength-indicator {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.strength-bars {
  display: flex;
  gap: 4px;
  height: 4px;
  width: 100%;
}

.strength-bar-seg {
  flex-grow: 1;
  background-color: var(--border-color-dark);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.strength-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

/* Strength Colors */
.strength-weak { background-color: #ef4444 !important; }
.strength-medium { background-color: #f59e0b !important; }
.strength-strong { background-color: #10b981 !important; }

.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--text-secondary);
}

.auth-link {
  color: var(--primary);
  font-weight: 600;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-footer-link {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 24px;
  color: var(--text-secondary);
}

/* Loading Spin button */
.btn-auth-loading {
  position: relative;
  color: transparent !important;
}

.btn-auth-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: calc(50% - 9px);
  left: calc(50% - 9px);
  border: 2px solid var(--bg-card);
  border-top-color: transparent;
  border-radius: var(--radius-full);
  animation: auth-spin 0.6s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .auth-split-container {
    grid-template-columns: 1fr;
  }
  .auth-content-panel {
    display: none;
  }
  .auth-mobile-logo {
    display: flex;
    justify-content: center;
  }
  .auth-form-panel {
    padding: 40px 24px;
  }
}

/* ==========================================
   16. INTERACTIVE SUITE SWITCHER
   ========================================== */
.switcher-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.switcher-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-color-dark);
  padding-bottom: 24px;
}

.switcher-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.switcher-tab svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.switcher-tab:hover {
  transform: translateY(-2px);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* Active tab colors matching logo colors */
.switcher-tab.active.payroll { background-color: var(--payroll-bg); color: var(--payroll-color); border-color: var(--payroll-color); }
.switcher-tab.active.hrms { background-color: var(--hrms-bg); color: var(--hrms-color); border-color: var(--hrms-color); }
.switcher-tab.active.projects { background-color: var(--projects-bg); color: var(--projects-color); border-color: var(--projects-color); }
.switcher-tab.active.crm { background-color: var(--crm-bg); color: var(--crm-color); border-color: var(--crm-color); }
.switcher-tab.active.timesheets { background-color: var(--timesheets-bg); color: var(--timesheets-color); border-color: var(--timesheets-color); }
.switcher-tab.active.budget { background-color: var(--budget-bg); color: var(--budget-color); border-color: var(--budget-color); }

.switcher-panel {
  display: none; /* hidden by default */
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-lg);
}

.switcher-panel.active {
  display: grid;
  animation: tabFadeIn 0.4s ease;
}

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

.panel-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.panel-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.panel-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.panel-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-checkmark {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
}

.payroll .panel-checkmark { background-color: var(--payroll-bg); color: var(--payroll-color); }
.hrms .panel-checkmark { background-color: var(--hrms-bg); color: var(--hrms-color); }
.projects .panel-checkmark { background-color: var(--projects-bg); color: var(--projects-color); }
.crm .panel-checkmark { background-color: var(--crm-bg); color: var(--crm-color); }
.timesheets .panel-checkmark { background-color: var(--timesheets-bg); color: var(--timesheets-color); }
.budget .panel-checkmark { background-color: var(--budget-bg); color: var(--budget-color); }

.panel-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Let's style a simple interactive preview box inside the panel graphic */
.preview-box {
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
  .switcher-panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
}

/* ==========================================
   17. MINIMALIST TYPOGRAPHY LAYOUTS
   ========================================== */
.connected-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
  flex-wrap: wrap;
}

.connected-node {
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  padding: 12px 24px;
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  box-shadow: none;
}

.connected-arrow {
  color: var(--text-muted);
  font-size: 1.25rem;
  font-weight: bold;
}

.app-stacked-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-normal);
  box-shadow: none;
}

.app-stacked-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.app-stacked-info {
  max-width: 70%;
}

.app-stacked-info h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-primary);
}

.app-stacked-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.app-stacked-action {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.app-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.minimal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-normal);
  box-shadow: none;
}

.minimal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.minimal-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.minimal-card:hover {
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .app-stacked-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .app-stacked-info {
    max-width: 100%;
  }
  .connected-flow {
    flex-direction: column;
    gap: 8px;
  }
  .connected-arrow {
    transform: rotate(90deg);
  }
}



