:root {
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --text: #111827;
  --body: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 8px 24px rgba(0,0,0,.06);
  --gold: #D4AF37;
  --focus: #2563EB;
  --radius: 16px;
  --container: 1120px;
  --space: 80px;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background-color: var(--bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

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

h2 {
  font-size: clamp(1.75rem, 3vw, 2rem);
}

h3 {
  font-size: 1.375rem;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-right: 2rem;
}

.nav-link {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Mobile menu */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  padding: 1rem 1.5rem;
}

.mobile-nav-list li {
  margin-bottom: 1rem;
}

.mobile-nav-link {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
}

.mobile-cta {
  margin-top: 1rem;
  display: inline-block;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover {
  background: #c19b2e;
}

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

.btn-outline:hover {
  background: #F3F4F6;
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.card-tagline {
  color: var(--muted);
  margin: 0.5rem 0 1rem 0;
}

.card-features {
  list-style: none;
}

.card-features li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--body);
}

.card-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* Sections */
section {
  padding: var(--space) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  background: var(--bg);
  padding: 6rem 0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* Products */
.products {
  background: var(--bg);
}

/* Solutions */
.solutions {
  background: var(--bg-alt);
}

/* Customers */
.customers {
  background: var(--bg);
}

/* Pricing */
.pricing {
  background: var(--bg);
}

.pricing-card {
  text-align: center;
}

.pricing-featured {
  border-color: var(--gold);
  position: relative;
}

.pricing-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #111;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-features {
  margin: 1.5rem 0;
}

.pricing-features p {
  margin-bottom: 0.5rem;
  color: var(--body);
}

/* Docs & Contact */
.docs-contact {
  background: var(--bg-alt);
}

.docs-contact .card {
  text-align: center;
}

.docs-contact .card p {
  color: var(--muted);
  margin: 1rem 0 1.5rem 0;
}

/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-left p {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--body);
}

.footer-separator {
  color: var(--border);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Content pages styling */
.content-section {
  background: var(--bg);
  padding: var(--space) 0;
}

.content-grid {
  max-width: 800px;
  margin: 0 auto;
}

.content-main h2 {
  margin: 2rem 0 1rem 0;
  color: var(--text);
}

.content-main h3 {
  margin: 2rem 0 1rem 0;
  color: var(--text);
}

.content-main h4 {
  margin: 1.5rem 0 0.5rem 0;
  color: var(--text);
  font-size: 1.125rem;
}

.content-main p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 2rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2em;
}

.cta-section {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3rem 0;
}

.cta-section h3 {
  margin-bottom: 0.5rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.text-sm {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  :root {
    --space: 3rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
}
