
html {
  scroll-behavior: smooth;
}

:root {
  --red: #d72125;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat';
}

h1,
h1 span {
  font-family: "Montserrat", sans-serif !important;
}

h1 span,
h1.outline,
.hero h1 span {
  color: #d72125 !important;
  -webkit-text-fill-color: #d72125 !important;
  -webkit-text-stroke: 0 !important;
}

h1 {
  font-size: clamp(44px, 5.2vw, 82px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
textarea,
label,
small,
li {
  font-family: "Montserrat", sans-serif !important;
}

body {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* CANVAS */
#canvas-container {
  position: fixed;
  inset: 0;
  z-index: -1;
}

#canvas-container canvas {
  display: block;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 8%;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--red);
}

/* HERO */
.hero {
  height: 100vh;
  padding: 0 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 90px;
  line-height: 0.9;
}

.hero span {
  color: var(--red);
}

.hero .hero-tags {
  margin-top: 20px;
  opacity: 0.8;
  font-size: 20px;
  padding-left: 10px;
}

.hero .hero-desc {
  max-width: 900px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.6;

  padding-left: 10px;
}

/* GLASS */
:root {
  --red: #d72125;
  --black: #050505;
  --glass-red: rgba(215, 33, 37, 0.25);
}

/* ===============================
   FEATURES SECTION
================================ */

.features {
  position: relative;
  padding: 120px 6%;
  overflow: hidden;
}

/* ===============================
   SECTION HEADING
================================ */

/* ===============================
   CREATIVE STACK HEADING
================================ */

.creative-stack {
  text-align: center;
  margin-bottom: 90px;
  position: relative;
  z-index: 2;
}

.creative-stack h2 {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  display: inline-flex;
  gap: 22px;
}

/* White Text */
.creative-stack .white {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.25);
}

/* Red Text */
.creative-stack .red {
  color: #ff2a2a;

}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .creative-stack h2 {
    font-size: 38px;
    letter-spacing: 8px;
    gap: 14px;
  }
}


/* ===============================
   GRID
================================ */

.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  position: relative;
  z-index: 2;
}

/* ===============================
   GLASS CARD
================================ */

.glass-card {
  position: relative;
  padding: 42px 36px;
  border-radius: 18px;

  background: linear-gradient(135deg,
      rgba(255, 0, 0, 0.12),
      rgba(0, 0, 0, 0.65));

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 0, 0, 0.25);

  box-shadow:
    0 25px 45px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  transition: all 0.45s ease;
  overflow: hidden;
}

/* ===============================
   CARD TEXT
================================ */

.glass-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.glass-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ===============================
   GLOW EFFECT
================================ */

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 0, 0, 0.35),
      transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* ===============================
   HOVER EFFECT
================================ */

.glass-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(255, 0, 0, 0.65);

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(255, 0, 0, 0.35);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .section-heading h2 {
    font-size: 36px;
  }

  .features {
    padding: 90px 5%;
  }

  .glass-card {
    padding: 36px 28px;
  }
}


/* SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-glass {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 26, 26, 0.2);
}

/* CTA */
.cta {
  padding: 160px 12%;
  text-align: center;
}

.cta h2 {
  font-size: 5rem;
}

.cta span {
  color: var(--red);
}

.cta button {
  margin-top: 40px;
  padding: 20px 60px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ================= REELS GRID 4x FORMAT ================= */

/* SECTION */
.reels-grid-section {
  padding: 160px 8%;
  position: relative;
  z-index: 2;
}

/* GRID – 4x2 */
.reels-grid-vertical {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* CARD */
.reel-grid {
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;

  transition:
    transform 0.35s ease,
    filter 0.4s ease,
    box-shadow 0.4s ease;
}

/* VIDEO */
.reel-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  filter: brightness(1);
  transition: filter 0.35s ease;
}

/* ACTIVE REEL */
.reel-grid:hover,
.reel-grid.is-active {
  transform: translateY(-4px);
  box-shadow:
    0 18px 44px rgba(255, 26, 26, 0.28),
    0 0 28px rgba(255, 26, 26, 0.18);
}

/* ================= YOUTUBE VIDEO SHOWCASE ================= */
.youtube-showcase {
  position: relative;
  z-index: 2;
  padding: 40px 8% 140px;
}

.youtube-title {
  margin-bottom: 42px;
}

.youtube-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.youtube-video-shell {
  min-width: 0;
}

.youtube-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(215, 33, 37, 0.45);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(215, 33, 37, 0.16);
}

.youtube-thumbnail {
  position: relative;
  display: block;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.youtube-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.youtube-thumbnail img {
  object-fit: cover;
  filter: brightness(0.78);
  transition: filter 0.35s ease, transform 0.45s ease;
}

.youtube-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #d72125;
  box-shadow: 0 18px 46px rgba(215, 33, 37, 0.42);
}

.youtube-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid #fff;
}

.youtube-thumbnail:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 33, 37, 0.9);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.7),
    0 0 42px rgba(215, 33, 37, 0.28);
}

.youtube-thumbnail:hover img {
  filter: brightness(0.92);
  transform: scale(1.03);
}

.youtube-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.youtube-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.youtube-popup {
  position: relative;
  width: min(92vw, 1080px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(215, 33, 37, 0.5);
  box-shadow:
    0 45px 100px rgba(0, 0, 0, 0.95),
    0 0 42px rgba(215, 33, 37, 0.2);
  transform: scale(0.92);
  opacity: 0;
  transition: all 0.35s ease;
}

.youtube-overlay.active .youtube-popup {
  transform: scale(1);
  opacity: 1;
}

.youtube-popup-frame,
.youtube-popup-frame iframe {
  width: 100%;
  height: 100%;
}

.youtube-popup-frame iframe {
  display: block;
  border: 0;
}

.close-youtube-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease;
}

.close-youtube-btn:hover {
  background: rgba(215, 33, 37, 0.95);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .reels-grid-vertical {
    grid-template-columns: repeat(2, 1fr);
  }

  .youtube-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .reels-grid-vertical {
    grid-template-columns: 1fr;
  }

  .youtube-showcase {
    padding: 20px 6% 100px;
  }

  .youtube-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .youtube-thumbnail {
    border-radius: 14px;
  }

  .youtube-popup {
    width: 94vw;
    border-radius: 14px;
  }

  .youtube-play {
    width: 62px;
    height: 62px;
  }

  .youtube-play::before {
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 20px;
  }
}





:root {
  --bg: #030303;
  --red-glow: rgba(255, 0, 21, 0.4);
}

body {
  background: var(--bg);
  margin: 0;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  /* A wide, modern font */
}

.stack-wrapper {
  position: relative;
  padding: 100px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title {
  color: white;
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: 15px;
  margin-bottom: 80px;
  /* text-shadow: 0 0 20px var(--red-glow); */
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* The Cyber-Glass Module */
.glass-module {

  backdrop-filter: blur(15px);
  border-left: 4px solid var(--accent);
  padding: 30px;
  transform: skewX(-5deg);
  /* Slanted look */
  transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.glass-module:hover {
  transform: skewX(-2deg) scale(1.05);
  background: rgba(255, 0, 21, 0.05);
  box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5), 10px 0 30px var(--red-glow);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  transform: skewX(5deg);
  /* Counter-skew text */
}

.id-tag {
  font-size: 0.8rem;
  padding: 2px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.tool-group {
  list-style: none;
  padding: 0;
  transform: skewX(5deg);
}

.tool-group li {
  color: #aaa;
  font-size: 22px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 300;
  transition: 0.3s;
}

.tool-group li:hover {
  color: white;
  padding-left: 10px;
  letter-spacing: 2px;
}

/* ===== OVERLAY (FORCE CENTER) ===== */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== POPUP CARD (PREMIUM MODAL) ===== */
.contact-popup {
  position: relative;
  margin: 0;

  width: min(92%, 460px);
  padding: 48px 44px;
  border-radius: 24px;

  background:
    radial-gradient(120% 120% at top left, rgba(255, 255, 255, 0.10), transparent 40%),
    linear-gradient(180deg, #0b0b0b, #050505);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 45px 100px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transform: translateY(32px) scale(0.92);
  opacity: 0;
  transition: all 0.45s ease;
}

.contact-overlay.active .contact-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===== TITLE ===== */
.contact-popup h3 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 32px;
}

/* ===== INPUTS ===== */
.contact-popup input,
.contact-popup textarea {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 14px;

  border-radius: 14px;
  background: linear-gradient(180deg, #101010, #070707);
  border: 1px solid rgba(255, 255, 255, 0.08);

  color: #fff;
  font-size: 0.95rem;

  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.8),
    0 8px 24px rgba(0, 0, 0, 0.65);

  transition: all 0.3s ease;
}

.contact-popup textarea {
  min-height: 110px;
  resize: none;
}

.contact-popup input:focus,
.contact-popup textarea:focus {
  outline: none;
  border-color: rgba(215, 33, 37, 0.9);
  box-shadow:
    0 0 0 1px rgba(215, 33, 37, 0.6),
    0 14px 34px rgba(215, 33, 37, 0.28),
    inset 0 2px 6px rgba(0, 0, 0, 0.9);
}

.contact-popup ::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* ===== BUTTON ===== */
.contact-popup button {
  margin-top: 12px;
  padding: 16px;
  width: 100%;

  border-radius: 16px;
  border: none;

  background: linear-gradient(135deg, #e01e23, #9c1216);
  color: #fff;

  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.6px;

  cursor: pointer;

  box-shadow:
    0 20px 45px rgba(215, 33, 37, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  transition: all 0.35s ease;
}

.contact-popup button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 65px rgba(215, 33, 37, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ===== CLOSE BUTTON ===== */
.close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.6;
}

.close-btn:hover {
  opacity: 1;
}

/* ===== BACKGROUND SAFETY ===== */
.bg-system,
#wireframe-canvas {
  pointer-events: none;
}

/* CTA */
.cta {
  text-align: center;
  padding: 120px 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 65%);
  position: relative;
  z-index: 5;
}

.cta h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 2px;
}

.cta span {
  color: #d72125;
}

.cta button {
  margin-top: 40px;
  padding: 16px 42px;
  font-size: 1rem;
  background: linear-gradient(135deg, #d72125, #700b0d);
  border: none;
  color: #fff;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.cta button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(215, 33, 37, 0.4);
}

/* ===== FULL MODULE RESPONSIVE LAYER ===== */
.logo img {
  display: block;
  height: 76px !important;
  width: auto;
}

@media (max-width: 1100px) {
  nav {
    padding: 0 5%;
  }

  .hero {
    padding: 0 5%;
  }

  .hero h1 {
    font-size: clamp(46px, 8vw, 78px);
  }

  .hero p {
    font-size: 18px;
  }

  .creative-stack h2 {
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: 8px;
  }

  .reels-grid-section {
    padding: 110px 5%;
  }

  .reels-grid-vertical {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .logo img {
    height: 76px !important;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 120px 16px 35px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 56px);
    line-height: 1;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
    padding-left: 0;
  }

  .features {
    padding: 72px 16px;
  }

  .creative-stack {
    margin-bottom: 42px;
  }

  .creative-stack h2 {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: 4px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .glass-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-card {
    padding: 20px 16px;
  }

  .stack-wrapper {
    padding: 70px 16px;
  }

  .main-title {
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-align: center;
  }

  .stack-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-module {
    transform: none;
    padding: 20px 16px;
  }

  .module-header,
  .tool-group {
    transform: none;
  }

  .tool-group li {
    font-size: 16px;
    padding: 8px 0;
  }

  .reels-grid-section {
    padding: 70px 16px;
  }

  .reels-header h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
    margin-bottom: 24px !important;
  }

  .reels-grid-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .reel-grid {
    border-radius: 12px;
  }

  .cta {
    padding: 72px 16px;
  }

  .cta h2 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.05;
  }

  .cta button {
    margin-top: 24px;
    width: 100%;
    max-width: 320px;
    padding: 13px 20px;
  }

  .contact-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 14px;
  }

  .contact-popup {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    padding: 34px 16px 20px;
    border-radius: 18px;
  }

  .contact-popup h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .contact-popup input,
  .contact-popup textarea {
    padding: 12px;
    font-size: 14px;
  }
}
/* ===== FULL MODULE RESPONSIVE LAYER ===== */
.logo img {
  display: block;
  height: 76px !important;
  width: auto;
}

@media (max-width: 1100px) {
  nav {
    padding: 0 5%;
  }

  .hero {
    padding: 0 5%;
  }

  .hero h1 {
    font-size: clamp(46px, 8vw, 78px);
  }

  .hero p {
    font-size: 18px;
  }

  .creative-stack h2 {
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: 8px;
  }

  .reels-grid-section {
    padding: 110px 5%;
  }

  .reels-grid-vertical {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .logo img {
    height: 76px !important;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 120px 16px 35px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 56px);
    line-height: 1;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
    padding-left: 0;
  }

  .features {
    padding: 72px 16px;
  }

  .creative-stack {
    margin-bottom: 42px;
  }

  .creative-stack h2 {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: 4px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .glass-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-card {
    padding: 20px 16px;
  }

  .stack-wrapper {
    padding: 70px 16px;
  }

  .main-title {
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-align: center;
  }

  .stack-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-module {
    transform: none;
    padding: 20px 16px;
  }

  .module-header,
  .tool-group {
    transform: none;
  }

  .tool-group li {
    font-size: 16px;
    padding: 8px 0;
  }

  .reels-grid-section {
    padding: 70px 16px;
  }

  .reels-header h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
    margin-bottom: 24px !important;
  }

  .reels-grid-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .reel-grid {
    border-radius: 12px;
  }

  .cta {
    padding: 72px 16px;
  }

  .cta h2 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.05;
  }

  .cta button {
    margin-top: 24px;
    width: 100%;
    max-width: 320px;
    padding: 13px 20px;
  }

  .contact-overlay {
  letter-spacing: 2px;
}

.cta span {
  color: #d72125;
}

.cta button {
  margin-top: 40px;
  padding: 16px 42px;
  font-size: 1rem;
  background: linear-gradient(135deg, #d72125, #700b0d);
  border: none;
  color: #fff;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.cta button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(215, 33, 37, 0.4);
}


  .contact-popup input,
  .contact-popup textarea {
    padding: 12px;
    font-size: 14px;
  }
}
/* ===== FULL MODULE RESPONSIVE LAYER ===== */
.logo img {
  display: block;
  height: 76px !important;
  width: auto;
}

@media (max-width: 1100px) {
  nav {
    padding: 0 5%;
  }

  .hero {
    padding: 0 5%;
  }

  .hero h1 {
    font-size: clamp(46px, 8vw, 78px);
  }

  .hero p {
    font-size: 18px;
  }

  .creative-stack h2 {
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: 8px;
  }

  .reels-grid-section {
    padding: 110px 5%;
  }

  .reels-grid-vertical {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .logo img {
    height: 76px !important;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 120px 16px 35px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 56px);
    line-height: 1;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
    padding-left: 0;
  }

  .features {
    padding: 72px 16px;
  }

  .creative-stack {
    margin-bottom: 42px;
  }

  .creative-stack h2 {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: 4px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .glass-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-card {
    padding: 20px 16px;
  }

  .stack-wrapper {
    padding: 70px 16px;
  }

  .main-title {
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-align: center;
  }

  .stack-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glass-module {
    transform: none;
    padding: 20px 16px;
  }

  .module-header,
  .tool-group {
    transform: none;
  }

  .tool-group li {
    font-size: 16px;
    padding: 8px 0;
  }

  .reels-grid-section {
    padding: 70px 16px;
  }

  .reels-header h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
    margin-bottom: 24px !important;
  }

  .reels-grid-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .reel-grid {
    border-radius: 12px;
  }

  .cta {
    padding: 72px 16px;
  }

  .cta h2 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.05;
  }

  .cta button {
    margin-top: 24px;
    width: 100%;
    max-width: 320px;
    padding: 13px 20px;
  }

  .contact-overlay {
    align-items: flex-start;
    overflow-y: auto;
    padding: 14px;
  }

  .contact-popup {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    padding: 34px 16px 20px;
    border-radius: 18px;
  }

  .contact-popup h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .contact-popup input,
  .contact-popup textarea {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .reels-grid-vertical {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(32px, 10.8vw, 46px);
  }

  .hero p {
    font-size: 15px;
  }
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 50px;
  padding: 0 5%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
}

.filter-tabs::-webkit-scrollbar {
  display: block;
  height: 4px;
}
.filter-tabs::-webkit-scrollbar-thumb {
  background: rgba(215, 33, 37, 0.5);
  border-radius: 10px;
}
.filter-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.center-tabs {
  justify-content: center !important;
  margin-top: -30px;
}
@media (max-width: 768px) {
  .center-tabs {
    justify-content: flex-start !important;
    margin-top: -15px;
  }
}

.filter-btn {
  white-space: nowrap;
  flex: 0 0 auto;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 26px;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(215, 33, 37, 0.25);
  border-color: rgba(215, 33, 37, 0.8);
  color: #fff;
  box-shadow: 0 0 25px rgba(215, 33, 37, 0.35);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .hero-desc {
  font-size: clamp(18px, 1.55vw, 23px) !important;
  line-height: 1.75 !important;
  max-width: 1040px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero h1,
.hero .hero-tags,
.hero .hero-desc {
  position: relative;
  z-index: 2;
}

.hero-side-element {
  position: absolute;
  right: -2%;
  top: 52%;
  width: clamp(420px, 42vw, 760px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.34;
  pointer-events: none;
  z-index: 1;
}

.hero-side-element::before,
.hero-side-element::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(215, 33, 37, 0.42);
  transform: rotate(45deg);
  box-shadow: 0 0 34px rgba(215, 33, 37, 0.18);
}

.hero-side-element::after {
  inset: 28%;
  border-color: rgba(255, 255, 255, 0.18);
  transform: rotate(45deg) scale(0.86);
}

.hero-side-element span {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 33, 37, 0.72), transparent);
}

.hero-side-element span:nth-child(1) { top: 28%; }
.hero-side-element span:nth-child(2) { top: 50%; transform: rotate(-22deg); }
.hero-side-element span:nth-child(3) { top: 72%; }

@media (max-width: 900px) {
  .hero-side-element {
    display: none;
  }
}

/* ===== VIDEO OVERLAY POPUP ===== */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.video-popup {
  position: relative;
  width: min(90%, 500px);
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.95);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.45s ease;
}

.video-overlay.active .video-popup {
  transform: scale(1);
  opacity: 1;
}

.video-popup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-popup .close-video-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.video-popup .close-video-btn:hover {
  background: rgba(215, 33, 37, 0.9);
}
