/* ===== Variables ===== */
:root {
  --bg-dark: #08080f;
  --bg-card: #11111c;
  --bg-elevated: #1a1a2e;
  --orange: #f15a24;
  --orange-bright: #ff7a3d;
  --orange-glow: rgba(241, 90, 36, 0.45);
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --blue: #2563eb;
  --blue-bright: #3d8bff;
  --blue-glow: rgba(37, 99, 235, 0.45);
  --purple: #6b2fa0;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ===== Particles Canvas ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45em;
  line-height: 1;
  white-space: nowrap;
}

.nav__brand-main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.nav__brand-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  padding: 8px 20px !important;
  border: 2px solid var(--orange) !important;
  border-radius: 6px;
  color: var(--orange) !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav__cta:hover {
  background: var(--orange) !important;
  color: var(--bg-dark) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 40%, rgba(8, 8, 15, 0.92) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(8, 8, 15, 0.85) 0%, rgba(8, 8, 15, 0.5) 45%, rgba(8, 8, 15, 0.95) 100%),
    linear-gradient(to right, rgba(8, 8, 15, 0.9) 0%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 6rem;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
  background: rgba(241, 90, 36, 0.1);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
  font-size: clamp(2rem, 6vw, 4.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow:
    -2px -2px 0 rgba(0, 0, 0, 0.95),
     2px -2px 0 rgba(0, 0, 0, 0.95),
    -2px  2px 0 rgba(0, 0, 0, 0.95),
     2px  2px 0 rgba(0, 0, 0, 0.95),
     0    4px 12px rgba(0, 0, 0, 0.8);
}

.hero__title-line--accent {
  color: #ffc233;
  -webkit-text-fill-color: #ffc233;
  background: none;
  filter: none;
  text-shadow:
    -3px -3px 0 #000,
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000,
     0    0   8px rgba(0, 0, 0, 0.9),
     0    0   24px rgba(241, 90, 36, 0.5);
}

.hero__title-line--white {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.hero__subtitle {
  max-width: 560px;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 24px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--orange-glow);
}

.btn--download {
  background: linear-gradient(135deg, #3d8bff, #2563eb);
  color: var(--white);
  border-color: #2563eb;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.05em;
}

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

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section--dark {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section__tag span,
.section__tag {
  color: var(--orange);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== Asset Showcase ===== */
.asset__showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.asset__main-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.asset__main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(241, 90, 36, 0.15);
  border-color: rgba(241, 90, 36, 0.4);
}

.asset__main-card img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.asset__main-card:hover img {
  transform: scale(1.03);
}

.asset__main-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(8,8,15,0.95));
}

.asset__engine {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange);
  color: var(--bg-dark);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.asset__main-card-label h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.gallery__item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery__item--full {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(241, 90, 36, 0.2);
  border-color: rgba(241, 90, 36, 0.4);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item figcaption,
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(8,8,15,0.9));
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.gallery__item:hover figcaption,
.gallery__item:hover .gallery__caption {
  color: var(--orange);
}

/* ===== Features Grid ===== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 90, 36, 0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px var(--orange-glow));
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

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

/* ===== About ===== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  width: 100%;
  max-width: 340px;
}

.brand-logo--large {
  filter: drop-shadow(0 0 30px var(--orange-glow));
  animation: float 4s ease-in-out infinite;
}

.brand-logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.brand-logo__slash {
  color: var(--orange);
}

.brand-logo__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  width: 100%;
}

.brand-logo__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.brand-logo__line {
  flex: 1 1 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.brand-logo__sub-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 0.15em;
  transform: translateX(0.2em);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about__text .section__tag,
.about__text .section__title {
  text-align: left;
}

.about__lead {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about__quote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--orange);
  background: rgba(241, 90, 36, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}

.about__quote .accent {
  color: var(--orange);
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.about__engines {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.engine-badge {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all var(--transition);
}

.engine-badge:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ===== Contact ===== */
.contact__inner {
  text-align: center;
}

.contact__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

.contact__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--orange);
  padding: 1rem 2rem;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.contact__email:hover {
  background: var(--orange);
  color: var(--bg-dark);
  box-shadow: 0 8px 32px var(--orange-glow);
  transform: translateY(-2px);
}

.contact__note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Mobile Nav ===== */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(8, 8, 15, 0.97);
  backdrop-filter: blur(16px);
  padding: 2rem;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about__visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__brand-main,
  .nav__brand-sub { font-size: 0.85rem; letter-spacing: 0.06em; }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery__item,
  .gallery__item--full {
    grid-column: 1;
    aspect-ratio: 16 / 9;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    gap: 1.5rem;
  }
  .hero__title-line {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
  }
}
