/* ============================================================
   base.css — Shared styles for all Xant pages
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --accent: #60A5FA;
}

/* --- Reset --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* --- Body --- */
body {
  font-family: 'Inter', sans-serif;
  background: #09090b;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* --- Headings --- */
h1, h2, h3, h4, .font-display { font-family: 'Inter', sans-serif; }

/* --- Focus Rings --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}

/* --- Navigation --- */
nav {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(9,9,11,0.85);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* --- Logo --- */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-full {
  height: 80px;
  width: auto;
  display: block;
}
.logo-icon {
  height: 32px;
  width: auto;
  display: none;
}
@media (max-width: 767px) {
  .logo-full { display: none; }
  .logo-icon { display: block; }
}
.logo-footer { display: flex; align-items: center; }
.logo-footer .logo-full { height: 45px; }
.logo-footer .logo-icon { height: 28px; }

/* --- Buttons --- */
.btn-primary {
  background: var(--blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--blue-light); }
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}

.btn-outline {
  background: transparent;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}
.btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}

.btn-wa {
  background: #25D366;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}
.btn-wa:hover { background: #20BD5A; }
.btn-wa:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #25D366;
}

.btn-submit {
  background: #2563EB;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.btn-submit:hover { background: #3B82F6; }
.btn-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}
.btn-submit:disabled {
  background: rgba(37,99,235,.4);
  cursor: not-allowed;
}

.btn-submit-main {
  background: #2563EB;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.btn-submit-main:hover { background: #3B82F6; }
.btn-submit-main:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}
.btn-submit-main:disabled {
  background: rgba(37,99,235,.35);
  cursor: not-allowed;
  box-shadow: none;
}

/* --- Tags & Badges --- */
.tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60A5FA;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 9999px;
  padding: 4px 12px;
  display: inline-block;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
}
.trust-badge svg { color: var(--blue-light); }

.skill-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  transition: border-color 0.15s;
}
.skill-pill:hover { border-color: rgba(255,255,255,0.15); }

/* --- Miscellaneous --- */
.divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 0;
}

.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.15s;
  text-decoration: none;
}
.float-wa:hover { transform: scale(1.05); }
.float-wa:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #25D366;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue-light);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Legal Shared --- */
.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-body h1 {
  font-size: clamp(28px,4vw,40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.meta {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  margin-bottom: 48px;
}
.legal-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #3B82F6;
  margin: 40px 0 10px;
  text-transform: uppercase;
}
.legal-body p {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-body ul {
  color: rgba(255,255,255,.5);
  font-size: 15px;
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-body ul li { margin-bottom: 6px; }
.legal-body a {
  color: #3B82F6;
  text-decoration: none;
}
.legal-body a:hover { text-decoration: underline; }

.legal-card {
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-card p { margin-bottom: 0 !important; }

hr.sec {
  border: none;
  border-top: 1px solid rgba(255,255,255,.06);
  margin: 40px 0;
}

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(9,9,11,0.9);
}
.footer-legal a {
  color: rgba(255,255,255,.3);
  font-size: 12px;
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* --- Form Shared --- */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}
.form-group select option { background: #111; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-form-group { margin-bottom: 14px; }
.contact-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 6px;
}
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 2px #09090b, 0 0 0 4px #2563EB;
}
.contact-form-group select option { background: #111; color: #fff; }
.contact-form-group textarea { resize: vertical; min-height: 90px; }

/* --- Form Feedback --- */
.form-success {
  display: none;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 10px;
  padding: 16px 20px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

.form-error {
  display: none;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: 10px;
  padding: 16px 20px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

/* --- Keyframe Animations --- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin2 {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
