@font-face {
  font-family: 'Scania Sans Headline Bold';
  src: url('../../fonts/ScaniaSansCYHeadline-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Scania Sans Bold';
  src: url('../../fonts/ScaniaSansCY-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Scania Sans Regular';
  src: url('../../fonts/ScaniaSansCY-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Scania Sans Regular', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #1A175B;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 414px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  padding: 0 16px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 32px;
}

.scaniapay {
  height: 24px;
}

/* Hero Section */
.hero-section {
  height: calc(100vh - 72px);
  background: linear-gradient(rgba(26, 23, 91, 0.8), rgba(42, 37, 128, 0.8)), var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  position: relative;
}

.hero-content {
  color: white;
  max-width: 590px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
    font-family: 'Scania Sans Headline Bold', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background: #DC143C;
  color: white;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
  background: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

/* Form Styles */
.form-container {
  background: white;
  min-height: 100vh;
  padding: 20px;
}

.form-step {
  display: none;
  animation: slideIn 0.3s ease-in-out;
}

.form-step.active {
  display: block;
}

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

.step-header {
  text-align: center;
  margin-bottom: 40px;
}

.step-counter {
  background: #E8E8F0;
  color: #1A175B;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}

.step-title {
  font-family: 'Scania Sans Bold', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A175B;
  margin-bottom: 8px;
}

.step-subtitle {
  color: #666;
  font-size: 0.95rem;
}

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

.form-label {
  display: block;
  font-family: 'Scania Sans Bold', Arial, sans-serif;
  font-weight: 600;
  color: #1A175B;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 16px;
  border: 2px solid #E8E8F0;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #1A175B;
  box-shadow: 0 0 0 3px rgba(26, 23, 91, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  transform: scale(1.2);
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #666;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn-primary {
  flex: 1;
  background: #1A175B;
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #2A2580;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #666;
  padding: 16px 24px;
  border: 2px solid #E8E8F0;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #1A175B;
  color: #1A175B;
}

/* Loading Animation */
.loading-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #1A175B 0%, #2A2580 100%);
  text-align: center;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}

.loading-container.active {
  display: flex;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #FF6B35;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 32px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-family: 'Scania Sans Bold', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.loading-subtext {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Success Page */
.success-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1A175B 0%, #2A2580 100%);
  text-align: center;
  padding: 20px;
  color: white;
}

.success-container.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 32px;
  animation: checkmark 0.8s ease-in-out;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-title {
  font-family: 'Scania Sans Headline Bold', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  line-height: 1;
}

.success-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.help-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.3s ease;
}

.help-link:hover {
  color: white;
}

/* FAQ Page */
.faq-container {
  display: none;
  background: white;
  min-height: 100vh;
  padding: 20px;
}

.faq-container.active {
  display: block;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-title {
  font-family: 'Scania Sans Bold', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1A175B;
  margin-bottom: 16px;
}

.back-button {
  background: none;
  border: none;
  color: #1A175B;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 8px 0;
  text-decoration: underline;
}

.accordion-item {
  margin-bottom: 16px;
  border: 1px solid #E8E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  background: #F8F8FA;
  border: none;
  padding: 20px;
  text-align: left;
  font-family: 'Scania Sans Bold', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A175B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-button:hover {
  background: #F0F0F5;
}

.accordion-button.active {
  background: #E8E8F0;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.accordion-content.active {
  padding: 20px;
  max-height: 200px;
}

.accordion-text {
  color: #666;
  line-height: 1.6;
}

.legal-links {
  margin-top: 40px;
  text-align: center;
}

.legal-links a {
  color: #1A175B;
  text-decoration: underline;
  font-size: 0.9rem;
  margin: 0 8px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}