/* AnalisaFundamental.com Homepage MVP — scoped styles */
.afh-site {
  --af-green: #087c43; --af-green-dark: #075b35; --af-green-soft: #eaf5ee;
  --af-red: #ef5148; --af-ink: #111c2d; --af-muted: #647166; --af-line: #e3ebe5;
  --af-paper: #f7faf8; color: var(--af-ink); background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55; width: 100%; overflow: hidden;
}
.afh-site * { box-sizing: border-box; }
.afh-site a { color: inherit; text-decoration: none; }
.afh-site a:hover { color: var(--af-green); }
.afh-skip-link { position:absolute; left:-9999px; top:auto; }
.afh-skip-link:focus { left:12px; top:12px; z-index:9999; background:#fff; padding:10px; }
.afh-header { background:rgba(255,255,255,.97); border-bottom:1px solid var(--af-line); }
.afh-header-inner { max-width:1240px; margin:auto; min-height:86px; padding:10px 24px; display:flex; align-items:center; justify-content:space-between; gap:26px; }
.afh-brand { display:block; flex:0 0 205px; }
.afh-brand img { display:block; width:100%; height:auto; max-height:68px; object-fit:contain; }
.afh-nav { display:flex; align-items:center; justify-content:center; gap:clamp(12px,2vw,28px); font-size:13px; font-weight:700; color:#26352d; }
.afh-nav a { white-space:nowrap; }
.afh-search { display:flex; border:1px solid #dce6df; border-radius:10px; overflow:hidden; min-width:190px; background:#fff; }
.afh-search input { width:100%; min-width:0; border:0; outline:0; padding:10px 12px; font:inherit; font-size:12px; }
.afh-search button { border:0; background:var(--af-green); color:#fff; padding:0 13px; font-size:22px; cursor:pointer; }
.afh-hero { max-width:1240px; margin:auto; padding:62px 24px 48px; display:grid; grid-template-columns: .94fr 1.06fr; gap:42px; align-items:center; }
.afh-kicker,.afh-section-kicker { color:var(--af-green); font-size:10px; font-weight:850; letter-spacing:.15em; }
.afh-kicker { display:flex; align-items:center; gap:9px; }
.afh-kicker span { width:22px; height:3px; background:var(--af-red); border-radius:5px; }
.afh-hero h1 { font-size:clamp(36px,4.5vw,58px); line-height:1.06; letter-spacing:-.055em; margin:18px 0 18px; max-width:620px; font-weight:850; }
.afh-hero h1 em { color:var(--af-green); font-style:normal; }
.afh-hero-copy>p { color:#59665f; font-size:16px; max-width:570px; margin:0; }
.afh-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:27px; }
.afh-button { display:inline-flex; align-items:center; justify-content:center; gap:15px; border-radius:9px; padding:13px 19px; font-size:13px; font-weight:800; transition:transform .2s, box-shadow .2s; }
.afh-button:hover { transform:translateY(-2px); }
.afh-button-primary { background:var(--af-green); color:#fff!important; box-shadow:0 8px 18px #087c4325; }
.afh-button-secondary { border:1px solid #cbd9d0; color:var(--af-green-dark)!important; background:#fff; }
.afh-trust-line { margin-top:28px; color:#78847c; font-size:11px; display:flex; gap:8px; align-items:center; }
.afh-trust-dot { width:7px; height:7px; background:#29a565; border-radius:50%; box-shadow:0 0 0 4px #29a5651c; }
.afh-market-art { min-height:350px; border-radius:18px; padding:22px; color:#fff; overflow:hidden; position:relative; isolation:isolate; background:radial-gradient(circle at 82% 15%,#12664b 0,transparent 32%),linear-gradient(135deg,#102238,#071b2a 65%,#06432e); box-shadow:0 20px 50px #0a2a1c24; }
.afh-market-art:before { content:""; position:absolute; inset:0; z-index:-1; opacity:.2; background-image:linear-gradient(#9bc5b0 1px,transparent 1px),linear-gradient(90deg,#9bc5b0 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,black,transparent); }
.afh-art-top { display:flex; justify-content:space-between; color:#a9c8b7; font-size:9px; font-weight:800; letter-spacing:.13em; }
.afh-chart-grid { height:225px; position:relative; margin-top:20px; display:flex; align-items:flex-end; justify-content:space-around; border-bottom:1px solid #a3c4b455; }
.afh-candle { position:relative; width:9px; height:var(--h); margin-bottom:var(--y); background:#2ed18a; border-radius:2px; box-shadow:0 0 14px #21c9813b; }
.afh-candle:before { content:""; position:absolute; left:3px; top:-13px; height:calc(100% + 26px); width:2px; background:inherit; opacity:.85; }
.afh-candle.is-red { background:#f36b60; }
.afh-chart-line { position:absolute; left:0; right:0; top:38%; height:2px; transform:rotate(-13deg); background:linear-gradient(90deg,transparent,#57e5a4,transparent); box-shadow:0 0 12px #57e5a4; }
.afh-art-bottom { display:flex; align-items:center; justify-content:space-between; padding-top:16px; }
.afh-art-bottom strong { display:block; font-size:23px; letter-spacing:.07em; }
.afh-art-bottom span { display:block; color:#b4c9be; font-size:10px; }
.afh-art-arrow { font-size:44px; color:#53e69c; }
.afh-art-note { position:absolute; right:22px; bottom:10px; color:#a8c2b4; font-size:8px; }
.afh-pillars { max-width:1240px; padding:0 24px; margin:0 auto 66px; display:grid; grid-template-columns:repeat(4,1fr); gap:13px; }
.afh-pillar { min-height:95px; display:flex; align-items:center; gap:13px; border:1px solid var(--af-line); border-radius:12px; padding:17px; box-shadow:0 5px 16px #10251a08; background:#fff; }
.afh-pillar:hover { border-color:#9cc9ac; box-shadow:0 10px 25px #087c4310; }
.afh-pillar-icon { flex:0 0 38px; color:var(--af-green); font-size:34px; line-height:1; text-align:center; }
.afh-pillar-icon.afh-gold { color:#c58c19; }
.afh-pillar strong,.afh-pillar small { display:block; }
.afh-pillar strong { font-size:13px; }
.afh-pillar small { color:#78847c; font-size:10px; margin-top:3px; }
.afh-pillar>b { margin-left:auto; color:var(--af-green); font-size:18px; }
.afh-content-section { max-width:1240px; margin:0 auto; padding:0 24px 70px; }
.afh-section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; }
.afh-section-heading h2 { margin:6px 0 3px; font-size:clamp(25px,3vw,34px); letter-spacing:-.04em; line-height:1.15; }
.afh-section-heading p { color:#718077; font-size:13px; margin:0; }
.afh-text-link { color:var(--af-green)!important; font-weight:800; font-size:12px; white-space:nowrap; padding-bottom:5px; }
.afh-article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.afh-article-card { border:1px solid var(--af-line); border-radius:13px; overflow:hidden; background:#fff; box-shadow:0 5px 18px #10251a08; display:flex; flex-direction:column; min-width:0; }
.afh-card-media { display:block; height:180px; background:#e8f1eb; overflow:hidden; }
.afh-card-image { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.afh-article-card:hover .afh-card-image { transform:scale(1.035); }
.afh-card-placeholder { height:100%; display:grid; place-items:center; position:relative; background:linear-gradient(135deg,#0d5839,#102238); color:#fff; font-size:48px; font-weight:900; letter-spacing:-.08em; }
.afh-card-placeholder i { position:absolute; width:75%; height:2px; background:#65e0a3; transform:rotate(-18deg); box-shadow:0 0 12px #65e0a3; }
.afh-card-body { padding:18px; display:flex; flex-direction:column; flex:1; }
.afh-eyebrow { color:var(--af-green); font-size:9px; text-transform:uppercase; letter-spacing:.1em; font-weight:850; }
.afh-card-body h3 { font-size:17px; line-height:1.28; margin:8px 0; letter-spacing:-.02em; }
.afh-card-body p { color:#6b786f; font-size:12px; line-height:1.6; margin:0 0 18px; }
.afh-card-meta { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:auto; padding-top:12px; border-top:1px solid #edf1ee; color:#859087; font-size:10px; }
.afh-card-meta a { color:var(--af-green); font-weight:800; white-space:nowrap; }
.afh-empty-state { padding:30px; background:var(--af-paper); border-radius:12px; color:var(--af-muted); grid-column:1/-1; }
.afh-premium { max-width:1192px; margin:0 auto 64px; padding:30px 34px; border-radius:16px; display:flex; align-items:center; gap:22px; background:linear-gradient(110deg,#0a5134,#0c342b 72%,#102238); color:#fff; }
.afh-premium-mark { width:58px; height:58px; border:1px solid #8bc6a4; border-radius:14px; display:grid; place-items:center; font-size:19px; font-weight:900; flex:0 0 auto; }
.afh-premium-mark span { color:#8de4a8; }
.afh-premium>div:nth-child(2) { flex:1; }
.afh-premium .afh-section-kicker { color:#9be0b4; }
.afh-premium h2 { margin:4px 0; font-size:23px; letter-spacing:-.03em; }
.afh-premium p { margin:0; color:#c3d6ca; font-size:12px; }
.afh-button-light { background:#fff; color:var(--af-green-dark)!important; white-space:nowrap; }
.afh-footer { background:#f5f8f6; border-top:1px solid var(--af-line); }
.afh-footer-main,.afh-footer-bottom { max-width:1240px; margin:auto; padding:25px 24px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.afh-footer-main strong { font-size:14px; letter-spacing:.02em; color:var(--af-green-dark); }
.afh-footer-main strong span { color:var(--af-red); }
.afh-footer-main p { margin:4px 0 0; color:#77837b; font-size:11px; }
.afh-footer-links { display:flex; gap:22px; font-size:11px; font-weight:700; }
.afh-footer-bottom { border-top:1px solid var(--af-line); color:#8a958d; font-size:10px; padding-top:14px; padding-bottom:14px; }
@media (max-width: 900px) {
  .afh-header-inner { flex-wrap:wrap; gap:12px; }
  .afh-brand { flex-basis:175px; }
  .afh-nav { order:3; width:100%; overflow-x:auto; justify-content:flex-start; padding:7px 0 3px; }
  .afh-search { margin-left:auto; }
  .afh-hero { grid-template-columns:1fr; gap:28px; padding-top:42px; }
  .afh-market-art { min-height:315px; }
  .afh-pillars { grid-template-columns:repeat(2,1fr); }
  .afh-premium { margin-left:24px; margin-right:24px; }
}
@media (max-width: 600px) {
  .afh-header-inner { padding:10px 16px; }
  .afh-brand { flex-basis:155px; }
  .afh-search { min-width:0; width:42px; border:0; }
  .afh-search input { display:none; }
  .afh-search button { width:42px; height:40px; border-radius:9px; }
  .afh-nav { gap:19px; font-size:12px; }
  .afh-hero { padding:36px 18px 34px; }
  .afh-hero h1 { font-size:39px; }
  .afh-hero-copy>p { font-size:14px; }
  .afh-market-art { min-height:270px; padding:17px; }
  .afh-chart-grid { height:165px; }
  .afh-art-bottom strong { font-size:18px; }
  .afh-pillars { padding:0 18px; gap:9px; margin-bottom:48px; }
  .afh-pillar { min-height:85px; padding:11px; gap:8px; }
  .afh-pillar-icon { flex-basis:27px; font-size:26px; }
  .afh-pillar strong { font-size:11px; }
  .afh-pillar small { font-size:9px; }
  .afh-content-section { padding:0 18px 48px; }
  .afh-section-heading { align-items:flex-start; flex-direction:column; gap:8px; }
  .afh-article-grid { grid-template-columns:1fr; gap:13px; }
  .afh-card-media { height:190px; }
  .afh-premium { margin:0 18px 45px; padding:22px; flex-wrap:wrap; }
  .afh-premium h2 { font-size:20px; }
  .afh-premium .afh-button { width:100%; }
  .afh-footer-main,.afh-footer-bottom { padding-left:18px; padding-right:18px; align-items:flex-start; flex-direction:column; }
  .afh-footer-bottom { gap:5px; }
}
