.home-hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.home-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: var(--mesh-1);
  top: -80px;
  left: -40px;
}

.orb-2 {
  width: 220px;
  height: 220px;
  background: var(--accent-glow);
  top: 20%;
  right: 5%;
  animation-delay: -4s;
}

.orb-3 {
  width: 180px;
  height: 180px;
  background: var(--mesh-3);
  bottom: -40px;
  left: 40%;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.home-hero-inner {
  animation: fadeUp 0.8s ease both;
}

.home-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.home-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.15rem;
}

.home-hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, #f5e6a8 50%, var(--primary-text) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.home-cta-main {
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.home-hero-stats {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.home-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.home-hero-stats strong {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-text);
}

.home-hero-stats span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.home-hero-visual {
  position: relative;
  min-height: 280px;
  animation: fadeUp 0.8s ease 0.15s both;
}

.home-float-card {
  position: absolute;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: cardFloat 6s ease-in-out infinite;
}

.home-float-card span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.35rem;
}

.home-float-card p {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.home-float-card small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.home-float-card-1 {
  top: 8%;
  left: 10%;
  animation-delay: 0s;
}

.home-float-card-2 {
  top: 38%;
  right: 0;
  border-color: rgba(201, 162, 39, 0.4);
  animation-delay: -2s;
}

.home-float-card-3 {
  bottom: 5%;
  left: 28%;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.home-strip {
  text-align: center;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, transparent, var(--primary-soft), transparent);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.home-strip strong {
  color: var(--accent);
}

.home-section-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  text-align: center;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding-bottom: 3.5rem;
}

.home-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.25rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.home-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-soft), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
}

.home-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.18);
}

.home-feature-card:hover::before {
  opacity: 1;
}

.home-feature-card-primary {
  border-color: rgba(79, 70, 229, 0.35);
  grid-column: span 1;
}

.home-feature-card-accent {
  border-color: rgba(201, 162, 39, 0.35);
}

.home-feature-icon {
  font-size: 1.75rem;
  position: relative;
}

.home-feature-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  position: relative;
}

.home-feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  position: relative;
}

.home-feature-link {
  font-size: 0.8rem;
  color: var(--primary-text);
  margin-top: 0.35rem;
  position: relative;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .home-hero-visual {
    min-height: 200px;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-hero { padding: 2rem 0 1.5rem; }
  .home-hero-stats { gap: 1.25rem; }
  .home-features-grid { grid-template-columns: 1fr 1fr; }
}
