/* MyEducationHero Coming Soon Styles */
:root {
  --brand-start: #0ea5e9; /* sky-500 */
  --brand-end: #22c55e;   /* green-500 */
  --text: #0f172a;        /* slate-900 */
  --muted: #334155;       /* slate-700 */
  --bg: #ffffff;
}

* { box-sizing: border-box; }
html, body { height: 100%; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(1000px 500px at -10% 20%, rgba(14, 165, 233, 0.12), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  padding-top: calc(48px + env(safe-area-inset-top));
  padding-left: calc(16px + env(safe-area-inset-left));
  padding-right: calc(16px + env(safe-area-inset-right));
}

.card {
  width: 100%;
  max-width: 860px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  overflow: visible;
  box-sizing: border-box;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

main {
  margin-top: 18px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 12px 0 12px;
}

.tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  margin: 0 0 24px;
}

.notify {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: box-shadow 200ms ease, transform 120ms ease;
}

.notify:hover { box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08); }
.notify:active { transform: translateY(1px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-weight: 600;
  font-size: 13px;
}

.footer {
  margin-top: 28px;
  font-size: 13px;
  color: #475569;
}

@media (min-width: 720px) {
  .card { padding: 36px 36px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 22px; }
}



/* Chatbot Page Styles */
.top-hero { text-align: center; margin-top: 6px; padding: 0 4px; box-sizing: border-box; width: 100%; overflow-x: hidden; }
.banner-logo { width: min(92%, 420px); height: auto; display: block; margin: 0 auto 8px; background: #ffffff; padding: 6px 8px; border-radius: 6px; max-width: 100%; box-sizing: border-box; object-fit: contain; }
.top-lines { color: #1e3a8a; font-weight: 700; margin: 0 0 8px; font-size: clamp(14px, 3.6vw, 18px); line-height: 1.3; word-wrap: break-word; overflow-wrap: break-word; }
.top-cta { color: #0f172a; font-weight: 800; text-decoration: underline; display: inline-block; margin-top: 6px; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }
.top-cta-sub { font-weight: 700; margin-top: 4px; word-wrap: break-word; overflow-wrap: break-word; max-width: 100%; }
.ticker { margin-top: 8px; font-size: 13px; color: #0f172a; overflow: hidden; white-space: nowrap; }
.ticker .track { display: inline-block; padding-left: 100%; animation: ticker-move 65s linear infinite; }
.ticker span { font-weight: 600; }
@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.hero-title {
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.25;
  margin: 8px 0 16px;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-weight: 600;
  font-size: 13px;
  margin-top: 14px;
}

.online .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.chat {
  margin-top: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px;
  background: #ffffff;
  max-height: 70vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.msg {
  max-width: 90%;
  display: inline-block;
  padding: 12px 14px;
  border-radius: 14px;
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.msg.bot {
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.msg.user {
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  color: white;
  margin-left: auto;
}

.msg .avatar {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 1px 3px rgba(2, 6, 23, 0.15);
}
.msg .msg-content {
  display: block;
  flex: 1;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
  width: 100%;
  box-sizing: border-box;
}

.option {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  transition: box-shadow 150ms ease, transform 120ms ease;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.option:hover { box-shadow: 0 6px 16px rgba(2, 6, 23, 0.08); }
.option:active { transform: translateY(1px); }

.typing { display: inline-flex; gap: 6px; padding: 10px 12px; background: #f1f5f9; border-radius: 14px; margin: 8px 0; }
.typing span { width: 6px; height: 6px; background: #64748b; border-radius: 999px; animation: blink 1.2s infinite; opacity: 0.7; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  color: white;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
}

.cta:hover { filter: brightness(1.02); }
.cta:active { transform: translateY(1px); }

/* Call CTA */
.call-cta { margin-top: 12px; text-align: center; }
.call-lead { color: #1e40af; font-weight: 700; margin-bottom: 6px; text-align: left; }
.call-availability { color: #1e3a8a; font-weight: 600; margin: 4px 0 10px; text-align: left; }
.call-instruction { font-weight: 600; margin-bottom: 6px; text-align: left; }
.call-number {
  display: block;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
  margin: 8px auto 0; /* center and add spacing from instruction */
  width: max-content;
  animation: call-pulse 2.4s ease-in-out infinite;
  transition: transform 160ms ease, filter 160ms ease;
}
.call-number:hover { transform: translateY(-1px); filter: brightness(1.05); }

@keyframes call-pulse {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.call-now { margin-top: 6px; font-weight: 700; display: block; text-align: center; width: 100%; }

/* Mobile adjustments */
@media (max-width: 480px) {
  .page { padding: 20px 8px; }
  .card { padding: 16px 10px; max-width: 100%; width: calc(100% - 16px); }
  .banner-logo { width: 58% !important; max-width: 180px !important; padding: 2px 3px !important; }
  .page img { max-width: 100% !important; height: auto !important; }
  .top-hero { padding: 0; margin-top: 2px; display: block; }
  .top-lines { font-size: 12px !important; margin: 0 0 4px !important; line-height: 1.2 !important; }
  .top-cta, .top-cta-sub { font-size: 12px !important; line-height: 1.3 !important; }
  .ticker { font-size: 10px !important; margin-top: 4px !important; }
  .ticker .track { animation-duration: 90s; }
  .chat { padding: 8px; border-radius: 12px; max-height: 65vh; }
  .msg { font-size: 17px !important; max-width: 92% !important; padding: 12px 14px !important; line-height: 1.5 !important; }
  .msg .avatar { width: 18px; height: 18px; }
  .options { gap: 6px; margin: 6px 0 4px; }
  .option { padding: 10px 14px; font-size: 16px; max-width: 100%; flex: 1 1 auto; min-width: calc(50% - 3px); }
  .online { font-size: 14px; }
  .cta { font-size: 16px; padding: 14px 18px; }
  .call-lead { font-size: 14px; text-align: left; }
  .call-availability { font-size: 13px; text-align: left; }
  .call-instruction { font-size: 13px; text-align: left; }
  .call-number { font-size: 18px; width: auto; margin: 0 auto; }
  .call-now { font-size: 13px; }
  main { margin-top: 8px; }
}

