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

:root {
  --color-primary: #0a0f1e;
  --color-secondary: #1a1f35;
  --color-accent: #3b82f6;
  --color-accent-dark: #1d4ed8;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-border: #334155;
  --color-success: #10b981;
  --color-error: #ef4444;
  --shadow-blue-glow: 0 0 30px rgba(59, 130, 246, 0.4), 0 0 60px rgba(59, 130, 246, 0.2);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  text-align: center;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.certificate-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

.certificate-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-blue-glow), 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.3), 0 25px 30px -5px rgba(0, 0, 0, 0.4);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-dark));
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: var(--shadow-blue-glow);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.3);
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section-description {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Roadmap Section */
.roadmap-section {
  padding: 5rem 0;
  background-color: var(--color-secondary);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-dark));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border: 4px solid var(--color-secondary);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  z-index: 2;
}

.timeline-card {
  width: 45%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.05));
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue-glow), 0 10px 15px rgba(0, 0, 0, 0.2);
}

.timeline-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.timeline-date {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.timeline-description {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Form Section */
.form-section {
  padding: 5rem 0;
  background-color: var(--color-primary);
}

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.business-form {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.required {
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  display: block;
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-dark));
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-blue-glow);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 0 80px rgba(59, 130, 246, 0.3);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-success);
  border-radius: 8px;
  color: var(--color-success);
  margin-top: 1.5rem;
}

.success-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Quantum Section */
.quantum-section {
  padding: 5rem 0;
  background-color: var(--color-secondary);
}

.quantum-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.quantum-image-container {
  flex: 0 0 auto;
}

.quantum-image {
  width: 300px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
  transition: transform 0.3s ease;
}

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

.gauge-container {
  position: relative;
  width: 250px;
  height: 250px;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-background {
  opacity: 0.3;
}

.gauge-progress {
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 2s ease;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.gauge-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gauge-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background-color: var(--color-primary);
  border-top: 1px solid var(--color-border);
}

.footer-text {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }

  .timeline-card {
    width: calc(100% - 60px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quantum-content {
    flex-direction: column;
    gap: 2rem;
  }

  .quantum-image {
    width: 200px;
  }

  .gauge-container {
    width: 200px;
    height: 200px;
  }

  .gauge-value {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .business-form {
    padding: 1.5rem;
  }

  .certificate-image {
    border-radius: 8px;
  }
}
