/* ========= RESET ========= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body{
  font-family: "Kantumruy Pro", sans-serif;
  background: #0b1220;
  color: #e5e7eb;
  line-height: 1.6;
}

/* ========= LAYOUT WRAPPER ========= */
.header,
.pricing,
.footer{
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* ========= HEADER ========= */
.header{
  margin-top: 20px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.site-title{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.site-subtitle{
  color: rgba(229,231,235,0.78);
  margin: 6px 0 12px;
}

.student-box{
  min-width: 240px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
}

.student-box h3{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.student-box p{
  font-size: 14px;
  color: rgba(229,231,235,0.85);
  margin: 4px 0;
}

/* ========= PRICING GRID ========= */
.pricing{
  padding: 0 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

/* ========= CARD ========= */
.card{
  width: 300px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; /* >= 10px */
  background: rgba(255,255,255,0.04);
  text-align: center;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Hover (professional) */
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.plan-title{
  font-size: 24px;
  font-weight: 700; /* bold */
  margin-bottom: 10px;
}

.price{
  font-size: 34px;
  font-weight: 700;
  color: #60a5fa; /* price color */
}

.price span{
  font-size: 14px;
  color: rgba(229,231,235,0.78);
  font-weight: 600;
  margin-left: 6px;
}

.features{
  list-style: none;
  margin: 14px 0 18px;
  text-align: left;
}

.features li{
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(229,231,235,0.88);
}

.features li:first-child{ border-top: none; }

/* ========= POPULAR (Standard) ========= */
.popular{
  border: 3px solid #f59e0b; /* thicker + different */
  background: rgba(245,158,11,0.08);
}

.badge{
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f59e0b;
  color: #111;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ========= BUTTONS ========= */
.btn{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px; /* pill */
  text-decoration: none; /* no underline */
  background: #374151;
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

/* Hover for buttons */
.btn:hover{
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary{
  background: #3b82f6;
  border: none;
}

.btn-primary:hover{
  background: #2563eb;
}

.btn-outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
}

/* ========= FOOTER ========= */
.footer{
  text-align: center;
  padding: 14px 16px;
  color: rgba(229,231,235,0.70);
  font-size: 13px;
}

.student-link{
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
}

.student-link:hover{
  text-decoration: underline;
}

/* ========= A4 DOCUMENT PAGE ========= */
.doc-bg{
  background: #0b1220;
  padding: 16px;
}

/* top bar (back + print) */
.doc-top{
  max-width: 900px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/*  A4 */
.doc{
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 18mm 18mm;
  background: #fff;
  color: #111827;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

/* Document Typography */
.doc h1{ font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.doc h2{ font-size: 16px; margin: 14px 0 8px; font-weight: 700; }
.doc h3{ font-size: 15px; margin: 12px 0 6px; font-weight: 700; }
.doc h4{ font-size: 14px; margin: 10px 0 6px; font-weight: 700; }
.doc p{ margin: 8px 0; }
.doc ul, .doc ol{ margin: 8px 0 8px 18px; }
.doc hr{ border: none; border-top: 1px solid #e5e7eb; margin: 12px 0; }

.doc-footer{
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  text-align: center;
  font-size: 13px;
}

/* Print A4 */
@media print{
  .no-print{ display: none !important; }
  body{ background: #fff; }
  .doc{ border: none; border-radius: 0; margin: 0; }
  @page{ size: A4; margin: 12mm; }
}

/* Responsive */
@media (max-width: 900px){
  .doc{ width: 100%; min-height: auto; }
}
