/*
 * Start Free Trial page — page-templates/page-trial.php
 */

body.baat-trial-page {
  background: #0B1120;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}
body.baat-trial-page * { box-sizing: border-box; }
body.baat-trial-page a { text-decoration: none; }
body.baat-trial-page p { color: inherit; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.tr-wrap {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.tr-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.tr-bg-orb {
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(0,87,255,.14) 0%, transparent 65%);
  pointer-events: none;
}
.tr-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════
   LEFT
═══════════════════════════════════════════ */
.tr-left {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.tr-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.tr-logo img { width: 36px; height: 36px; border-radius: 8px; }
.tr-logo span {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.04em; color: #fff;
}
.tr-left-content { display: flex; flex-direction: column; gap: 20px; }

.tr-pill {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: #25D366; background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.22);
  border-radius: 100px;
  padding: 6px 14px;
  width: fit-content;
}
.tr-h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}
.tr-sub {
  font-size: 16px; color: rgba(255,255,255,.5);
  line-height: 1.7; margin: 0;
}

/* Includes list */
.tr-includes {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.tr-includes li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.tr-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.25);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #25D366;
  margin-top: 1px;
}
.tr-includes li strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* Trust badges */
.tr-trust {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 4px;
}
.tr-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.35);
}

/* ═══════════════════════════════════════════
   RIGHT
═══════════════════════════════════════════ */
.tr-right {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tr-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(8px);
}
.tr-card-h {
  font-size: 20px; font-weight: 800;
  letter-spacing: -.03em; color: #fff;
  margin: 0 0 6px;
}
.tr-card-sub {
  font-size: 14px; color: rgba(255,255,255,.45);
  margin: 0 0 28px;
}

/* Form */
.tr-form { display: flex; flex-direction: column; gap: 18px; }

.tr-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tr-field {
  display: flex; flex-direction: column; gap: 7px;
}
.tr-field label {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.65);
}
.tr-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px; color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
  -webkit-appearance: none;
  appearance: none;
}
.tr-input::placeholder { color: rgba(255,255,255,.2); }
.tr-input:focus {
  border-color: rgba(0,87,255,.5);
  background: rgba(0,87,255,.06);
}
.tr-input.tr-error { border-color: rgba(220,60,60,.6); }

/* Prefix input */
.tr-input-prefix-wrap {
  position: relative;
  display: flex;
}
.tr-input-prefix {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px; color: rgba(255,255,255,.35);
  pointer-events: none;
}
.tr-input-has-prefix { padding-left: 24px; }

/* Select */
.tr-select-wrap { position: relative; }
.tr-select {
  cursor: pointer;
  padding-right: 36px;
}
.tr-select option {
  background: #1E293B; color: #fff;
}
.tr-select-arrow {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.35);
  pointer-events: none;
}

.tr-field-hint {
  font-size: 12px; color: rgba(255,255,255,.3);
  margin-top: -3px;
}

/* Submit button */
.tr-submit {
  width: 100%;
  padding: 14px;
  background: #0057FF;
  color: #fff;
  font-family: inherit;
  font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
}
.tr-submit:hover:not(:disabled) {
  background: #0046CC;
  box-shadow: 0 0 28px rgba(0,87,255,.4);
}
.tr-submit:disabled { opacity: .6; cursor: not-allowed; }

@keyframes tr-spin { to { transform: rotate(360deg); } }
.tr-spinner { animation: tr-spin .8s linear infinite; }

/* Legal line */
.tr-legal {
  font-size: 12px; color: rgba(255,255,255,.25);
  text-align: center; margin: 0;
  line-height: 1.6;
}
.tr-legal a { color: rgba(255,255,255,.4); text-decoration: underline; }
.tr-legal a:hover { color: rgba(255,255,255,.7); }

/* Success state */
.tr-success {
  text-align: center;
  padding: 12px 0 4px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.tr-success[hidden] { display: none !important; }
.tr-success-icon {
  width: 56px; height: 56px;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tr-success-h {
  font-size: 20px; font-weight: 800;
  color: #fff; margin: 0;
  letter-spacing: -.03em;
}
.tr-success-p {
  font-size: 14px; color: rgba(255,255,255,.5);
  line-height: 1.7; margin: 0; max-width: 340px;
}
.tr-back-home {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7);
  transition: background .15s, color .15s;
  margin-top: 4px;
}
.tr-back-home:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Sign-in link */
.tr-signin {
  text-align: center;
  font-size: 13px; color: rgba(255,255,255,.3);
  margin: 0;
}
.tr-signin a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  transition: color .15s;
}
.tr-signin a:hover { color: #fff; }

/* ═══════════════════════════════════════════
   MOBILE
═══════════════════════════════════════════ */
@media (max-width: 860px) {
  .tr-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 24px;
    min-height: unset;
  }
  .tr-left {
    padding: 80px 0 32px;
    gap: 32px;
  }
  .tr-right { padding: 0 0 60px; }
}
@media (max-width: 480px) {
  .tr-inner { padding: 0 16px; }
  .tr-card { padding: 24px; }
  .tr-row-2 { grid-template-columns: 1fr; }
}
