/* AzureOptimize — Order Page Styles
   Standalone CSS (not processed by Vite). Mirrors the main site palette. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Order page uses the HTML `hidden` attribute on .o-payment, .o-success, and
   .o-form-error. The UA rule [hidden] { display: none } has specificity (0,1,0),
   which any future class rule that sets display would tie on, and author CSS
   would win by source order. Lock the UA behaviour with !important so adding
   `display: flex` to any of those classes can't silently break the hide flow. */
[hidden] { display: none !important; }

:root {
  --primary:    #0078d4;
  --primary-d:  #005a9e;
  --primary-l:  rgba(0,120,212,0.10);
  --bg:         #060b14;
  --bg-card:    #0d1626;
  --bg-card2:   #111d35;
  --border:     rgba(255,255,255,0.08);
  --text:       #e8edf5;
  --text-muted: #6b8099;
  --gold:       #f0b429;
  --green:      #12b76a;
  --radius:     14px;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────────────────────────────────────── */
.o-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,11,20,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.o-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.o-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.o-nav-actions { display: flex; align-items: center; gap: 10px; }
.o-btn-ghost {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.o-btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.o-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 60px;
  text-align: center;
}
.o-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
}
.o-hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0078d4, transparent 70%);
  top: -160px; left: 50%;
  transform: translateX(-50%);
}
.o-hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f0b429, transparent 70%);
  top: 60px; right: 10%;
}
.o-container { max-width: 1100px; margin: 0 auto; position: relative; }
.o-badge {
  display: inline-block;
  background: rgba(0,120,212,0.15);
  border: 1px solid rgba(0,120,212,0.35);
  color: #60a8e8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.o-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 40%, #60a8e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.o-hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── PLAN CARDS ───────────────────────────────────────────────────────────── */
.o-plans { padding: 0 24px 80px; }
.o-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.o-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.o-plan-card:hover { border-color: rgba(0,120,212,0.4); transform: translateY(-3px); }
.o-plan-card-featured {
  background: var(--bg-card2);
  border-color: rgba(0,120,212,0.5);
  box-shadow: 0 0 0 1px rgba(0,120,212,0.2), 0 16px 48px rgba(0,120,212,0.12);
}
.o-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0078d4, #005a9e);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}
.o-plan-header { margin-bottom: 28px; }
.o-plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.o-plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  min-height: 40px;
}
.o-price-skeleton {
  width: 120px;
  height: 38px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.o-plan-billing {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.o-plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.o-plan-features li {
  font-size: 0.9rem;
  color: rgba(232,237,245,0.82);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.o-check {
  color: var(--green);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.o-check-gold { color: var(--gold); }

/* Buy buttons */
.o-btn-buy {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,120,212,0.5);
  background: transparent;
  color: var(--primary);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.o-btn-buy:hover { background: var(--primary-l); transform: translateY(-1px); }
.o-btn-buy-featured {
  background: linear-gradient(135deg, #0078d4, #005a9e);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,120,212,0.4);
}
.o-btn-buy-featured:hover { filter: brightness(1.1); background: linear-gradient(135deg, #0078d4, #005a9e); }

/* ── PAYMENT FORM ─────────────────────────────────────────────────────────── */
.o-payment { padding: 0 24px 80px; }
.o-payment-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 40px 36px;
}
.o-back-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.o-back-btn:hover { color: var(--text); }
.o-selected-plan {
  background: rgba(0,120,212,0.08);
  border: 1px solid rgba(0,120,212,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.o-selected-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); }
.o-selected-name  { font-size: 0.97rem; font-weight: 600; color: var(--text); }
.o-selected-price { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.o-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.o-form-group { display: flex; flex-direction: column; gap: 7px; }
.o-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(232,237,245,0.75);
}
.o-req { color: #e06c75; }
.o-form-group input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.o-form-group input::placeholder { color: rgba(255,255,255,0.25); }
.o-form-group input:focus {
  border-color: var(--primary);
  background: rgba(0,120,212,0.06);
}
.o-form-error {
  background: rgba(224,108,117,0.12);
  border: 1px solid rgba(224,108,117,0.35);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #e06c75;
  margin-bottom: 16px;
}
.o-btn-pay {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #0078d4, #005a9e);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,120,212,0.4);
  transition: filter 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.o-btn-pay:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
.o-btn-pay:disabled { opacity: 0.65; cursor: not-allowed; }
.o-secure-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ── SUCCESS ──────────────────────────────────────────────────────────────── */
.o-success { padding: 0 24px 80px; }
.o-success-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(18,183,106,0.3);
  border-radius: var(--radius);
  padding: 52px 40px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(18,183,106,0.1), 0 20px 60px rgba(18,183,106,0.08);
}
.o-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(18,183,106,0.15);
  border: 2px solid rgba(18,183,106,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--green);
  margin: 0 auto 24px;
}
.o-success-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.o-success-plan {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  display: inline-block;
}
.o-success-msg {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.o-btn-home {
  display: inline-block;
  background: linear-gradient(135deg, #0078d4, #005a9e);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 0.2s;
}
.o-btn-home:hover { filter: brightness(1.12); }

/* ── TRUST SIGNALS ────────────────────────────────────────────────────────── */
.o-trust {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.o-trust-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}
.o-trust-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.o-site-footer {
  background: #0a1322;
  color: rgba(255,255,255,0.75);
  padding: 28px 24px 24px;
  margin-top: 48px;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.o-site-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
}
.o-site-footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.o-site-footer-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.o-site-footer-links a:hover { color: #50e6ff; }
.o-site-footer-meta { color: rgba(255,255,255,0.55); font-size: 0.78rem; }
.o-site-footer-disclaimer {
  max-width: 1100px; margin: 14px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.o-site-footer-disclaimer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.o-site-footer-disclaimer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .o-plans-grid { grid-template-columns: 1fr; }
  .o-plan-card { padding: 28px 22px; }
  .o-payment-card { padding: 28px 20px; }
  .o-form-row { grid-template-columns: 1fr; }
  .o-success-card { padding: 40px 24px; }
  .o-hero-title { font-size: 1.9rem; }
  .o-site-footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
