/* ==========================================================================
   SIRVA OVERSIZE COMPANY - DESIGN SYSTEM & STYLESHEET
   Style: Brutalist High-Streetwear / Dark Luxury / Purpose-Driven Aesthetic
   ========================================================================== */

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

:root {
  --bg-main: #08080a;
  --bg-card: #111115;
  --bg-card-hover: #17171d;
  --bg-nav: rgba(8, 8, 10, 0.85);
  
  --brand-red: #E50914;
  --brand-red-dark: #b8060f;
  --brand-red-glow: rgba(229, 9, 20, 0.25);
  
  --text-main: #FFFFFF;
  --text-muted: #9A9AA6;
  --text-subdued: #52525E;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.2);
  --border-red: rgba(229, 9, 20, 0.5);
  
  --font-heading: 'Syne', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #22222a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* Top Announcement Ticker */
.ticker-bar {
  background-color: var(--brand-red);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 25s linear infinite;
  gap: 2rem;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.ticker-item::after {
  content: '✦';
  opacity: 0.7;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-red);
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-tech);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--brand-red-glow);
}

.btn-primary:hover {
  background-color: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--brand-red);
  background: rgba(229, 9, 20, 0.08);
  color: var(--text-main);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  background: 
    linear-gradient(180deg, rgba(8, 8, 10, 0.72) 0%, rgba(8, 8, 10, 0.88) 55%, rgba(8, 8, 10, 1) 100%),
    radial-gradient(circle at 50% 40%, rgba(229, 9, 20, 0.2) 0%, rgba(8, 8, 10, 0.7) 75%),
    url('https://images.unsplash.com/photo-1520045892732-304bc3ac5d8e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.badge-drop {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid var(--border-red);
  border-radius: 100px;
  color: #FF5D66;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: pulse-border 2s infinite;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-red);
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(229, 9, 20, 0.5); }
  50% { border-color: rgba(229, 9, 20, 1); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #FFFFFF 40%, #8E8E9F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
  background: linear-gradient(180deg, #FF3B47 0%, #E50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

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

/* Countdown Timer */
.countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(17, 17, 21, 0.7);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  padding: 1.25rem 2rem;
  border-radius: 4px;
}

.countdown-label {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-val {
  font-family: var(--font-tech);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.timer-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-subdued);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.timer-sep {
  font-family: var(--font-tech);
  font-size: 1.5rem;
  color: var(--brand-red);
  font-weight: 700;
}

/* Brand Manifesto Section */
.section {
  padding: 6rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

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

.section-tag {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

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

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.manifesto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  position: relative;
  transition: var(--transition-normal);
  overflow: hidden;
}

.manifesto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--brand-red);
  transition: var(--transition-normal);
}

.manifesto-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.manifesto-card:hover::before {
  height: 100%;
}

.card-num {
  font-family: var(--font-tech);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-red);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Products Section */
.products-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--brand-red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: #141418;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  z-index: 3;
}

.view-toggle-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  font-family: var(--font-tech);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  z-index: 3;
  transition: var(--transition-fast);
}

.view-toggle-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subdued);
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-tech);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.product-price span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.4rem;
}

.size-selector {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.size-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.size-btn:hover, .size-btn.selected {
  border-color: var(--brand-red);
  color: var(--text-main);
  background: rgba(229, 9, 20, 0.15);
}

/* SVG Product Mockup Styling (for Shorts, Socks, Cap) */
.svg-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1b1b22 0%, #0d0d10 100%);
  padding: 2rem;
}

.svg-product-placeholder svg {
  width: 65%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.product-card:hover .svg-product-placeholder svg {
  transform: scale(1.05);
}

/* Oversize Standard / Size Guide Section */
.size-guide-section {
  background: #0d0d11;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 4rem 2rem;
  margin: 4rem auto;
}

.size-grid-wrapper {
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-family: var(--font-tech);
  text-align: left;
}

.size-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-red);
  padding: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--brand-red);
}

.size-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.size-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

/* Lookbook / Feed Grid */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.lookbook-item {
  position: relative;
  aspect-ratio: 1/1;
  background: #15151a;
  border-radius: 2px;
  overflow: hidden;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lookbook-item:hover img {
  transform: scale(1.08);
}

.lookbook-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lookbook-item:hover .lookbook-overlay {
  opacity: 1;
}

.lookbook-text {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Pre-Sale VIP Form / Banner */
.vip-banner {
  background: linear-gradient(135deg, #16161c 0%, #0a0a0d 100%);
  border: 1px solid var(--border-red);
  padding: 4rem 2rem;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.1);
}

.vip-form {
  max-width: 520px;
  margin: 2rem auto 0 auto;
  display: flex;
  gap: 0.75rem;
}

.vip-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: var(--transition-fast);
}

.vip-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 15px var(--brand-red-glow);
}

/* Footer */
.footer {
  background-color: #040405;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2rem 1.5rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
}

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

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

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  max-width: 500px;
  width: 100%;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--brand-red);
}

/* Responsive queries */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    padding: 2rem;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 600px) {
  .vip-form {
    flex-direction: column;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}
