/* ==========================================================================
   Bitronix Hardware & Software A.Ş - Linear.app Aesthetic Stylesheet
   Color Palette: Dark (#0A0A0C) + Orange Accent (#FF6A00 / #FF8A3D)
   ========================================================================== */

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

:root {
  --bg-main: #0a0a0c;
  --bg-card: #121216;
  --bg-card-hover: #181820;
  --bg-input: #111115;
  --bg-nav: rgba(10, 10, 12, 0.85);

  --accent-orange: #ff6a00;
  --accent-orange-hover: #ff8a3d;
  --accent-orange-glow: rgba(255, 106, 0, 0.2);
  --accent-orange-dim: rgba(255, 106, 0, 0.12);

  --text-main: #ededed;
  --text-muted: #8a8f9d;
  --text-dim: #5c606d;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-orange: rgba(255, 106, 0, 0.4);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Subtle Linear Grid Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.06) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
  position: relative;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent-orange), #d94800);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 0 12px var(--accent-orange-glow);
}

.brand-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-main {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--accent-orange-dim);
  color: var(--accent-orange);
  border: 1px solid var(--border-orange);
  letter-spacing: 0.05em;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Desktop Nav (Right Aligned) */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  background: none;
  border: none;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--text-main);
}

.nav-chevron {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ─── Linear-style Dropdown Panel ─── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 540px;
  background: #111116;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
  backdrop-filter: blur(20px);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item.has-dropdown:hover .nav-trigger,
.nav-item.has-dropdown:focus-within .nav-trigger {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.has-dropdown:hover .nav-chevron,
.nav-item.has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.nav-dropdown-col {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-heading {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  cursor: pointer;
  color: var(--text-main);
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-dropdown-item:hover .nav-dropdown-icon {
  background: var(--accent-orange-dim);
  border-color: var(--border-orange);
  color: var(--accent-orange);
}

.nav-dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.nav-dropdown-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.nav-dropdown-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Nav Actions (right side) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.btn-nav-admin {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-nav-admin:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: 0.75rem;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
}

.mobile-nav.show {
  display: flex;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--text-main);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}



.title-large {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* fallback, background-clip desteklemeyen tarayıcılar için */
}

.title-medium {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.title-orange {
  color: var(--accent-orange);
  -webkit-text-fill-color: var(--accent-orange);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-orange-dim);
  color: var(--accent-orange);
  border: 1px solid var(--border-orange);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 6px var(--accent-orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-orange-glow);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: #fff;
}

.btn-danger {
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
  border-color: rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  background: rgba(220, 38, 38, 0.3);
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

/* Hero Section */
.hero-section {
  padding: 6rem 0 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

/* Linear Card Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-orange-dim);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
}

/* Project Cards */
.project-card {
  padding: 0;
  overflow: hidden;
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #111;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-out;
}

.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: var(--accent-orange);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.project-body {
  padding: 1.5rem;
}

/* Stat KPI Grid */
.stat-card {
  text-align: left;
  border-left: 3px solid var(--accent-orange);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-light);
}

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

/* Filter Controls */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-orange-dim);
  border-color: var(--border-orange);
  color: var(--accent-orange);
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-label small {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.78rem;
}

.form-control {
  width: 100%;
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-control:hover {
  border-color: var(--border-hover);
  background: rgba(20, 20, 28, 0.8);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: #121218;
  box-shadow: 0 0 0 3px var(--accent-orange-glow);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Custom Drag & Drop Image Uploader */
.file-dropzone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(12, 12, 16, 0.5);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.04);
}

.file-dropzone-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent-orange);
  font-size: 1.3rem;
  transition: transform var(--transition-fast);
}

.file-dropzone:hover .file-dropzone-icon {
  transform: translateY(-2px);
  background: var(--accent-orange-dim);
}

.file-dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-dropzone-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.file-dropzone-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.file-preview-container {
  margin-top: 1rem;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.file-preview-container.active {
  display: flex;
}

.file-preview-img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.file-preview-name {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  word-break: break-all;
}

/* Custom Toggle Switch */
.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(15, 15, 20, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-switch-wrapper:hover {
  border-color: var(--border-hover);
  background: rgba(20, 20, 28, 0.8);
}

.toggle-switch-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.toggle-switch-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.toggle-switch-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.12);
  transition: .3s;
  border-radius: 24px;
  border: 1px solid var(--border-light);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 0 12px var(--accent-orange-glow);
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Admin Form 2-Column Layout */
.admin-form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-sidebar-card {
  position: sticky;
  top: 90px;
}


/* Admin Dashboard Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-weight: 600;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

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

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

/* Flash Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  background: #08080a;
  padding: 4rem 0 2rem;
}

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

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .title-large {
    font-size: 2.4rem;
  }
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.download-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 1.8rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 134, 54, 0.25);
  box-shadow: 0 18px 40px rgba(4, 7, 16, 0.08);
}

.download-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.download-card-desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.download-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.download-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.download-btn:hover {
  background: #ff951b;
}

@media (max-width: 992px) {
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-wrapper {
    justify-content: space-between;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .mobile-nav {
    width: 100%;
    max-width: 100%;
  }

  .mobile-nav-link {
    overflow-wrap: anywhere;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
