/* ============================================================================
 * Akash Web farm — Signature theme (colors, typography, layout tokens)
 * Code created by Akash - 15 February 2026
 * Last updated: 15 February 2026
 * ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --awf-bg: #0b1020;
  --awf-bg-soft: #121a32;
  --awf-surface: rgba(255, 255, 255, 0.06);
  --awf-surface-hover: rgba(255, 255, 255, 0.1);
  --awf-text: #f1f5f9;
  --awf-muted: #94a3b8;
  --awf-border: rgba(148, 163, 184, 0.22);
  --awf-accent: #22d3ee;
  --awf-accent-2: #a855f7;
  --awf-accent-hover: #06b6d4;
  --awf-glow: 0 0 40px rgba(34, 211, 238, 0.25);
  --awf-radius: 16px;
  --awf-font: 'Outfit', system-ui, sans-serif;
  --awf-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html[data-bs-theme="light"],
html:not([data-bs-theme="dark"]) {
  color-scheme: dark;
}

body.awf-app {
  background: radial-gradient(1200px 600px at 10% -10%, rgba(168, 85, 247, 0.35), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(34, 211, 238, 0.28), transparent 50%),
    var(--awf-bg) !important;
  color: var(--awf-text) !important;
  min-height: 100vh;
  font-family: var(--awf-font);
}

.awf-topbar {
  border-bottom: 1px solid var(--awf-border);
  background: rgba(11, 16, 32, 0.75);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.awf-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--awf-accent), var(--awf-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.awf-topbar a {
  color: var(--awf-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.awf-topbar a:hover { color: var(--awf-accent); }

.awf-badge-live {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--awf-border);
  color: var(--awf-accent);
}

.awf-card {
  background: var(--awf-surface);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius);
  padding: 1.35rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.awf-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: var(--awf-glow);
}

.awf-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.awf-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.awf-card-icon.cyan { background: rgba(34, 211, 238, 0.15); color: var(--awf-accent); }
.awf-card-icon.violet { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.awf-card-icon.amber { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.awf-user-badge {
  font-size: 0.82rem;
  color: var(--awf-muted);
  border: 1px solid var(--awf-border);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  background: var(--awf-surface);
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.awf-user-badge strong { color: var(--awf-text); font-weight: 600; }

.awf-hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.awf-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.awf-hero .lead {
  color: var(--awf-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.awf-hero code,
.awf-code {
  font-family: var(--awf-mono);
  font-size: 0.82rem;
  color: var(--awf-accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
}

.awf-identity-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.awf-identity-modal {
  background: var(--awf-bg-soft);
  border-radius: 18px;
  border: 1px solid var(--awf-border);
  box-shadow: var(--awf-glow);
  width: 100%;
  max-width: 420px;
  padding: 1.6rem;
}

.awf-identity-modal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--awf-text);
}

.awf-identity-modal p {
  color: var(--awf-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.awf-identity-modal .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--awf-muted);
}

.awf-identity-modal .form-control {
  border: 1px solid var(--awf-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--awf-text);
  border-radius: 10px;
}

.awf-identity-modal .form-control:focus {
  border-color: var(--awf-accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--awf-text);
}

.awf-identity-modal .btn-primary {
  background: linear-gradient(135deg, var(--awf-accent), var(--awf-accent-2));
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.65rem 1rem;
}

.awf-identity-error {
  display: none;
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.awf-identity-error.show { display: block; }

.btn-change-user {
  font-size: 0.8rem;
  color: var(--awf-accent);
  border: none;
  background: none;
  padding: 0;
}

.btn-change-user:hover { text-decoration: underline; }

.awf-panel {
  background: var(--awf-surface);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius);
}

.awf-panel .list-group-item {
  background: transparent;
  border-color: var(--awf-border);
  color: var(--awf-text);
}

.text-secondary { color: var(--awf-muted) !important; }

.form-control, .form-select {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--awf-border);
  color: var(--awf-text);
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--awf-accent);
  color: var(--awf-text);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.btn-outline-primary {
  color: var(--awf-accent);
  border-color: rgba(34, 211, 238, 0.45);
}

.btn-outline-primary:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--awf-accent);
  color: var(--awf-text);
}

.btn-primary {
  background: linear-gradient(135deg, var(--awf-accent), var(--awf-accent-2));
  border: none;
}

.navbar, .toolbar, .urlbar {
  background: rgba(11, 16, 32, 0.85) !important;
  border-color: var(--awf-border) !important;
}

/* ── Premium landing & chrome (nav, hero, pricing, footer) ── */
html { scroll-behavior: smooth; }

:root {
  --awf-bg-card: rgba(15, 23, 42, 0.72);
  --awf-accent-3: #c084fc;
  --awf-success: #34d399;
  --awf-nav-h: 72px;
}

.awf-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--awf-border);
  background: rgba(6, 9, 18, 0.82);
  backdrop-filter: blur(16px);
}

.awf-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--awf-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.awf-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--awf-text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.awf-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--awf-accent), var(--awf-accent-2));
  color: #0f172a;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
}

.awf-nav-links { display: flex; gap: 0.35rem; }

.awf-nav-link {
  color: var(--awf-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.awf-nav-link:hover,
.awf-nav-link.active {
  color: var(--awf-text);
  background: var(--awf-surface);
}

.awf-nav-actions { display: flex; align-items: center; gap: 0.65rem; }

.awf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #0f172a;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--awf-accent) 0%, #67e8f9 50%, var(--awf-accent-2) 100%);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.awf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.45);
  color: #0f172a;
}

.awf-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--awf-muted);
  background: transparent;
  border: 1px solid var(--awf-border);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.awf-btn-ghost:hover { color: var(--awf-text); border-color: rgba(56, 189, 248, 0.4); }
.awf-btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 10px; }

.awf-landing-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .awf-landing-hero { grid-template-columns: 1.1fr 0.9fr; padding-top: 5rem; }
}

.awf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--awf-accent);
  margin-bottom: 1rem;
}

.awf-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--awf-success);
  box-shadow: 0 0 12px var(--awf-success);
  animation: awf-pulse 2s infinite;
}

@keyframes awf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.awf-landing-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}

.awf-landing-hero h1 span {
  background: linear-gradient(135deg, #fff 20%, var(--awf-accent) 60%, var(--awf-accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.awf-hero-lead {
  font-size: 1.15rem;
  color: var(--awf-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.awf-hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2rem; }

.awf-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--awf-muted);
  font-size: 0.88rem;
}

.awf-trust-row strong { color: var(--awf-text); display: block; font-size: 1.25rem; }

.awf-hero-visual {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--awf-border);
  background: var(--awf-bg-card);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  box-shadow: var(--awf-glow);
}

.awf-mock-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.awf-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.awf-mock-dot.r { background: #f87171; }
.awf-mock-dot.y { background: #fbbf24; }
.awf-mock-dot.g { background: #34d399; }

.awf-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }

.awf-stat-pill {
  background: var(--awf-surface);
  border: 1px solid var(--awf-border);
  border-radius: 14px;
  padding: 1rem;
}

.awf-stat-pill .label { font-size: 0.75rem; color: var(--awf-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.awf-stat-pill .value { font-size: 1.1rem; font-weight: 800; margin-top: 0.25rem; }

.awf-section { max-width: 1200px; margin: 0 auto; padding: 3rem 1.25rem; }

.awf-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.awf-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.awf-section-head p { color: var(--awf-muted); margin: 0; }

.awf-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.awf-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.awf-card p { color: var(--awf-muted); font-size: 0.92rem; margin-bottom: 1rem; }

.awf-card-icon.emerald { background: rgba(52, 211, 153, 0.12); color: var(--awf-success); }

.awf-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--awf-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.awf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.awf-plan {
  background: var(--awf-bg-card);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius);
  padding: 1.75rem;
  position: relative;
}

.awf-plan.featured {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: var(--awf-glow);
}

.awf-plan-badge {
  position: absolute;
  top: -10px;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--awf-accent), var(--awf-accent-2));
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.awf-plan h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.awf-plan .price { font-size: 2rem; font-weight: 800; margin: 0.75rem 0; }
.awf-plan .price span { font-size: 0.95rem; font-weight: 500; color: var(--awf-muted); }
.awf-plan ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.awf-plan li { color: var(--awf-muted); font-size: 0.9rem; padding: 0.35rem 0; display: flex; gap: 0.5rem; }
.awf-plan li i { color: var(--awf-success); flex-shrink: 0; margin-top: 2px; }

.awf-cta-band { max-width: 1200px; margin: 2rem auto 3rem; padding: 0 1.25rem; }

.awf-cta-inner {
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(129,140,248,0.12));
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.awf-cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.awf-cta-inner p { color: var(--awf-muted); max-width: 520px; margin: 0 auto 1.5rem; }

.awf-footer {
  border-top: 1px solid var(--awf-border);
  background: rgba(6, 9, 18, 0.95);
  padding: 3rem 1.25rem 2rem;
  margin-top: 2rem;
}

.awf-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .awf-footer-inner { grid-template-columns: 1fr 1fr; }
}

.awf-footer-tagline { color: var(--awf-muted); font-size: 0.9rem; max-width: 280px; }

.awf-footer-col h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--awf-muted);
  margin-bottom: 0.85rem;
}

.awf-footer-col a {
  display: block;
  color: var(--awf-text);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.awf-footer-col a:hover { color: var(--awf-accent); opacity: 1; }

/** Visible attribution on portal hero + echoed in shared footer via awf-chrome.js */
.awf-code-attribution {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--awf-muted);
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.awf-legal { max-width: 780px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.awf-legal-header h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
.awf-legal-meta { color: var(--awf-muted); font-size: 0.9rem; }
.awf-legal-body section { margin-bottom: 2rem; }
.awf-legal-body h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.65rem; }
.awf-legal-body p, .awf-legal-body li { color: var(--awf-muted); font-size: 0.95rem; }
.awf-legal-body ul { padding-left: 1.25rem; }

.awf-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--awf-border);
}

.awf-page { max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.awf-page-head { margin-bottom: 2rem; }
.awf-page-head h1 { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.35rem; }
.awf-page-head p { color: var(--awf-muted); margin: 0; }

.awf-panel-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--awf-border);
  font-weight: 700;
  background: var(--awf-surface);
}

.modal-content {
  background: var(--awf-bg-soft) !important;
  color: var(--awf-text) !important;
  border: 1px solid var(--awf-border) !important;
}

.modal-header, .modal-footer { border-color: var(--awf-border) !important; }

.card {
  background: var(--awf-bg-card) !important;
  border: 1px solid var(--awf-border) !important;
  color: var(--awf-text);
}

.card-header {
  background: var(--awf-surface) !important;
  border-color: var(--awf-border) !important;
}

.form-label {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--awf-muted);
}
