/* StylingCV V2 — Arabic ATS Resume Checker page. Builds on home-v2.css + tools-hub.css. */

/* Hero */
#scv-home-v2 .ac-hero-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { #scv-home-v2 .ac-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
#scv-home-v2 .ac-hero .hv2-h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.25; margin: .35rem 0 1rem; }
#scv-home-v2 .ac-hero .hv2-lead { max-width: 38rem; }
#scv-home-v2 .ac-hero .hv2-actions { margin-top: 1.5rem; }

#scv-home-v2 .ac-hero-visual { position: relative; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1rem; align-items: center; overflow: hidden; }
@media (min-width: 560px) { #scv-home-v2 .ac-hero-visual { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
#scv-home-v2 .ac-hero-art { display: flex; justify-content: center; }
#scv-home-v2 .ac-hero-art svg { width: 100%; max-width: 230px; height: auto; }

#scv-home-v2 .ac-report { background: var(--white); color: var(--ink); border-radius: 21px; padding: 1rem 1rem .85rem; box-shadow: 0 18px 30px -22px rgba(0,0,0,.55); }
#scv-home-v2 .ac-report-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-soft); }
#scv-home-v2 .ac-report-head b { color: var(--forest); font-size: 1.02rem; }
#scv-home-v2 .ac-report-head em { font-style: normal; font-size: .75rem; color: var(--muted); background: var(--head); border-radius: var(--pill); padding: .2rem .6rem; }
#scv-home-v2 .ac-report-list { display: grid; gap: .55rem; padding: .8rem 0; }
#scv-home-v2 .ac-report-list li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
#scv-home-v2 .ac-report-list li > span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; }
#scv-home-v2 .ac-report-list li > span svg { width: 15px; height: 15px; }
#scv-home-v2 .ac-report-list .is-ok > span { background: var(--t-50); color: var(--deep); }
#scv-home-v2 .ac-report-list .is-warn > span { background: var(--coral-50); color: #B5562F; }
#scv-home-v2 .ac-report-cta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem; border-top: 1px solid var(--line-soft); color: var(--forest); font-weight: 700; font-size: .92rem; }

/* What we check — 4 cards */
#scv-home-v2 .ac-check .th-copy { padding-bottom: 18px; }

/* How it works — 3 steps */
@media (min-width: 960px) { #scv-home-v2 .ac-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { #scv-home-v2 .ac-steps { grid-template-columns: 1fr; } }
#scv-home-v2 .ac-steps .th-flow-art { display: flex; align-items: center; justify-content: center; }
#scv-home-v2 .ac-steps .th-flow-art svg { width: 104px; height: 104px; }

/* Free vs full */
#scv-home-v2 .ac-plan-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { #scv-home-v2 .ac-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#scv-home-v2 .ac-plan { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem 1.4rem 1.1rem; background: var(--card); border: 1px solid rgba(255,255,255,.82); border-radius: 21px; box-shadow: var(--sh); }
#scv-home-v2 .ac-plan-full { background: var(--white); border: 2px solid #91AD7F; }
#scv-home-v2 .ac-plan-tag { align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--deep); background: var(--t-50); border-radius: var(--pill); padding: .25rem .75rem; }
#scv-home-v2 .ac-plan-full .ac-plan-tag { background: var(--coral-50); color: #8A3F20; }
#scv-home-v2 .ac-plan .hv2-h3 { margin: 0; color: var(--forest); }
#scv-home-v2 .ac-plan-list { display: grid; gap: .5rem; margin-bottom: .5rem; }
#scv-home-v2 .ac-plan-list li { display: flex; align-items: flex-start; gap: .5rem; color: var(--ink); }
#scv-home-v2 .ac-plan-list svg { flex: none; width: 18px; height: 18px; margin-top: .2rem; color: var(--moss); }
#scv-home-v2 .ac-plan .th-cta { margin-top: auto; }

/* Honesty box (peach tone panel) */
#scv-home-v2 .ac-truth-box { display: grid; gap: 1.25rem; align-items: center; background: #F7E3D4; color: var(--ink); border: 10px solid var(--peach-frame); border-radius: 40px; background-clip: padding-box; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 640px) { #scv-home-v2 .ac-truth-box { grid-template-columns: 140px minmax(0, 1fr); } }
#scv-home-v2 .ac-truth-art { display: flex; justify-content: center; }
#scv-home-v2 .ac-truth-art svg { width: 120px; height: 120px; }
#scv-home-v2 .ac-truth-box .hv2-h3 { color: var(--forest); margin: 0 0 .6rem; }
#scv-home-v2 .ac-truth-list { display: grid; gap: .55rem; }
#scv-home-v2 .ac-truth-list li { color: var(--ink); line-height: 1.75; }
#scv-home-v2 .ac-truth-list b { color: var(--forest); }

/* Sections spacing */
#scv-home-v2.ac .hv2-sec { padding: clamp(2.25rem, 1.5rem + 2.5vw, 4rem) 0; }

/* Mobile */
@media (max-width: 639px) {
  #scv-home-v2 .ac-hero .hv2-actions .hv2-btn { width: 100%; }
  #scv-home-v2 .ac-hero-art svg { max-width: 170px; }
  #scv-home-v2 .ac-truth-box { border-width: 8px; border-radius: 30px; text-align: start; }
  #scv-home-v2 .ac-truth-art svg { width: 96px; height: 96px; }
  #scv-home-v2 .ac-steps .th-flow-art svg { width: 92px; height: 92px; }
}

/* Hero illustration: override inherited small-svg rules */
#scv-home-v2 .ac-hero-visual .ac-hero-art svg { width: 100% !important; max-width: 270px; height: auto !important; }
@media (max-width: 639px) { #scv-home-v2 .ac-hero-visual .ac-hero-art svg { max-width: 220px; } }
@media (min-width: 560px) { #scv-home-v2 .ac-hero-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
#scv-home-v2 .ac-hero-art { background: rgba(255,254,247,.08); border-radius: 26px; padding: .5rem 0; overflow: hidden; }
#scv-home-v2 .ac-hero-visual .ac-hero-art svg { width: 135% !important; max-width: 340px; margin-inline: -17%; }
@media (max-width: 559px) { #scv-home-v2 .ac-hero-visual .ac-hero-art svg { width: 100% !important; max-width: 260px; margin-inline: 0; } }
