/* ============================================================
   SchoolFMS — Homepage Styles (index.css)
   ============================================================ */

/* ── HERO ── */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 60px) 6% 80px;
}
.hero-glow1 {
  top: -120px; left: 15%;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.2) 0%, transparent 65%);
}
.hero-glow2 {
  bottom: -60px; right: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 65%);
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.eyebrow-line { width: 28px; height: 1.5px; background: var(--sky); flex-shrink: 0; }
.hero-eyebrow > span {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--sky);
}
.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  color: var(--white); margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-title em { font-style: italic; color: var(--sky); }
.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  line-height: 1.85; max-width: 460px; margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}
.hero-btn-main { font-size: 0.9rem; padding: 14px 28px; }
.btn-arrow { display: inline-block; transition: transform 0.2s; }
.hero-btn-main:hover .btn-arrow { transform: translateX(4px); }
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 24px; animation: fadeUp 0.7s ease 0.4s both;
}
.ht-item { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.ht-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ht-dot.green  { background: var(--green); }
.ht-dot.blue   { background: var(--sky); }
.ht-dot.gold   { background: var(--gold); }

/* Dashboard Mock */
.hero-visual { animation: fadeUp 0.8s ease 0.2s both; }
.dashboard-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(10px);
}
.dm-header {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 6px;
}
.dm-dot { width: 10px; height: 10px; border-radius: 50%; }
.dm-dot.red    { background: #fc5c65; }
.dm-dot.gold   { background: #fed330; }
.dm-dot.green  { background: #26de81; }
.dm-title { margin-left: 10px; font-size: 0.75rem; color: rgba(255,255,255,0.45); font-weight: 600; }
.dm-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dm-stat { padding: 16px; background: rgba(255,255,255,0.02); }
.dm-stat.blue  .dm-stat-val { color: var(--sky); }
.dm-stat.green .dm-stat-val { color: var(--green); }
.dm-stat.gold  .dm-stat-val { color: var(--gold); }
.dm-stat-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.dm-stat-lbl { font-size: 0.65rem; color: rgba(255,255,255,0.38); }
.dm-table { padding: 12px; }
.dm-row {
  display: grid; grid-template-columns: 2fr 1fr 1.2fr 0.9fr;
  gap: 8px; padding: 8px 10px; border-radius: 7px;
  font-size: 0.72rem; align-items: center;
  transition: background 0.15s;
}
.dm-row:hover { background: rgba(255,255,255,0.04); }
.dm-row.header { color: rgba(255,255,255,0.3); font-weight: 600; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.5px; }
.dm-row:not(.header) { color: rgba(255,255,255,0.72); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 0.62rem; font-weight: 700; text-align: center; }
.tag.green  { background: rgba(16,185,129,0.15); color: var(--green); }
.tag.gold   { background: rgba(245,158,11,0.15);  color: var(--gold); }
.tag.red    { background: rgba(220,38,38,0.15);   color: #f87171; }
.dm-bar-section { padding: 12px 16px 16px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 10px; }
.dm-bar-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
.dm-bar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.dm-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 10px; animation: barGrow 1.2s ease 0.6s both; }
.dm-bar-pct { font-size: 0.68rem; color: var(--sky); font-weight: 700; }

/* ── TRUSTED BY ── */
.trusted-section { background: var(--white); padding: 28px 6%; border-bottom: 1px solid var(--border); }
.trusted-label { text-align: center; font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-light); margin-bottom: 18px; }
.trusted-logos { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; }
.trusted-logos span { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: rgba(11,29,58,0.25); transition: color 0.2s; }
.trusted-logos span:hover { color: var(--navy); }

/* ── FEATURES OVERVIEW ── */
.features-overview { padding: 100px 6%; background: var(--light); }
.fo-inner { max-width: 1160px; margin: 0 auto; }
.fo-title { font-size: clamp(1.8rem, 3vw, 2.7rem); color: var(--navy); margin-top: 10px; margin-bottom: 12px; }
.fo-title em { font-style: italic; color: var(--blue); }
.fo-sub { color: var(--gray); font-size: 0.95rem; line-height: 1.8; max-width: 520px; margin: 0 auto 56px; }
.fo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.fo-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all 0.3s; position: relative; overflow: hidden; }
.fo-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; border-radius:3px 3px 0 0; }
.fo-card.blue::before  { background: linear-gradient(90deg, var(--blue), var(--sky)); }
.fo-card.green::before { background: linear-gradient(90deg, #059669, var(--green)); }
.fo-card.gold::before  { background: linear-gradient(90deg, #D97706, var(--gold)); }
.fo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fo-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.fo-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.fo-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.75; margin-bottom: 20px; }
.fo-link { font-size: 0.82rem; font-weight: 700; }
.fo-card.blue  .fo-link { color: var(--blue); }
.fo-card.green .fo-link { color: var(--green); }
.fo-card.gold  .fo-link { color: #D97706; }

/* ── STATS ── */
.stats-section { background: var(--navy); padding: 64px 6%; }
.stats-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0; }
.stat-item { flex: 1; text-align: center; padding: 0 32px; }
.stat-val { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); }
.stat-val span { color: var(--sky); }
.stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.38); margin-top: 6px; }
.stat-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ── HOW IT WORKS TEASER ── */
.hiw-teaser { padding: 100px 6%; background: var(--white); }
.hiw-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hiw-title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin: 10px 0 16px; }
.hiw-title em { font-style: italic; color: var(--blue); }
.hiw-teaser > .hiw-inner > .hiw-text > p { color: var(--gray); font-size: 0.93rem; line-height: 1.8; margin-bottom: 32px; }
.hiw-steps { display: flex; flex-direction: column; gap: 20px; }
.hiw-step { display: flex; align-items: flex-start; gap: 16px; }
.step-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: rgba(26,86,219,0.15); line-height: 1; flex-shrink: 0; min-width: 36px; }
.hiw-step strong { font-size: 0.9rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: 3px; }
.hiw-step p { font-size: 0.82rem; color: var(--gray); margin: 0; }
.hiw-visual { display: flex; justify-content: center; }
.hiw-card { background: var(--navy); border-radius: var(--radius-xl); padding: 40px; max-width: 320px; width: 100%; animation: float 4s ease-in-out infinite; }
.hiw-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.hiw-card-title { font-size: 3.5rem; color: var(--white); line-height: 1; }
.hiw-card-sub { font-size: 0.78rem; color: rgba(255,255,255,0.42); margin-top: 4px; margin-bottom: 24px; }
.hiw-card-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 20px; }
.hiw-card-list { display: flex; flex-direction: column; gap: 10px; }
.hcl-item { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: rgba(255,255,255,0.72); }
.hcl-check { width: 18px; height: 18px; border-radius: 5px; background: rgba(16,185,129,0.15); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; flex-shrink: 0; }

/* ── PRICING TEASER ── */
.pricing-teaser { padding: 100px 6%; background: var(--light); }
.pt-inner { max-width: 1000px; margin: 0 auto; }
.pt-title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin: 10px 0 12px; }
.pt-title em { font-style: italic; color: var(--blue); }
.pt-header p { color: var(--gray); font-size: 0.93rem; margin-bottom: 48px; }
.pt-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.pt-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: all 0.3s; position: relative; }
.pt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pt-card.featured { background: var(--navy); border-color: transparent; }
.pt-card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--blue), var(--sky)); color: var(--white); font-size: 0.66rem; font-weight: 700; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.pt-card-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.pt-card:not(.featured) .pt-card-name { color: var(--navy); }
.pt-card.featured .pt-card-name { color: rgba(255,255,255,0.8); }
.pt-card-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.pt-card:not(.featured) .pt-card-price { color: var(--navy); }
.pt-card.featured .pt-card-price { color: var(--white); }
.pt-pkr { font-size: 1rem; vertical-align: top; margin-top: 6px; display: inline-block; }
.pt-mo { font-size: 0.85rem; font-weight: 400; }
.pt-card:not(.featured) .pt-pkr, .pt-card:not(.featured) .pt-mo { color: var(--gray); }
.pt-card.featured .pt-pkr, .pt-card.featured .pt-mo { color: rgba(255,255,255,0.5); }
.pt-card-cap { font-size: 0.78rem; margin-bottom: 24px; }
.pt-card:not(.featured) .pt-card-cap { color: var(--gray); }
.pt-card.featured .pt-card-cap { color: rgba(255,255,255,0.45); }
.pt-card-btn { display: block; padding: 11px; border-radius: 7px; font-size: 0.84rem; }
.pt-note { text-align: center; font-size: 0.82rem; color: var(--gray); }
.pt-note strong { color: var(--navy); }

/* ── TESTIMONIAL ── */
.testimonial-section { background: var(--navy); padding: 100px 6%; text-align: center; position: relative; overflow: hidden; }
.ts-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.ts-quote { font-size: clamp(1.3rem, 2.5vw, 2rem); color: var(--white); line-height: 1.5; font-style: italic; margin: 20px 0 36px; }
.ts-person { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 28px; }
.ts-avatar { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--sky)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 0.95rem; }
.ts-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); text-align: left; }
.ts-role { font-size: 0.75rem; color: rgba(255,255,255,0.42); margin-top: 3px; }
.ts-link { font-size: 0.84rem; font-weight: 700; color: var(--sky); }
.ts-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual   { display: none; }
  .fo-grid       { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-inner   { flex-wrap: wrap; gap: 32px; }
  .stat-divider  { display: none; }
  .hiw-inner     { grid-template-columns: 1fr; gap: 48px; }
  .hiw-visual    { order: -1; }
  .pt-cards      { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 20px; }
}
@media (max-width: 600px) {
  .hero-actions  { flex-direction: column; }
  .hero-trust    { gap: 12px; }
}
