/**
 * Techno Throne – Homepage hero section (SaaS-style)
 * Two-column: copy left, dashboard preview right. Soft gradient, large type, trust indicators.
 */

.hero {
  background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 35%, #f8fafc 100%);
  padding: 4rem 1.5rem 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 2rem 6rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 2rem 7rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
  }
}

.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* —— Left: Copy —— */
.hero__content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__content {
    text-align: left;
    max-width: 32rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero__badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
  }
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 2rem;
  max-width: 28rem;
}

@media (min-width: 1024px) {
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
    margin-bottom: 2.25rem;
  }
}

.hero__content .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero__content .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero__ctas {
    justify-content: flex-start;
    margin-bottom: 2.25rem;
  }
}

.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #0967d2;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(9, 103, 210, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.hero__cta-primary:hover {
  background: #0550a4;
  box-shadow: 0 4px 14px rgba(9, 103, 210, 0.4);
}

.hero__cta-primary:active {
  transform: scale(0.98);
}

.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero__cta-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero__trust {
    justify-content: flex-start;
  }
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

.hero__shopify-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hero__shopify-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* —— Right: Dashboard preview —— */
.hero__visual {
  position: relative;
  order: -1;
}

@media (min-width: 1024px) {
  .hero__visual {
    order: 0;
  }
}

.hero__dashboard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero__dashboard {
    margin: 0;
    max-width: 100%;
  }
}

.hero__dashboard-header {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__dashboard-dots {
  display: flex;
  gap: 6px;
}

.hero__dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hero__dashboard-dots span:first-child { background: #94a3b8; }
.hero__dashboard-title {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.hero__dashboard-body {
  padding: 1.25rem;
}

.hero__dashboard-section {
  margin-bottom: 1.25rem;
}

.hero__dashboard-section:last-child {
  margin-bottom: 0;
}

.hero__dashboard-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.hero__dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.hero__dashboard-metric {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

.hero__dashboard-metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.hero__dashboard-metric-label {
  font-size: 0.6875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.hero__dashboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__dashboard-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.hero__dashboard-list li:last-child {
  border-bottom: none;
}

.hero__dashboard-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  flex-shrink: 0;
}

.hero__dashboard-bar {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: 0.375rem;
}

.hero__dashboard-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.hero__dashboard-bar-fill--1 { width: 72%; }
.hero__dashboard-bar-fill--2 { width: 54%; }
.hero__dashboard-bar-fill--3 { width: 88%; }
