/* WEST MAIN TIRE - High Density Theme Stylesheet */
:root {
  --bg-dark: #0A0A0A;
  --bg-surface: #111111;
  --bg-grid: #0F0F0F;
  --bg-card: #181818;
  --bg-card-hover: #202020;
  
  --border-subtle: #222222;
  --border-bright: #333333;
  --border-orange: rgba(255, 99, 33, 0.4);
  
  --accent-cyan: #FF6321; /* High Density Core Accent */
  --accent-cyan-hover: #ff7e47;
  --accent-cyan-glow: rgba(255, 99, 33, 0.25);
  
  --accent-orange: #FF6321;
  --accent-orange-hover: #ff7e47;
  --accent-orange-glow: rgba(255, 99, 33, 0.25);
  
  --text-main: #F0F0F0;
  --text-muted: #AAAAAA;
  --text-dark: #555555;
  
  --font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --max-width: 1240px;
  --header-height: 70px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg-dark);
}

/* Custom Scrollbar for High Density Theme */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-orange);
  color: #000;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Page Loader (Auto-dismissing) */
#page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  animation: loaderDismiss 0.5s ease 1.5s forwards;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes loaderDismiss {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.loader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
}

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

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent-orange);
  color: #000000;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta:hover {
  background: #ffffff;
  color: #000000;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 60px;
  background: var(--bg-grid);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: #111111;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent-orange);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-orange);
  color: #000000;
}

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

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-bright);
}

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

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.hero-image-wrapper:hover .hero-image {
  filter: grayscale(0%);
}

.hero-glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(17, 17, 17, 0.92);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sections General */
.section {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-subtitle {
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--accent-orange);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card-body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Image Visual Cards */
.media-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: var(--transition);
}

.media-card:hover {
  border-color: var(--accent-orange);
}

.media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: var(--transition);
}

.media-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.media-card-content {
  padding: 24px;
}

/* Contact Section */
.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-email {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-orange);
  word-break: break-all;
  margin: 20px 0 32px;
  display: inline-block;
  text-decoration: none;
  transition: var(--transition);
}

.contact-email:hover {
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 28px;
  margin-top: auto;
}

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

.footer-brand {
  max-width: 360px;
}

.footer-logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--accent-orange);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--accent-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 900;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--accent-orange);
  color: #000000;
}

/* Privacy Policy Layout */
.privacy-container {
  padding: 50px 0 80px;
}

.privacy-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
}

.privacy-meta {
  color: var(--accent-orange);
  font-weight: 700;
  font-font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 90px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.privacy-toc-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.privacy-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-toc-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.4;
  transition: var(--transition);
  display: block;
}

.privacy-toc-link:hover,
.privacy-toc-link.active {
  color: var(--accent-orange);
  font-weight: 700;
  padding-left: 4px;
}

.privacy-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
}

.privacy-article h2 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 32px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 90px;
}

.privacy-article h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.privacy-article p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.privacy-article ul {
  margin: 16px 0 24px 24px;
  color: var(--text-muted);
}

.privacy-article li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.privacy-article a {
  color: var(--accent-orange);
  text-decoration: none;
  word-break: break-all;
}

.privacy-article a:hover {
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid, .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  
  .privacy-toc {
    position: relative;
    top: 0;
    max-height: none;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 32px 24px;
    align-items: flex-start;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .privacy-article {
    padding: 24px;
  }
}

/* Print styles */
@media print {
  #page-loader, .site-header, .site-footer, .scroll-top-btn, .privacy-toc {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
  
  .privacy-article {
    border: none;
    padding: 0;
    background: transparent;
  }
}

