/* ============================================
   GRIND & GLOW — Landing Page Styles
   ============================================ */

/* ---- HERO ---- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  min-height: calc(90vh - 64px);
}

.hero-content {
  flex: 1;
  max-width: 540px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid var(--pink-200);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.5s ease both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}
.hero-title em {
  color: var(--accent-dark);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s ease 0.3s both;
}

/* ---- HERO VISUAL ---- */
.hero-visual {
  flex: 1;
  position: relative;
  max-width: 420px;
  height: 380px;
}

.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(ellipse at 60% 40%, var(--pink-100) 0%, var(--pink-200) 60%, transparent 80%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  top: 20px;
  left: 30px;
  animation: blobFloat 8s ease-in-out infinite;
  z-index: 0;
}

.floating-card {
  position: absolute;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  z-index: 2;
  white-space: nowrap;
}
.card-emoji { font-size: 1.4rem; }
.card-text { font-size: 0.88rem; color: var(--text-secondary); }

.card-1 {
  top: 40px;
  left: 10px;
  animation: floatY 4s ease-in-out infinite;
}
.card-2 {
  top: 155px;
  right: 0px;
  animation: floatY 4s ease-in-out 1.2s infinite;
}
.card-3 {
  bottom: 50px;
  left: 30px;
  animation: floatY 4s ease-in-out 0.6s infinite;
}

/* ---- FEATURES ---- */
.features {
  background: var(--bg-alt);
  padding: 5rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-200);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--pink-50) 0%, var(--pink-100) 100%);
}
body.dark .cta-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.cta-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes blobFloat {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  33%       { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  66%       { border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    min-height: auto;
  }
  .hero-buttons { justify-content: center; }
  .hero-visual { width: 100%; height: 220px; }
  .hero-blob { width: 220px; height: 220px; left: 50%; transform: translateX(-50%); }
  .card-1 { top: 10px; left: 5px; }
  .card-2 { top: 80px; right: 5px; }
  .card-3 { display: none; }
}
