/* ===== Hero Section ===== */
.hero {
  background: var(--gradient-hero);
  color: white;
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating orbs */
.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  top: -80px;
  right: -80px;
  background: rgba(124, 58, 237, 0.12);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.6s ease both;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-5);
  color: white;
  animation: fadeInUp 0.6s ease 0.1s both;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: var(--line-height-relaxed);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-12) 0 var(--space-10);
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Options Grid ===== */
.options-section {
  padding: var(--space-16) 0;
}

.options-section__title {
  text-align: center;
  margin-bottom: var(--space-3);
}

.options-section__subtitle {
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--space-10);
  font-size: var(--font-size-base);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.option-card {
  cursor: pointer;
  text-decoration: none;
}

.option-card .card {
  height: 100%;
}

/* ===== Converter Page ===== */
.converter-page {
  padding: var(--space-10) 0 var(--space-16);
}

.converter-page__header {
  text-align: center;
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.5s ease both;
}

.converter-page__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.converter-page__breadcrumb a {
  color: var(--color-primary-500);
  transition: color var(--transition-fast);
}

.converter-page__breadcrumb a:hover {
  color: var(--color-primary-700);
}

.converter-page__title {
  margin-bottom: var(--space-3);
}

.converter-page__desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--font-size-base);
}

.converter-page__requirements {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-6);
}

.converter-page__req-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  box-shadow: var(--shadow-xs);
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--space-12) 0;
  background: var(--gradient-primary-soft);
  border-radius: var(--radius-2xl);
  margin: var(--space-10) 0;
}

.how-it-works__title {
  text-align: center;
  margin-bottom: var(--space-10);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.how-it-works__step {
  text-align: center;
}

.how-it-works__step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  margin: 0 auto var(--space-4);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.how-it-works__step-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
}

.how-it-works__step-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ===== SEO Content Section ===== */
.seo-content {
  padding: var(--space-12) 0;
}

.seo-content h2 {
  margin-bottom: var(--space-4);
}

.seo-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.seo-content p {
  margin-bottom: var(--space-4);
  max-width: 680px;
}

.seo-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.seo-content li {
  list-style: disc;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-2);
}

/* ===== Weight Input Slider ===== */
.weight-control {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.weight-control__slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  outline: none;
}

.weight-control__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-500);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.weight-control__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary-500);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.weight-control__value {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  min-width: 60px;
  text-align: right;
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  padding: var(--space-4) var(--space-6);
  background: var(--color-gray-900);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  box-shadow: var(--shadow-2xl);
  animation: fadeInUp 0.3s ease both;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.toast--success {
  background: var(--color-success);
}

.toast--error {
  background: var(--color-error);
}

/* ===== Loading Overlay ===== */
.processing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  z-index: 10;
  animation: fadeIn 0.2s ease both;
}

.processing-overlay__text {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
}
