/* VƯỜN NGOẠI NGỮ v6.15.215 — professional public + student home polish */
:root{
  --vnn-surface:#ffffff;
  --vnn-surface-soft:#f7fbfa;
  --vnn-line:#dfeae6;
  --vnn-ink:#153d36;
  --vnn-muted:#647a74;
  --vnn-brand:#137d70;
  --vnn-brand-dark:#0f665d;
  --vnn-shadow:0 16px 42px rgba(25,61,54,.08);
  --vnn-shadow-soft:0 8px 24px rgba(25,61,54,.06);
}
.site-header{
  border-bottom:1px solid rgba(216,231,226,.9);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
#view-home .home-container{
  max-width:1180px;
  padding-top:24px;
  padding-bottom:54px;
}
#view-home .home-hero{
  position:relative;
  overflow:hidden;
  border:1px solid #dbe9e4;
  border-radius:28px;
  padding:34px;
  background:
    radial-gradient(circle at 90% 10%,rgba(38,154,137,.13),transparent 31%),
    linear-gradient(145deg,#ffffff 0%,#f5fbf9 68%,#edf8f5 100%);
  box-shadow:var(--vnn-shadow);
}
#view-home .home-hero:before{
  content:"";
  position:absolute;
  width:240px;height:240px;
  border-radius:50%;
  right:-100px;bottom:-120px;
  background:rgba(20,132,117,.06);
  pointer-events:none;
}
#view-home .home-hero-copy{position:relative;z-index:1}
#view-home .home-hero-copy .eyebrow{
  letter-spacing:.11em;
  font-size:.72rem;
  font-weight:850;
  color:var(--vnn-brand);
}
#view-home .home-hero-copy h1{
  max-width:690px;
  margin:10px 0 12px;
  font-size:clamp(2rem,4.3vw,3.65rem);
  line-height:1.06;
  letter-spacing:-.045em;
  color:#123b34;
}
#view-home .home-hero-copy h1 span{color:var(--vnn-brand)}
#view-home .home-hero-copy>p{
  max-width:660px;
  color:#58716a;
  line-height:1.65;
  font-size:1rem;
}
#view-home .home-motivation-line{
  width:max-content;
  max-width:100%;
  margin-top:16px;
  padding:8px 11px;
  border:1px solid #dceae5;
  border-radius:999px;
  background:rgba(255,255,255,.74);
  color:#42665e;
  font-size:.78rem;
  font-weight:700;
}
#view-home .home-hero-visual-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:16px;
}
#view-home .home-hero-visual-chips span{
  padding:7px 9px;
  border-radius:10px;
  background:#fff;
  border:1px solid #e2ece8;
  color:#5c736d;
  font-size:.72rem;
  box-shadow:0 3px 10px rgba(25,61,54,.03);
}
#view-home .hero-actions{gap:9px;margin-top:22px;flex-wrap:wrap}
#view-home .hero-actions .cta{
  min-height:46px;
  border-radius:13px;
  padding:0 17px;
  font-weight:800;
}
#view-home .public-language-selector{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
#view-home .public-language-card{
  min-width:0;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(217,232,227,.95);
  background:#fff;
  box-shadow:var(--vnn-shadow-soft);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
#view-home .public-language-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(25,61,54,.1);
  border-color:#c7ddd6;
}
#view-home .public-language-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}
#view-home .public-language-overlay{
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
#view-home .public-feature-ribbon{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:0;
  background:transparent;
  border:0;
}
#view-home .public-feature-ribbon>div{
  min-width:0;
  padding:14px 15px;
  border:1px solid var(--vnn-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 16px rgba(25,61,54,.04);
}
#view-home .public-feature-ribbon>div>span{font-size:1.1rem}
#view-home .public-feature-ribbon strong{color:#284f47}
#view-home .public-feature-ribbon small{color:#71837e}

#view-home .student-home-dashboard{
  margin-top:18px;
  gap:14px;
}
#view-home .student-plan-strip{
  border:1px solid #d8e7e2;
  border-radius:18px;
  padding:14px 16px;
  background:linear-gradient(110deg,#f5fbf9,#ffffff);
  box-shadow:var(--vnn-shadow-soft);
}
#view-home .student-plan-strip-copy span{
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.65rem;
  color:#71847d;
}
#view-home .student-plan-strip-copy strong{color:#1a5f54}
#view-home .student-dash-card{
  border:1px solid var(--vnn-line);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--vnn-shadow-soft);
}
#view-home .student-dashboard-priority .student-next-card{
  background:
    radial-gradient(circle at 95% 10%,rgba(34,154,137,.09),transparent 25%),
    linear-gradient(145deg,#fff,#f8fcfb);
}
#view-home .student-card-head{
  gap:12px;
  align-items:center;
}
#view-home .student-card-head strong{
  color:#294f47;
  letter-spacing:-.01em;
}
#view-home .student-card-icon{
  width:34px;height:34px;
  display:inline-grid;
  place-items:center;
  border-radius:10px;
  background:#eef7f4;
}
#view-home .student-period-pill{
  border:1px solid #deebe6;
  background:#f7fbfa;
  color:#678079;
}
#view-home .student-streak-card,
#view-home .student-roadmap-card,
#view-home .student-summary-card,
#view-home .student-achievement-card{
  min-width:0;
}
#view-home .student-summary-grid>div{
  border:1px solid #e5eeeb;
  border-radius:14px;
  background:#fbfdfc;
}
#view-home .student-progress-banner{
  border-radius:22px;
  border:1px solid #cfe4dd;
  background:
    radial-gradient(circle at 94% 20%,rgba(255,255,255,.24),transparent 23%),
    linear-gradient(120deg,#176f63,#238a79);
  box-shadow:0 18px 36px rgba(23,111,99,.17);
}
#view-home .student-progress-banner .primary{
  background:#fff;
  color:#176f63;
  border-color:#fff;
}
#view-home .student-today-hero{
  border-radius:20px;
  border:1px solid #d8e9e3;
  background:linear-gradient(150deg,#fff,#f5fbf9);
  box-shadow:var(--vnn-shadow-soft);
}
#view-home .student-goal-progress{
  height:8px;
  border-radius:999px;
  overflow:hidden;
  background:#e7efec;
}

@media(max-width:900px){
  #view-home .home-container{padding-top:16px;padding-bottom:36px}
  #view-home .home-hero{padding:24px;border-radius:23px}
  #view-home .public-feature-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .site-header{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
  #view-home .home-container{padding-top:10px}
  #view-home .home-hero{padding:18px;border-radius:19px}
  #view-home .home-hero-copy h1{font-size:2.12rem}
  #view-home .home-hero-copy>p{font-size:.92rem}
  #view-home .public-language-selector{grid-template-columns:1fr}
  #view-home .public-language-card img{aspect-ratio:16/9}
  #view-home .public-feature-ribbon{grid-template-columns:1fr 1fr;gap:8px}
  #view-home .public-feature-ribbon>div{padding:11px 12px}
  #view-home .student-dash-card{border-radius:17px}
  #view-home .student-plan-strip{border-radius:15px}
}
@media(max-width:420px){
  #view-home .public-feature-ribbon{grid-template-columns:1fr}
  #view-home .home-hero-copy h1{font-size:1.9rem}
}
@media(prefers-reduced-motion:reduce){
  #view-home .public-language-card{transition:none}
}