﻿/* polish.css -- chỉnh bố cục trang chủ: nhịp khoảng cách đều, thanh bên thẳng hàng, dòng cập nhật gọn */
html.theme-clean{--gap:56px;}
html.theme-clean .hero-apple{padding:40px 0 0 !important;}
html.theme-clean .stats{padding:var(--gap) 0 0 !important;}
html.theme-clean #teaser{padding-top:var(--gap) !important;}
html.theme-clean #pricing{padding-top:var(--gap) !important;}
html.theme-clean .final-cta{padding-top:var(--gap) !important;}
html.theme-clean .stats-freshness{background:transparent !important;border:0 !important;padding:12px 0 0 !important;text-align:left !important;color:#4b5563 !important;font-size:13px !important;}
html.theme-clean .stats-freshness *{background:transparent !important;color:#4b5563 !important;}
html.theme-clean .hero-split{align-items:stretch !important;}
html.theme-clean .hero-copy{display:flex !important;flex-direction:column;justify-content:center;gap:12px;padding:36px !important;}
html.theme-clean .hero-copy .links-a{margin-top:12px;}
html.theme-clean header{padding:24px 16px !important;gap:20px !important;}
html.theme-clean header .logo{padding:0 12px !important;margin:0 0 8px !important;}
html.theme-clean header .nav-links a{padding:9px 12px !important;text-align:left !important;}
html.theme-clean header .nav-actions{gap:10px !important;}
html.theme-clean header .nav-actions .auth-widget,html.theme-clean header .nav-actions .auth-widget *{text-align:left !important;justify-content:flex-start !important;}
html.theme-clean header .nav-actions a:not(.nav-cta),html.theme-clean header .nav-actions button:not(.nav-cta){padding:9px 12px !important;text-align:left !important;border:0 !important;background:transparent !important;color:#374151 !important;font-weight:500 !important;}
html.theme-clean header .nav-cta{text-align:center !important;padding:10px 12px !important;}
html.theme-clean body{padding-left:232px !important;}

html.theme-clean .hero-copy h1,html.theme-clean .hero-copy p,html.theme-clean .hero-copy .eyebrow-a{text-align:left !important;align-self:flex-start !important;margin-left:0 !important;}
html.theme-clean .hero-copy .eyebrow-a{justify-content:flex-start !important;}

html.theme-clean .hero-row{padding:20px !important;align-items:flex-start !important;justify-content:flex-start !important;}
html.theme-clean .hero-result{width:100%;display:flex;flex-direction:column;gap:12px;}
html.theme-clean .hero-result-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#374151 !important;font-weight:600;}
html.theme-clean .hr-dot{width:8px;height:8px;border-radius:50%;background:#16a34a !important;display:inline-block;}
html.theme-clean .hero-result-card{margin:0 !important;}
html.theme-clean .hero-result-note,html.theme-clean .hero-result-loading{font-size:13px;color:#4b5563 !important;}
html.theme-clean .hero-result .niche-video-row{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}

/* Dải số liệu gọn một hàng thay cho ba thẻ giống nhau */
html.theme-clean .stats .container{display:block !important;padding-top:0 !important;}
html.theme-clean .stats .stats-grid{display:flex !important;flex-wrap:wrap;gap:12px 48px !important;align-items:baseline;padding:18px 4px !important;border-top:1px solid #e5e7eb !important;border-bottom:1px solid #e5e7eb !important;}
html.theme-clean .stats .stats-grid > div{background:transparent !important;border:0 !important;padding:0 !important;border-radius:0 !important;display:flex !important;align-items:baseline;gap:10px;text-align:left !important;}
html.theme-clean .stats .stat-num{font-size:28px !important;line-height:1;}
html.theme-clean .stats .stat-label{font-size:13px !important;text-transform:none !important;letter-spacing:0 !important;color:#374151 !important;}
html.theme-clean .stats{padding-top:32px !important;}

/* Chữ trong thẻ kênh to và thoáng hơn để quét nhanh */
html.theme-clean .niche-row{font-size:15px !important;line-height:1.5 !important;}
html.theme-clean .niche-row .name{font-size:18px !important;font-weight:700 !important;}
html.theme-clean .niche-row .niche-stat-value,html.theme-clean .niche-row .stat-value{font-size:16px !important;font-weight:600 !important;}
html.theme-clean .niche-row .niche-stat-label{font-size:12px !important;letter-spacing:.04em !important;}
html.theme-clean .niche-row .niche-revenue-value{font-size:16px !important;font-weight:700 !important;}
html.theme-clean .niche-row .spike-desc,html.theme-clean .niche-row .niche-row-handle{font-size:14px !important;}
html.theme-clean .niche-row .niche-video-title,html.theme-clean .niche-row .video-title{font-size:13.5px !important;line-height:1.35 !important;}
html.theme-clean .hero-result-card{padding:20px !important;}
html.theme-clean .hero-result-note a{color:#1d4ed8 !important;text-decoration:underline;}
html.theme-clean .hero-apple h1{font-size:46px !important;line-height:1.1 !important;}
html.theme-clean .hero-copy .lead-a{font-size:18px !important;line-height:1.55 !important;color:#374151 !important;}

html.theme-clean .hero-result .niche-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px 16px !important;}
html.theme-clean .hero-result .niche-stat{min-width:0;}

/* ===== Điện thoại và màn hình hẹp (<= 900px): menu lên trên, nội dung full chiều rộng ===== */
@media (max-width: 900px){
  html.theme-clean body{padding-left:0 !important;}
  html.theme-clean header{position:static !important;width:auto !important;height:auto !important;flex-direction:column !important;padding:12px 16px !important;gap:8px !important;border-right:0 !important;border-bottom:1px solid #e5e7eb !important;background:#ffffff !important;}
  html.theme-clean header nav{flex-direction:row !important;flex-wrap:wrap !important;align-items:center !important;gap:4px 8px !important;width:100% !important;}
  html.theme-clean header .logo{margin:0 8px 0 0 !important;padding:0 !important;}
  html.theme-clean header .nav-links{flex-direction:row !important;flex-wrap:wrap !important;gap:2px !important;width:auto !important;}
  html.theme-clean header .nav-links a{padding:8px 10px !important;font-size:14px !important;}
  html.theme-clean header .nav-actions{flex-direction:row !important;flex-wrap:wrap !important;align-items:center !important;width:100% !important;margin-top:0 !important;gap:8px !important;}
  html.theme-clean header .nav-actions a,html.theme-clean header .nav-actions button{width:auto !important;}
  html.theme-clean header .nav-cta{padding:9px 14px !important;}
  html.theme-clean .container{padding-left:16px !important;padding-right:16px !important;max-width:100% !important;}
  html.theme-clean .hero-apple{padding:20px 0 0 !important;}
  html.theme-clean .hero-apple .container{padding-left:16px !important;padding-right:16px !important;}
  html.theme-clean .hero-split{grid-template-columns:1fr !important;gap:16px !important;}
  html.theme-clean .hero-copy{padding:24px 20px !important;}
  html.theme-clean .hero-apple h1{font-size:32px !important;line-height:1.15 !important;}
  html.theme-clean .hero-copy .lead-a{font-size:16px !important;}
  html.theme-clean .hero-row{padding:14px !important;}
  html.theme-clean .stats .stats-grid{flex-direction:column !important;gap:10px !important;}
  html.theme-clean #teaserGrid{grid-template-columns:1fr !important;}
  html.theme-clean .pricing-grid,html.theme-clean .pricing-grid-3{grid-template-columns:1fr !important;max-width:100% !important;}
  html.theme-clean .hero-result .niche-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  html.theme-clean .niche-row{overflow:hidden;}
  html.theme-clean .niche-video-row{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  html.theme-clean h2{font-size:24px !important;}
}

@media (max-width: 900px){
  html.theme-clean header nav{padding:0 !important;justify-content:space-between !important;}
  html.theme-clean header .nav-links{flex-wrap:nowrap !important;overflow-x:auto !important;order:3;width:100% !important;padding:0 !important;margin:0 !important;-webkit-overflow-scrolling:touch;}
  html.theme-clean header .nav-links a{white-space:nowrap !important;padding:8px 10px !important;}
  html.theme-clean header .nav-actions{width:auto !important;margin-left:auto !important;order:2;}
  html.theme-clean header .nav-actions .auth-widget{padding:0 !important;}
  html.theme-clean header .logo{order:1;}
  html.theme-clean .hero-copy{gap:8px !important;}
  html.theme-clean .hero-copy .lead-a{margin-top:4px !important;}
}
