/* =========================================================
   Tomasekk Development Portfolio V2
   style.css — Part 1/3
   ========================================================= */

:root {
  --bg: #09090b;
  --bg-soft: #0f0f17;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.1);
  --border-purple: rgba(139, 92, 246, 0.32);

  --purple: #8b5cf6;
  --purple-2: #a855f7;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;

  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #cbd5e1;

  --green: #22c55e;
  --yellow: #facc15;
  --red: #ef4444;

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;

  --shadow-purple: 0 0 60px rgba(139, 92, 246, 0.28);
  --shadow-cyan: 0 0 60px rgba(34, 211, 238, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 8%, rgba(139, 92, 246, 0.22), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(34, 211, 238, 0.14), transparent 28%),
    radial-gradient(circle at 55% 105%, rgba(168, 85, 247, 0.16), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  opacity: 0.55;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,0.12), transparent 20%),
    radial-gradient(circle at 20% 70%, rgba(34,211,238,0.08), transparent 22%);
  transition: background 0.12s linear;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.page-glow::before,
.page-glow::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.34;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

.page-glow::before {
  left: -180px;
  top: 220px;
  background: radial-gradient(circle, rgba(139,92,246,0.55), transparent 65%);
}

.page-glow::after {
  right: -180px;
  top: 560px;
  background: radial-gradient(circle, rgba(34,211,238,0.38), transparent 65%);
  animation-delay: 1.7s;
}

@keyframes floatGlow {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(90px) scale(1.12);
  }
}

/* Scroll progress */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 18px rgba(139,92,246,0.75);
}

/* Loader */

.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background:
    radial-gradient(circle at 50% 30%, rgba(139,92,246,0.22), transparent 36%),
    #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  width: min(520px, 90vw);
  padding: 38px;
  border-radius: 30px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow: var(--shadow-purple);
  backdrop-filter: blur(22px);
  text-align: center;
}

.loader-box h1 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #ffffff, var(--purple), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loader-box p {
  color: var(--muted-2);
  margin-bottom: 20px;
}

.loader-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin-bottom: 12px;
}

.loader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 28px rgba(34,211,238,0.5);
  transition: width 0.35s ease;
}

.loader-box small {
  color: var(--cyan-2);
  font-weight: 900;
}

/* Cursor V2 */

.cursor {
  position: fixed;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: white;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 14px rgba(255,255,255,0.7),
    0 0 30px rgba(139,92,246,0.65);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.cursor::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  border: 1px solid rgba(139,92,246,0.28);
  opacity: 0.65;
}

.cursor.hover {
  width: 34px;
  height: 34px;
  background: rgba(139,92,246,0.25);
  border: 1px solid rgba(34,211,238,0.7);
  box-shadow:
    0 0 20px rgba(34,211,238,0.32),
    0 0 42px rgba(139,92,246,0.42);
}

/* Navbar */

.navbar {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 36px));
  height: 68px;
  z-index: 1000;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.64);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 18px 55px rgba(0,0,0,0.36);
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.7px;
}

.logo span {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(34,211,238,0.85);
}

.nav-status {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.nav-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34,197,94,0.9);
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted-2);
  padding: 11px 15px;
  border-radius: 999px;
  transition: 0.22s ease;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 24px rgba(139,92,246,0.18);
}

/* General */

section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title p {
  display: inline-block;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.section-title h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2.4px;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */

.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--cyan-2);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 18px;
}

.hero-text h1 {
  max-width: 720px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: -4px;
  background: linear-gradient(90deg, #ffffff, #d8b4fe, #67e8f9);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 1.8;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 15px 23px;
  border-radius: 999px;
  font-weight: 950;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.btn.primary {
  color: #07070b;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 35px rgba(139,92,246,0.35);
}

.btn.secondary {
  color: white;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

/* Hero device - clean V2 */

.hero-device {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: -55px;
  z-index: -1;
  background: radial-gradient(circle, rgba(139,92,246,0.24), transparent 62%);
  filter: blur(24px);
}

.device-screen {
  height: 510px;
  padding: 22px;
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.035)),
    linear-gradient(180deg, #171721, #07070b);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 58px 140px rgba(0,0,0,0.62),
    0 0 92px rgba(139,92,246,0.25),
    inset 0 0 46px rgba(255,255,255,0.035);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.hero-device:hover .device-screen {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-8px);
  box-shadow:
    0 66px 150px rgba(0,0,0,0.66),
    0 0 105px rgba(34,211,238,0.20),
    inset 0 0 46px rgba(255,255,255,0.035);
}

.screen-tabs {
  height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
}

.screen-tab {
  border: 0;
  outline: 0;
  border-radius: 18px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: 0.22s ease;
}

.screen-tab:hover {
  color: white;
  background: rgba(255,255,255,0.07);
}

.screen-tab.active {
  color: white;
  background: linear-gradient(90deg, rgba(139,92,246,0.85), rgba(34,211,238,0.45));
  box-shadow: 0 0 25px rgba(139,92,246,0.30);
}

.screen-preview {
  height: calc(100% - 80px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at center, rgba(139,92,246,0.18), transparent 45%),
    radial-gradient(circle at 70% 20%, rgba(34,211,238,0.10), transparent 35%),
    #050508;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screen-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 94px;
  background: transparent;
  filter: drop-shadow(0 0 34px rgba(139,92,246,0.34));
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.screen-preview img.changing {
  opacity: 0;
  transform: scale(0.94);
}

.screen-preview img[src*="securelab-logo"] {
  padding: 58px;
}

.screen-preview img[src*="ghostly-logo"] {
  padding: 118px;
}

.screen-preview img[src*="velopvp-logo"] {
  padding: 94px;
}

.screen-preview img[src*="tomasekkprotect-logo"] {
  padding: 88px;
}
/* =========================================================
   Tomasekk Development Portfolio V2
   style.css — Part 2/3
   ========================================================= */

/* Stats */

.stats {
  margin-top: -46px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: var(--shadow-purple);
}

.stats div {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.075);
  text-align: center;
  transition: 0.25s ease;
}

.stats div:hover {
  transform: translateY(-7px);
  border-color: var(--border-purple);
  box-shadow: 0 0 34px rgba(139,92,246,0.18);
}

.stats h2 {
  font-size: 42px;
  letter-spacing: -1px;
}

.stats p {
  color: var(--muted-2);
  margin-top: 7px;
  font-weight: 800;
}

/* What I Build */

.build-section {
  padding: 120px 0 70px;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.build-card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
  transition: 0.28s ease;
  position: relative;
  overflow: hidden;
}

.build-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at top left, rgba(139,92,246,0.25), transparent 42%);
  opacity: 0;
  transition: 0.28s ease;
}

.build-card:hover {
  border-color: rgba(139,92,246,0.35);
  box-shadow:
    0 28px 80px rgba(0,0,0,0.35),
    0 0 42px rgba(139,92,246,0.18);
}

.build-card:hover::before {
  opacity: 1;
}

.build-card span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(139,92,246,0.13);
  border: 1px solid rgba(139,92,246,0.26);
  color: var(--cyan-2);
  font-weight: 950;
  margin-bottom: 24px;
}

.build-card h3 {
  position: relative;
  z-index: 2;
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.build-card p {
  position: relative;
  z-index: 2;
  color: var(--muted-2);
  line-height: 1.75;
  font-weight: 600;
}

/* Products */

.products {
  padding: 120px 0 70px;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  margin-bottom: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.038);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(22px);
  box-shadow: 0 32px 90px rgba(0,0,0,0.36);
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 20% 20%, rgba(139,92,246,0.24), transparent 36%);
  opacity: 0;
  transition: 0.3s ease;
  pointer-events: none;
}

.product-card:hover {
  border-color: rgba(139,92,246,0.34);
  box-shadow:
    0 42px 105px rgba(0,0,0,0.46),
    0 0 58px rgba(139,92,246,0.18);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card[data-product="securelab"]::before {
  background: radial-gradient(circle at 20% 20%, rgba(34,211,238,0.22), transparent 36%);
}

.product-card[data-product="ghostly"]::before {
  background: radial-gradient(circle at 20% 20%, rgba(99,102,241,0.26), transparent 36%);
}

.product-card[data-product="velo"]::before {
  background: radial-gradient(circle at 20% 20%, rgba(168,85,247,0.28), transparent 36%);
}

.product-info {
  position: relative;
  z-index: 2;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.status.active {
  color: #00ffcc;
  background: rgba(0,255,204,0.1);
  border: 1px solid rgba(0,255,204,0.24);
}

.status.active::before {
  background: #00ffcc;
  box-shadow: 0 0 12px #00ffcc;
}

.status.progress {
  color: var(--cyan-2);
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.24);
}

.status.progress::before {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.status.ghost {
  color: #a5b4fc;
  background: rgba(99,102,241,0.13);
  border: 1px solid rgba(99,102,241,0.28);
}

.status.ghost::before {
  background: #818cf8;
  box-shadow: 0 0 12px #818cf8;
}

.status.community {
  color: #d8b4fe;
  background: rgba(139,92,246,0.13);
  border: 1px solid rgba(139,92,246,0.28);
}

.status.community::before {
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}

.product-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 28px rgba(139,92,246,0.25),
    inset 0 0 18px rgba(255,255,255,0.035);
}

.product-info h3 {
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.product-info p {
  color: var(--muted-2);
  line-height: 1.8;
  max-width: 610px;
  font-size: 16.5px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 850;
  transition: 0.22s ease;
}

.tags span:hover {
  color: white;
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 0 20px rgba(139,92,246,0.18);
}

/* Product Showcase */

.product-showcase {
  min-height: 360px;
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(139,92,246,0.18), transparent 48%),
    radial-gradient(circle at 70% 20%, rgba(34,211,238,0.1), transparent 35%),
    #050508;
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: translateX(-120%);
  transition: 0.8s ease;
}

.product-card:hover .product-showcase::before {
  transform: translateX(120%);
}

.product-showcase img {
  width: min(260px, 70%);
  height: min(260px, 70%);
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(139,92,246,0.36));
  transition: 0.28s ease;
}

.product-card:hover .product-showcase img {
  transform: scale(1.06) rotate(-1deg);
}

.product-showcase.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.86;
  filter: contrast(1.08) saturate(1.05);
}

.product-showcase.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.66), transparent 52%),
    radial-gradient(circle at 50% 20%, transparent, rgba(0,0,0,0.22));
  pointer-events: none;
}

.showcase-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  border: 0;
  outline: 0;
  padding: 14px 20px;
  border-radius: 999px;
  color: #08080b;
  font-weight: 950;
  cursor: pointer;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 32px rgba(139,92,246,0.35);
  transition: 0.22s ease;
  white-space: nowrap;
}

.showcase-btn:hover {
  transform: translateX(-50%) translateY(-4px);
  filter: brightness(1.1);
}

/* Current Focus */

.current-focus {
  padding: 110px 0 70px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.focus-card {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
  transition: 0.25s ease;
}

.focus-card:hover {
  transform: translateY(-7px);
  border-color: rgba(34,211,238,0.28);
  box-shadow: 0 0 38px rgba(34,211,238,0.13);
}

.focus-card .pulse {
  display: inline-flex;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 15px rgba(34,197,94,0.9);
  margin-bottom: 20px;
  animation: statusPulse 1.8s ease-in-out infinite;
}

.focus-card h3 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.focus-card p {
  color: var(--muted-2);
  font-weight: 750;
}
/* =========================================================
   Tomasekk Development Portfolio V2
   style.css — Part 3/3
   ========================================================= */

/* Tech Stack */

.stack {
  padding: 110px 0 70px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.stack-card {
  min-height: 175px;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  text-align: center;
}

.stack-card:hover {
  border-color: rgba(139,92,246,0.38);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.34),
    0 0 38px rgba(139,92,246,0.2);
}

.stack-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 14px rgba(139,92,246,0.25));
}

.stack-card h3 {
  font-size: 18px;
  margin-bottom: 7px;
}

.stack-card p {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 750;
}

/* About */

.about {
  padding: 115px 0;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 56px;
  align-items: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 38px;
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow:
    0 35px 90px rgba(0,0,0,0.45),
    0 0 55px rgba(139,92,246,0.24);
}

.about-text h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -2px;
  max-width: 850px;
}

.about-text p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 1.85;
  max-width: 780px;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-pills span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 850;
}

/* Timeline */

.timeline {
  padding: 90px 0 80px;
}

.timeline-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-line::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  opacity: 0.32;
  z-index: 0;
}

.timeline-line div {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
  transition: 0.25s ease;
}

.timeline-line div:hover {
  transform: translateY(-8px);
  border-color: rgba(34,211,238,0.28);
  box-shadow: 0 0 38px rgba(34,211,238,0.13);
}

.timeline-line span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--cyan-2);
  font-weight: 950;
}

.timeline-line p {
  color: var(--muted-2);
  line-height: 1.65;
  font-weight: 650;
}

/* Contact */

.contact {
  padding: 110px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-grid a,
.contact-grid button {
  text-decoration: none;
  min-height: 155px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  color: white;
  font-size: 24px;
  font-weight: 950;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.contact-grid a::before,
.contact-grid button::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at top left, rgba(139,92,246,0.25), transparent 40%);
  opacity: 0;
  transition: 0.25s ease;
}

.contact-grid a:hover,
.contact-grid button:hover {
  transform: translateY(-8px);
  border-color: rgba(34,211,238,0.3);
  box-shadow:
    0 28px 80px rgba(0,0,0,0.35),
    0 0 42px rgba(34,211,238,0.18);
}

.contact-grid a:hover::before,
.contact-grid button:hover::before {
  opacity: 1;
}

.contact-grid span {
  display: block;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 15px;
  font-weight: 750;
  position: relative;
  z-index: 2;
}

/* Footer */

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

footer p {
  font-weight: 950;
  font-size: 18px;
  margin-bottom: 7px;
}

footer span {
  color: var(--muted-2);
  font-weight: 700;
}

/* Gallery Modal */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  padding: 30px;
}

.gallery-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: min(1100px, 92vw);
  text-align: center;
}

.modal-content p {
  color: var(--cyan-2);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.modal-content img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 28px;
  border: 1px solid rgba(139,92,246,0.42);
  box-shadow:
    0 0 80px rgba(139,92,246,0.35),
    0 0 120px rgba(34,211,238,0.16);
  transition: 0.18s ease;
}

.modal-content img.changing {
  opacity: 0;
  transform: scale(0.96);
}

#modalCounter {
  display: inline-flex;
  margin-top: 16px;
  color: var(--muted-2);
  font-weight: 850;
}

.modal-close,
.modal-arrow {
  position: fixed;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  z-index: 100000;
  transition: 0.2s ease;
  backdrop-filter: blur(14px);
}

.modal-close {
  top: 28px;
  right: 34px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  font-size: 32px;
}

.modal-close:hover {
  background: rgba(239,68,68,0.75);
  transform: scale(1.08);
}

.modal-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 999px;
  font-size: 44px;
}

.modal-arrow:hover {
  background: rgba(139,92,246,0.45);
  box-shadow: 0 0 36px rgba(139,92,246,0.45);
}

.modal-prev {
  left: 34px;
}

.modal-next {
  right: 34px;
}

/* Toast */

.mini-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 99999;
  padding: 14px 18px;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: rgba(15,15,23,0.84);
  border: 1px solid rgba(139,92,246,0.35);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 35px rgba(139,92,246,0.35);
  opacity: 0;
  transform: translateY(14px);
  transition: 0.25s ease;
  pointer-events: none;
}

.mini-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1080px) {
  .navbar {
    grid-template-columns: 1fr;
    height: auto;
    border-radius: 28px;
    padding: 16px;
  }

  .nav-status {
    display: none;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 190px;
    gap: 46px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .device-screen {
    transform: none;
  }

  .hero-device:hover .device-screen {
    transform: translateY(-6px);
  }

  .stats {
    margin-top: 30px;
    grid-template-columns: repeat(2, 1fr);
  }

  .build-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    max-width: 340px;
    margin: 0 auto;
  }

  .about-pills {
    justify-content: center;
  }

  .timeline-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-line::before {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  section {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 210px;
  }

  .hero-text h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .screen-tabs {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .device-screen {
    height: 360px;
    border-radius: 28px;
    padding: 16px;
  }

  .screen-preview {
    height: calc(100% - 120px);
  }

  .screen-preview img {
    padding: 55px;
  }

  .stats,
  .focus-grid,
  .stack-grid,
  .timeline-line {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 22px;
  }

  .product-showcase {
    min-height: 280px;
  }

  .product-info h3,
  .section-title h2,
  .about-text h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .modal-arrow {
    width: 48px;
    height: 48px;
    font-size: 34px;
  }

  .modal-prev {
    left: 14px;
  }

  .modal-next {
    right: 14px;
  }

  .modal-close {
    right: 18px;
    top: 18px;
  }
}

/* Polish */

::selection {
  background: rgba(139,92,246,0.55);
  color: white;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #07070a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--cyan));
  border-radius: 999px;
}
.modal-video {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 28px;
  border: 1px solid rgba(139,92,246,0.42);
  box-shadow:
    0 0 80px rgba(139,92,246,0.35),
    0 0 120px rgba(34,211,238,0.16);
}