/* ================================================================
   BLOOMSTARZ — Home Page Styles (index.css)
   ================================================================ */

/* ── Hero ── */
.hero-section {
  min-height: 100vh;
  background: #07001A;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb--1 { display: none; }
.hero-orb--2 { display: none; }

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: var(--radius-xl);
  color: var(--bs-gold);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-pulse {
  width: 6px; height: 6px;
  background: var(--bs-gold);
  border-radius: 50%;
  animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  color: var(--bs-white);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-title-accent { color: var(--bs-gold); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  max-width: 490px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.hero-trust-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-ring {
  position: relative;
  width: 400px;
  height: 400px;
}
.hero-visual-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-visual-circle--1 { inset: 0; }
.hero-visual-circle--2 { inset: 48px; border-color: rgba(109,40,217,0.22); }
.hero-visual-circle--3 { inset: 96px; border-color: rgba(245,158,11,0.18); }
.hero-visual-core {
  position: absolute;
  inset: 140px;
  background: var(--bs-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-card {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-m);
  padding: 14px 18px;
}
.hero-visual-card--1 { top: 24px; left: -16px; }
.hero-visual-card--2 { bottom: 48px; right: -16px; }
.hero-visual-card-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.hero-visual-card-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bs-white);
}
.hero-visual-card-sub {
  font-size: 0.72rem;
  color: var(--bs-gold);
  margin-top: 2px;
}

/* ── Stats Bar ── */
.stats-section {
  background: var(--bs-dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-card {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stats-card:last-child { border-right: none; }
.stats-card-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--bs-white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-card-number em {
  font-style: normal;
  color: var(--bs-gold);
}
.stats-card-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* ── How It Works ── */
.hiw-section {
  padding: var(--section-py) 0;
  background: var(--bs-bg);
}
.hiw-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hiw-tabs {
  display: flex;
  gap: 6px;
  background: var(--bs-surface);
  border-radius: var(--radius-xl);
  padding: 6px;
  width: fit-content;
  margin: 48px auto 0;
}
.hiw-tab {
  padding: 11px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bs-muted);
  cursor: pointer;
  transition: var(--trans);
  border: none;
  background: none;
}
.hiw-tab--active {
  background: var(--bs-white);
  color: var(--bs-purple);
  box-shadow: var(--shadow-m);
}

.hiw-panel { display: none; }
.hiw-panel--active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.hiw-card {
  background: var(--bs-white);
  border: 1px solid var(--bs-border);
  border-radius: var(--radius-l);
  padding: 32px;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.hiw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--bs-purple-pale);
}
.hiw-card-num {
  width: 40px; height: 40px;
  background: var(--bs-purple-pale);
  color: var(--bs-purple);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 20px;
}
.hiw-card-icon {
  margin-bottom: 14px;
  line-height: 0;
}
.hiw-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bs-text);
  margin-bottom: 10px;
}
.hiw-card-desc {
  font-size: 0.875rem;
  color: var(--bs-muted);
  line-height: 1.7;
}

/* ── Platform Features ── */
.features-section {
  padding: var(--section-py) 0;
  background: var(--bs-surface);
}
.features-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.features-card {
  background: var(--bs-white);
  border: 1px solid var(--bs-border);
  border-radius: var(--radius-l);
  padding: 32px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.features-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}
.features-card-icon {
  width: 56px; height: 56px;
  background: var(--bs-purple-pale);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.features-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bs-text);
  margin-bottom: 10px;
}
.features-card-desc {
  font-size: 0.875rem;
  color: var(--bs-muted);
  line-height: 1.7;
}

/* ── Technology ── */
.tech-section {
  padding: var(--section-py) 0;
  background: #07001A;
  position: relative;
  overflow: hidden;
}
.tech-orb { display: none; }
.tech-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tech-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tech-stack-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-m);
  padding: 22px;
  text-align: center;
  transition: background var(--trans), border-color var(--trans);
}
.tech-stack-card:hover {
  background: rgba(109,40,217,0.12);
  border-color: rgba(109,40,217,0.35);
}
.tech-stack-icon { margin-bottom: 10px; line-height: 0; }
.tech-stack-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--bs-white);
  margin-bottom: 4px;
}
.tech-stack-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.tech-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-m);
  transition: background var(--trans), border-color var(--trans);
}
.tech-list-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(109,40,217,0.35);
}
.tech-list-icon { flex-shrink: 0; margin-top: 4px; line-height: 0; }
.tech-list-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bs-white);
  margin-bottom: 4px;
}
.tech-list-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* ── Waitlist ── */
.waitlist-section {
  padding: var(--section-py) 0;
  background: var(--bs-bg);
}
.waitlist-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 40px auto 0;
}
.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bs-white);
  border: 1.5px solid var(--bs-border);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  color: var(--bs-text);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.waitlist-input:focus {
  border-color: var(--bs-purple);
  outline: none;
}
.waitlist-input::placeholder { color: var(--bs-muted); }
.waitlist-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--bs-muted);
}
.waitlist-success {
  display: none;
  padding: 20px 32px;
  background: rgba(109,40,217,0.06);
  border: 1px solid rgba(109,40,217,0.15);
  border-radius: var(--radius-m);
  color: var(--bs-purple);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Icon Sizing (Lucide) ── */
.hero-visual-core i[data-lucide] svg { width: 52px; height: 52px; stroke: #fff; stroke-width: 1.5; }
.hiw-card-icon i[data-lucide] svg { width: 36px; height: 36px; stroke: var(--bs-purple); stroke-width: 1.5; }
.features-card-icon i[data-lucide] svg { width: 28px; height: 28px; stroke: var(--bs-purple); stroke-width: 1.75; }
.tech-stack-icon i[data-lucide] svg { width: 28px; height: 28px; stroke: rgba(255,255,255,0.75); stroke-width: 1.5; }
.tech-list-icon i[data-lucide] svg { width: 22px; height: 22px; stroke: var(--bs-gold); stroke-width: 1.75; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .hero-visual-ring { width: 320px; height: 320px; }
  .hero-visual-core { inset: 108px; }
  .tech-inner { grid-template-columns: 1fr; gap: 52px; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stats-card:nth-child(2) { border-right: none; }
  .hiw-panel--active { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .waitlist-form { flex-direction: column; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-card { border-right: none; }
  .tech-stack { grid-template-columns: repeat(2, 1fr); }
}
