/* Public Website Styles (Dhyani Aksharshala) */
.site-topbar {
  background-color: var(--brand-indigo);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.site-topbar a {
  color: #FDE68A;
  font-weight: 600;
}
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--border-warm);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-card);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-primary);
  font-weight: 700;
  font-size: 1.3rem;
}
.brand-logo span.sub {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-secondary);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brand-vermilion);
  background-color: var(--bg-sand);
}

.hero-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-sand) 100%);
  border-bottom: 1px solid var(--border-warm);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  color: var(--brand-indigo);
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-secondary);
  margin-bottom: 1.5rem;
}
.hero-card {
  background: var(--bg-surface);
  border: 2px solid var(--brand-vermilion);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-elevated);
}

.section {
  padding: 3.5rem 0;
}
.section-alt {
  background-color: var(--bg-sand);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}
.section-title {
  font-size: 2rem;
  color: var(--brand-indigo);
  margin-bottom: 0.5rem;
}

.book-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 5px solid var(--brand-vermilion);
  transition: transform 0.2s ease;
}
.book-card:hover {
  transform: translateY(-4px);
}

.letter-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}
.letter-tile:hover, .letter-tile.active {
  border-color: var(--brand-vermilion);
  background: #FFF7ED;
  transform: scale(1.03);
}
.letter-char {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-indigo);
  line-height: 1.1;
}

.pin-digit-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.2rem 0;
}
.pin-digit-input {
  width: 60px !important;
  height: 68px !important;
  text-align: center;
  font-size: 1.8rem !important;
  font-weight: 700;
  font-family: var(--font-mono);
  border: 2px solid var(--brand-indigo) !important;
  border-radius: var(--radius-md) !important;
}

.site-footer {
  background: linear-gradient(180deg, #0D3B26 0%, #072215 100%);
  color: #E2F4EA;
  padding: 2.75rem 0 1.5rem 0;
  margin-top: 0;
}
.site-footer a {
  color: #D1FAE5;
}
.site-footer a:hover {
  color: #FDE047;
}

/* Mockup-inspired Public Design System (Dhyanini Aksharshala) */
.da-header {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  border-bottom: 3px solid #2E7D32;
}
.da-brand-title {
  color: #D32F2F;
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.15;
}
.da-brand-sub {
  display: block;
  color: #0D47A1;
  font-size: 0.85rem;
  font-weight: 700;
}
.da-brand-motto {
  display: block;
  color: #15803D;
  font-size: 0.74rem;
  font-weight: 600;
}
.da-nav-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.da-nav-pills a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0F172A;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: all 0.15s ease;
}
.da-nav-pills a:hover {
  background: #DCFCE7;
  border-color: #2E7D32;
  color: #166534;
}
.da-nav-pills a.active {
  background: linear-gradient(180deg, #2E9B3B 0%, #1B6E25 100%);
  border-color: #166534;
  color: #FFFFFF !important;
  box-shadow: 0 3px 8px rgba(27, 110, 37, 0.28);
}

.da-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 6px rgba(18, 140, 126, 0.28);
}
.da-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  color: #0F172A !important;
  border: 1.5px solid #2E7D32;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
}

.da-sky-section {
  background: linear-gradient(180deg, #E8F4FD 0%, #F7FCF8 55%, #FFFFFF 100%);
  position: relative;
}
.da-hero-wrap {
  background: radial-gradient(circle at 80% 30%, #FFFFFF 0%, #E3F2FD 55%, #ECFDF5 100%);
  border-bottom: 4px solid #2E7D32;
  padding: 2.5rem 0 2.75rem 0;
}
.da-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 920px) {
  .da-hero-grid { grid-template-columns: 1fr; }
}
.da-hero-q1 {
  display: block;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  color: #0D47A1;
  font-weight: 800;
  line-height: 1.3;
}
.da-hero-q2 {
  display: block;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  color: #D32F2F;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0.15rem;
}
.da-brand-badge {
  display: inline-block;
  margin: 0.85rem 0;
  background: linear-gradient(180deg, #2E9B3B 0%, #1B6E25 100%);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 800;
  padding: 0.4rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(27, 110, 37, 0.25);
}
.da-hero-photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  box-shadow: 0 14px 34px rgba(13, 71, 161, 0.14);
  background: #FFFFFF;
}
.da-hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.da-floating-quote {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid #0D47A1;
  color: #0D47A1;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  transform: rotate(-3deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  text-align: center;
}
.da-feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
@media (max-width: 640px) {
  .da-feature-tiles { grid-template-columns: repeat(2, 1fr); }
}
.da-feature-tile {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 14px;
  padding: 0.7rem 0.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.06);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F172A;
}
.da-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 1.5px solid #93C5FD;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.da-green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(180deg, #2E9B3B 0%, #166534 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.72rem 1.55rem;
  border-radius: 999px;
  border: 2px solid #86EFAC;
  box-shadow: 0 5px 14px rgba(22, 101, 52, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.da-green-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(22, 101, 52, 0.35);
  color: #FFFFFF !important;
}

.da-banner-wrap {
  text-align: center;
  margin-bottom: 2rem;
}
.da-page-banner {
  display: inline-block;
  background: linear-gradient(180deg, #1976D2 0%, #0D47A1 100%);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 800;
  padding: 0.55rem 2.25rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.25);
  margin-bottom: 0.65rem;
}
.da-page-banner-green {
  background: linear-gradient(180deg, #2E9B3B 0%, #1B6E25 100%);
  box-shadow: 0 6px 16px rgba(27, 110, 37, 0.25);
}

.da-info-pill {
  display: inline-block;
  background: linear-gradient(180deg, #2E9B3B 0%, #1B6E25 100%);
  color: #FFFFFF;
  font-weight: 800;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.da-info-pill-amber {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
}
.da-info-pill-purple {
  background: linear-gradient(180deg, #9333EA 0%, #6B21A8 100%);
}

.da-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.da-checklist li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1E293B;
}
.da-checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.da-quote-ribbon {
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%);
  border: 2px solid #F59E0B;
  color: #1E293B;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 0.85rem 1.25rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.da-pin-card {
  background: #FFFFFF;
  border: 2px solid #93C5FD;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
}
.da-board-preview {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #334155;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}
.da-board-letter {
  position: absolute;
  top: 28%;
  right: 19%;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.da-board-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #DC2626;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 0.3rem 0.75rem;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.da-contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #CBD5E1;
}
.da-contact-row:last-child { border-bottom: 0; }
.da-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #166534;
  border: 2px solid #22C55E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.da-building-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}
.da-building-sign {
  position: relative;
  margin: -2.5rem 1.25rem 0 1.25rem;
  background: #FFFFFF;
  border: 2px solid #2E7D32;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(22, 101, 52, 0.18);
}

.da-wave-motto {
  background: linear-gradient(90deg, #1B6E25 0%, #2E9B3B 50%, #1B6E25 100%);
  color: #FFFFFF;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.7rem 1rem;
  letter-spacing: 0.02em;
}

/* Login role tabs */
.da-login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  border: 1px solid #E2E8F0;
}
.da-login-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.58rem 0.65rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.da-login-tab.is-active {
  background: #1B6E25;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(27, 110, 37, 0.24);
}
.da-login-tab:focus-visible {
  outline: 2px solid #0D47A1;
  outline-offset: 2px;
}
.da-login-pane[hidden] {
  display: none !important;
}
