:root {
  --bg: #f4f2ec;
  --surface: #fcfaf5;
  --surface-alt: #f0ece2;
  --surface-strong: #e7dfd0;
  --surface-glass: rgba(252, 250, 245, 0.82);
  --border: #d8cfbe;
  --border-strong: #b9ab8f;

  --text-main: #1f2933;
  --text-muted: #6b7280;
  --text-soft: #8a8376;

  --primary: #184e43;
  --primary-strong: #123c34;
  --accent: #2a9d8f;
  --warning: #d97706;
  --danger: #c2410c;

  --font-d: 'Sora', sans-serif;
  --font-b: 'Work Sans', sans-serif;
  --font-data: 'IBM Plex Mono', monospace;

  --shadow-sm: 0 1px 2px rgba(31, 41, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 41, 51, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 41, 51, 0.12);
}

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

body {
  background:
    radial-gradient(circle at top left, rgba(42, 157, 143, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 22%),
    linear-gradient(180deg, #f8f4eb 0%, var(--bg) 28%, #f2eee4 100%);
  color: var(--text-main);
  font-family: var(--font-b);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Ambient Effects - Light Mode */
/* Removed AI ambient glowing orbs for a strictly corporate look */

/* Ticker */
.ticker { position: fixed; top: 0; width: 100%; height: 36px; background: var(--primary); display: flex; align-items: center; z-index: 200; overflow: hidden; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #fff; padding: 0 24px; }
.ticker-track i { color: var(--accent); }
.sep { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Navbar */
.navbar { position: fixed; top: 36px; width: 100%; background: rgba(252, 250, 245, 0.9); border-bottom: 1px solid rgba(185, 171, 143, 0.5); z-index: 100; transition: all 0.3s; backdrop-filter: blur(18px); }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: #ffffff; border: 1px solid var(--border); color: var(--primary); padding: 10px 20px; border-radius: 8px; font-weight: 600; font-family: var(--font-b); cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn-nav:hover { background: #f1f5f9; border-color: #cbd5e1; }

/* Hero */
.hero { padding: 180px 24px 100px; display: flex; justify-content: center; text-align: center; background: var(--bg); }
.hero-inner { max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid var(--border); color: var(--primary); padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero h1 { font-family: var(--font-d); font-size: 56px; font-weight: 800; color: var(--text-main); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 24px; }
.grad { color: var(--primary); }
.hero-sub { font-size: 18px; color: var(--text-muted); line-height: 1.6; max-width: 700px; margin-bottom: 48px; }

/* Widget */
.widget { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; width: 100%; max-width: 840px; box-shadow: var(--shadow-md); }
.widget-tabs { display: flex; gap: 8px; margin-bottom: 16px; padding: 0 8px; }
.wt { background: transparent; border: none; font-size: 14px; font-weight: 600; color: var(--text-muted); padding: 10px 16px; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-family: var(--font-b); }
.wt.active { background: var(--bg); color: var(--primary); border: 1px solid var(--border); }
.widget-body { display: flex; gap: 12px; background: #ffffff; padding: 16px; border-radius: 8px; border: 1px solid var(--border); }
.field { flex: 1; display: flex; align-items: center; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px; padding: 0 16px; transition: all 0.2s; position: relative; }
.field:focus-within { border-color: var(--primary); background: #ffffff; }
.field i { color: var(--text-muted); font-size: 16px; }
.field input { width: 100%; border: none; outline: none; background: transparent; padding: 16px 12px; font-size: 15px; font-family: var(--font-b); font-weight: 600; color: var(--text-main); }
.field input::placeholder { color: #94a3b8; font-weight: 400; }
.btn-go { background: var(--primary); color: #fff; border: none; padding: 0 32px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: var(--font-b); display: flex; align-items: center; gap: 10px; transition: all 0.2s; }
.btn-go:hover { background: #1a5ca6; }

.crlv-drop { width: 100%; border: 2px dashed #cbd5e1; border-radius: 8px; padding: 40px; text-align: center; background: #f8fafc; cursor: pointer; transition: all 0.2s; }
.crlv-drop:hover, .crlv-drop.dragover { border-color: var(--primary); background: #eff6ff; }
.crlv-drop i { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.crlv-drop span { display: block; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.crlv-drop small { color: var(--text-muted); font-size: 12px; }

.trust-bar { margin-top: 32px; display: flex; justify-content: center; gap: 24px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.trust-bar i { color: var(--accent); }

/* BUTTONS */
button { cursor: pointer; font-family: var(--font-b); transition: all 0.2s; border: none; outline: none; }

.btn-primary { background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 12px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 24px rgba(24, 78, 67, 0.16); }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(24, 78, 67, 0.22); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: rgba(252, 250, 245, 0.9); color: var(--primary); border: 1px solid var(--border); padding: 12px 24px; border-radius: 12px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-outline:hover { background: var(--surface-alt); border-color: var(--border-strong); }

.btn-sm-primary { padding: 8px 16px; font-size: 12px; border-radius: 6px; background: var(--primary); color: #fff; font-weight: 700; }
.btn-sm-primary:hover { background: var(--primary-strong); }

.btn-sm-outline { padding: 8px 16px; font-size: 12px; border-radius: 6px; background: #fff; color: var(--text-muted); border: 1px solid var(--border); font-weight: 600; }
.btn-sm-outline:hover { background: #f8fafc; color: var(--primary); border-color: var(--primary); }

.btn-text { background: transparent; color: var(--primary); font-size: 13px; font-weight: 700; padding: 8px; border-radius: 6px; }
.btn-text:hover { background: rgba(38, 70, 83, 0.08); }

/* VIDEOS SECTION */
.videos-section { padding: 100px 0; background: #fff; }
.videos-header { text-align: center; margin-bottom: 48px; }
.label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 12px; }
.videos-header h2, section h2 { font-family: var(--font-d); font-size: 40px; font-weight: 800; color: var(--text-main); margin-bottom: 16px; letter-spacing: -1px; }
.sec-sub { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }

.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
.video-card { background: #ffffff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow-sm); }
.video-card:hover { box-shadow: var(--shadow-md); }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; background: #e2e8f0; overflow: hidden; }
.video-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.video-thumb-logo { object-fit: contain; padding: 28px; background: linear-gradient(180deg, #f7f4ec 0%, #ebe4d7 100%); }
.video-overlay { position: absolute; inset: 0; background: rgba(15, 59, 115, 0.4); display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background 0.3s; z-index: 2; }
.video-overlay i { font-size: 48px; color: #fff; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); transition: transform 0.3s; }
.video-card:hover .video-overlay { background: rgba(15, 59, 115, 0.2); }
.video-card:hover .video-overlay i { transform: scale(1.1); }
.video-card:hover .video-thumb { transform: scale(1.05); }

.video-info { padding: 24px; }
.v-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; background: rgba(15,59,115,0.1); color: var(--primary); padding: 4px 12px; border-radius: 12px; margin-bottom: 12px; }
.tag-accent { background: rgba(16,185,129,0.1); color: #059669; }
.video-info h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.video-info p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* STATS VIZ */
.stats-section { padding: 80px 0; background: #f1f5f9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-viz-grid { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 24px; margin-top: 48px; }
.stat-viz-card { background: #ffffff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm); }
.stat-viz-card h3 { font-family: var(--font-d); font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.pie-container { display: flex; align-items: center; gap: 24px; }
.pie-chart { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--accent) 0% 25%, var(--primary) 25% 60%, #f59e0b 60% 85%, #ef4444 85% 100%); transition: all 1s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; box-shadow: inset 0 0 0 10px #fff; }
.pie-legend { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.leg-item { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.leg-item .dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.leg-item span:last-child { font-weight: 700; color: var(--text-main); }

.counters-column { background: transparent; border: none; box-shadow: none; padding: 0; justify-content: space-between; }
.mini-counter { background: #ffffff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); }
.mc-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.mc-val { font-family: var(--font-d); font-size: 24px; font-weight: 800; color: var(--primary); }

/* LOADING & OVERLAYS */
#loadingOverlay { position: fixed; inset: 0; background: rgba(255,255,255,0.8); z-index: 10000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.spinner-corporate { width: 48px; height: 48px; border: 4px solid #f1f5f9; border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* NAVBAR & USER */
.nav-user { display: flex; align-items: center; gap: 12px; }
.user-info { text-align: right; }
.user-info span { display: block; font-size: 14px; font-weight: 700; color: var(--text-main); }
.user-info small { font-size: 11px; color: var(--text-muted); }
#navUserPhoto { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.btn-logout { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 8px; font-size: 18px; }
.btn-logout:hover { color: var(--danger); }

/* DASHBOARD COMPONENTS */
.ac-empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.ac-empty-state p { font-size: 14px; margin-bottom: 16px; }

.activity-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: none; }
.activity-item i { margin-top: 3px; font-size: 16px; }
.activity-item strong { display: block; font-size: 14px; color: var(--text-main); }
.activity-item span { font-size: 12px; color: var(--text-muted); }

.badge-status { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-status.success { background: #daf3ec; color: #10695f; }
.badge-status.danger { background: #fde6d8; color: #9a3412; }
.badge-status.warning { background: #f8edc9; color: #9a6700; }
.badge-status.info { background: #dcebf0; color: #184e63; }

/* TABLES */
.ac-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.ac-table th { text-align: left; padding: 12px; border-bottom: 2px solid var(--border); font-size: 13px; color: var(--text-muted); text-transform: uppercase; }
.ac-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-main); }

/* MONITORING & RESOURCES */
.monit-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pulse-active { font-size: 11px; font-weight: 700; color: #10b981; display: flex; align-items: center; gap: 6px; }
.pulse-active::before { content: ""; width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

.resource-card { background: #ffffff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; box-shadow: var(--shadow-sm); }
.rc-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
.rc-id { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.rc-progress { height: 8px; background: #f1f5f9; border-radius: 4px; margin: 16px 0 24px; overflow: hidden; }
.rc-bar { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s; }

/* ORDERS & PLANS */
.order-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.order-info strong { display: block; font-size: 15px; }
.order-info span { font-size: 12px; color: var(--text-muted); }
.order-price { font-weight: 700; color: var(--text-main); }

.plan-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.plan-info strong { display: block; font-size: 18px; color: var(--primary); }
.plan-price { font-size: 20px; font-weight: 800; color: var(--text-main); }
.plan-features { display: flex; flex-direction: column; gap: 12px; }
.feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.feat i { color: #10b981; }

.card-display { background: #f8fafc; padding: 20px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.card-display i { font-size: 24px; color: #1a1f71; }

/* MODALS */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; backdrop-filter: blur(2px); }
.modal-card { background: #ffffff; border-radius: 8px; width: 100%; max-width: 600px; max-height: 90vh; box-shadow: var(--shadow-lg); overflow: hidden; animation: modalUp 0.3s ease-out; display: flex; flex-direction: column; }
@keyframes modalUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: #f8fafc; flex-shrink: 0; }
.vh-info h2 { font-family: var(--font-d); font-size: 20px; font-weight: 800; color: var(--text-main); }
.vh-info span { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.btn-close { background: none; border: none; font-size: 28px; color: var(--text-muted); cursor: pointer; }

.modal-body { padding: 32px; overflow-y: auto; flex: 1; }
.vh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.v-stat { background: #f1f5f9; padding: 16px; border-radius: 8px; text-align: center; border: 1px solid var(--border); }
.v-stat span { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.v-stat strong { font-family: var(--font-d); font-size: 18px; color: var(--text-main); }

.vh-section h4 { font-family: var(--font-d); font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.modal-footer { padding: 20px 24px; background: #f8fafc; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; flex-shrink: 0; }

/* FINES REDESIGN */
.fine-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 20px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; gap: 20px; position: relative; }
.fine-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.fi-selection { padding-top: 4px; }
.fi-checkbox { width: 22px; height: 22px; cursor: pointer; accent-color: var(--primary); }

.fi-content-wrap { flex: 1; display: flex; flex-direction: column; gap: 16px; }

.fi-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; }
.fi-badge-group { display: flex; gap: 8px; }
.fi-date { font-size: 12px; font-weight: 600; color: var(--text-muted); }

.fi-main-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.fi-info-block { flex: 1; }
.fi-info-block strong { font-size: 15px; color: var(--text-main); line-height: 1.5; display: block; margin-bottom: 6px; }
.fi-info-block p { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

.fi-price-block { text-align: right; min-width: 120px; }
.fi-price-new { font-size: 22px; font-weight: 900; color: var(--text-main); font-family: var(--font-d); display: block; }
.fi-price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; display: block; margin-bottom: 2px; }

.fi-technical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: #f8fafc; padding: 16px; border-radius: 8px; border: 1px solid var(--border); }
.fi-param span { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; font-weight: 700; }
.fi-param strong { font-size: 13px; color: var(--text-main); font-weight: 700; }

.fi-footer { display: flex; justify-content: flex-end; padding-top: 12px; }

/* Status Styles */
.fine-item.actionable { border-left: 5px solid #10b981; }
.fine-item.suspended { border-left: 5px solid #0ea5e9; background: #f0f9ff; }
.fine-item.expired { opacity: 0.8; background: #fcfcfc; border-style: dashed; }

.badge-gravidade { padding: 4px 10px; border-radius: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; }

/* JOURNEY */
.journey-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.journey-badge { background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.journey-track { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.j-step { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 2; }
.j-icon { width: 44px; height: 44px; background: #fff; border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-muted); transition: all 0.3s; }
.j-step span { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.j-step small { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.j-line { flex: 1; height: 3px; background: var(--border); margin: 0 -10px 32px; position: relative; z-index: 1; }

.j-step.completed .j-icon { border-color: #10b981; color: #10b981; }
.j-step.completed span { color: #10b981; }
.j-step.completed small { color: #10b981; }
.j-line.completed { background: #10b981; }
.j-step.active .j-icon { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.j-step.active span { color: var(--primary); font-weight: 700; }
.j-step.active small { color: var(--primary); font-weight: 500; }

.search-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.st-btn { padding: 8px 16px; border: none; background: transparent; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 6px; }
.st-btn.active { background: #f1f5f9; color: var(--primary); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); }
.form-control.error { border-color: var(--danger, #ef4444); box-shadow: 0 0 0 3px rgba(239,68,68,0.08); }

.ac-feedback { margin-top: 20px; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.ac-feedback.info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.ac-feedback.success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.ac-feedback.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.ac-consulta-result { margin-top: 20px; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: #f8fafc; }
.result-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.result-kicker { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
.result-topline strong { font-size: 18px; color: var(--text-main); }
.result-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.result-summary div { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.result-summary span { display: block; font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.result-summary strong { font-size: 15px; color: var(--text-main); }

.nav-toggle { width: 40px; height: 40px; border-radius: 8px; background: #f8fafc; color: var(--primary); border: 1px solid var(--border); align-items: center; justify-content: center; }
.sidebar-backdrop { display: none; position: fixed; inset: 72px 0 0; background: rgba(15,23,42,0.28); z-index: 90; }
.sidebar-backdrop.open { display: block; }

/* FAQ */
.faq-section { padding: 100px 0; background: #ffffff; text-align: center; border-top: 1px solid var(--border); }
.faq-grid { max-width: 800px; margin: 48px auto 0; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.2s; }
.faq-item summary { padding: 20px 24px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; color: var(--text-main); }
.faq-item summary i { font-size: 12px; color: var(--text-muted); transition: transform 0.3s; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.faq-item:hover { border-color: #cbd5e1; }

/* Steps */
.steps-section { padding: 100px 0; text-align: center; background: #f1f5f9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step-card { background: #ffffff; padding: 40px 32px; border-radius: 8px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: left; }
.step-icon { width: 48px; height: 48px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); margin-bottom: 24px; }
.si-blue { color: var(--primary); }
.si-green { color: var(--primary); }
.step-card h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Info */
.info-section { padding: 100px 0; background: #ffffff; text-align: center; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 48px auto 0; text-align: left; }
.info-card { padding: 32px; border: 1px solid var(--border); border-radius: 8px; background: #ffffff; box-shadow: var(--shadow-sm); display: flex; gap: 20px; }
.ic-icon { width: 48px; height: 48px; background: #f8fafc; border: 1px solid var(--border); color: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ic-amber { color: var(--primary); }
.info-card h3 { font-family: var(--font-d); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* CTA */
.cta { padding: 80px 0; background: #f8fafc; border-top: 1px solid var(--border); }
.cta-inner { background: var(--primary); border-radius: 8px; padding: 56px 48px; display: flex; justify-content: space-between; align-items: center; }
.cta-inner h2 { color: #fff; font-size: 28px; margin-bottom: 12px; font-weight: 700; }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 16px; }
.cta-inner .btn-go { background: #ffffff; color: var(--primary); }
.cta-inner .btn-go:hover { background: #f1f5f9; color: var(--primary); }

/* Footer */
.footer { background: #fff; padding: 60px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-d); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-main); }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

/* Auth & Loading */
.auth-overlay, .loading-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.6); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 24px; }
.auth-card { background: #fff; border-radius: 8px; width: 100%; max-width: 440px; padding: 40px; position: relative; box-shadow: var(--shadow-md); text-align: center; border: 1px solid var(--border); }
.auth-close-btn { position: absolute; top: 20px; right: 24px; background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
.auth-logo { margin-bottom: 24px; }
.auth-title { font-family: var(--font-d); font-size: 24px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.auth-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }
.auth-input-group { position: relative; margin-bottom: 16px; }
.auth-input-group i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.auth-input-group input { width: 100%; padding: 14px 14px 14px 44px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; font-family: var(--font-b); outline: none; }
.auth-input-group input:focus { border-color: var(--primary); }
.auth-email-btn { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; }
.auth-footer { margin-top: 32px; font-size: 13px; color: var(--text-muted); }
.auth-footer a { color: var(--primary); text-decoration: none; }

.loading-content { text-align: center; background: #ffffff; padding: 40px; border-radius: 8px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.spinner { width: 48px; height: 48px; border: 3px solid #e2e8f0; border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-family: var(--font-d); font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.loading-subtext { color: var(--text-muted); font-size: 14px; }

/* Responsive */
@media(max-width:900px){
  .hero h1 { font-size: 42px; }
  .widget-body { flex-direction: column; }
  .btn-go { padding: 16px; justify-content: center; }
  .videos-grid, .steps-grid, .info-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex !important; }
  .ac-header-row, .rc-header, .plan-header, .journey-header { flex-direction: column; align-items: flex-start !important; gap: 16px; }
  .ac-header-row .btn-primary { width: 100%; }
  .ac-grid, .stat-row, .result-summary, .fi-technical-grid, .vh-stats { grid-template-columns: 1fr !important; }
  .journey-track { padding: 0; align-items: flex-start; }
  .j-line { margin-bottom: 32px; }
  .vehicle-item, .order-item, .fi-main-row, .fi-header, .modal-footer { flex-direction: column; align-items: stretch; }
  .vehicle-info { align-items: flex-start; }
  .fi-price-block { text-align: left; }
  .modal-card { max-height: calc(100vh - 24px); }
  .modal-body { padding: 20px; }
  .search-tabs { flex-wrap: wrap; }
  .st-btn { flex: 1; min-width: 160px; }
  .ac-table-container, .dashboard-card { overflow-x: auto; }
}

@media(max-width:640px){
  .nav-inner { padding: 12px 16px; }
  .nav-user { gap: 8px; }
  .user-info { display: none; }
  #navUserPhoto { width: 36px; height: 36px; }
  .ac-main-content { padding: 20px 16px !important; }
  .dashboard-card, .resource-card { padding: 18px; }
  .journey-track { flex-direction: column; gap: 12px; }
  .j-line { width: 3px; height: 28px; flex: 0 0 28px; margin: -8px 0 -4px 20px; }
  .j-step { flex-direction: row; align-items: center; }
  .j-step small { margin-top: 0; }
  .fine-item { padding: 16px; gap: 12px; }
  .crlv-drop { padding: 28px 16px; }
}
