:root {
  --ab-ink: #07192d;
  --ab-ink-soft: #102942;
  --ab-gold: #bd8424;
  --ab-gold-dark: #946313;
  --ab-paper: #ffffff;
  --ab-canvas: #f6f7f9;
  --ab-line: #dfe3e8;
  --ab-text: #111827;
  --ab-muted: #667085;
  --ab-success: #218653;
  --ab-danger: #c43c3c;
  --ab-radius: 12px;
  --ab-shadow: 0 18px 50px rgba(7, 25, 45, .09);
  --ab-serif: Georgia, 'Times New Roman', serif;
  --ab-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--ab-canvas); color: var(--ab-text); font-family: var(--ab-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ab-ink); }
.ab-display { font-family: var(--ab-serif); letter-spacing: -.035em; }
.ab-muted { color: var(--ab-muted) !important; }
.ab-section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.ab-container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.ab-kicker { color: var(--ab-gold-dark); text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; font-weight: 750; }

.ab-site-nav { min-height: 76px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(7,25,45,.1); backdrop-filter: blur(16px); }
.ab-brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--ab-ink); text-decoration: none; font-family: var(--ab-serif); font-size: 1.4rem; }
.ab-brand-mark { width: 38px; height: 38px; object-fit: contain; }
.ab-site-nav .nav-link { color: #26364a; font-size: .91rem; font-weight: 600; padding: .7rem 1rem !important; }
.ab-site-nav .nav-link:hover, .ab-site-nav .nav-link:focus { color: var(--ab-gold-dark); background: transparent; }
.ab-btn-primary { background: var(--ab-gold); border: 1px solid var(--ab-gold); color: #fff; border-radius: 8px; font-weight: 700; padding: .78rem 1.2rem; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.ab-btn-primary:hover { background: var(--ab-gold-dark); border-color: var(--ab-gold-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(189,132,36,.2); }
.ab-btn-outline { border: 1px solid #c6ccd3; color: var(--ab-ink); border-radius: 8px; font-weight: 700; padding: .78rem 1.2rem; background: #fff; }
.ab-btn-outline:hover { border-color: var(--ab-gold); color: var(--ab-gold-dark); }

.ab-hero { min-height: min(760px, calc(100vh - 76px)); display: flex; align-items: center; background: #fff; overflow: hidden; }
.ab-hero h1 { color: var(--ab-ink); font-family: var(--ab-serif); font-size: clamp(3.1rem, 6.2vw, 6.4rem); line-height: .97; letter-spacing: -.055em; max-width: 720px; }
.ab-hero-copy { font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.8; color: #526174; max-width: 590px; }
.ab-hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.ab-hero-orbit { position: absolute; width: min(520px, 90%); aspect-ratio: 1; border: 1px solid rgba(189,132,36,.24); border-radius: 50%; animation: abSpin 28s linear infinite; }
.ab-hero-orbit::before, .ab-hero-orbit::after { content: ''; position: absolute; width: 12px; height: 12px; background: var(--ab-gold); border-radius: 50%; top: 12%; left: 17%; box-shadow: 0 0 0 8px rgba(189,132,36,.09); }
.ab-hero-orbit::after { inset: auto 10% 17% auto; }
.ab-phone { width: min(330px, 72%); min-height: 510px; z-index: 2; border-radius: 34px; background: var(--ab-ink); border: 8px solid #0d1825; padding: 1.4rem; color: white; box-shadow: 0 35px 70px rgba(7,25,45,.3); transform: rotate(4deg); animation: abFloat 6s ease-in-out infinite; }
.ab-phone-screen { height: 100%; min-height: 450px; background: #f8fafc; color: var(--ab-ink); border-radius: 24px; padding: 1.2rem; }
.ab-balance { font-family: var(--ab-serif); font-size: 2.2rem; }
.ab-mini-row { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--ab-line); font-size: .83rem; }

.ab-product-band { background: #f3f0eb; }
.ab-product-frame { background: white; border: 1px solid var(--ab-line); border-radius: 18px; box-shadow: var(--ab-shadow); overflow: hidden; }
.ab-browser-bar { height: 42px; border-bottom: 1px solid var(--ab-line); display: flex; align-items: center; gap: 7px; padding: 0 16px; }
.ab-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #cfd5dd; }
.ab-service { padding: 1.5rem 2rem 2rem 0; border-right: 1px solid var(--ab-line); height: 100%; }
.ab-service:last-child { border-right: 0; }
.ab-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ab-gold-dark); border: 1px solid rgba(189,132,36,.35); border-radius: 10px; font-size: 1.25rem; }
.ab-security { background: var(--ab-ink); color: white; }
.ab-security .ab-muted { color: #aebdca !important; }
.ab-security-item { padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); }

.ab-card { background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); box-shadow: 0 8px 24px rgba(7,25,45,.05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.ab-card:hover { transform: translateY(-3px); border-color: #c7ced6; box-shadow: var(--ab-shadow); }
.ab-btn, .btn-primary { background: var(--ab-gold); border-color: var(--ab-gold); color: #fff; }
.ab-btn:hover, .btn-primary:hover { background: var(--ab-gold-dark); border-color: var(--ab-gold-dark); color: #fff; }
.form-control, .form-select { border-color: #cfd5dd; border-radius: 8px; min-height: 44px; font-size: .92rem; }
.form-control:focus, .form-select:focus { border-color: var(--ab-gold); box-shadow: 0 0 0 .2rem rgba(189,132,36,.12); }

#admin-sidebar, aside.bg-dark { background: var(--ab-ink) !important; }
#admin-sidebar .nav-link, aside.bg-dark .nav-link { border-radius: 8px; margin: 2px 0; font-size: .89rem; }
#admin-sidebar .nav-link.active, aside.bg-dark .nav-link.active { color: white !important; background: linear-gradient(90deg, var(--ab-gold), #d1a652) !important; }
#admin-sidebar .nav-link:hover, aside.bg-dark .nav-link:hover { background: rgba(255,255,255,.08); }
.table > :not(caption) > * > * { padding: .9rem .8rem; border-bottom-color: var(--ab-line); }
.table thead th { color: #58677a; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }

.ab-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.ab-reveal.is-visible { opacity: 1; transform: translateY(0); }
.ab-site-footer { background: var(--ab-ink); color: #d8e0e7; padding: 4rem 0 2rem; }
.ab-site-footer a { color: #d8e0e7; text-decoration: none; }
.ab-site-footer a:hover { color: #e2b45e; }

.ab-auth-shell { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 3rem 1rem; background: radial-gradient(circle at 82% 16%, rgba(189,132,36,.13), transparent 28rem), linear-gradient(145deg, #f1f4f7, #fff 58%); }
.ab-auth-shell-admin { min-height: 100vh; background: radial-gradient(circle at 50% 0, rgba(189,132,36,.16), transparent 32rem), var(--ab-ink); }
.ab-auth-card { width: min(100%, 440px); padding: clamp(1.5rem, 5vw, 2.75rem); border: 1px solid var(--ab-line); border-radius: 1.5rem; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(7,25,45,.16); }
.ab-auth-card .form-control { min-height: 50px; border-radius: .75rem; }

@keyframes abFloat { 0%,100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-15px); } }
@keyframes abSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .ab-reveal { opacity: 1; transform: none; } }
@media (max-width: 991.98px) { .ab-hero { padding: 4rem 0; } .ab-hero-visual { min-height: 480px; } .ab-service { border-right: 0; border-bottom: 1px solid var(--ab-line); padding: 1.5rem 0; } main[style*="margin-left"], .container[style*="margin-left"] { margin-left: 0 !important; padding-top: 5rem; } aside.bg-dark { transform: translateX(-100%); transition: transform .25s ease; z-index: 1040; } body.ab-sidebar-open aside.bg-dark { transform: translateX(0); } }
@media (max-width: 575.98px) { .ab-hero h1 { font-size: 3.15rem; } .ab-hero-visual { min-height: 430px; } .ab-phone { min-height: 420px; width: 265px; } .ab-phone-screen { min-height: 360px; } }
