/* css/home.css - A3Chess home page (index.html) */
.home section { padding: 0; }                     /* myCSS.css gives every section 100px / 10% padding */
.h-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.h-section { padding: 80px 0 !important; }
.h-alt { background: rgba(255, 255, 255, .025); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.h-kicker { color: #facc15; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.h-title { font-size: 2.2rem; color: #f8fafc; margin-bottom: 12px; line-height: 1.2; }
.h-sub { color: #94a3b8; font-size: 1.05rem; line-height: 1.7; max-width: 720px; margin-bottom: 36px; }

/* hero */
.h-hero { padding: 150px 0 80px !important; background: radial-gradient(circle at top left, #1e293b 0%, #0b1020 60%); }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.h-hero h1 { font-size: 3.4rem; line-height: 1.1; margin-bottom: 20px; }
.h-hero h1 span { color: #facc15; }
.h-lead { color: #cbd5e1; font-size: 1.15rem; line-height: 1.75; margin-bottom: 30px; }
.h-note { color: #94a3b8; font-size: .9rem; margin-top: 16px; }
.h-demo { display: inline-block; margin-top: 18px; color: #facc15; font-weight: 600; text-decoration: none; }
.h-demo:hover { text-decoration: underline; }
.h-hero-img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 60px rgba(0,0,0,.5); }

/* buttons */
.h-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.h-ctas.center { justify-content: center; }
.h-btn { display: inline-flex; align-items: center; padding: 14px 28px; border-radius: 999px; font-weight: 700; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.h-btn:hover { border-color: #facc15; color: #facc15; }
.h-btn.primary { background: #facc15; color: #111827; border-color: #facc15; }
.h-btn.primary:hover { background: #fde047; color: #111827; }
.h-link { color: #facc15; font-weight: 600; }
.h-link:hover { text-decoration: underline; }

/* steps */
.h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.h-step { background: #111827; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 26px; }
.h-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #facc15; color: #111827; font-weight: 700; margin-bottom: 14px; }
.h-step h3 { margin-bottom: 8px; }
.h-step p { color: #94a3b8; line-height: 1.65; }

/* tools */
.h-tool { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 56px; }
.h-tool.rev > img { order: 2; }
.h-tool img { width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.h-tool h3 { font-size: 1.5rem; color: #facc15; margin-bottom: 12px; }
.h-tool p { color: #cbd5e1; line-height: 1.75; margin-bottom: 14px; }

/* coach */
.h-coach { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: center; }
.h-coach-photo { width: 220px; height: 220px; object-fit: cover; object-position: center top; border-radius: 50%; border: 4px solid #facc15; }
.h-coach p { color: #cbd5e1; line-height: 1.8; margin-bottom: 14px; max-width: 720px; }
.h-thanks { margin: 40px auto 0; max-width: 820px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: .9rem; line-height: 1.7; text-align: center; }
.h-thanks a { color: #cbd5e1; text-decoration: underline; }

/* paid offer */
.h-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.h-offer { background: #111827; border: 1px solid rgba(250,204,21,.25); border-radius: 14px; padding: 26px; }
.h-offer h3 { color: #facc15; margin-bottom: 10px; }
.h-offer p { color: #cbd5e1; line-height: 1.7; }
.h-price { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px;
  border-radius: 14px; background: linear-gradient(90deg, rgba(250,204,21,.12), rgba(250,204,21,.03)); color: #e2e8f0; font-size: 1.1rem; }
.h-price b { color: #facc15; font-size: 1.4rem; }

/* learn */
.h-learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.h-learn a { display: block; background: #111827; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; }
.h-learn a:hover { border-color: #facc15; }
.h-learn img { display: block; width: 100%; height: 170px; object-fit: cover; }
.h-learn span { display: block; padding: 14px 18px; font-weight: 600; font-size: 1.1rem; }

/* final */
.h-final { text-align: center; }
.h-final .h-sub { margin-left: auto; margin-right: auto; }

/* tablets and phones */
@media (max-width: 1024px) {
  .h-hero { padding-top: 100px !important; }
  .h-hero-grid, .h-tool { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .h-tool.rev > img { order: 0; }
  .h-steps, .h-offers, .h-learn { grid-template-columns: minmax(0, 1fr); }
  .h-coach { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .h-coach p { text-align: left; }                 /* long paragraphs read better left-aligned */
}
@media (max-width: 600px) {
  .h-wrap { padding: 0 16px; }
  .h-section { padding: 56px 0 !important; }
  .h-hero h1 { font-size: 2.3rem; }
  .h-title { font-size: 1.7rem; }
  .h-btn { padding: 12px 22px; }
  .h-coach-photo { width: 170px; height: 170px; }
}
