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

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

:root {
  --red: #FF341F;
  --red-glow: #ff341f80;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --gray: #888888;
  --light: #f0f0f0;
  --white: #ffffff;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  cursor: pointer;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loading-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 50px;
  gap: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  transition: background 0.4s, backdrop-filter 0.4s;

}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
}

.navbar>.logo {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 100px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 52, 31, 0.5));
}

/* ===== NAV SEARCH ===== */
.nav-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 52, 31, 0.2);
  border-radius: 50px;
  overflow: hidden;
  flex: 0 1 400px;
  min-width: 0;
  height: 46px;
  transition: all 0.3s ease;
}

.nav-search:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(255, 52, 31, 0.3);
}

.nav-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 20px;
  color: var(--white);
  font-size: 15px;
  outline: none;
  height: 100%;
  font-family: var(--font-main);
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.nav-search button {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-left: 1px solid rgba(255, 52, 31, 0.2);
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.3s;
}

.nav-search button:hover {
  background: var(--red);
}

.nav-search button svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: flex-end;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-left: 8%;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 80%, rgba(10, 10, 10, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  padding: 0;
}

.hero-tag {
  display: inline-block;
  font-size: clamp(10px, 2vw, 14px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 8px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 15px;
}

.hero h1 .accent {
  color: var(--red);
}

.hero p {
  font-size: clamp(12px, 2.5vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 450px;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--red-glow);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--red);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 100px 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  color: var(--gray);
  font-size: 15px;
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ===== CINEMATIC LAYOUT ===== */
.gallery-layout {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== YOUTUBE EMBED ===== */
.yt-embed-wrapper {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px #1a1a1a;
  position: relative;
}

.yt-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.cinematic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cinematic-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.cinematic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s;
}

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

.cinematic-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  transition: background 0.4s;
}

.cinematic-card:hover .overlay {
  background: linear-gradient(0deg, rgba(255, 52, 31, 0.7) 0%, rgba(255, 52, 31, 0.1) 60%);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 52, 31, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cinematic-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 30px var(--red-glow);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 3px;
}

.card-info {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.card-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-info span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

/* ===== TECHLINE LAYOUT ===== */
.techline-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.techline-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid rgba(255, 52, 31, 0.2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.techline-card:nth-child(1) {
  grid-row: span 2;
}

.techline-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.techline-card .tech-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(255, 52, 31, 0.08));
  transition: all 0.4s;
}

.techline-card:hover .tech-overlay {
  background: rgba(255, 52, 31, 0.15);
}

.tech-frame {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 52, 31, 0.25);
  pointer-events: none;
  transition: border-color 0.3s;
}

.techline-card:hover .tech-frame {
  border-color: rgba(255, 52, 31, 0.6);
  box-shadow: inset 0 0 30px rgba(255, 52, 31, 0.1);
}

.tech-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-left: 2px solid var(--red);
}

.tech-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.tech-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.tech-info span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.laser-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
  width: 60%;
  left: 0;
  opacity: 0.4;
}

.laser-line:nth-child(1) {
  top: 30%;
}

.laser-line:nth-child(2) {
  top: 70%;
  width: 40%;
}

.tech-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s;
  background: rgba(0, 0, 0, 0.5);
}

.techline-card:hover .tech-play {
  opacity: 1;
}

.tech-play svg {
  width: 18px;
  height: 18px;
  fill: var(--red);
  margin-left: 2px;
}

/* ===== BRUTALIST LAYOUT ===== */
.brutalist-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brutalist-card {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}

.brutalist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
  transition: all 0.4s;
}

.brutalist-card:hover img {
  filter: grayscale(50%);
}

.brutalist-text {
  position: absolute;
  bottom: 20px;
  left: 30px;
  z-index: 2;
}

.brutalist-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.brutalist-text .role {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-top: 8px;
  display: block;
}

.brutalist-card .brut-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.brutalist-card:hover .brut-overlay {
  background: linear-gradient(90deg, rgba(255, 52, 31, 0.5) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.brut-number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--dark-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
}

.stat-item .stat-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 52, 31, 0.15);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 52, 31, 0.15), transparent);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.contact-detail .label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-detail .value {
  font-size: 15px;
  color: var(--white);
  margin-top: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  background: var(--dark-3);
  border: 1px solid #333;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.btn-submit:hover {
  background: #e02a15;
  box-shadow: 0 8px 30px var(--red-glow);
}

/* ===== FOOTER ===== */
.footer {
  background: #050505;
  padding: 50px 50px 30px;
  border-top: 1px solid #1a1a1a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left .footer-logo img {
  height: 50px;
  margin-bottom: 14px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-left .footer-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 52, 31, 0.5));
}

.footer-left p {
  font-size: 14px;
  color: var(--gray);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-dev-link img {
  height: 35px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-dev-link:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.footer-right span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 1px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
  font-size: 12px;
  color: #555;
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  padding: 30px 0;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
  gap: 60px;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.marquee-item::after {
  content: '•';
  opacity: 0.4;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== STATS ===== */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 80px 50px;
  background: var(--dark-3);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.stat-box {
  text-align: center;
  border-right: 1px solid #333;
}

.stat-box:last-child {
  border-right: none;
}

.stat-box .number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-box .label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
}

/* ===== PROMO VIDEOS ===== */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: all 0.5s;
}

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

.promo-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  transition: background 0.4s;
}

.promo-card:hover .overlay {
  background: linear-gradient(0deg, rgba(255, 52, 31, 0.7) 0%, rgba(255, 52, 31, 0.1) 60%);
}

.promo-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 52, 31, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 40px var(--red-glow);
}

.promo-card .play-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
  margin-left: 4px;
}

.promo-card .card-info {
  position: absolute;
  bottom: 24px;
  left: 30px;
  right: 30px;
  z-index: 2;
}

.promo-card .card-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.promo-card .card-info span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== REFERENCES LOGO MARQUEE ===== */
.logo-marquee-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.logo-marquee-track {
  display: flex;
  width: max-content;
}

.logo-marquee-content {
  display: flex;
  align-items: center;
}

.logo-marquee-content img {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: all 0.4s;
  margin-right: 80px;
}

.logo-marquee-content img:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
  opacity: 1;
  transform: scale(1.05);
}

.right-to-left {
  animation: slide-rtl 40s linear infinite;
}

.left-to-right {
  animation: slide-ltr 40s linear infinite;
  transform: translateX(-50%);
}

@keyframes slide-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes slide-ltr {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* ===== VIDEO PAGE ===== */
.video-page-wrapper {
  max-width: 1400px;
  margin: 120px auto 60px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

.video-player-container {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-player-container video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  outline: none;
}

.video-details {
  margin-top: 24px;
}

.video-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray);
  font-size: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid #222;
  margin-bottom: 24px;
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-desc {
  background: var(--dark-3);
  padding: 20px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.comments-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 24px;
}

.comment-form {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

/* ===== INSTAGRAM STYLE POSTS ===== */
.page-header {
  padding: 180px 50px 80px;
  text-align: center;
  background: #050505;
  border-bottom: 1px solid #1a1a1a;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-title .accent {
  color: var(--red);
}

.posts-section {
  padding: 80px 20px;
  background: var(--dark-2);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 350px));
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ig-post {
  background: #000000;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ig-post:hover {
  border-color: #333;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.ig-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
}

.ig-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 4px;
  border: 1px solid #333;
}

.ig-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ig-username {
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.ig-location {
  font-size: 11px;
  color: var(--gray);
}

.ig-more {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  padding: 4px;
}

.ig-more svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ig-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #111;
  overflow: hidden;
}

.ig-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: transform 0.5s;
}

.ig-post:hover .ig-image img {
  transform: scale(1.02);
  filter: grayscale(0%);
}

.ig-actions {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.ig-actions button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  display: flex;
  transition: all 0.2s;
}

.ig-actions button:hover {
  color: var(--red);
  transform: scale(1.1);
}

.ig-actions svg {
  width: 24px;
  height: 24px;
}

.ig-actions-left {
  display: flex;
  gap: 16px;
}

.ig-content {
  padding: 0 16px 16px;
}

.ig-likes {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.ig-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 8px;
}

.ig-caption-user {
  font-weight: 700;
  color: white;
  margin-right: 4px;
}

.ig-comments-link {
  display: block;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.ig-comments-link:hover {
  color: white;
}

.ig-time {
  font-size: 10px;
  color: #666;
  letter-spacing: 1px;
}

.comment-form img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-form input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  color: var(--white);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s;
}

.comment-form input:focus {
  border-color: var(--red);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment-item {
  display: flex;
  gap: 16px;
}

.comment-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-content h4 span {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
}

.comment-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.related-videos h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 24px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-card {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.related-thumb {
  width: 160px;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-card:hover .related-thumb img {
  transform: scale(1.05);
}

.related-thumb .time {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
}

.related-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-info span {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 2px;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== RESPONSIVE ===== */

/* ---- Large Desktop (1440px+) ---- */
@media (min-width: 1440px) {
  .section {
    padding: 100px 80px;
  }

  .navbar {
    padding: 24px 80px;
  }

  .stats-banner {
    padding: 80px 80px;
  }

  .footer {
    padding: 60px 80px 30px;
  }

  .ig-grid {
    max-width: 1400px;
    grid-template-columns: repeat(3, minmax(320px, 420px));
  }
}

/* ---- Medium Desktop (max 1200px) ---- */
@media (max-width: 1200px) {
  .navbar {
    padding: 20px 40px;
  }

  .navbar .logo img {
    height: 80px;
  }

  .nav-search {
    flex: 0 1 300px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 11px;
    letter-spacing: 2px;
  }
}

/* ---- Tablet Landscape / Small Desktop (max 1024px) ---- */
@media (max-width: 1024px) {
  .navbar {
    padding: 16px 30px;
  }

  .navbar .logo img {
    height: 70px;
  }

  .nav-search {
    flex: 0 1 250px;
    height: 42px;
  }

  .nav-search input {
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-search button {
    padding: 0 14px;
  }

  .nav-links {
    gap: 12px;
  }

  .section {
    padding: 80px 30px;
  }

  .stats-banner {
    padding: 60px 30px;
  }

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

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

  .techline-card:nth-child(1) {
    grid-row: span 1;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .video-page-wrapper {
    grid-template-columns: 1fr;
  }

  .ig-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  }

  .logo-marquee-content img {
    height: 48px;
    margin-right: 60px;
  }

  .marquee-item {
    font-size: 17px;
  }

  .chat-popup {
    width: 55vw;
  }
}

/* ---- Tablet Portrait (max 768px) ---- */
@media (max-width: 900px) {
  .nav-search {
    display: none;
  }
}

@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 14px 20px;
  }

  .navbar .logo img {
    height: 60px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 20px;
    gap: 20px;
    backdrop-filter: blur(20px);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 0 20px 80px 20px;
    align-items: flex-end;
    min-height: 100svh;
  }

  .hero-bg img {
    object-position: center top;
  }

  .hero-content {
    text-align: left;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(22px, 7vw, 38px);
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 14px;
    max-width: 100%;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 11px;
  }

  /* Sections */
  .section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

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

  /* Stats */
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 40px 20px;
  }

  .stat-box {
    border-right: none;
    border-bottom: 1px solid #333;
    padding: 24px 0;
  }

  .stat-box:last-child {
    border-bottom: none;
  }

  .stat-box .number {
    font-size: 40px;
  }

  /* Grids */
  .cinematic-grid {
    grid-template-columns: 1fr;
  }

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

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

  .brutalist-card {
    height: 180px;
  }

  .brutalist-text h2 {
    font-size: clamp(22px, 5vw, 36px);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-text h3 {
    font-size: 24px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-item .stat-num {
    font-size: 28px;
  }

  /* Logo marquee */
  .logo-marquee-content img {
    height: 38px;
    max-width: 140px;
    margin-right: 40px;
  }

  .logo-marquee-container {
    gap: 30px;
  }

  /* Marquee banner */
  .marquee-item {
    font-size: 14px;
    gap: 30px;
  }

  /* Instagram Posts */
  .ig-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
  }

  .posts-section {
    padding: 40px 20px;
  }

  .page-header {
    padding: 130px 20px 50px;
  }

  .page-title {
    font-size: clamp(28px, 6vw, 48px);
  }

  /* Video page */
  .video-page-wrapper {
    grid-template-columns: 1fr;
    margin: 100px 20px 40px;
    padding: 0;
  }

  .video-meta {
    gap: 10px;
    font-size: 12px;
  }

  .video-title {
    font-size: 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-right {
    flex-direction: row;
  }

  /* Chat */
  .chat-widget {
    bottom: 20px;
    left: 16px;
  }

  .chat-toggle {
    width: 52px;
    height: 52px;
  }

  .chat-popup {
    width: calc(100vw - 32px);
    min-width: unset;
    max-width: unset;
    height: 70vh;
    left: 0;
  }
}

/* ---- Mobile (max 480px) ---- */
@media (max-width: 480px) {
  .navbar .logo img {
    height: 50px;
  }

  .hero h1 {
    font-size: clamp(20px, 8vw, 32px);
  }

  .video-meta {
    gap: 8px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .video-meta span {
    gap: 4px;
  }

  .video-title {
    font-size: 18px;
  }

  .hero p {
    font-size: 13px;
  }

  .section {
    padding: 40px 16px;
  }

  .section-title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .stats-banner {
    grid-template-columns: 1fr 1fr;
    padding: 30px 16px;
  }

  .stat-box .number {
    font-size: 34px;
  }

  .brutalist-card {
    height: 140px;
  }

  .brutalist-text h2 {
    font-size: 20px;
  }

  .brut-number {
    font-size: 48px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item .stat-num {
    font-size: 24px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .logo-marquee-content img {
    height: 30px;
    max-width: 110px;
    margin-right: 30px;
  }

  .logo-marquee-container {
    gap: 20px;
  }

  .marquee-item {
    font-size: 12px;
    gap: 20px;
    letter-spacing: 2px;
  }

  .ig-grid {
    max-width: 100%;
  }

  .ig-post {
    border-radius: 4px;
  }

  .footer {
    padding: 30px 16px 16px;
  }

  .footer-left .footer-logo img {
    height: 40px;
  }

  .footer-right {
    flex-wrap: wrap;
  }

  .chat-popup {
    height: 80vh;
  }
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 52, 31, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-toggle svg {
  width: 30px;
  height: 30px;
}

.chat-popup {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 45vw;
  min-width: 350px;
  max-width: 700px;
  height: 60vh;
  min-height: 500px;
  background: var(--dark-2);
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.chat-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.chat-header {
  background: #000;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}

.chat-header h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.chat-close:hover {
  color: white;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.chat-body p {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.chat-body form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.chat-body input,
.chat-body textarea {
  width: 100%;
  padding: 12px;
  background: #000;
  border: 1px solid #222;
  color: white;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s;
  font-family: var(--font-main);
}

.chat-body textarea {
  flex: 1;
  resize: none;
  min-height: 100px;
}

.chat-body input:focus,
.chat-body textarea:focus {
  border-color: var(--red);
}

.chat-body button {
  background: var(--red);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}

.chat-body button:hover {
  background: #d02213;
}