      :root {
  --primary: #1A2BC3;
  --secondary: #F8F9FA;
  --light-grey: #F5F7FA;
  --text: #1A1A1A;
  --text-secondary: #707070;
  --white: #FFFFFF;
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--secondary);
  color: var(--text);
  overflow-x: hidden;
}

/* Hero Section */
.verify-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d1763 100%);
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.verify-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge .material-symbols-outlined {
  font-size: 18px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* Search Section */
.search-section {
  max-width: 900px;
  margin: -30px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.search-container {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-hover);
}

.search-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.search-icon {
  font-size: 32px;
  color: var(--primary);
}

.search-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.search-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding-left: 44px;
}

.search-form {
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light-grey);
  border-radius: 16px;
  padding: 8px 8px 8px 20px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.input-group:focus-within {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 43, 195, 0.1);
}

.input-icon {
  font-size: 24px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.certificate-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--text);
  padding: 12px 8px;
  outline: none;
  text-transform: uppercase;
}

.certificate-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.verify-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.verify-btn:hover {
  background: #0d1763;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 43, 195, 0.3);
}

.verify-btn:active {
  transform: translateY(0);
}

.verify-btn .material-symbols-outlined {
  font-size: 20px;
}

.input-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 0 4px;
}

.input-hint .material-symbols-outlined {
  font-size: 16px;
}

.quick-examples {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--light-grey);
}

.examples-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.example-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.example-chip {
  background: var(--light-grey);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: 'Roboto Mono', monospace;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.example-chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Results Section */
.results-section {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.results-container {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  min-height: 400px;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--light-grey);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.loading-subtext {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Success/Error States */
.result-header {
  text-align: center;
  margin-bottom: 32px;
}

.result-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-badge {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.error-badge {
  background: linear-gradient(135deg, var(--error) 0%, #DC2626 100%);
}

.result-badge .material-symbols-outlined {
  font-size: 40px;
  color: var(--white);
}

.result-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.error-title {
  color: var(--error);
}

.result-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.error-subtitle {
  color: var(--text-secondary);
}

/* Certificate Card */
.certificate-card {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(26, 43, 195, 0.1);
}

.cert-number-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.cert-number-display .material-symbols-outlined {
  font-size: 28px;
  color: var(--primary);
}

.cert-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

.cert-status.verified {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.cert-status .material-symbols-outlined {
  font-size: 18px;
}

/* Certificate Details */
.cert-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--light-grey);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary);
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

.score-value {
  font-size: 18px;
  color: var(--primary);
}

.cert-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 43, 195, 0.1);
}

.cert-validity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cert-validity .material-symbols-outlined {
  font-size: 20px;
  color: var(--success);
}

/* Error Reasons */
.error-reasons {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.error-reasons-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.error-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.error-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.error-list .material-symbols-outlined {
  font-size: 20px;
  color: var(--error);
  flex-shrink: 0;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 12px;
}

.action-btn {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-btn {
  background: var(--primary);
  color: var(--white);
}

.primary-btn:hover {
  background: #0d1763;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 43, 195, 0.3);
}

.secondary-btn {
  background: var(--light-grey);
  color: var(--text);
}

.secondary-btn:hover {
  background: #E5E7EB;
}

.action-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Info Section */
.info-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.info-container {
  text-align: center;
}

.info-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 48px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.info-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d1763 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon .material-symbols-outlined {
  font-size: 32px;
  color: var(--white);
}

.info-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.info-card-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-stats {
    gap: 24px;
  }

  .search-container {
    padding: 24px;
  }

  .search-title {
    font-size: 20px;
  }

  .input-group {
    flex-wrap: wrap;
    padding: 12px;
  }

  .certificate-input {
    width: 100%;
  }

  .verify-btn {
    width: 100%;
    justify-content: center;
  }

  .quick-examples {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-container {
    padding: 24px;
  }

  .result-title {
    font-size: 22px;
  }

  .cert-number-display {
    font-size: 14px;
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .info-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .verify-hero {
    padding: 80px 20px 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .search-header {
    flex-direction: column;
    text-align: center;
  }

  .search-subtitle {
    padding-left: 0;
  }

  .cert-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
