/* Slate Systems Client Help Website
   Brand Colors & Styling
   ======================== */

:root {
  /* Brand Colors */
  --navy: #152a45;
  --navy-light: #1e3a5f;
  --orange: #ee7000;
  --orange-light: #fff3e8;
  --gray: #525c69;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --text-dark: #1a1a1a;
  --text-muted: #525c69;

  /* Typography */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-sm);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: var(--light-gray);
}

/* Navigation */
.nav {
  background: var(--navy);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--navy-light);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--medium-gray);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
}

.card-link:hover {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}

.btn-primary:hover {
  background: #b8922a;
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--light-gray);
  color: var(--navy);
}

/* Benefit Box */
.benefit-box {
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  padding: var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--space-md) 0;
}

.benefit-box p {
  margin: 0;
  font-style: italic;
  color: var(--text-dark);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: var(--space-md) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--medium-gray);
}

th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

tr:nth-child(even) {
  background: var(--light-gray);
}

/* Flow Diagram */
.flow-diagram {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  overflow-x: auto;
  white-space: pre;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: var(--space-md) 0;
}

.steps li {
  counter-increment: step;
  padding: var(--space-sm) 0 var(--space-sm) 3rem;
  position: relative;
  border-left: 2px solid var(--medium-gray);
  margin-left: 1rem;
}

.steps li:last-child {
  border-left-color: transparent;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: -1rem;
  top: var(--space-sm);
  width: 2rem;
  height: 2rem;
  background: var(--orange);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--medium-gray);
  padding: var(--space-md) 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--text-dark);
  padding-left: var(--space-sm);
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-logo img {
  height: 32px;
}

.footer-logo span {
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

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

.footer-links a:hover {
  opacity: 1;
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--navy-light);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Quick Links CTA */
.quick-links-cta {
  background: var(--orange-light);
  border: 2px solid var(--orange);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  margin: var(--space-lg) 0;
}

.quick-links-cta p {
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.quick-links-cta code {
  background: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Page Header */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-lg) 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--navy);
}

/* Content Sections */
.content-section {
  margin-bottom: var(--space-lg);
}

.content-section h2 {
  padding-bottom: var(--space-xs);
  border-bottom: 3px solid var(--orange);
  margin-bottom: var(--space-md);
}

/* Icon List */
.icon-list {
  list-style: none;
}

.icon-list li {
  padding: var(--space-xs) 0;
  padding-left: 2rem;
  position: relative;
}

.icon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* App Buttons */
.app-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin: var(--space-md) 0;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.app-btn:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* Highlight Box */
.highlight-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.highlight-box h3 {
  color: var(--orange);
  margin-bottom: var(--space-sm);
}

/* Alert Box */
.alert {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin: var(--space-md) 0;
}

.alert-info {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
}

.alert-success {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
}

.alert-warning {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero {
    padding: var(--space-lg) 0;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }
}

/* Print Styles */
@media print {
  .nav, .footer {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}
