/* ============================================
   PreCheckd Design System
   Dark Navy: #1F363C
   Bright Green: #2ECC71
   ============================================ */

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

/* Typography & Base */
html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: #1F363C;
  color: #F2F4F3;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: #F2F4F3;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.625rem; }
h5 { font-size: 1.125rem; margin-bottom: 0.5rem; }
h6 { font-size: 1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: #C7D1CF; }
a { color: #2ECC71; text-decoration: none; transition: color 0.2s; }
a:hover { color: #4ADE80; }

/* Header & Navigation */
header {
  background: #1F363C;
  border-bottom: 1px solid #3B5860;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2F4F3;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo:hover { color: #4ADE80; }

nav a {
  margin-left: 2rem;
  font-size: 0.95rem;
  color: #C7D1CF;
  font-weight: 500;
}

nav a:hover { color: #4ADE80; }

/* Footer */
footer {
  background: #17282D;
  color: white;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid #3B5860;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #F2F4F3;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #8FA6AC;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #4ADE80;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #8FA6AC;
}

/* Containers & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: #2A4750;
  padding: 4rem 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: #2ECC71;
  color: #1F363C;
}

.btn-primary:hover {
  background: #4ADE80;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  background: #5C7278;
  color: #B9C7CA;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: #F2F4F3;
  border: 2px solid #4A6F7B;
}

.btn-secondary:hover {
  background: #2A4750;
  color: #F2F4F3;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: #2A4750;
  border: 1px solid #3B5860;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  transform: translateY(-4px);
}

.card h3, .card h4 {
  color: #F2F4F3;
}

.card p {
  color: #C7D1CF;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #E8EBEA;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #4A6F7B;
  border-radius: 6px;
  background: #24404A;
  color: #F2F4F3;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7A9096;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2ECC71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.form-error {
  background: #3A2020;
  border-left: 4px solid #E53E3E;
  color: #FF8A8A;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-error.hidden {
  display: none;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #24404A;
  border: 1px solid #3B5860;
  color: #4ADE80;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge::before {
  content: '✓';
  font-weight: bold;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1F363C 0%, #13252A 100%);
  color: white;
  padding: 6rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #3B5860;
}

.hero h1 {
  color: #F2F4F3;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: #C7D1CF;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }

/* Icon utility (for inline SVG icons replacing emoji) */
.icon {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.2em;
  color: #4ADE80;
}

.icon svg {
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 2rem 1.5rem; }
  nav a { margin-left: 1rem; font-size: 0.875rem; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in { animation: fadeIn 0.5s ease-out; }
.slide-in-up { animation: slideInUp 0.5s ease-out; }