/* ==========================================================================
   AUREX PETRO-OS v6.0 — INDUSTRIAL OBSIDIAN & LIQUID CRUDE GOLD DESIGN SYSTEM
   ========================================================================== */

:root {
	--ax-bg: #05070c;
	--ax-bg-2: #0a0f1a;
	--ax-surface: #0e1525;
	--ax-surface-2: #131c31;
	--ax-surface-3: #1a2540;
	--ax-border: rgba(148, 163, 184, 0.13);
	--ax-border-gold: rgba(245, 158, 11, 0.34);

	--ax-gold: #f59e0b;
	--ax-gold-bright: #fbbf24;
	--ax-gold-light: #fde047;
	--ax-gold-deep: #b45309;
	--ax-emerald: #10b981;
	--ax-emerald-soft: rgba(16, 185, 129, 0.14);
	--ax-cyan: #38bdf8;
	--ax-cyan-soft: rgba(56, 189, 248, 0.14);
	--ax-danger: #ef4444;
	--ax-danger-soft: rgba(239, 68, 68, 0.15);
	--ax-purple: #a78bfa;

	--ax-text: #f8fafc;
	--ax-text-2: #cbd5e1;
	--ax-muted: #94a3b8;
	--ax-dim: #64748b;

	--ax-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ax-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--ax-radius-sm: 10px;
	--ax-radius: 16px;
	--ax-radius-lg: 22px;
	--ax-radius-xl: 28px;
	--ax-shadow: 0 18px 45px -15px rgba(0, 0, 0, 0.72);
	--ax-glow-gold: 0 0 28px rgba(245, 158, 11, 0.22);
}

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

html {
	scroll-behavior: smooth;
	background: var(--ax-bg);
	color: var(--ax-text);
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--ax-font);
	font-size: 15px;
	line-height: 1.55;
	color: var(--ax-text);
	background-color: var(--ax-bg);
	background-image:
		radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.09) 0%, transparent 40%),
		radial-gradient(circle at 88% 14%, rgba(56, 189, 248, 0.07) 0%, transparent 38%),
		linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
	background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	margin-top: 0;
}

img, svg {
	max-width: 100%;
	display: block;
}

button, input, select, textarea {
	font-family: inherit;
	font-size: inherit;
}

.ax-mono {
	font-family: var(--ax-mono);
	font-variant-numeric: tabular-nums;
}

.ax-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   1. TOP COMMODITY TELEMETRY BAR & FLOATING NAVBAR (PUBLIC)
   ========================================================================== */
.ax-ticker-bar {
	background: rgba(6, 9, 16, 0.96);
	border-bottom: 1px solid rgba(245, 158, 11, 0.18);
	font-size: 12px;
	color: var(--ax-muted);
	padding: 7px 0;
	position: relative;
	z-index: 60;
}

.ax-ticker-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.ax-ticker-items {
	display: flex;
	align-items: center;
	gap: 18px;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}
.ax-ticker-items::-webkit-scrollbar { display: none; }

.ax-tick-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--ax-mono);
	font-size: 11.5px;
}

.ax-tick-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ax-emerald);
	box-shadow: 0 0 8px var(--ax-emerald);
	animation: axPulseDot 1.8s infinite ease-in-out;
}

.ax-tick-val {
	color: var(--ax-gold-bright);
	font-weight: 700;
}

.ax-tick-up {
	color: var(--ax-emerald);
	font-weight: 700;
}

.ax-lang-pills {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ax-border);
	border-radius: 99px;
	padding: 2px;
	gap: 2px;
}

.ax-lang-pills a {
	padding: 3px 10px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 700;
	color: var(--ax-muted);
}

.ax-lang-pills a.active {
	background: linear-gradient(135deg, var(--ax-gold), var(--ax-gold-deep));
	color: #06080d;
}

/* Public Header */
.ax-header {
	position: sticky;
	top: 0;
	z-index: 55;
	background: rgba(8, 12, 22, 0.84);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--ax-border);
}

.ax-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 74px;
	gap: 18px;
}

.ax-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -0.02em;
	color: #fff;
}

.ax-brand-mark {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #b45309 100%);
	color: #090d16;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
	flex-shrink: 0;
	overflow: hidden;
}

.ax-brand-mark img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ax-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.ax-brand-title {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
}

.ax-brand-accent {
	color: var(--ax-gold-bright);
	font-weight: 900;
}

.ax-brand-sub {
	font-size: 10px;
	font-family: var(--ax-mono);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ax-muted);
	margin-top: 2px;
}

.ax-nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ax-nav-link {
	padding: 9px 15px;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ax-text-2);
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: all 0.2s ease;
}

.ax-nav-link:hover,
.ax-nav-link.active {
	background: rgba(245, 158, 11, 0.11);
	color: var(--ax-gold-bright);
}

.ax-nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* ==========================================================================
   2. BUTTONS, BADGES & COMMON UI ATOMS
   ========================================================================== */
.ax-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 11px 20px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 14px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
	text-decoration: none;
}

.ax-btn:active {
	transform: translateY(1px) scale(0.99);
}

.ax-btn-gold {
	background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #d97706 100%);
	color: #070a12;
	box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.45);
}

.ax-btn-gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px -4px rgba(245, 158, 11, 0.65);
	color: #05070c;
}

.ax-btn-emerald {
	background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #059669 100%);
	color: #04130e;
	box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.42);
}

.ax-btn-emerald:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -4px rgba(16, 185, 129, 0.6);
}

.ax-btn-outline {
	background: rgba(255, 255, 255, 0.03);
	border-color: var(--ax-border);
	color: var(--ax-text);
}

.ax-btn-outline:hover {
	background: rgba(245, 158, 11, 0.1);
	border-color: var(--ax-border-gold);
	color: var(--ax-gold-bright);
}

.ax-btn-ghost {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.25);
	color: var(--ax-gold-bright);
}

.ax-btn-ghost:hover {
	background: rgba(245, 158, 11, 0.2);
}

.ax-btn-danger {
	background: rgba(239, 68, 68, 0.14);
	border-color: rgba(239, 68, 68, 0.32);
	color: #fca5a5;
}

.ax-btn-block {
	width: 100%;
}

.ax-btn-lg {
	padding: 14px 26px;
	font-size: 15px;
	border-radius: 14px;
}

.ax-btn-sm {
	padding: 7px 13px;
	font-size: 12.5px;
	border-radius: 9px;
}

.ax-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 99px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	border: 1px solid transparent;
}

.ax-badge-gold {
	background: rgba(245, 158, 11, 0.14);
	border-color: rgba(245, 158, 11, 0.35);
	color: var(--ax-gold-bright);
}

.ax-badge-emerald {
	background: rgba(16, 185, 129, 0.14);
	border-color: rgba(16, 185, 129, 0.32);
	color: #34d399;
}

.ax-badge-cyan {
	background: rgba(56, 189, 248, 0.14);
	border-color: rgba(56, 189, 248, 0.32);
	color: #38bdf8;
}

.ax-badge-danger {
	background: rgba(239, 68, 68, 0.14);
	border-color: rgba(239, 68, 68, 0.32);
	color: #f87171;
}

/* Alerts */
.ax-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 14px;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid var(--ax-border);
}

.ax-alert-ok {
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.35);
	color: #6ee7b7;
}

.ax-alert-err {
	background: rgba(239, 68, 68, 0.12);
	border-color: rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}

.ax-alert-warn {
	background: rgba(245, 158, 11, 0.11);
	border-color: rgba(245, 158, 11, 0.32);
	color: #fde68a;
}

/* ==========================================================================
   3. ANIMATED OIL & GAS RIG ENGINE (SVG KEYFRAMES + CUSTOM IMAGE STAGE)
   ========================================================================== */
.ax-rig-stage {
	position: relative;
	width: 100%;
	height: 176px;
	border-radius: 16px;
	background:
		radial-gradient(circle at 50% 65%, rgba(245, 158, 11, 0.14) 0%, rgba(9, 13, 22, 0.92) 72%),
		linear-gradient(180deg, #0b1222 0%, #070a12 100%);
	border: 1px solid rgba(255, 255, 255, 0.07);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ax-rig-stage::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 100%, var(--rig-accent, #f59e0b), transparent 68%);
	opacity: 0.13;
	pointer-events: none;
}

.ax-rig-svg {
	width: 100%;
	height: 100%;
	max-width: 310px;
	position: relative;
	z-index: 2;
}

/* Custom Admin-Uploaded or Linked Plant Image Stage */
.ax-rig-custom {
	padding: 10px;
}

.ax-custom-plant-img {
	max-height: 148px;
	width: auto;
	max-width: 92%;
	object-fit: contain;
	position: relative;
	z-index: 2;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.65));
	animation: axFloatPlant 3.8s ease-in-out infinite;
}

.ax-custom-pipe-bar {
	position: absolute;
	bottom: 8px;
	left: 16px;
	right: 16px;
	height: 6px;
	border-radius: 99px;
	background: #0b1120;
	border: 1px solid rgba(245, 158, 11, 0.35);
	overflow: hidden;
	z-index: 3;
}

.ax-custom-pipe-bar span {
	display: block;
	width: 200%;
	height: 100%;
	background: repeating-linear-gradient(
		90deg,
		#f59e0b 0px,
		#fde047 12px,
		transparent 12px,
		transparent 22px
	);
	animation: axCustomPipeMove 1.4s linear infinite;
}

/* Living Industrial Mechanical Keyframes */
@keyframes axBeamRock {
	0%, 100% { transform: rotate(-11deg); }
	50%      { transform: rotate(11deg); }
}
@keyframes axBeamRockAlt {
	0%, 100% { transform: rotate(11deg); }
	50%      { transform: rotate(-11deg); }
}
@keyframes axRodPump {
	0%, 100% { transform: translateY(-9px); }
	50%      { transform: translateY(9px); }
}
@keyframes axRodPumpAlt {
	0%, 100% { transform: translateY(9px); }
	50%      { transform: translateY(-9px); }
}
@keyframes axWheelSpin {
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
@keyframes axFlameFlicker {
	0%, 100% { transform: scale(1, 1) skewX(0deg); opacity: 0.95; }
	25%      { transform: scale(1.08, 1.18) skewX(-3deg); opacity: 1; }
	50%      { transform: scale(0.94, 0.90) skewX(3deg); opacity: 0.88; }
	75%      { transform: scale(1.06, 1.14) skewX(-2deg); opacity: 1; }
}
@keyframes axSmokeRise {
	0%   { transform: translate(0, 4px) scale(0.7); opacity: 0.45; }
	100% { transform: translate(10px, -22px) scale(1.7); opacity: 0; }
}
@keyframes axPipeFlow {
	0%   { stroke-dashoffset: 36; }
	100% { stroke-dashoffset: 0; }
}
@keyframes axLiquidWave {
	0%, 100% { transform: translateX(-10px); }
	50%      { transform: translateX(10px); }
}
@keyframes axLiquidWaveAlt {
	0%, 100% { transform: translateX(10px); }
	50%      { transform: translateX(-10px); }
}
@keyframes axDrillPlunge {
	0%, 100% { transform: translateY(-4px); }
	50%      { transform: translateY(5px); }
}
@keyframes axHoistTravel {
	0%, 100% { transform: translateY(-10px); }
	50%      { transform: translateY(14px); }
}
@keyframes axBeaconBlink {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.25; }
}
@keyframes axRadarExpand {
	0%   { transform: scale(0.75); opacity: 0.85; }
	100% { transform: scale(1.45); opacity: 0; }
}
@keyframes axPulseGlow {
	0%, 100% { opacity: 0.55; }
	50%      { opacity: 1; }
}
@keyframes axNeedleJitter {
	0%, 100% { transform: rotate(-18deg); }
	45%      { transform: rotate(22deg); }
	75%      { transform: rotate(8deg); }
}
@keyframes axPulseDot {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.35); opacity: 0.55; }
}
@keyframes axFloatPlant {
	0%, 100% { transform: translateY(0px); }
	50%      { transform: translateY(-5px); }
}
@keyframes axCustomPipeMove {
	0%   { transform: translateX(-44px); }
	100% { transform: translateX(0px); }
}

.ax-svg-beam       { animation: axBeamRock 2.6s ease-in-out infinite; transform-box: view-box; }
.ax-svg-beam-alt   { animation: axBeamRockAlt 2.6s ease-in-out infinite; transform-box: view-box; }
.ax-svg-rod        { animation: axRodPump 2.6s ease-in-out infinite; }
.ax-svg-rod-alt    { animation: axRodPumpAlt 2.6s ease-in-out infinite; }
.ax-svg-wheel      { animation: axWheelSpin 3.4s linear infinite; transform-box: view-box; }
.ax-svg-wheel-fast { animation: axWheelSpin 1.5s linear infinite; transform-box: view-box; }
.ax-svg-flame      { animation: axFlameFlicker 0.85s ease-in-out infinite; transform-box: view-box; }
.ax-svg-smoke      { animation: axSmokeRise 2.8s ease-out infinite; }
.ax-svg-smoke-alt  { animation: axSmokeRise 3.4s ease-out 1.1s infinite; }
.ax-svg-pipe       { animation: axPipeFlow 1.2s linear infinite; }
.ax-svg-wave       { animation: axLiquidWave 3.2s ease-in-out infinite; }
.ax-svg-wave-alt   { animation: axLiquidWaveAlt 2.7s ease-in-out infinite; }
.ax-svg-drill      { animation: axDrillPlunge 1.6s ease-in-out infinite; }
.ax-svg-hoist      { animation: axHoistTravel 3.2s ease-in-out infinite; }
.ax-svg-beacon     { animation: axBeaconBlink 1.3s ease-in-out infinite; }
.ax-svg-radar      { animation: axRadarExpand 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.ax-svg-pulse      { animation: axPulseGlow 2s ease-in-out infinite; }
.ax-svg-needle     { animation: axNeedleJitter 2.8s ease-in-out infinite; transform-box: view-box; }

/* ==========================================================================
   4. PUBLIC HERO, AUTH TERMINAL & LANDING SECTIONS
   ========================================================================== */
.ax-hero {
	padding: 46px 0 36px;
	position: relative;
}

.ax-hero-grid {
	display: grid;
	grid-template-columns: 1.22fr 0.88fr;
	gap: 32px;
	align-items: stretch;
}

.ax-hero-main {
	background: linear-gradient(155deg, rgba(16, 24, 42, 0.92) 0%, rgba(8, 12, 22, 0.95) 100%);
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-xl);
	padding: 40px;
	position: relative;
	overflow: hidden;
	box-shadow: var(--ax-shadow);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ax-hero-main::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -120px;
	width: 340px;
	height: 340px;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
	pointer-events: none;
}

.ax-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 6px 14px;
	border-radius: 99px;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.32);
	color: var(--ax-gold-bright);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	width: fit-content;
	margin-bottom: 18px;
}

.ax-hero-title {
	font-size: clamp(28px, 3.6vw, 46px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.025em;
	margin: 0 0 16px;
	color: #ffffff;
}

.ax-hero-title span {
	background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #fb923c 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ax-hero-desc {
	font-size: 15.5px;
	color: var(--ax-text-2);
	margin: 0 0 26px;
	max-width: 600px;
}

.ax-hero-pills {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 26px;
}

.ax-hero-pill {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--ax-border);
	border-radius: 14px;
	padding: 13px 15px;
}

.ax-hero-pill-lbl {
	font-size: 11.5px;
	color: var(--ax-muted);
	margin-bottom: 4px;
}

.ax-hero-pill-val {
	font-family: var(--ax-mono);
	font-size: 16px;
	font-weight: 800;
	color: var(--ax-gold-bright);
}

.ax-hero-showcase {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 18px;
	align-items: center;
	background: rgba(5, 8, 15, 0.72);
	border: 1px solid rgba(245, 158, 11, 0.22);
	border-radius: 18px;
	padding: 14px 18px;
}

.ax-hero-showcase .ax-rig-stage {
	height: 132px;
}

/* Auth Terminal Card */
.ax-auth-card {
	background: linear-gradient(165deg, #10182b 0%, #090e1a 100%);
	border: 1px solid rgba(245, 158, 11, 0.26);
	border-radius: var(--ax-radius-xl);
	padding: 30px;
	box-shadow: var(--ax-shadow), var(--ax-glow-gold);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ax-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #060911;
	border: 1px solid var(--ax-border);
	border-radius: 13px;
	padding: 4px;
	margin-bottom: 22px;
}

.ax-auth-tab {
	padding: 10px 14px;
	border: none;
	background: transparent;
	color: var(--ax-muted);
	font-weight: 700;
	font-size: 13.5px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ax-auth-tab.active {
	background: linear-gradient(135deg, #fde047, #f59e0b);
	color: #06080d;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* Forms */
.ax-field {
	margin-bottom: 15px;
}

.ax-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ax-text-2);
	margin-bottom: 6px;
}

.ax-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.ax-input-icon {
	position: absolute;
	left: 14px;
	color: var(--ax-muted);
	font-size: 14px;
	pointer-events: none;
}

.ax-input,
.ax-select,
.ax-textarea {
	width: 100%;
	background: #070b14;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 12px;
	padding: 12px 14px;
	color: #fff;
	font-size: 14.5px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.ax-input.has-icon {
	padding-left: 40px;
}

.ax-input:focus,
.ax-select:focus,
.ax-textarea:focus {
	border-color: var(--ax-gold);
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.ax-input::placeholder {
	color: var(--ax-dim);
}

/* Telemetry Stat Bento */
.ax-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 18px 0 46px;
}

.ax-stat-card {
	background: linear-gradient(160deg, var(--ax-surface) 0%, #090e1a 100%);
	border: 1px solid var(--ax-border);
	border-radius: 20px;
	padding: 22px;
	display: flex;
	align-items: center;
	gap: 16px;
	position: relative;
	overflow: hidden;
	transition: transform 0.22s ease, border-color 0.22s ease;
}

.ax-stat-card:hover {
	transform: translateY(-3px);
	border-color: var(--ax-border-gold);
}

.ax-stat-icon {
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.28);
	color: var(--ax-gold-bright);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.ax-stat-val {
	font-family: var(--ax-mono);
	font-size: 21px;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.ax-stat-lbl {
	font-size: 12.5px;
	color: var(--ax-muted);
	margin-top: 3px;
}

/* Section Headers */
.ax-sec {
	padding: 36px 0;
}

.ax-sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}

.ax-sec-tag {
	font-family: var(--ax-mono);
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ax-gold-bright);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.ax-sec-title {
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
}

.ax-sec-sub {
	font-size: 14.5px;
	color: var(--ax-muted);
	margin: 6px 0 0;
	max-width: 620px;
}

/* ==========================================================================
   5. 10-LEVEL OIL & GAS PLANT CARDS GRID
   ========================================================================== */
.ax-plants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
	gap: 22px;
}

.ax-plant-card {
	background: linear-gradient(170deg, #11192c 0%, #090d18 100%);
	border: 1px solid var(--ax-border);
	border-radius: 22px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ax-plant-card:hover {
	transform: translateY(-5px);
	border-color: rgba(245, 158, 11, 0.45);
	box-shadow: 0 22px 45px -16px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 158, 11, 0.14);
}

.ax-plant-card.is-flagship {
	border-color: rgba(251, 191, 36, 0.5);
	background: linear-gradient(170deg, #1b1710 0%, #0b0f1c 55%, #090d18 100%);
}

.ax-plant-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
	flex-wrap: nowrap;
}

.ax-plant-lvl {
	font-family: var(--ax-mono);
	font-size: 11px;
	font-weight: 800;
	padding: 5px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #f8fafc;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 65%;
}

.ax-plant-rate-pill {
	font-family: var(--ax-mono);
	font-size: 12px;
	font-weight: 800;
	padding: 5px 11px;
	border-radius: 99px;
	background: rgba(16, 185, 129, 0.16);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #34d399;
	white-space: nowrap;
	flex-shrink: 0;
}

.ax-plant-name {
	font-size: 17.5px;
	font-weight: 800;
	color: #ffffff !important;
	margin: 14px 0 6px;
	line-height: 1.3;
}

.ax-plant-desc {
	font-size: 12.8px;
	color: var(--ax-text-2);
	line-height: 1.5;
	margin: 0 0 14px;
	min-height: 38px;
}

.ax-plant-sub {
	font-size: 12.5px;
	color: var(--ax-muted);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ax-plant-metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	background: rgba(5, 8, 15, 0.65);
	border: 1px solid rgba(148, 163, 184, 0.1);
	border-radius: 14px;
	padding: 12px;
	margin-bottom: 15px;
}

.ax-pm-box {
	display: flex;
	flex-direction: column;
}

.ax-pm-lbl {
	font-size: 11px;
	color: var(--ax-muted);
}

.ax-pm-val {
	font-family: var(--ax-mono);
	font-size: 13.5px;
	font-weight: 700;
	color: #fff;
	margin-top: 2px;
}

.ax-pm-val.gold { color: var(--ax-gold-bright); }
.ax-pm-val.emerald { color: #34d399; }
.ax-pm-val.cyan { color: #38bdf8; }

.ax-plant-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.ax-plant-price-lbl {
	font-size: 11px;
	color: var(--ax-muted);
}

.ax-plant-price {
	font-family: var(--ax-mono);
	font-size: 17px;
	font-weight: 800;
	color: var(--ax-gold-bright);
}

/* ==========================================================================
   6. INTERACTIVE ROI & RIG SIMULATOR
   ========================================================================== */
.ax-sim-card {
	background: linear-gradient(150deg, #111a2e 0%, #080c17 100%);
	border: 1px solid rgba(245, 158, 11, 0.28);
	border-radius: var(--ax-radius-xl);
	padding: 32px;
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 28px;
	align-items: center;
	box-shadow: var(--ax-shadow);
}

.ax-sim-Selector {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin: 14px 0 20px;
}

.ax-sim-lvl-btn {
	background: #070b14;
	border: 1px solid var(--ax-border);
	border-radius: 10px;
	padding: 9px 6px;
	color: var(--ax-text-2);
	font-family: var(--ax-mono);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s ease;
}

.ax-sim-lvl-btn:hover,
.ax-sim-lvl-btn.active {
	background: linear-gradient(135deg, #fde047, #f59e0b);
	color: #060911;
	border-color: transparent;
	box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.ax-sim-results {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.ax-sim-res-box {
	background: rgba(5, 8, 15, 0.72);
	border: 1px solid var(--ax-border);
	border-radius: 15px;
	padding: 16px;
}

/* ==========================================================================
   7. TABLES & LIVE FEEDS
   ========================================================================== */
.ax-card {
	background: linear-gradient(165deg, var(--ax-surface) 0%, #090d18 100%);
	border: 1px solid var(--ax-border);
	border-radius: var(--ax-radius-lg);
	padding: 24px;
	box-shadow: var(--ax-shadow);
}

.ax-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.ax-card-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ax-card-title i {
	color: var(--ax-gold-bright);
}

.ax-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.ax-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.ax-table th {
	text-align: left;
	padding: 11px 14px;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ax-muted);
	border-bottom: 1px solid var(--ax-border);
	white-space: nowrap;
}

.ax-table td {
	padding: 13px 14px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.08);
	color: var(--ax-text-2);
	vertical-align: middle;
}

.ax-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.025);
}

/* ==========================================================================
   8. USER SCADA CONTROL CENTER (SIDEBAR + HUD + STORAGE TANK)
   ========================================================================== */
.ax-app {
	display: grid;
	grid-template-columns: 276px 1fr;
	min-height: 100vh;
}

.ax-sidebar {
	background: #070b14;
	border-right: 1px solid var(--ax-border);
	padding: 22px 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
	z-index: 70;
}

.ax-sb-balances {
	display: grid;
	gap: 10px;
	margin: 20px 0;
}

.ax-sb-bal-card {
	background: linear-gradient(145deg, #10182b, #0a0f1c);
	border: 1px solid var(--ax-border);
	border-radius: 15px;
	padding: 13px 15px;
	position: relative;
}

.ax-sb-bal-card.profit {
	border-color: rgba(16, 185, 129, 0.32);
}

.ax-sb-bal-card.invest {
	border-color: rgba(245, 158, 11, 0.32);
}

.ax-sb-bal-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 11.5px;
	color: var(--ax-muted);
	margin-bottom: 4px;
}

.ax-sb-bal-val {
	font-family: var(--ax-mono);
	font-size: 17.5px;
	font-weight: 800;
	color: #fff;
}

.ax-sb-menu {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ax-sb-label {
	font-size: 10.5px;
	font-family: var(--ax-mono);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ax-dim);
	padding: 10px 12px 4px;
}

.ax-sb-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ax-text-2);
	transition: all 0.18s ease;
}

.ax-sb-link i {
	width: 20px;
	text-align: center;
	font-size: 15px;
	color: var(--ax-muted);
	transition: color 0.18s ease;
}

.ax-sb-link:hover {
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
}

.ax-sb-link.active {
	background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.04) 100%);
	border: 1px solid rgba(245, 158, 11, 0.32);
	color: var(--ax-gold-bright);
}

.ax-sb-link.active i {
	color: var(--ax-gold-bright);
}

.ax-main-area {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ax-topbar {
	height: 70px;
	background: rgba(8, 12, 22, 0.85);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--ax-border);
	padding: 0 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.ax-content {
	padding: 26px;
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	flex: 1;
}

.ax-burger {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--ax-border);
	color: #fff;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 17px;
}

.ax-sb-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(4px);
	z-index: 65;
}

/* ==========================================================================
   9. SCADA EXTRACTION COMMAND DECK & CYLINDRICAL OIL STORAGE TANK
   ========================================================================== */
.ax-scada-deck {
	background:
		radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.14), transparent 52%),
		linear-gradient(155deg, #111a2f 0%, #080c16 100%);
	border: 1px solid rgba(245, 158, 11, 0.34);
	border-radius: 26px;
	padding: 28px;
	display: grid;
	grid-template-columns: 200px 1fr auto;
	gap: 28px;
	align-items: center;
	margin-bottom: 24px;
	box-shadow: var(--ax-shadow), var(--ax-glow-gold);
	position: relative;
	overflow: hidden;
}

.ax-oil-tank-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.ax-oil-tank {
	width: 136px;
	height: 168px;
	border-radius: 22px;
	background: #060911;
	border: 2px solid rgba(245, 158, 11, 0.45);
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.9), 0 0 22px rgba(245, 158, 11, 0.18);
}

.ax-oil-tank::before {
	content: '';
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 14px;
	width: 5px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.16);
	z-index: 4;
}

.ax-oil-tank-ticks {
	position: absolute;
	right: 10px;
	top: 16px;
	bottom: 16px;
	width: 12px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	z-index: 4;
}

.ax-oil-tank-ticks span {
	display: block;
	height: 1.5px;
	width: 100%;
	background: rgba(255, 255, 255, 0.28);
}

.ax-oil-liquid {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45%;
	background: linear-gradient(180deg, #fde047 0%, #f59e0b 35%, #b45309 100%);
	transition: height 0.6s ease;
	z-index: 2;
}

.ax-oil-liquid::before {
	content: '';
	position: absolute;
	top: -8px;
	left: -20%;
	width: 140%;
	height: 16px;
	border-radius: 50%;
	background: #fde047;
	opacity: 0.85;
	animation: axLiquidWave 2.8s ease-in-out infinite;
}

.ax-oil-tank-badge {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 5;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
	font-family: var(--ax-mono);
}

.ax-counter-uzs {
	font-family: var(--ax-mono);
	font-size: clamp(28px, 3.5vw, 44px);
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 8px 0;
}

.ax-counter-uzs small {
	font-size: 16px;
	color: var(--ax-gold-bright);
	font-weight: 700;
}

.ax-counter-bbl {
	font-family: var(--ax-mono);
	font-size: 14.5px;
	color: var(--ax-gold-bright);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.28);
	padding: 6px 13px;
	border-radius: 10px;
}

/* Virtual Bank Card (Withdrawals & Settings) */
.ax-bank-card {
	background:
		radial-gradient(circle at 85% 20%, rgba(251, 191, 36, 0.28), transparent 55%),
		linear-gradient(135deg, #17233d 0%, #090e1a 100%);
	border: 1px solid rgba(245, 158, 11, 0.38);
	border-radius: 20px;
	padding: 22px 24px;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.8);
	margin-bottom: 18px;
}

.ax-bank-chip {
	width: 42px;
	height: 30px;
	border-radius: 6px;
	background: linear-gradient(135deg, #fde047, #d97706);
	opacity: 0.9;
}

.ax-bank-num {
	font-family: var(--ax-mono);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 22px 0 16px;
	color: #fef08a;
}

/* Quick Amount Chips */
.ax-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 16px;
}

.ax-chip {
	padding: 7px 13px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--ax-border);
	color: var(--ax-text-2);
	font-family: var(--ax-mono);
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s ease;
}

.ax-chip:hover,
.ax-chip.active {
	background: rgba(245, 158, 11, 0.16);
	border-color: var(--ax-gold);
	color: var(--ax-gold-bright);
}

/* Progress Bar */
.ax-progress {
	width: 100%;
	height: 7px;
	background: #060911;
	border-radius: 99px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.ax-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #f59e0b, #fde047);
	border-radius: 99px;
}

/* ==========================================================================
   10. FOOTER & MOBILE BOTTOM DOCK
   ========================================================================== */
.ax-footer {
	background: #05080f;
	border-top: 1px solid var(--ax-border);
	padding: 46px 0 32px;
	margin-top: 56px;
	color: var(--ax-muted);
	font-size: 13.5px;
}

.ax-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 28px;
	margin-bottom: 32px;
}

.ax-footer h4 {
	color: #fff;
	font-size: 14px;
	margin: 0 0 14px;
}

.ax-footer-links {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.ax-footer-links a:hover {
	color: var(--ax-gold-bright);
}

.ax-mobile-dock {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 64px;
	background: rgba(7, 11, 20, 0.96);
	backdrop-filter: blur(16px);
	border-top: 1px solid rgba(245, 158, 11, 0.24);
	z-index: 62;
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
	padding: 0 6px;
}

.ax-dock-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-size: 10.5px;
	font-weight: 600;
	color: var(--ax-muted);
	padding: 6px 2px;
}

.ax-dock-item i {
	font-size: 17px;
}

.ax-dock-item.active {
	color: var(--ax-gold-bright);
}

/* Dark SweetAlert Overrides */
.swal2-popup, .swal-modal {
	background: #0e1525 !important;
	border: 1px solid rgba(245, 158, 11, 0.35) !important;
	border-radius: 20px !important;
	color: #f8fafc !important;
}
.swal2-title, .swal-title { color: #ffffff !important; }
.swal2-html-container, .swal-text { color: #cbd5e1 !important; }

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
.ax-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.ax-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ax-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

@media (max-width: 1100px) {
	.ax-hero-grid,
	.ax-sim-card {
		grid-template-columns: 1fr;
	}
	.ax-stats-grid,
	.ax-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.ax-scada-deck {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.ax-scada-deck .ax-counter-bbl {
		margin: 0 auto;
	}
	.ax-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.ax-nav-links {
		display: none;
	}
	.ax-app {
		grid-template-columns: 1fr;
	}
	.ax-sidebar {
		position: fixed;
		left: -290px;
		top: 0;
		bottom: 0;
		width: 276px;
		transition: left 0.26s ease;
	}
	.ax-sidebar.open {
		left: 0;
	}
	.ax-sb-backdrop.open {
		display: block;
	}
	.ax-burger {
		display: inline-flex;
	}
	.ax-mobile-dock {
		display: grid;
	}
	body {
		padding-bottom: 68px;
	}
}

@media (max-width: 640px) {
	.ax-hero-main {
		padding: 24px 18px;
	}
	.ax-hero-pills,
	.ax-hero-showcase,
	.ax-stats-grid,
	.ax-grid-2,
	.ax-grid-3,
	.ax-grid-4,
	.ax-sim-results,
	.ax-footer-grid {
		grid-template-columns: 1fr;
	}
	.ax-sim-Selector {
		grid-template-columns: repeat(5, 1fr);
	}
	.ax-content {
		padding: 16px 14px;
	}
	.ax-topbar {
		padding: 0 14px;
	}
}
