/* Extracted styles from index.html */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Roboto', Arial, sans-serif; line-height: 1.6; color: #2c3e50; background: #e5e7eb; font-size: 16px; }
h1, h2, h3 { font-weight: 600; color: #1a365d; line-height: 1.2; }
h1 { font-size: 2.2rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.75rem; margin-bottom: 1.25rem; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.container { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }

/* HERO */
.hero { background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600') center/cover no-repeat; color: #fff; padding: 60px 0 50px; text-align: center; border-radius: 0; }
.hero h1 { color: #fff; font-size: 2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 1rem; font-weight: 300; }
.hero-features { display: flex; justify-content: center; gap: 20px; margin: 20px 0; flex-wrap: wrap; }
.hero-feature { font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.hero-feature::before { content: "✓"; color: #f59e0b; font-weight: bold; font-size: 1.1rem; }

/* BUTTONS */
.btn { display: inline-block; padding: 14px 32px; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 6px; transition: all 0.3s ease; cursor: pointer; border: none; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-primary { background: #f59e0b; color: #1a365d; box-shadow: 0 4px 15px rgba(245,158,11,0.4); }
.btn-primary:hover { background: #d97706; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #ffffff; border: 2px solid #ffffff; }

/* QUALIFICATION BAR */
.qualification-bar { background: #f9fafb; padding: 30px 0; }
.qualification-bar h3 { text-align: center; color: #1a365d; margin-bottom: 16px; font-size: 1.4rem; }
.qualification-checks { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin: 0 auto 24px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: #2c3e50; }
.check-item input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.check-item label { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; line-height: 1.4; font-weight: normal; cursor: pointer; }
.qualification-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
#qualifyBtn { background: #f59e0b; color: #1a365d; }
#qualifyBtn:hover { background: #d97706; }
#alternativeBtn { background: #6b7280; color: #ffffff; }

/* VALUE PROPS */
.value-props { background: #f9fafb; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 30px; }
.value-card { background: #ffffff; padding: 24px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: transform 0.3s ease; }
.value-card:hover { transform: translateY(-5px); }
.value-icon { font-size: 2.5rem; color: #f59e0b; margin-bottom: 12px; }
.value-card h3 { color: #1e40af; margin-bottom: 10px; font-size: 1.1rem; }
.value-card p { font-size: 0.95rem; line-height: 1.5; }

/* MAIN FORM */
.main-form { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #ffffff; }
.main-form h2 { color: #ffffff; }
.application-form { background: #ffffff; padding: 24px; border-radius: 12px; max-width: 900px; margin: 0 auto; color: #2c3e50; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.form-section { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.form-section:last-of-type { border-bottom: none; }
.form-section h4 { color: #1e40af; margin-bottom: 12px; font-size: 1.1rem; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.form-group.required label::after { content: ""; }
.form-group label.visible-label { position: static; width: auto; height: auto; padding: 0; margin: 0 0 8px 0; overflow: visible; clip: auto; display: block; font-weight: 600; color: #1a365d; font-size: 0.9rem; }
.form-group input, .form-group select { width: 100%; padding: 12px 14px; border: 2px solid #cbd5e1; border-radius: 6px; font-size: 1rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: #3b82f6; }
.form-group input::placeholder { color: #94a3b8; }
fieldset { border: none; background: transparent; padding: 0; margin: 0 0 12px 0; }
fieldset legend { position: static; width: auto; height: auto; padding: 0; margin: 0 0 12px 0; overflow: visible; clip: auto; color: #1a365d; font-weight: 600; font-size: 0.9rem; display: block; }
.radio-group { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.radio-item { display: flex; align-items: flex-start; gap: 10px; }
.radio-item input[type="radio"] { width: 20px; height: 20px; cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.radio-item label { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; line-height: 1.4; font-weight: normal; cursor: pointer; font-size: 0.95rem; }
.checkbox-group { margin-top: 12px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.checkbox-item input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.checkbox-item label { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; font-weight: normal; cursor: pointer; font-size: 0.9rem; line-height: 1.4; }
.error-message { color: #dc2626; font-size: 0.85rem; margin-top: 5px; display: none; }
.error-message.show { display: block; }

/* FOOTER */
footer { background: #0f172a; color: #cbd5e1; padding: 40px 0 24px; text-align: center; }
.footer-content h4 { color: #ffffff; margin-bottom: 12px; font-size: 1.2rem; }
.footer-content p { margin-bottom: 8px; font-size: 0.9rem; }
.footer-disclaimer { font-size: 0.8rem; line-height: 1.6; color: #94a3b8; margin-top: 24px; padding-top: 24px; border-top: 1px solid #334155; text-align: left; max-width: 900px; margin-left: auto; margin-right: auto; }

/* MODAL */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; justify-content: center; align-items: center; padding: 16px; }
.modal.show { display: flex; }
.modal-content { background: #ffffff; padding: 32px; border-radius: 12px; max-width: 500px; width: 100%; text-align: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 1.8rem; cursor: pointer; color: #6b7280; background: none; border: none; line-height: 1; }

/* DEBUG PANEL - HIDDEN BY DEFAULT */
#debug { display: none; }

/* PAGE WRAPPER FOR DESKTOP */
@media (min-width: 1025px) {
  body { padding: 40px 20px; }
  body > section:first-of-type { border-radius: 12px 12px 0 0; overflow: hidden; }
  body > section, body > footer { max-width: 1200px; margin-left: auto; margin-right: auto; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
  body > footer { border-radius: 0 0 12px 12px; }
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-features { flex-direction: column; gap: 10px; align-items: center; }
  .hero-feature { font-size: 0.9rem; }
  
  .qualification-bar { padding: 24px 0; }
  .qualification-bar h3 { font-size: 1.2rem; margin-bottom: 12px; }
  .check-item { font-size: 0.9rem; }
  .qualification-buttons { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .qualification-buttons .btn { width: 100%; }
  
  .section { padding: 32px 0; }
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { padding: 20px; }
  
  .application-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-section { margin-bottom: 16px; }
  .form-section h4 { font-size: 1rem; margin-bottom: 10px; }
  .form-group { margin-bottom: 10px; }
  .btn { padding: 12px 24px; font-size: 0.95rem; width: 100%; }
  .radio-group { gap: 8px; }
  .radio-item { gap: 8px; }
  
  .footer-disclaimer { padding: 16px; margin-top: 16px; padding-top: 16px; }
  .modal-content { padding: 24px 20px; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .application-form { padding: 36px 28px; }
}

@media (min-width: 1025px) {
  .hero { padding: 80px 0 70px; }
  .hero h1 { font-size: 2.5rem; }
  .application-form { padding: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Honeypot hidden field */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
