/* start.css — Landing page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f0f2f5;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
  color: white;
  padding: 4rem 2.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Mandala ── */
.hero-mandala {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  opacity: 0.88;
  filter: drop-shadow(0 0 32px rgba(228,152,54,0.18));
}

.hero-mandala img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Buttons ── */
.btn-primary {
  background: #e49836;
  color: #1a1a2e;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: #f0aa4a; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); }

/* ── Welcome banner (shown when logged in) ── */
.welcome-banner {
  background: linear-gradient(90deg, #1a1a2e, #0f3460);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(228,152,54,0.3);
  display: none;
}
.welcome-banner.visible { display: block; }
.welcome-banner strong { color: #e49836; }

/* ── Features section ── */
.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.features-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07), 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.11);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
  width: 2.2rem;
  text-align: center;
  flex-shrink: 0;
  color: #e49836;
  margin-top: 0.1rem;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.84rem;
  color: #666;
  line-height: 1.55;
}

/* ── Subscriber hint ── */
.sub-hint {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 1.75rem;
}
.sub-hint a { color: #e49836; text-decoration: none; }
.sub-hint a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-mandala { width: 220px; height: 220px; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
}

@media (max-width: 480px) {
  .hero-mandala { width: 170px; height: 170px; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .features { padding: 2rem 1rem 3rem; }
}
