/* ============================================================
   CRIMSON EDGE STUDIO — DESIGN SYSTEM
   Futuristic · Dark · Bold · Red/Black
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:          #060608;
  --bg-2:        #0c0c10;
  --panel:       #111116;
  --panel-2:     #18181f;
  --border:      rgba(255,255,255,.07);
  --border-red:  rgba(200,0,0,.3);

  --red:         #cc0000;
  --red-bright:  #ff1a1a;
  --red-muted:   rgba(200,0,0,.15);
  --red-glow:    rgba(220,0,0,.45);

  --text:        #f0f0f5;
  --muted:       #7a7a8a;
  --dim:         #3a3a48;

  --font-display: 'Orbitron', monospace;
  --font-body:    'Rajdhani', sans-serif;

  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 20px 60px rgba(0,0,0,.6);
  --shadow-red:  0 0 40px rgba(200,0,0,.25);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── PARTICLES CANVAS ───────────────────────────────────── */
#particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .4;
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3 { font-family: var(--font-display); letter-spacing: .02em; line-height: 1.1; }
p, label, span, li { font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer; border: none;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px var(--red-glow), 0 4px 15px rgba(200,0,0,.4);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px var(--red-glow), 0 8px 25px rgba(200,0,0,.5);
  background: var(--red-bright);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-red);
}
.btn--ghost:hover {
  background: var(--red-muted);
  border-color: var(--red);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw;
  z-index: 1000;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.header.scrolled {
  background: rgba(6,6,8,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-red);
}

.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
}
.brand-logo { width: 28px; height: 28px; object-fit: contain; }
.brand-text { color: var(--text); }
.brand-accent { color: var(--red); }

.nav ul { list-style: none; display: flex; gap: 2rem; }
.nav-link {
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.lang-btn {
  font-family: var(--font-display); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em;
  padding: .4rem .9rem;
  background: transparent;
  border: 1px solid var(--border-red);
  color: var(--red);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn:hover { background: var(--red); color: #fff; }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  z-index: 1;
}

.hero__bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(200,0,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,0,0,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero__scanline {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,.03) 2px, rgba(0,0,0,.03) 4px
  );
  animation: scanlineMove 8s linear infinite;
}
@keyframes scanlineMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 80px; }
}

/* Glow behind hero */
.hero::before {
  content: ''; position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(180,0,0,.3) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -10%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(140,0,0,.15) 0%, transparent 70%);
  z-index: 0;
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 900px; padding: 0 5vw;
  animation: heroFadeIn .9s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 1.5rem;
}
.eyebrow-line {
  display: block; width: 40px; height: 1px;
  background: var(--red); opacity: .6;
}
.eyebrow-text {
  font-family: var(--font-display);
  font-size: .65rem; letter-spacing: .2em;
  color: var(--red); text-transform: uppercase;
}

.hero__title {
  display: flex; flex-direction: column;
  align-items: center; gap: .2rem;
  margin-bottom: 1.4rem;
}
.hero__title-line {
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  font-weight: 400; color: var(--muted);
  letter-spacing: .04em;
}
.hero__title-accent {
  font-size: clamp(2.8rem, 5vw + 1rem, 5.5rem);
  font-weight: 900; color: var(--text);
  line-height: 1;
  text-shadow: 0 0 60px rgba(200,0,0,.4), 0 0 120px rgba(200,0,0,.2);
  position: relative;
}
.hero__title-accent::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--red);
  clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%);
  opacity: .5;
}

.hero__typewriter {
  font-size: clamp(.9rem, 1.2vw + .6rem, 1.2rem);
  color: var(--muted);
  min-height: 1.6em; margin-bottom: 2rem;
  letter-spacing: .02em;
}

.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero__stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 20px var(--red-glow);
  line-height: 1;
}
.stat__num::after { content: '+'; font-size: .6em; vertical-align: super; }
.stat__label {
  font-size: .75rem; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
  font-family: var(--font-display);
}
.stat-divider {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
}

.hero__scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2;
}
.scroll-text {
  font-family: var(--font-display);
  font-size: .55rem; letter-spacing: .2em; color: var(--dim);
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--red) 0%, transparent 100%);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%,100% { opacity: .3; transform: scaleY(.5) translateY(-10px); }
  50% { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section {
  position: relative; z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) 5vw;
}
.section--alt { background: linear-gradient(180deg, rgba(200,0,0,.04) 0%, transparent 100%); }

.section__header {
  text-align: center; margin-bottom: 3.5rem;
}
.section__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .65rem; letter-spacing: .2em;
  color: var(--red); margin-bottom: .8rem;
}
.section__title {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.8rem);
  color: var(--text); margin-bottom: .5rem;
}
.section__sub {
  color: var(--muted); font-size: 1rem; letter-spacing: .04em;
}

/* ── PROJECT CARDS + CAROUSEL ───────────────────────────── */
.carousel-wrap {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
}
.carousel-track { overflow: hidden; flex: 1; }
.projects-row {
  display: flex; gap: 16px;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}

.card {
  flex: 0 0 calc(100% / 5 - 13px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  transform: translateZ(0);
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-red);
  box-shadow: 0 20px 50px rgba(200,0,0,.15), var(--shadow);
}

.card__img-wrap {
  position: relative; overflow: hidden;
  height: 180px;
}
.card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.card:hover .card__img-wrap img { transform: scale(1.08); }
.card__overlay {
  position: absolute; inset: 0;
  background: rgba(180,0,0,.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.card__overlay span {
  font-family: var(--font-display);
  font-size: .65rem; letter-spacing: .2em;
  color: #fff; text-transform: uppercase;
}
.card:hover .card__overlay { opacity: 1; }

.card__content { padding: 1rem 1rem 1.2rem; }
.card__content h3 {
  font-size: .85rem; margin-bottom: .4rem;
  color: var(--text);
}
.card__content p {
  font-size: .82rem; color: var(--muted); line-height: 1.4;
  margin-bottom: .7rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags span {
  font-size: .65rem; padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(200,0,0,.1);
  border: 1px solid rgba(200,0,0,.25);
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: .05em;
}

.carousel-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--border-red);
  background: var(--panel);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover {
  background: var(--red); color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--red-glow);
}

/* ── PRODUCTS ───────────────────────────────────────────── */
.section--products { background: var(--bg-2); }

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1000px; margin: 0 auto;
}

.product-gallery-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
}
.product-img-frame {
  position: relative;
  flex: 1; max-width: 360px;
}
.product-img-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(ellipse, rgba(180,0,0,.3) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { opacity: .5; }
  50% { opacity: 1; }
}
.product-img-frame img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.35;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border-red);
  display: block;
}
/* Corner decorations */
.product-img-corner {
  position: absolute; z-index: 2;
  width: 18px; height: 18px;
  border-color: var(--red); border-style: solid;
}
.product-img-corner.tl { top: -4px; left: -4px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; }
.product-img-corner.tr { top: -4px; right: -4px; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.product-img-corner.bl { bottom: -4px; left: -4px; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }
.product-img-corner.br { bottom: -4px; right: -4px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }

.prod-arrow {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; background: var(--panel);
  border: 1px solid var(--border-red);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
}
.prod-arrow svg { width: 16px; height: 16px; }
.prod-arrow:hover { background: var(--red); color: #fff; transform: scale(1.1); }

.product-index-badge {
  font-family: var(--font-display);
  font-size: .65rem; letter-spacing: .15em;
  color: var(--red); margin-bottom: 1rem;
}
.prod-sep { color: var(--dim); margin: 0 .3rem; }

.product-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem; color: var(--text);
}
.product-desc {
  color: var(--muted); font-size: 1rem;
  line-height: 1.6; margin-bottom: 2rem;
}
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── ABOUT ──────────────────────────────────────────────── */
.section--about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem; align-items: start;
}
.about-p {
  color: var(--muted); font-size: 1.05rem;
  line-height: 1.8; margin-bottom: 1.4rem;
}
.about-p strong { color: var(--text); }

.about-badges {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem;
}
.badge {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  background: var(--panel);
  border: 1px solid var(--border-red);
  border-radius: 999px;
  font-size: .85rem; color: var(--text);
}

.tech-title {
  font-size: 1rem; letter-spacing: .1em;
  color: var(--red); margin-bottom: 1.5rem;
}
.tech-grid {
  display: flex; flex-wrap: wrap; gap: .75rem;
}
.tech-card {
  width: 90px; height: 90px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .4rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  cursor: default;
  animation: floatAnim 4s ease-in-out infinite;
}
.tech-card:nth-child(odd) { animation-delay: -.5s; }
.tech-card:nth-child(3n) { animation-delay: -1.2s; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.tech-card:hover {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(200,0,0,.2);
  transform: translateY(-6px) scale(1.05) !important;
}
.tech-card img {
  width: 40px; height: 40px; object-fit: contain;
  border-radius: 6px;
}
.tech-card span {
  font-size: .6rem; font-weight: 600;
  color: var(--muted); text-align: center;
  font-family: var(--font-display); letter-spacing: .04em;
  max-width: 80px; line-height: 1.2;
}

/* ── CONTACT ────────────────────────────────────────────── */
.section--contact {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(180,0,0,.08) 0%, transparent 70%), var(--bg-2);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem; align-items: start;
  max-width: 1000px; margin: 0 auto;
}
.contact-item {
  display: flex; align-items: center; gap: .75rem;
  color: var(--muted); font-size: .95rem;
  margin-bottom: 1rem;
}
.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); }
.contact-tagline {
  font-family: var(--font-display);
  font-size: .65rem; letter-spacing: .12em;
  color: var(--red); margin-top: 1.5rem;
}

.form {
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label {
  font-family: var(--font-display);
  font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--red);
}
.form-field input, .form-field textarea {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--dim); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,0,0,.12);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--panel);
  border-top: 1px solid var(--border-red);
  padding: 2.5rem 5vw 1.5rem;
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer__brand .brand-text { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; }
.footer__brand p { color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.footer__links { display: flex; gap: 1.2rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  border-color: var(--red); color: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  text-align: center;
}
.footer__bottom p { color: var(--dim); font-size: .8rem; letter-spacing: .04em; }

/* ── PROJECT MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; }
.project-modal {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-lg);
  max-width: 800px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-red), var(--shadow);
  animation: modalIn .3s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  background: var(--red); color: #fff;
  border: none; border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--red-bright); transform: scale(1.1); }
.modal-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
.modal-gallery { position: relative; }
.modal-gallery img, .modal-gallery video{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  display: block;
}
.modal-nav {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex; justify-content: space-between; padding: 0 .5rem;
}
.modal-nav button {
  background: rgba(0,0,0,.6); color: #fff;
  border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-nav button:hover { background: var(--red); }
.modal-dots {
  position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem;
}
.modal-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background .2s;
}
.modal-dots span.active { background: var(--red); }
.modal-info { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-info h2 { font-size: 1.4rem; color: var(--text); }
.modal-info p { color: var(--muted); font-size: .95rem; line-height: 1.6; flex: 1; }
.modal-tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .card { flex: 0 0 calc(100% / 3 - 11px); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .product-container { grid-template-columns: 1fr; text-align: center; }
  .product-gallery-wrap { justify-content: center; }
  .product-actions { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-gallery img,
  .modal-gallery video {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;}
}
@media (max-width: 768px) {
  .nav {
    position: fixed; inset: 0 0 0 30%;
    background: rgba(6,6,8,.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-red);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 999;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: 1.5rem; }
  .nav-link { font-size: .85rem; }
  .hamburger { display: flex; z-index: 1001; }
  .card { flex: 0 0 calc(100% / 2 - 8px); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .card { flex: 0 0 calc(100% / 1.3 - 8px); }
  .hero__stats { gap: 1rem; }
  .stat-divider { height: 30px; }
}
