/* PayTrack Website — Clean Corporate Style */
:root {
  --ink: #111827;
  --ink-light: #374151;
  --muted: #6B7280;
  --paper: #FFFFFF;
  --bg: #F9FAFB;
  --accent: #059669;
  --accent-dark: #047857;
  --accent-light: #ECFDF5;
  --border: #E5E7EB;
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 20px; font-weight: 700; color: var(--ink); }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 32px; list-style: none; }
.nav a { color: var(--ink-light); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--accent); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px; border-radius: var(--radius);
  font-weight: 600; transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.2s; }

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--paper) 100%);
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); text-decoration: none; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.section-header p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* Feature Grid */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Stats */
.stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; padding: 48px 0; }
.stat { text-align: center; }
.stat-value { font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* CTA */
.cta-section {
  background: var(--ink); color: #fff; text-align: center; padding: 80px 0;
}
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { color: #9CA3AF; font-size: 17px; margin-bottom: 32px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #F3F4F6; text-decoration: none; color: var(--ink); }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 280px; }
.footer h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; color: var(--ink); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { color: var(--muted); font-size: 14px; }
.footer li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--muted); font-size: 13px; }

/* Page Header */
.page-header { padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 36px; font-weight: 700; }
.page-header p { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* Content */
.content { padding: 48px 0 80px; }
.content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; }
.content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.content p { margin-bottom: 16px; color: var(--ink-light); }
.content ul, .content ol { margin: 0 0 16px 24px; color: var(--ink-light); }
.content li { margin-bottom: 8px; }
.content a { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 16px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 40px; }
  .stats { gap: 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
