/* Online education platform — modern purple gradient */
:root {
  --to-bg: #0f0a1e; --to-purple: #a78bfa; --to-pink: #f472b6;
  --to-white: #f5f3ff; --to-muted: #a5a0b8; --to-panel: #1a1230;
}
body.tutoring-online {
  font-family: "Space Grotesk", "Vazirmatn", Tahoma, sans-serif;
  background: var(--to-bg); color: var(--to-white);
}
.to-nav {
  display: flex; justify-content: space-between; align-items: center;
  width: min(1000px, 92%); margin: 0 auto; padding: 1.25rem 0;
}
.to-nav .logo { font-weight: 700; font-size: 1.25rem; }
.to-nav .logo span { background: linear-gradient(90deg, var(--to-purple), var(--to-pink)); -webkit-background-clip: text; color: transparent; }
.to-nav a { color: var(--to-muted); margin-right: 1rem; font-size: .9rem; font-weight: 500; }
.to-nav a:hover { color: var(--to-purple); }
.to-hero {
  width: min(1000px, 92%); margin: 3rem auto; text-align: center;
}
.to-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.25; margin-bottom: 1rem;
}
.to-hero h1 span { color: var(--to-purple); }
.to-hero p { color: var(--to-muted); max-width: 32em; margin: 0 auto 1.75rem; }
.to-hero .cta {
  display: inline-block; background: linear-gradient(135deg, var(--to-purple), var(--to-pink));
  color: #0f0a1e; padding: .8rem 1.8rem; border-radius: 999px; font-weight: 700;
}
.to-courses {
  width: min(1000px, 92%); margin: 0 auto 3rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
@media (max-width: 800px) { .to-courses { grid-template-columns: 1fr; } }
.to-course {
  background: var(--to-panel); border-radius: 14px; overflow: hidden; border: 1px solid #2a2045;
}
.to-course img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.to-course .info { padding: 1.15rem; }
.to-course h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.to-course p { color: var(--to-muted); font-size: .85rem; margin-bottom: .6rem; }
.to-course .price { color: var(--to-pink); font-weight: 700; }
.to-features {
  width: min(1000px, 92%); margin: 0 auto 3rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center;
}
@media (max-width: 700px) { .to-features { grid-template-columns: 1fr; } }
.to-feat { background: var(--to-panel); padding: 1.5rem; border-radius: 12px; border: 1px solid #2a2045; }
.to-feat strong { display: block; color: var(--to-purple); font-size: 1.1rem; margin-bottom: .35rem; }
.to-feat span { color: var(--to-muted); font-size: .85rem; }
.to-cta {
  width: min(1000px, 92%); margin: 0 auto 3rem; text-align: center; padding: 2.5rem;
  background: var(--to-panel); border-radius: 16px; border: 1px solid #2a2045;
}
.to-cta a {
  display: inline-block; margin-top: 1rem; border: 1px solid var(--to-purple); color: var(--to-purple);
  padding: .7rem 1.5rem; border-radius: 999px; font-weight: 700;
}
.to-foot { text-align: center; padding: 2rem; color: var(--to-muted); font-size: .85rem; }
.to-foot a { color: var(--to-purple); }
