/* ==============================================================================
   DEAD WHEEL — OFFICIAL SHOWCASE & LEGAL STYLESHEET
   Mavins Studio LTD (themavinstudio.com)
   ============================================================================== */

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

:root {
  --bg-primary: #070B0E;
  --bg-surface: #0E141B;
  --bg-card: #131B24;
  --bg-card-hover: #182330;
  --border-color: #1F2D3D;
  --border-highlight: #2A3E54;
  
  --accent-green: #8BD13F;
  --accent-green-glow: rgba(139, 209, 63, 0.35);
  --accent-amber: #FFB300;
  --accent-amber-glow: rgba(255, 179, 0, 0.35);
  --accent-cyan: #00E5FF;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-red: #FF4757;

  --text-primary: #FFFFFF;
  --text-secondary: #9EB1C5;
  --text-muted: #576B80;

  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1240px;
  --header-height: 72px;
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==============================================================================
   REUSABLE UTILITIES & BUTTONS
   ============================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(139, 209, 63, 0.1);
  border: 1px solid rgba(139, 209, 63, 0.3);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 48px auto;
}

.text-center {
  text-align: center;
}

/* Tactical Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: var(--accent-green);
  color: #070B0E;
  box-shadow: 0 0 20px var(--accent-green-glow);
}

.btn-primary:hover {
  background: #9BE64A;
  box-shadow: 0 0 30px rgba(139, 209, 63, 0.6);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==============================================================================
   HEADER & NAVIGATION
   ============================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green-glow);
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-brand-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: -4px;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

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

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

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

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

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
  padding: calc(var(--header-height) + 60px) 0 80px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(139, 209, 63, 0.08) 0%, transparent 60%);
}

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

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.store-badge-btn:hover {
  border-color: var(--accent-green);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.store-icon {
  width: 26px;
  height: 26px;
}

.store-text-group {
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.store-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-specs-row {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.hero-spec-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-green);
}

.hero-spec-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Device Preview Frame */
.hero-preview-frame {
  position: relative;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(135deg, var(--border-highlight), var(--border-color));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 209, 63, 0.15);
}

.hero-screen-img {
  border-radius: 10px;
  width: 100%;
  display: block;
}

/* ==============================================================================
   FEATURES SECTION
   ============================================================================== */
.features-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: var(--accent-green);
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-green);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

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

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(139, 209, 63, 0.12);
  border: 1px solid rgba(139, 209, 63, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-green);
  font-size: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==============================================================================
   SCREENSHOTS GALLERY SECTION
   ============================================================================== */
.gallery-section {
  padding: 100px 0;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--accent-green);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(139, 209, 63, 0.2);
}

.gallery-item:nth-child(1) { grid-column: span 6; }
.gallery-item:nth-child(2) { grid-column: span 6; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }

.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:nth-child(1) .gallery-img,
.gallery-item:nth-child(2) .gallery-img {
  height: 310px;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 14, 0.95) 0%, rgba(7, 11, 14, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0.95;
}

.gallery-caption-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.gallery-caption-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-green);
  margin-top: 16px;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent-green);
}

/* ==============================================================================
   STUDIO SECTION
   ============================================================================== */
.studio-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.studio-logo-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.studio-emblem {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  margin-bottom: 16px;
  box-shadow: 0 0 24px var(--accent-green-glow);
}

.studio-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.studio-meta {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.studio-contact-list {
  list-style: none;
  margin-top: 24px;
}

.studio-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.studio-contact-item a {
  color: var(--accent-green);
}

.studio-contact-item a:hover {
  text-decoration: underline;
}

/* ==============================================================================
   LEGAL PAGES STYLING (PRIVACY & TERMS)
   ============================================================================== */
.legal-page {
  padding: calc(var(--header-height) + 40px) 0 80px 0;
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 32px;
  margin-bottom: 40px;
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-green);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 20px 0 10px 0;
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-section ul, .legal-section ol {
  color: var(--text-secondary);
  margin-left: 24px;
  margin-bottom: 18px;
}

.legal-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-callout {
  background: rgba(139, 209, 63, 0.08);
  border-left: 4px solid var(--accent-green);
  padding: 18px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

.legal-callout p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.legal-table th, .legal-table td {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  text-align: left;
}

.legal-table th {
  background: var(--bg-card);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-green);
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.site-footer {
  background: #05080A;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
}

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

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 360px;
  font-size: 0.95rem;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==============================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 32px auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-specs-row {
    justify-content: center;
  }
  .studio-card {
    grid-template-columns: 1fr;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: span 6;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: span 12;
  }
  .gallery-img,
  .gallery-item:nth-child(1) .gallery-img,
  .gallery-item:nth-child(2) .gallery-img {
    height: 220px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 24px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

