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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

.section-header {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  padding: 18px 32px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
  -webkit-tap-highlight-color: transparent;
}

.cta-button:hover {
  background: linear-gradient(135deg, #b71c1c 0%, #8e1616 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-headline {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.15;
}

.hero-subheadline {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-bullets {
  margin: 2rem 0;
}

.hero-bullets ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.hero-bullets li {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  border-left: 4px solid #ffeb3b;
}

.hero-video {
  margin: 2rem 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.hero-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Opportunity Section */
.opportunity {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.opportunity-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.opportunity-card:hover {
  transform: translateY(-4px);
}

.opportunity-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.opportunity-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: #1a237e;
}

.opportunity-card p {
  font-size: 0.9375rem;
  color: #666;
  margin: 0;
}

/* Who For Section */
.who-for {
  padding: 60px 20px;
  background-color: #fff;
}

.checklist {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 1rem;
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4caf50;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Disqualifiers Section */
.disqualifiers {
  padding: 60px 20px;
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.disqualifiers .section-header {
  color: #d32f2f;
}

.disqualifier-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.disqualifier-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 8px;
  border: 2px solid #ffcdd2;
  font-size: 1rem;
  color: #c62828;
}

.x-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d32f2f;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Veterans Section */
.veterans {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.veterans-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.veterans-text {
  text-align: center;
}

.veterans-text p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #333;
}

.veterans-image {
  width: 100%;
  max-width: 400px;
}

.veterans-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Urgency Section */
.urgency {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  text-align: center;
}

.urgency p {
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  color: #333;
}

.urgency-warning {
  font-weight: 600;
  color: #e65100;
  font-size: 1.125rem;
}

.scarcity-badge {
  display: inline-block;
  padding: 12px 24px;
  background: #d32f2f;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Scheduler Section */
.scheduler {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
  min-height: 100vh;
}

.scheduler-steps {
  max-width: 500px;
  margin: 0 auto 3rem;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step.active {
  background: #1a237e;
  color: #fff;
}

.step.completed {
  background: #4caf50;
  color: #fff;
}

.step-connector {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  margin: 0 8px;
}

.step-indicator .step.active + .step-connector,
.step-indicator .step.completed + .step-connector {
  background: #4caf50;
}

.step-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scheduler-step {
  max-width: 700px;
  margin: 0 auto;
}

.scheduler-step.hidden {
  display: none;
}

.step-description {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

/* Calendar Slots */
.calendar-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 2rem;
}

.slot-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-card:hover {
  border-color: #1a237e;
  box-shadow: 0 4px 12px rgba(26, 35, 126, 0.15);
}

.slot-card.selected {
  border-color: #1a237e;
  background: #e8eaf6;
  box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
}

.slot-card.unavailable {
  opacity: 0.5;
  cursor: not-allowed;
}

.slot-day {
  font-weight: 700;
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.slot-date {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 4px;
}

.slot-time {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

.selection-instruction {
  text-align: center;
  color: #666;
  font-size: 0.9375rem;
  font-style: italic;
}

/* Selected Slot Display */
.selected-slot-display {
  background: #fff;
  border: 2px solid #4caf50;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.change-slot-btn {
  padding: 8px 16px;
  background: transparent;
  border: 2px solid #666;
  border-radius: 6px;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.change-slot-btn:hover {
  background: #f5f5f5;
}

/* Booking Form */
.booking-form {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9375rem;
}

.required {
  color: #d32f2f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a237e;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #d32f2f;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.error-message {
  display: block;
  color: #d32f2f;
  font-size: 0.8125rem;
  margin-top: 6px;
  min-height: 18px;
}

.checkbox-group {
  margin: 24px 0;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-text {
  font-weight: 400 !important;
  color: #333 !important;
}

.submit-button {
  width: 100%;
  padding: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.submit-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.submit-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Confirmation Section */
.confirmation-content {
  background: #fff;
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: #4caf50;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.confirmation-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a237e;
}

.confirmation-details {
  background: #e8f5e9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.confirmation-details p {
  margin: 8px 0;
  font-size: 1.0625rem;
}

.confirmation-expectations,
.confirmation-next-steps {
  text-align: left;
  margin-bottom: 24px;
}

.confirmation-expectations p,
.confirmation-next-steps p {
  margin-bottom: 12px;
}

.confirmation-expectations ul,
.confirmation-next-steps ul {
  padding-left: 20px;
}

.confirmation-expectations li,
.confirmation-next-steps li {
  margin-bottom: 8px;
  color: #555;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 40px 20px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .hero-subheadline {
    font-size: 1.25rem;
  }
  
  .section-header {
    font-size: 2rem;
  }
  
  .opportunity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .opportunity-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .veterans-content {
    flex-direction: row;
    text-align: left;
  }
  
  .veterans-text {
    text-align: left;
    flex: 1;
  }
  
  .calendar-slots {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .cta-button {
    width: auto;
    padding: 20px 48px;
  }
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3rem;
  }
  
  .hero-subheadline {
    font-size: 1.375rem;
  }
  
  .opportunity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .opportunity-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  
  .section-header {
    font-size: 2.25rem;
  }
  
  .hero,
  .opportunity,
  .who-for,
  .disqualifiers,
  .veterans,
  .urgency,
  .scheduler {
    padding: 80px 40px;
  }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem;
  }
  
  .hero-bullets li {
    font-size: 0.9375rem;
  }
  
  .slot-card {
    padding: 16px 12px;
  }
  
  .slot-date {
    font-size: 1.125rem;
  }
  
  .booking-form {
    padding: 24px 20px;
  }
  
  .confirmation-content {
    padding: 32px 24px;
  }
  
  .step-labels {
    font-size: 0.625rem;
  }
}

/* Prevent zoom on iOS input focus */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Selection color */
::selection {
  background: #1a237e;
  color: #fff;
}
