/* ======================================================== */
/*   BLUEMESH & BLUEBAND — LUXURY MONOCHROME DARK THEME     */
/*   Black & White Premium Aesthetics • Fully Responsive    */
/* ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Ultra-Premium Black & White Monochrome Palette */
  --bg-page: #000000;
  --bg-card: #0c0c0e;
  --bg-card-hover: #141418;
  --bg-subtle: #18181c;
  --bg-elevated: #202026;
  --bg-glass: rgba(12, 12, 14, 0.85);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-inverse: #000000;
  
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(255, 255, 255, 0.35);
  --border-active: #ffffff;
  
  --btn-primary-bg: #ffffff;
  --btn-primary-text: #000000;
  --btn-primary-hover: #e4e4e7;
  
  --btn-secondary-bg: #18181c;
  --btn-secondary-text: #ffffff;
  --btn-secondary-hover: #27272a;
  
  --accent-glow: rgba(255, 255, 255, 0.08);
  --accent-glow-strong: rgba(255, 255, 255, 0.18);
  
  --success-color: #22c55e;
  --success-glow: rgba(34, 197, 94, 0.25);
  --danger-color: #ef4444;
  --danger-glow: rgba(239, 68, 68, 0.25);
  --warn-color: #f59e0b;
  --info-color: #38bdf8;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 50px rgba(255, 255, 255, 0.06);
  --shadow-button: 0 4px 20px rgba(255, 255, 255, 0.2);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ======================================================== */
/*                     GLOBAL RESETS                        */
/* ======================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Premium Dark Dotted Grid & Radial Lighting */
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px),
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.09) 0%, transparent 60%);
  background-size: 28px 28px, 100% 100%;
  background-attachment: fixed, scroll;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================================================== */
/*                FLOATING PILL NAVIGATION                  */
/* ======================================================== */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 94%;
  max-width: 1020px;
}

.nav-pill {
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  padding: 8px 12px 8px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: #ffffff;
  color: #000000;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-nav-cta {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.25) !important;
}

.btn-nav-cta:hover {
  background: #e4e4e7 !important;
  transform: scale(1.03);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ======================================================== */
/*                     HERO SECTION                         */
/* ======================================================== */
.hero {
  padding: 136px 0 60px 0;
  text-align: center;
  position: relative;
}

.badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
}

.badge-primary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.badge-purple {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e4e4e7;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.8vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span.gradient-text {
  background: linear-gradient(180deg, #ffffff 20%, #8e8e93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 34px auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.35);
}

.btn-dark {
  background: #18181c;
  color: #ffffff;
  border-color: var(--border-card);
}

.btn-dark:hover {
  background: #24242a;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-card);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Quick Role Bar */
.role-pills-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  max-width: 760px;
  margin: 0 auto;
}

.role-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  transition: var(--transition);
}

.role-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ======================================================== */
/*                     CONTENT CARDS                        */
/* ======================================================== */
.section {
  padding: 55px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

/* ======================================================== */
/*                  DOWNLOAD CARDS                          */
/* ======================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.app-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card.featured {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.05);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-top {
  margin-bottom: 24px;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.app-badge-featured {
  background: #ffffff;
  color: #000000;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.app-badge-student {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.app-header-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  background: #ffffff;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.app-icon.student {
  background: #18181c;
  color: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.app-titles h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-titles .version {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

.app-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.55;
}

.app-specs-list {
  list-style: none;
  margin-bottom: 18px;
}

.app-specs-list li {
  font-size: 0.86rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-specs-list li .icon {
  color: #22c55e;
  font-size: 17px;
}

.checksum-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 20px;
}

.checksum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-copy:hover {
  background: #ffffff;
  color: #000000;
}

.checksum-code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  color: #d4d4d8;
  word-break: break-all;
  line-height: 1.4;
  user-select: all;
}

.install-notice {
  background: #121216;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ======================================================== */
/*                     TABLE STYLES                         */
/* ======================================================== */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin-top: 16px;
  background: var(--bg-card);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 600px;
}

.custom-table th {
  background: #141418;
  padding: 14px 18px;
  font-weight: 800;
  color: var(--text-primary);
  border-bottom: 1.5px solid var(--border-card);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  vertical-align: middle;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.td-highlight {
  font-weight: 700;
  color: var(--text-primary);
}

.td-success {
  color: #4ade80 !important;
  font-weight: 600;
}

.td-danger {
  color: #f87171 !important;
  font-weight: 500;
}

/* ======================================================== */
/*              DIAGRAM VIEWER CONTAINER                   */
/* ======================================================== */
.diagram-viewer-card {
  background: #09090b;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-top: 20px;
  overflow: hidden;
}

.diagram-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 18px;
}

.diagram-title {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.diagram-img-container {
  overflow-x: auto;
  text-align: center;
  background: #000000;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
}

.diagram-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 8px;
}

/* ======================================================== */
/*              STEPPER & INTERACTIVE CARDS                */
/* ======================================================== */
.stepper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.step-card:hover,
.step-card.active {
  background: var(--bg-subtle);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.step-num {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  margin: 0 auto 10px auto;
}

.step-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.step-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ======================================================== */
/*             INTERACTIVE MESH SIMULATOR                   */
/* ======================================================== */
.simulator-box {
  background: #09090b;
  border: 1.5px solid var(--border-card);
  color: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-top: 24px;
  box-shadow: var(--shadow-card);
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.sim-title h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.sim-title p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.sim-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.node-box {
  background: #141418;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.node-box.active-node {
  border-color: #22c55e;
  box-shadow: 0 0 24px var(--success-glow);
  background: #16201a;
}

.node-box.gateway-node {
  border-color: rgba(255, 255, 255, 0.4);
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 8px #22c55e;
}

.node-box h5 {
  font-size: 0.92rem;
  font-weight: 800;
  margin: 6px 0 2px 0;
}

.node-box span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.sim-log-terminal {
  background: #000000;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: #e4e4e7;
  height: 140px;
  overflow-y: auto;
}

.sim-log-entry {
  margin-bottom: 5px;
  line-height: 1.45;
}

.sim-log-entry .time {
  color: #71717a;
}

.sim-log-entry .success-text {
  color: #4ade80;
}

.sim-log-entry .warn-text {
  color: #facc15;
}

/* ======================================================== */
/*                     ROADMAP GRID                         */
/* ======================================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
}

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

.phase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  text-transform: uppercase;
  background: #ffffff;
  color: #000000;
}

.roadmap-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.roadmap-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.roadmap-card ul {
  list-style: none;
}

.roadmap-card li {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.roadmap-card li::before {
  content: "•";
  color: #ffffff;
  font-weight: 900;
  font-size: 1.2rem;
}

/* ======================================================== */
/*               TAMPER PROOF DEMO INSPECTOR                */
/* ======================================================== */
.tamper-inspector-card {
  background: #09090b;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.tamper-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: #000000;
  color: #ffffff;
  border: 1.5px solid var(--border-card);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.tamper-input:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.hash-blocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.hash-block {
  background: #141418;
  padding: 14px;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-family: 'JetBrains Mono', monospace;
  transition: var(--transition);
}

/* ======================================================== */
/*                     TOAST NOTIFICATIONS                  */
/* ======================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  color: #000000;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.9);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ======================================================== */
/*                        FOOTER                            */
/* ======================================================== */
footer {
  background: #09090b;
  border-top: 1px solid var(--border-hairline);
  color: white;
  padding: 70px 0 30px 0;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ======================================================== */
/*              MOBILE FRIENDLY RESPONSIVENESS              */
/* ======================================================== */
@media (max-width: 960px) {
  .nav-pill {
    padding: 6px 12px 6px 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: #09090b;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.95);
    gap: 8px;
  }
  .nav-links.open a {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .sim-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 110px 0 40px 0;
  }
  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.15;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn {
    width: 100%;
  }
  .role-pills-bar {
    border-radius: var(--radius-md);
    padding: 12px;
  }
  .content-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
  .app-card {
    padding: 22px 18px;
  }
  .card-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .sim-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .sim-controls {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .sim-controls .btn {
    width: 100%;
  }
  .sim-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toast {
    width: 100%;
    justify-content: center;
  }
}
