@import url('./trqa-fonts.css');

/* TRQA identity v1.0. Preserve semantic danger/success colors and form behavior. */
html:root {
  --trqa-midnight: #0B1020;
  --trqa-lime: #C8FF36;
  --trqa-white: #F8FAFC;
  --trqa-slate: #7C8798;
  --trqa-steel: #D9E2EC;
  --trqa-surface: #151D30;
  --trqa-line: #2A3449;
  --trqa-action-ink: #335300;
  --orange: #335300; --orange-dark: #294300; --orange-soft: #F0F8DF;
  --navy: #0B1020; --navy-deep: #0B1020; --ink: #0B1020;
  --muted: #586578; --line: #D9E2EC; --bg-warm: #F8FAFC;
  --nv-orange: #335300; --nv-orange-dark: #294300; --nv-orange-soft: #F0F8DF;
  --nv-navy: #0B1020; --nv-ink: #0B1020; --nv-muted: #586578; --nv-line: #D9E2EC;
  --st-orange: #335300; --st-orange-dark: #294300; --st-orange-soft: #F0F8DF;
  --st-navy: #0B1020; --st-navy-soft: #EFF2F6; --st-ink: #0B1020;
  --st-muted: #586578; --st-line: #D9E2EC; --st-bg: #F8FAFC;
  --av-orange: #C8FF36; --av-orange-dark: #B9EE29; --av-orange-soft: #263617;
  --av-navy: #F8FAFC; --av-navy-deep: #D9E2EC; --av-ink: #F8FAFC;
  --av-muted: #B7C2D0; --av-bg: #0B1020; --av-field-border: #364257; --av-white: #151D30;
  --primary-gradient: linear-gradient(135deg,#C8FF36,#B9EE29);
  --body-bg: #F8FAFC; --text-primary: #0B1020; --text-secondary: #586578;
  --dark-bg: #0B1020; --sidebar-bg: #151D30;
  --idx-bg: #F8FAFC; --idx-text: #0B1020; --idx-primary: #335300;
  --idx-primary-hover: #294300; --idx-accent: #0B1020;
  --bs-primary: #335300; --bs-primary-rgb: 51,83,0;
}
html body { font-family: 'Noto Sans Arabic', Inter, system-ui, sans-serif; }
html :is(h1,h2,h3,h4,h5,h6) { font-family: 'Noto Kufi Arabic', Inter, sans-serif; }
html :is(button,input,select,textarea) { font-family: inherit; }
html :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #557D00; outline-offset: 3px;
}
html :is(.btn-primary,.av-btn-primary,.btn-orange,.nav-btn-primary,.st-btn-primary,.customer-home-primary,.topup-submit) {
  background: #C8FF36 !important; border-color: #A4D51D !important;
  color: #0B1020 !important; box-shadow: none;
}
html :is(.btn-primary,.av-btn-primary,.btn-orange,.nav-btn-primary,.st-btn-primary,.customer-home-primary,.topup-submit):hover {
  background: #B9EE29 !important; color: #0B1020 !important;
}
html .btn-primary { --bs-btn-color:#0B1020; --bs-btn-bg:#C8FF36; --bs-btn-border-color:#A4D51D; --bs-btn-disabled-color:#0B1020; }
html .btn-outline-primary { --bs-btn-color:#335300; --bs-btn-border-color:#557D00; --bs-btn-hover-bg:#C8FF36; --bs-btn-hover-color:#0B1020; }
html .text-primary { color:#335300 !important; }
html .text-gradient { background:none !important; color:#0B1020 !important; -webkit-text-fill-color:currentColor !important; }
html .bg-primary { background-color:#0B1020 !important; color:#F8FAFC; }
html .page-item.active .page-link { background:#0B1020; border-color:#0B1020; color:#F8FAFC; }
html .page-link { color:#335300; }
html .nav-logo img { width:120px; height:auto; max-height:52px; object-fit:contain; transform:none !important; }
html .nav-logo span { display:none; }
html .sidebar { background:#0B1020; }
html .sidebar-brand-logo { width:52px !important; max-width:52px !important; background:#F8FAFC; padding:5px; border-radius:8px; }
html .sidebar-brand-copy strong { color:#F8FAFC; }
html .sidebar :is(.nav-link.active,.sidebar-link.active) { background:#263617; color:#C8FF36; border-color:#557D00; }
html .topup-main { --topup-orange:#335300; --topup-navy:#0B1020; }
html .topup-method.is-active { border-color:#557D00; background:#F0F8DF; box-shadow:inset 0 0 0 1px #557D00; }
html .topup-method > i { color:#335300; }
html .topup-method-check { background:#C8FF36; color:#0B1020; }
html .topup-summary > div + div { background:#F0F8DF; }
html .topup-account-option:has(input:checked) { background:#F0F8DF; border-color:#557D00; }
html .topup-account-option input { accent-color:#557D00; }

/* Authentication: one calm, dark surface, unchanged form interactions. */
html body.auth-v2 { background:#0B1020; color:#F8FAFC; }
html .auth-v2 .av-screen { background:#151D30; border-color:#2A3449; box-shadow:0 20px 70px #0003; }
html .auth-v2 :is(.av-input,.av-phone,.av-country,.av-country-code,.av-otp-input,.av-btn-ghost,.av-tool-btn) {
  background:#0B1020; color:#F8FAFC; border-color:#364257;
}
html .auth-v2 :is(input,textarea,select)::placeholder { color:#A4B0C2; opacity:1; }
html .auth-v2 :is(input,select,textarea):focus { border-color:#C8FF36; box-shadow:0 0 0 3px #C8FF3622; }
html .auth-v2 :is(.av-top-logo,.av-logo) { width:140px; max-height:66px; object-fit:contain; background:#F8FAFC; padding:8px 12px; border-radius:12px; }
html .auth-v2 a { color:#C8FF36; }
html .auth-v2 :is(a,button,input,select):focus-visible { outline-color:#C8FF36; }

/* Marketing retains real catalogue/prices; only its presentation changes. */
html body.trqa-marketing { background:#0B1020; color:#F8FAFC; --ink:#F8FAFC; --muted:#B7C2D0; --line:#2A3449; --white:#151D30; --bg-warm:#0B1020; --orange:#C8FF36; }
html .trqa-marketing :is(header,.site-header,.topbar,.hero,.services-section,.features-section,.pricing-section,footer) { background:#0B1020; }
html .trqa-marketing :is(.hero h1,.section-title,h1,h2,h3) { color:#F8FAFC; }
html .trqa-marketing :is(.hero-subtitle,.section-subtitle,p) { color:#D9E2EC; }
html .trqa-marketing :is(.hero-card,.service-card,.feature-card,.pricing-card) { background:#151D30; border-color:#2A3449; }
html .trqa-marketing :is(.brand img,.hero-logo img,.footer-brand img) { background:#F8FAFC; border-radius:12px; padding:8px; }
html .trqa-marketing :is(.btn-primary,.btn-orange) { color:#0B1020 !important; }
html .trqa-marketing :is(a,button):focus-visible { outline-color:#C8FF36; }
html .trqa-marketing .site-nav { background:#151D30; border-color:#2A3449; }
html .trqa-marketing .brand > span { display:none; }
html .trqa-marketing .brand img { width:116px; height:48px; object-fit:contain; }
html .trqa-marketing :is(.hero-stats,.step-card,.pay-card) { background:#151D30; border-color:#2A3449; }
html .trqa-marketing :is(.stat b,.pay-card span,.step-card h3) { color:#F8FAFC; }
html .trqa-marketing :is(.stat span,.step-card p) { color:#B7C2D0; }
html .trqa-marketing :is(.feature-icon,.step-num) { background:#C8FF36; color:#0B1020; box-shadow:none; }
html .trqa-marketing .affiliate { background:#151D30; border:1px solid #2A3449; }
html .trqa-marketing .affiliate::before { display:none; }
html .trqa-marketing .affiliate-label { background:#263617; color:#C8FF36; }
html .trqa-marketing .final-cta :is(h2,p) { color:#0B1020; }
html .trqa-marketing .hero-badge { color:#0B1020; }
html .trqa-marketing .nav-login-btn { color:#F8FAFC; border-color:#7C8798; background:transparent; }
html .trqa-marketing .service-starting-price,
html .trqa-marketing .service-starting-price span { color:#D9E2EC; }
html .trqa-marketing .service-starting-price strong,
html .trqa-marketing .service-link { color:#C8FF36; }
html .trqa-marketing .step-card:nth-child(2) .step-num { background:#C8FF36; color:#0B1020; }
html body.price-page { --catalog-navy:#0B1020; --catalog-orange:#335300; --catalog-muted:#586578; background:#F8FAFC; }
html .price-page .page-header { background:linear-gradient(140deg,#F0F8DF,#F8FAFC 65%); }
html .price-page .btn-plan { background:#C8FF36; border-color:#A4D51D; color:#0B1020; }
html .price-page .btn-plan:hover { background:#B9EE29; border-color:#91BD16; color:#0B1020; }
html .price-page :is(h1,h2,h3) { font-family:'Noto Kufi Arabic',Inter,sans-serif; }
html .auth-v2 .av-phone-wrap:focus-within { box-shadow:0 0 0 3px #C8FF3622; border-color:#C8FF36; }
@media (max-width:639px) {
  html .auth-v2 .av-screen { border:0; border-radius:0; background:#0B1020; box-shadow:none; }
  html .nav-logo img { width:102px; max-height:42px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  html .nav-logo img { transition:none; }
}
