/* AWisePick — main stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: #333;
  background: #f5f7fa;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header {
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  color: #fff;
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.logo {
  font-size: 25px; font-weight: 800; text-decoration: none; color: #fff; letter-spacing: .5px;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo .logo-mark { font-size: 22px; }
.logo span.hl { color: #ffd54f; }
nav { display: flex; flex-wrap: wrap; gap: 6px; }
nav a {
  color: rgba(255,255,255,.92); text-decoration: none; margin-left: 6px; padding: 6px 13px;
  font-size: 15px; font-weight: 500; border-radius: 6px; transition: background .2s, color .2s;
}
nav a:hover { background: rgba(255,255,255,.14); color: #ffd54f; }
nav a.active { background: rgba(255,255,255,.18); color: #ffd54f; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); padding: 58px 0 52px; text-align: center; }
.hero h1 { font-size: 40px; color: #0d47a1; margin-bottom: 12px; letter-spacing: .5px; }
.hero .sub { font-size: 18px; color: #37474f; max-width: 720px; margin: 0 auto 8px; }
.hero .badge { display: inline-block; background: #0d47a1; color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-top: 10px; }

/* ---------- Sections ---------- */
section { padding: 52px 0; }
.section-title { text-align: center; font-size: 30px; font-weight: 800; color: #0d47a1; margin-bottom: 8px; }
.section-sub { text-align: center; color: #607d8b; max-width: 680px; margin: 0 auto 36px; font-size: 16px; }
.muted { color: #607d8b; }
.center { text-align: center; }

/* How we rate — 4 cards */
.rate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rate-card {
  background: #fff; border-radius: 12px; padding: 26px 22px; text-align: center;
  box-shadow: 0 4px 18px rgba(13,71,161,.08); border-top: 4px solid #1a73e8; transition: transform .2s, box-shadow .2s;
}
.rate-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(13,71,161,.15); }
.rate-card .icon { font-size: 38px; margin-bottom: 12px; }
.rate-card h3 { font-size: 19px; color: #0d47a1; margin-bottom: 10px; }
.rate-card p { font-size: 14.5px; color: #555; }

/* Areas of expertise — chips */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chip {
  background: #fff; border-radius: 10px; padding: 18px 16px; text-align: center; font-weight: 600;
  color: #0d47a1; box-shadow: 0 3px 12px rgba(13,71,161,.08); border: 1px solid #e3f0fd;
}
.chip .icon { font-size: 26px; display: block; margin-bottom: 8px; }

/* Readers-first */
.readers { background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%); color: #fff; }
.readers .section-title { color: #fff; }
.readers .section-sub { color: rgba(255,255,255,.85); }
.readers-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.reader-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 22px; }
.reader-card .icon { font-size: 30px; margin-bottom: 10px; }
.reader-card h3 { font-size: 18px; margin-bottom: 8px; }
.reader-card p { font-size: 14px; color: rgba(255,255,255,.9); }

/* ---------- Trending List ---------- */
.trending { background: #fff; }
.trending .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px,1fr)); gap: 20px; }
.tcard {
  background: #fff; border: 1px solid #e8eef5; border-radius: 12px; overflow: hidden;
  box-shadow: 0 3px 14px rgba(13,71,161,.06); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(13,71,161,.14); }
.tcard .rank {
  background: linear-gradient(135deg,#1a73e8,#0d47a1); color:#fff; font-size:12.5px; font-weight:700;
  padding: 6px 12px; letter-spacing:.5px;
}
.tcard .thumb {
  height: 140px; overflow:hidden; position:relative; background: linear-gradient(135deg,#e3f2fd,#f5f8fb); display:flex; align-items:center; justify-content:center;
  color:#90a4ae; font-size:42px;
}
.tcard .thumb img { width:100%; height:100%; object-fit:cover; object-position:center center; display:block; }
.tcard .thumb img.crop { object-position: 49.2% 51.7%; }
.tcard .body { padding: 16px; display: flex; flex-direction: column; flex:1; }
.tcard .cat { font-size: 12px; color: #1a73e8; font-weight: 600; text-transform: uppercase; letter-spacing:.5px; }
.tcard h3 { font-size: 16px; color:#222; margin:6px 0; line-height:1.35; }
.tcard .stars { color:#fbc02d; font-size:14px; letter-spacing:1px; margin-bottom:4px; }
.tcard .score { font-size: 12.5px; color:#777; }
.tcard .btn {
  margin-top: auto; text-align:center; background:#1a73e8; color:#fff; text-decoration:none; padding:9px;
  border-radius:7px; font-weight:600; font-size:14px; transition:background .2s;
}
.tcard .btn:hover { background:#0d47a1; }
.tempty { text-align:center; color:#90a4ae; padding:30px; border:2px dashed #cfd8dc; border-radius:12px; font-size:15px; }

/* ---------- About / page hero ---------- */
.page-hero { background: linear-gradient(135deg,#1a73e8,#0d47a1); color:#fff; padding:46px 0; text-align:center; }
.page-hero h1 { font-size:34px; letter-spacing:.5px; }
.page-hero p { color:rgba(255,255,255,.88); margin-top:8px; font-size:16px; }
.page { background:#fff; }
.page .content { max-width: 860px; margin:0 auto; }
.page .content h2 { color:#0d47a1; font-size:22px; margin:28px 0 10px; }
.page .content h3 { color:#1a73e8; font-size:18px; margin:20px 0 8px; }
.page .content p { margin-bottom:14px; color:#444; font-size:15.5px; }
.page .content ul, .page .content ol { margin:0 0 14px 24px; color:#444; font-size:15.5px; }
.page .content li { margin-bottom:6px; }
.page .content table { width:100%; border-collapse:collapse; margin:16px 0; font-size:14.5px; }
.page .content th, .page .content td { border:1px solid #e0e7ef; padding:9px 12px; text-align:left; }
.page .content th { background:#f0f6fd; color:#0d47a1; }

/* About author card */
.author-card {
  display:flex; gap:20px; align-items:center; background:#f0f6fd; border-radius:14px; padding:22px;
  margin:24px 0; border:1px solid #e3f0fd;
}
.author-card .pic { flex:0 0 130px; }
.author-card .pic img { width:130px; height:130px; object-fit:cover; border-radius:50%; border:3px solid #fff; box-shadow:0 4px 14px rgba(13,71,161,.18); }
.author-card h3 { margin:0 0 6px !important; }
.author-card .role { color:#1a73e8; font-weight:600; font-size:14px; margin-bottom:8px; }

/* Contact form */
.form { max-width:640px; margin:24px auto 0; background:#fafcfe; border:1px solid #e8eef5; border-radius:14px; padding:28px; }
.form label { font-weight:600; font-size:14px; display:block; margin:14px 0 6px; color:#263238; }
.form input, .form textarea {
  width:100%; padding:11px 13px; border:1px solid #cfd8dc; border-radius:8px; font-size:15px; font-family:inherit;
  background:#fff; transition:border .2s;
}
.form input:focus, .form textarea:focus { outline:none; border-color:#1a73e8; box-shadow:0 0 0 3px rgba(26,115,232,.12); }
.form textarea { min-height:140px; resize:vertical; }
.form .btn {
  margin-top:20px; width:100%; background:#1a73e8; color:#fff; border:none; padding:13px; border-radius:8px;
  font-size:16px; font-weight:700; cursor:pointer; transition:background .2s;
}
.form .btn:hover { background:#0d47a1; }

/* ---------- Footer ---------- */
footer { background:#0b2f5e; color:rgba(255,255,255,.85); padding:40px 0 26px; font-size:14px; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:28px; margin-bottom:24px; }
footer h4 { color:#fff; font-size:15px; margin-bottom:12px; }
footer a { color:rgba(255,255,255,.8); text-decoration:none; display:block; padding:3px 0; }
footer a:hover { color:#ffd54f; }
footer p { color:rgba(255,255,255,.7); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.15); padding-top:18px; text-align:center; color:rgba(255,255,255,.6); font-size:13px; }
.footer-bottom a { display:inline; color:rgba(255,255,255,.7); }
.footer-bottom a:hover { color:#ffd54f; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .rate-grid, .chip-grid, .readers-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .rate-grid, .chip-grid, .readers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size:30px; }
  .section-title { font-size:25px; }
  .author-card { flex-direction:column; text-align:center; }
}
