@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary-color: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-primary);
}

.container {
  max-width: 480px;
  width: 90%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

button {
  margin: 8px 0;
  padding: 14px 28px;
  border: none;
  background: navy;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), #3730a3);
}

button:active {
  transform: translateY(0);
}

button:focus {
  outline: none;
  ring: 2px solid var(--primary-light);
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.secondary-btn {
  background: var(--secondary-color) !important;
  color: var(--text-secondary) !important;
  border: 2px solid #e2e8f0 !important;
}

.secondary-btn:hover {
  background: #e2e8f0 !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-md) !important;
}

#question-box {
  margin-top: 32px;
}

#question-text {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--text-primary);
  line-height: 1.4;
}

.question-helper {
  color: var(--text-secondary);
  font-weight: normal;
  font-size: 14px;
}

#answer-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

#form-section {
  margin-top: 32px;
}

#form-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

#form-section input, #form-section select, #form-section textarea {
  margin: 8px 0;
  padding: 16px;
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

#form-section input:focus, #form-section select:focus, #form-section textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: #fff;
}

#form-section input::placeholder, #form-section textarea::placeholder {
  color: var(--text-secondary);
}

.form-row {
  display: flex;
  gap: 12px;
  margin: 8px 0;
}

.form-row > * {
  flex: 1;
}

/* Info sections */
.info-section {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  text-align: left;
  border-left: 4px solid var(--primary-color);
}

.info-section h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.info-section p {
  color: var(--text-secondary);
  margin: 8px 0;
  line-height: 1.6;
}

/* Progress indicator */
.progress-container {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 20px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

/* Responsive design */
@media (max-width: 640px) {
  .container {
    padding: 32px 24px;
    margin: 16px;
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 24px;
  }

  #question-text {
    font-size: 18px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* Loading animation for buttons */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

button:disabled {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  cursor: not-allowed;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.tagline {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: navy;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: navy;
  background: rgba(99, 102, 241, 0.1);
}

/* Hero Section */
.hero-section {
  margin-bottom: 32px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero-images {
  display: flex;
  gap: 16px;
  flex: 1;
}

.image-card {
  flex: 1;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

/* Statistics Section */
.stats-section {
  display: flex;
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

/* Responsive design updates */
@media (max-width: 768px) {
  .header-content {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    padding: 6px 12px;
    font-size: 13px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-images {
    width: 100%;
    justify-content: center;
  }

  .stats-section {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

  .container {
    margin: 80px auto 20px auto;
    width: calc(100% - 20px);
    max-width: none;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 8px 12px;
  }

  .company-name {
    font-size: 16px;
  }

  .tagline {
    font-size: 10px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    padding: 4px 8px;
    font-size: 12px;
  }

  .hero-text h1 {
    font-size: 20px;
  }

  .hero-images {
    flex-direction: column;
    gap: 12px;
  }

  .hero-image {
    height: 100px;
  }

  .stats-section {
    padding: 16px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  .container {
    padding: 24px 16px;
    margin: 70px auto 16px auto;
  }
}


.question-image {
  width: 100%;
  max-width: 80%;
  display: block;
  margin: 0 auto 16px auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.question-content {
  text-align: center;
}
