


/* =========================
   GLOBAL PROJECT BACKGROUND v2
========================= */

.project-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Deep base */
.bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,111,0,0.08), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,111,0,0.06), transparent 50%),
    #000;
}

/* Technical mesh grid */
.bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.80;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

/* Canvas particles */
#bg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Orange glow shader */
.bg-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,140,40,0.28), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(255,90,0,0.22), transparent 48%);
  filter: blur(100px);
  opacity: 0.4;
  animation: glowFloat 16s ease-in-out infinite alternate;
  z-index: 3;
}

@keyframes glowFloat {
  0% { transform: translateY(-20px) scale(1); }
  100% { transform: translateY(20px) scale(1.08); }
}


/* =========================
   PROJECT HERO — SPLIT LAYOUT
========================= */

.project-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 120px 6vw 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Inner grid */
.project-hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 6vw;
  position: relative;
  z-index: 2;
}

/* -------------------------
   LEFT CONTENT
------------------------- */

.project-hero-content {
  max-width: 520px;
}

.project-kicker {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;                 /* smaller than homepage */
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ffb380;
  display: inline-block;
  margin-bottom: 12px;
}

.project-title {
  font-family: "Michroma", sans-serif;
  font-size: clamp(28px, 4.2vw, 48px); /* intentionally smaller */
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

.project-desc {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

/* Actions */
.project-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ff6f00;
  color: #000;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
}

/* -------------------------
   RIGHT IMAGE
------------------------- */

.project-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.project-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 1100px) {
  .project-hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .project-hero-content {
    max-width: 100%;
  }

  .project-hero-visual {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 600px) {
  .project-hero {
    padding: 100px 20px 70px;
  }

  .project-title {
    font-size: clamp(24px, 8vw, 34px);
  }

  .project-desc {
    font-size: 14px;
  }
}


/* =========================
   PROJECT SHOWCASE (PANEL)
========================= */

.project-showcase {
  position: relative;
  padding: 10px 6vw;
  z-index: 2;
}

/* -------------------------
   BIG FRAME (KEY PART)
------------------------- */

.showcase-panel {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 48px 56px;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.55);

  box-shadow:
    0 60px 180px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* -------------------------
   META CONTENT
------------------------- */

.showcase-meta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.showcase-desc {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
}

.showcase-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-label {
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.spec-value {
  font-size: 15px;
  color: #fff;
}

/* -------------------------
   MEDIA AREA
------------------------- */

.showcase-media {
  display: flex;
  justify-content: center;
}

/* INNER FRAME */
.showcase-frame {
  width: min(92%, 1100px);
  border-radius: 20px;
  overflow: hidden;

  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.16);

  box-shadow:
    0 40px 120px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Screenshot */
.showcase-image {
  width: 100%;
  height: auto;
  display: block;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 1000px) {
  .showcase-meta {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .project-showcase {
    padding: 90px 20px;
  }

  .showcase-panel {
    padding: 28px 22px 36px;
    border-radius: 22px;
  }

  .showcase-specs {
    grid-template-columns: 1fr;
  }
}


/* =========================
   WHAT WE DELIVERED
========================= */

.project-delivered {
  position: relative;
  padding: 10px 6vw;
  z-index: 2;
}

.delivered-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

/* -------------------------
   LEFT CONTENT
------------------------- */

.delivered-kicker {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ff9c55;
  display: inline-block;
  margin-bottom: 12px;
}

.delivered-title {
  font-family: "Michroma", sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  margin: 0 0 18px;
  color: #fff;
}

.delivered-desc {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
}

/* -------------------------
   GRID
------------------------- */

.delivered-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Card */
.delivered-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);

  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  color: #fff;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Subtle glow dot */
.delivered-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6f00;
  box-shadow: 0 0 12px rgba(255,111,0,0.8);
}

/* Text spacing */
.delivered-card span {
  padding-left: 16px;
  display: inline-block;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 1100px) {
  .delivered-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .delivered-desc {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .project-delivered {
    padding: 90px 20px;
  }

  .delivered-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   PROJECT CTA
========================= */

.project-cta {
  position: relative;
  padding: 10px 6vw 160px;
  z-index: 2;
}

/* Main panel */
.cta-panel {
  max-width: 1400px;
  margin: 0 auto;

  padding: 70px 60px;
  border-radius: 30px;

  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.16);

  box-shadow:
    0 60px 180px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  position: relative;
  overflow: hidden;
}

/* Subtle orange glow accent */
.cta-panel::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,140,40,0.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255,90,0,0.18), transparent 50%);
  filter: blur(100px);
  opacity: 0.55;
  pointer-events: none;
}

/* Content */
.cta-content {
  position: relative;
  max-width: 760px;
  z-index: 2;
}

/* Kicker */
.cta-kicker {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #ff9c55;
  display: inline-block;
  margin-bottom: 14px;
}

/* Title */
.cta-title {
  font-family: "Michroma", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
  color: #fff;
}

/* Description */
.cta-desc {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
}

/* Actions */
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 900px) {
  .cta-panel {
    padding: 50px 32px;
  }
}

@media (max-width: 600px) {
  .project-cta {
    padding: 90px 20px 120px;
  }

  .cta-panel {
    padding: 42px 22px;
    border-radius: 22px;
  }

  .cta-title {
    font-size: clamp(24px, 7vw, 34px);
  }
}


/* =========================
   PROJECT CTA BUTTON SYSTEM
========================= */

/* Button wrapper */
.project-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Base button */
.project-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 48px;
  padding: 0 26px;

  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;

  border-radius: 999px;
  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Primary button */
.project-cta-btn-primary {
  background: linear-gradient(
    135deg,
    #ff8c28,
    #ff5a00
  );
  color: #000;
  border: none;

  box-shadow:
    0 12px 36px rgba(255, 120, 40, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

/* Secondary button */
.project-cta-btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);

  backdrop-filter: blur(12px);
}

/* Hover (desktop only) */
@media (hover: hover) {
  .project-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
      0 20px 60px rgba(255, 120, 40, 0.5),
      inset 0 1px 0 rgba(255,255,255,0.45);
  }

  .project-cta-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-2px);
  }
}

/* Active (tap feedback) */
.project-cta-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* -------------------------
   MOBILE REFINEMENT
------------------------- */

@media (max-width: 600px) {
  .project-cta-buttons {
    gap: 10px;
  }

  .project-cta-btn {
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
  }
}
