:root {
  --bg-color: #0f0f0f;
  --card-bg: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #ffbf00;
  /* Amber from original app */
  --accent-hover: #ffcf40;
  --danger-color: #ef4444;
  --success-color: #22c55e;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --font-family: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: radial-gradient(
    circle at 50% 0%,
    #2a2a2a 0%,
    var(--bg-color) 70%
  );
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  animation: fadeIn 0.5s ease-out;
}

header {
  text-align: center;
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.highlight {
  color: var(--accent-color);
  background: linear-gradient(135deg, #ffbf00 0%, #ff9100 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

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

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

input[type="text"] {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 191, 0, 0.2);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.primary {
  background: linear-gradient(135deg, #ffbf00 0%, #ff9100 100%);
  color: #000;
  grid-column: span 2;
}

.btn.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 191, 0, 0.3);
}

.btn.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn.secondary:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn.danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn.danger:hover:not(:disabled) {
  background-color: rgba(239, 68, 68, 0.2);
}

.status-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.status-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.status-value {
  font-weight: 600;
  color: var(--accent-color);
}

.progress-container {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #ff9100);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
}

.message {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25rem;
}

footer {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  opacity: 0.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .btn.primary {
    grid-column: span 1;
  }
}

/* SEO Content Styles */
.seo-content {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: justify;
}

.seo-content h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.seo-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 3rem;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  margin-top: 1.5rem;
}

.step-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.step-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.9rem;
  margin: 0;
}

.faq-section {
  margin-bottom: 3rem;
}

details {
  background-color: var(--card-bg);
  margin-bottom: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
}

details[open] summary::after {
  content: "-";
}

details > div {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
