/* VEYMEER - Component Architecture
   Aesthetic: Quiet Luxury Systems Engineering, Frosted Obsidian Glass, Architectural Hairlines
   Reference: media_1789076732937.png
*/

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 6rem;
  overflow: hidden;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Master Brand Hero Lockup (Directly matching media_1789076732937.png) */
.hero-brand-lockup {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 3rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand-svg {
  width: 100%;
  height: auto;
  max-height: 150px;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.12));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.hero-brand-svg:hover {
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.22));
  transform: translateY(-2px);
}

.hero-thesis-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 980px;
  margin-bottom: 1.75rem;
  line-height: 1.12;
  color: #FFFFFF;
}

.hero-headline .highlight-specular {
  background: linear-gradient(135deg, #FFFFFF 30%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-muted);
  max-width: 800px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* ==========================================================================
   METRIC CARDS (FROSTED OBSIDIAN GLASS)
   ========================================================================== */

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1160px;
  margin: 2rem auto 0;
}

.stat-box {
  background: rgba(14, 14, 17, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.stat-box:hover::before {
  opacity: 1;
}

.stat-box .stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-box .stat-value {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-serif);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.stat-box .stat-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.stat-box.highlight {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.03);
}

.stat-box.highlight .stat-value {
  color: #10B981;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

@media (max-width: 992px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WORKLOAD PILLS
   ========================================================================== */

.workload-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.workload-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.workload-pill:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.workload-pill.active {
  background: #FFFFFF;
  color: #0A0A0C;
  border-color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

/* ==========================================================================
   DATA TABLES
   ========================================================================== */

.data-table-card {
  background: rgba(16, 16, 20, 0.86);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.85);
  padding: 1.75rem;
  overflow-x: auto;
}

.data-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: left;
}

.data-table-card th {
  border-bottom: 1px solid var(--border-medium);
  padding: 0.75rem 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.data-table-card td {
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0.85rem;
  color: var(--ink-secondary);
}

.data-table-card tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #FFFFFF;
}

.data-table-card td.highlight-speed {
  font-weight: 700;
  color: #10B981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   MEMORY PLANNER
   ========================================================================== */

.hardware-calculator-card {
  background: rgba(16, 16, 20, 0.86);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.85);
  padding: 2.75rem;
  position: relative;
}

.calculator-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-control-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.calc-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-medium);
  background: rgba(10, 10, 12, 0.8);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calc-select:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* VRAM Allocation Visual Bar */
.vram-bar-container {
  margin: 2.5rem 0;
}

.vram-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  color: var(--ink-secondary);
}

.vram-segmented-bar {
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  display: flex;
  overflow: hidden;
  position: relative;
}

.vram-segment {
  height: 100%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.6rem;
}                        

.vram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

.calc-result-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.calc-result-item .item-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.calc-result-item .item-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  font-family: var(--font-serif);
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .calculator-controls {
    grid-template-columns: 1fr;
  }
  .calc-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   TERMINAL SIMULATOR
   ========================================================================== */

.terminal-card {
  background: #0B0B0E;
  color: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: #111115;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.75;
}

.terminal-dot.dot-red { background: #EF4444; }
.terminal-dot.dot-yellow { background: #EAB308; }
.terminal-dot.dot-green { background: #22C55E; }

.terminal-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.terminal-commands-bar {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: #0E0E12;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.term-cmd-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.term-cmd-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.term-cmd-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0A0A0C;
  font-weight: 600;
}

.terminal-body {
  padding: 1.75rem;
  height: 400px;
  overflow-y: auto;
  font-size: 0.84rem;
  line-height: 1.75;
}

.term-line {
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.6rem;
}

.term-prompt {
  color: #38BDF8;
  font-weight: 600;
}

.term-output-highlight {
  color: #FFFFFF;
  font-weight: 600;
}

.term-output-success {
  color: #34D399;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-medium);
  background: rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   LUXURY STATUS BADGES
   ========================================================================== */
.luxury-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink-secondary);
}

.luxury-badge.green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.luxury-badge.orange {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #F59E0B;
}

.luxury-badge.red {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

/* ==========================================================================
   COMPARISON TABLES
   ========================================================================== */
.comparison-matrix-card {
  background: rgba(16, 16, 20, 0.88);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.85);
  padding: 2.25rem;
  margin: 2.5rem 0;
  overflow-x: auto;
}

.comparison-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  text-align: left;
}

.comparison-matrix-table th {
  border-bottom: 2px solid var(--border-medium);
  padding: 1.1rem 1.25rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.comparison-matrix-table th.veymeer-col-head {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
  border-bottom-color: #10B981;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.comparison-matrix-table td {
  border-bottom: 1px solid var(--border-light);
  padding: 1.15rem 1.25rem;
  color: var(--ink-secondary);
  vertical-align: middle;
}

.comparison-matrix-table td.veymeer-col-cell {
  background: rgba(16, 185, 129, 0.03);
  color: #FFFFFF;
  font-weight: 600;
  border-left: 1px solid rgba(16, 185, 129, 0.15);
  border-right: 1px solid rgba(16, 185, 129, 0.15);
}

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

.comparison-matrix-table tr:hover td.veymeer-col-cell {
  background: rgba(16, 185, 129, 0.08);
}
