/* Hero enhancements */
.btn-primary-hero {
  background-color: white;
  color: var(--primary-color);
  font-weight: 700;
}

.btn-primary-hero:hover {
  background-color: #f0f0f0;
  color: var(--primary-dark);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-primary);
  color: white;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================
   Screenshots Section
   ===================== */
.screenshots-section {
  padding: 6rem 0;
  background-color: #111418;
}

.screenshots-section .section-header {
  margin-bottom: 3rem;
}

.screenshots-section .section-header h2 {
  color: white;
}

.screenshots-section .section-intro {
  color: #8b949e;
}

/* Tabs */
.screenshot-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  color: #8b949e;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}

.tab-btn:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.tab-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* App Mockup wrapper */
.app-mockup {
  display: none;
}

.app-mockup.active {
  display: block;
}

/* Browser chrome */
.mockup-browser {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.07);
  max-width: 1000px;
  margin: 0 auto;
}

.mockup-bar {
  background: #1a1e24;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: #6e7681;
  font-family: monospace;
  background: #0d1117;
  padding: 0.18rem 0.9rem;
  border-radius: 4px;
  flex: 1;
  max-width: 320px;
}

/* App shell */
.mockup-app {
  display: flex;
  background: #161b22;
  min-height: 400px;
}

/* ---- Sidebar ---- */
.mockup-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: #0d1117;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
}

/* Logo: triangle icon + FlyGrid.io, matches the real app */
.mockup-logo {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.mockup-nav-item {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  color: #8b949e;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: default;
  border-radius: 0 6px 6px 0;
  margin-right: 0.6rem;
  transition: background 0.15s;
}

.mockup-nav-item i {
  width: 15px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
}

.mockup-nav-item.active {
  background: rgba(1, 117, 194, 0.18);
  color: white;
  font-weight: 600;
  border-left: 3px solid #0175C2;
  padding-left: calc(1.1rem - 3px);
}

/* ---- Main area ---- */
.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/* Top bar — matches the "≡ Dashboard" bar in the real app */
.mockup-topbar {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #161b22;
}

.mockup-topbar-menu {
  color: #8b949e;
  font-size: 0.9rem;
}

.mockup-topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #8b949e;
}

.mockup-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2d333b;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #8b949e;
}

/* ---- Dashboard: org badge + photo background stats ---- */
.mockup-dashboard-body {
  flex: 1;
  background:
    linear-gradient(to bottom, rgba(13,17,23,0.55) 0%, rgba(13,17,23,0.75) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 450"><rect fill="%23273040" width="800" height="450"/><ellipse cx="450" cy="320" rx="320" ry="140" fill="%23364055" opacity="0.6"/><rect x="80" y="280" width="640" height="170" fill="%23263040" rx="2"/></svg>') center/cover;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mockup-org-badge {
  background: rgba(22,27,34,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  color: #c9d1d9;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}

.mockup-org-badge i {
  color: #0175C2;
  font-size: 0.8rem;
}

/* Stat cards — semi-transparent dark cards like in the real app */
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.mockup-stat-card {
  background: rgba(22,27,34,0.82);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  backdrop-filter: blur(6px);
}

.mockup-stat-icon-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.mockup-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(1,117,194,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #58a6ff;
}

.mockup-stat-label {
  font-size: 0.7rem;
  color: #8b949e;
  text-transform: capitalize;
}

.mockup-stat-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-primary);
  line-height: 1;
}

.mockup-stat-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mockup-stat-links span {
  font-size: 0.65rem;
  color: #58a6ff;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---- Table screens (Flights, Users) ---- */
.mockup-table-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.25rem;
  gap: 0.75rem;
  background: #161b22;
}

.mockup-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mockup-search-bar {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 0.42rem 1.1rem;
  font-size: 0.78rem;
  color: #6e7681;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.mockup-badge-pill {
  background: rgba(1,117,194,0.2);
  color: #58a6ff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.75rem;
  border-radius: 50px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mockup-btn-add {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0175C2;
  color: white;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-table {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.76rem;
  flex: 1;
}

.mockup-table-header {
  display: grid;
  background: rgba(22,27,34,0.9);
  padding: 0.55rem 1rem;
  color: #6e7681;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-table-row {
  display: grid;
  padding: 0.55rem 1rem;
  color: #c9d1d9;
  border-top: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  gap: 0.5rem;
}

.mockup-table-row:nth-child(even) {
  background: rgba(255,255,255,0.015);
}

/* Flights table columns */
#tab-flights .mockup-table-header,
#tab-flights .mockup-table-row {
  grid-template-columns: 0.8fr 1.2fr 1.2fr 0.7fr 1.2fr;
}

/* Users table columns */
#tab-users .mockup-table-header,
#tab-users .mockup-table-row {
  grid-template-columns: 1fr 1fr 0.6fr 1.4fr 0.7fr;
}

.mockup-reg {
  background: rgba(1,117,194,0.15);
  color: #58a6ff;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.72rem;
  font-family: var(--font-primary);
  display: inline-block;
}

.mockup-type {
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-block;
}

.mockup-type.training   { background: rgba(16,185,129,0.15); color: #3ecf8e; }
.mockup-type.instruction{ background: rgba(1,117,194,0.18);  color: #58a6ff; }
.mockup-type.rental     { background: rgba(245,158,11,0.18); color: #f59e0b; }

.mockup-rule {
  font-size: 0.62rem;
  color: #6e7681;
  margin-left: 0.2rem;
}

.mockup-status.active {
  background: rgba(16,185,129,0.12);
  color: #3ecf8e;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  display: inline-block;
}

.mockup-pagination {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  color: #6e7681;
  text-align: right;
  background: rgba(22,27,34,0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.mockup-caption {
  text-align: center;
  color: #6e7681;
  font-size: 0.88rem;
  margin-top: 1.25rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .mockup-sidebar { display: none; }
  .mockup-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  #tab-flights .mockup-table-header span:nth-child(n+3),
  #tab-flights .mockup-table-row span:nth-child(n+3),
  #tab-users .mockup-table-header span:nth-child(n+3),
  #tab-users .mockup-table-row span:nth-child(n+3) { display: none; }
  #tab-flights .mockup-table-header,
  #tab-flights .mockup-table-row { grid-template-columns: 0.8fr 1.2fr 1.2fr; }
  #tab-users .mockup-table-header,
  #tab-users .mockup-table-row { grid-template-columns: 1fr 1fr 0.7fr; }
}

@media (max-width: 576px) {
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .screenshot-tabs { flex-wrap: wrap; }
  .mockup-stats { grid-template-columns: repeat(2, 1fr); }
}
