/* home.css - YouTube Dark Mode (consistent with base.css) */

:root {
  --yt-red:          #ff0000;
  --yt-red-hover:    #cc0000;
  --yt-black:        #0f0f0f;
  --yt-dark:         #181818;
  --yt-surface:      #212121;
  --yt-border:       #303030;
  --yt-text:         #ffffff;
  --yt-success:      #2e7d32;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: var(--yt-dark);
  color: var(--yt-text);
  margin: 0;
  line-height: 1.5;
}

/* ==================== HERO ==================== */
.hero {
  padding: 80px 1.5rem 120px;     /* Starts higher up, good spacing */
  text-align: center;
  background: linear-gradient(to bottom, #0f0f0f, #181818);
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: rgba(255, 0, 0, 0.15);
  color: var(--yt-red);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  letter-spacing: 0.4px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  margin: 0 0 1.3rem;
  line-height: 1.1;
}

.hero p.subtle {
  font-size: 1.05rem;
  color: #cccccc;           /* Slightly softer white for contrast */
  margin: 0 auto 2.5rem;
  max-width: 680px;
}

/* Buttons */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn.primary {
  background: var(--yt-red);
  color: white;
  box-shadow: 0 3px 12px rgba(255,0,0,0.35);
}

.btn.primary:hover {
  background: var(--yt-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.4);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--yt-border);
  color: var(--yt-text);
}

.btn.ghost:hover {
  background: var(--yt-surface);
  border-color: #555;
}

.btn.large {
  padding: 1.1rem 2.6rem;
  font-size: 1.1rem;
}

/* ==================== FEATURES ==================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 1.5rem;
}

.feature-card {
  background: var(--yt-surface);
  border: 1px solid var(--yt-border);
  border-radius: 16px;
  padding: 2.4rem 2rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: var(--yt-red);
}

.feature-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.4rem;
  color: var(--yt-red);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.feature-card p {
  color: #cccccc;           /* Soft white */
  font-size: 0.98rem;
}

/* ==================== CALLOUT ==================== */
.callout {
  padding: 6rem 1.5rem;
  text-align: center;
  background: var(--yt-surface);
  border-radius: 20px;
  margin: 0 1.5rem 6rem;
  border: 1px solid var(--yt-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.callout h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.callout p {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: #cccccc;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 1rem 100px;
  }
  .features {
    grid-template-columns: 1fr;
  }
}