/* TheReviewMitra — shared design tokens */
:root {
  --indigo: #4F46E5; --indigo-dark: #4338CA; --violet: #7C3AED;
  --ink: #111827; --muted: #6B7280; --line: #E5E7EB; --bg-soft: #F8FAFF;
  --grad: linear-gradient(135deg, #4F46E5, #7C3AED);
  --grad-panel: linear-gradient(165deg, #4F46E5 0%, #6D28D9 70%, #4C1D95 100%);
  --amber: #FBBF24; --green: #16A34A; --red: #DC2626;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Sora', sans-serif; background: #FFFFFF; color: var(--ink); }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: #3730A3; }
input, textarea, select { font-family: 'Sora', sans-serif; }
.logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 800; }

.nav { position: relative; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px 64px; border-bottom: 1px solid #E9ECF7; gap: 18px; background: rgba(255,255,255,.96); box-shadow: 0 10px 32px rgba(79,70,229,.04); }
.nav-links { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.nav-links a { position: relative; font-size: 15px; font-weight: 600; color: #111827; }
.nav-links a.active { color: #3F2BFF; font-weight: 800; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 3px; border-radius: 999px; background: #3F2BFF; }
.nav-cta { background: var(--grad); color: #FFF !important; padding: 14px 22px; border-radius: 10px; font-weight: 800 !important; box-shadow: 0 12px 24px rgba(79,70,229,.22); }
.nav-cta::after { content: "→"; position: static !important; display: inline-block; margin-left: 10px; height: auto !important; background: transparent !important; }
.nav-cta:hover { filter: brightness(1.06); color: #FFF !important; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.nav-toggle svg path { transition: d .15s; }

/* promo strip — running announcement bar under the header */
.trm-promo { position: relative; z-index: 90; background: var(--grad); color: #FFF; overflow: hidden; white-space: nowrap; }
.trm-promo-inner { display: flex; align-items: center; }
.trm-promo-track { display: flex; align-items: center; flex-shrink: 0; animation: trm-marquee 22s linear infinite; }
.trm-promo-item { display: inline-flex; align-items: center; gap: 16px; padding: 9px 32px; font-size: 13px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.trm-promo-item b { font-weight: 800; }
@keyframes trm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trm-promo-track { animation: none; } }
@media (max-width: 640px) { .trm-promo-item { padding: 9px 24px; font-size: 12px; } }

/* floating WhatsApp button — every page */
.trm-wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.trm-wa-float::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: rgba(37,211,102,.35); animation: trm-wa-pulse 2.2s ease-out infinite; z-index: -1; }
.trm-wa-float:hover { transform: scale(1.05); box-shadow: 0 10px 28px rgba(37,211,102,.5); }
@keyframes trm-wa-pulse { 0% { transform: scale(.85); opacity: .8; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .trm-wa-float::before { animation: none; } }
@media (max-width: 640px) { .trm-wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

@media (max-width: 900px) {
  .nav { padding: 14px 20px; flex-wrap: nowrap; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #FFFFFF; border-bottom: 1px solid #F3F4F6; box-shadow: 0 12px 24px rgba(17,24,39,.08);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .22s ease, opacity .18s ease;
  }
  .nav-links.open { max-height: 420px; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid #F9FAFB; font-size: 15px; }
  .nav-links a.active::after { display: none; }
  .nav-links a.nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--grad); color: #FFF; border: 0; text-align: center; padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Sora', sans-serif; }
.btn:hover { filter: brightness(1.08); color: #FFF; }
.btn[disabled] { opacity: .55; cursor: not-allowed; filter: none; }
.btn-plain { background: #FFF; color: var(--ink); border: 1.5px solid var(--line); }
.btn-plain:hover { filter: none; border-color: var(--indigo); color: var(--indigo); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea, .field select { border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; font-size: 15px; outline: none; background: var(--bg-soft); }
.field input:focus, .field textarea:focus { border-color: var(--indigo); }
.hint { font-size: 13px; color: var(--muted); }
.req { color: var(--red); }

.alert { border-radius: 10px; padding: 12px 15px; font-size: 14px; line-height: 1.5; display: none; }
.alert.error { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert.ok { display: block; background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; background: #FFF; color: #374151; border: 1.5px solid var(--line); user-select: none; }
.chip.on { background: #EEF2FF; color: var(--indigo-dark); border-color: var(--indigo); }
.chip.locked { opacity: .5; cursor: not-allowed; }

.footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 24px; border-top: 1px solid #F3F4F6; font-size: 13px; color: #9CA3AF; margin-top: auto; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #FFF; border-radius: 50%; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* site footer */
.site-footer { margin-top: auto; background: #111827; color: #9CA3AF; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; padding: 56px 48px 32px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer-brand p { font-size: 14px; line-height: 1.7; color: #9CA3AF; margin: 14px 0 0; max-width: 320px; }
.site-footer-heading { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #F9FAFB; margin-bottom: 14px; }
.site-footer-col { display: flex; flex-direction: column; gap: 10px; }
.site-footer-col a { color: #9CA3AF; font-size: 14px; }
.site-footer-col a:hover { color: #FFFFFF; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 48px; text-align: center; font-size: 13px; color: #6B7280; }
@media (max-width: 860px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer-inner { grid-template-columns: 1fr; padding: 40px 24px 24px; } }
@media (max-width: 480px) { .site-footer-bottom { padding: 20px 20px; } }
