:root {
  --bg: #050816;
  --bg-soft: #0a1024;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f6f8ff;
  --muted: #a8b0c7;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #2f8cff;
  --cyan: #28d7ff;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 140, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.16), transparent 30rem),
    linear-gradient(180deg, #050816 0%, #06091a 42%, #050816 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 110px 0;
  position: relative;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #050816;
}

.loader-card {
  width: min(340px, calc(100% - 40px));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.loader-code {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  margin-bottom: 14px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.22), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  filter: blur(34px);
  background: radial-gradient(circle, rgba(47, 140, 255, 0.5), transparent 62%);
  transform: translate(-50%, -50%);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 900;
  pointer-events: none;
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.brand,
.nav-menu,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 40px rgba(47, 140, 255, 0.35);
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

.nav-menu {
  gap: 8px;
}

.nav-menu a {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
  border-radius: 999px;
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta,
.btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta {
  padding: 12px 17px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 140, 255, 0.6);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
  transition: 0.25s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
}

.hero-bg,
.hero-bg span {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.52;
}

.orb-one {
  left: -180px;
  top: 110px;
  background: radial-gradient(circle, rgba(47, 140, 255, 0.36), transparent 68%);
}

.orb-two {
  right: -170px;
  top: 80px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), transparent 70%);
}

.grid-mask {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 55%, transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.hero-title,
.section-heading h2,
.about-content h2,
.skills-copy h2,
.contact-copy h2,
.cta-card h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-title {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2.9rem, 5.15vw, 4.85rem);
  line-height: 1.04;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 18px 50px rgba(47, 140, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 42px;
}

.quick-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  font-size: 1.45rem;
}

.quick-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 140, 255, 0.22), transparent 38%),
    rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.visual-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.visual-topbar span:first-child { background: #ff5f57; }
.visual-topbar span:nth-child(2) { background: #ffbd2e; }
.visual-topbar span:nth-child(3) { background: #28c840; }
.visual-topbar p {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.code-window {
  padding: 28px;
}

.code-window pre {
  overflow: auto;
  color: #dbeafe;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.75;
}

.muted { color: #93c5fd; }
.string { color: #5eead4; }

.visual-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 28px;
}

.visual-footer span,
.skill-cloud span,
.about-points span,
.project-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.075);
}

.visual-footer span {
  padding: 9px 12px;
  font-size: 0.86rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: white;
  font-weight: 800;
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.card-one { left: -18px; top: 90px; }
.card-two { right: -18px; top: 245px; }
.card-three { left: 62px; bottom: 74px; }

.logo-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.strip-track {
  width: max-content;
  display: flex;
  gap: 16px;
  padding: 18px 0;
  animation: marquee 24s linear infinite;
}

.strip-track span {
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 900;
}

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

.about-grid,
.skills-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  align-items: center;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.portrait-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.availability-pill {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(5, 8, 22, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
}

.availability-pill span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.18);
}

.about-content h2,
.skills-copy h2,
.contact-copy h2,
.cta-card h2,
.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.about-content p,
.section-heading p,
.skills-copy p,
.contact-copy p,
.cta-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.about-content p {
  margin-top: 20px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-points span {
  padding: 11px 13px;
  font-weight: 800;
  font-size: 0.88rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  margin-top: 15px;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.project-card,
.process-step,
.cta-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 260px;
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover,
.project-card:hover,
.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 140, 255, 0.45);
  background: var(--card-strong);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.service-card h3,
.project-card h3,
.process-step h3 {
  margin-top: 22px;
  font-size: 1.3rem;
}

.service-card p,
.project-card p,
.process-step p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

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

.project-card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.project-thumb {
  min-height: 260px;
  display: flex;
  align-items: end;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.project-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.project-thumb span {
  position: relative;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.thumb-creative { background: radial-gradient(circle at 20% 20%, #ff7a18, transparent 34%), linear-gradient(135deg, #121826, #4f46e5); }
.thumb-magic { background: radial-gradient(circle at 80% 10%, #22d3ee, transparent 30%), linear-gradient(135deg, #1e1b4b, #7c3aed); }
.thumb-bathroom { background: radial-gradient(circle at 20% 80%, #c4b5fd, transparent 32%), linear-gradient(135deg, #111827, #0f766e); }
.thumb-spaceglam { background: radial-gradient(circle at 78% 15%, #f0abfc, transparent 28%), linear-gradient(135deg, #020617, #334155); }
.thumb-lets { background: radial-gradient(circle at 20% 20%, #60a5fa, transparent 32%), linear-gradient(135deg, #07101f, #1d4ed8); }

.project-body {
  padding: 24px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.project-meta span {
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #dbeafe;
}

.project-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 900;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.skill-cloud span {
  min-height: 52px;
  padding: 0 18px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.12), rgba(139, 92, 246, 0.09));
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.process-step span {
  color: var(--cyan);
  font-weight: 900;
}

.cta-card {
  overflow: hidden;
  position: relative;
  padding: clamp(30px, 7vw, 72px);
  background:
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.28), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(47, 140, 255, 0.26), transparent 36%),
    rgba(255, 255, 255, 0.07);
}

.cta-card p:last-of-type {
  max-width: 680px;
  margin-top: 18px;
}

.contact-grid {
  grid-template-columns: 0.86fr 1.14fr;
}

.contact-card {
  padding: 18px;
}

.contact-card a {
  display: block;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.contact-card a:hover {
  border-color: rgba(47, 140, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-card strong {
  margin-top: 6px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  word-break: break-word;
}

 .site-footer {
  position: relative;
  padding: 38px 0 44px;
  color: var(--muted);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(780px, 80vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(47, 140, 255, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: #fff;
  font-family: var(--heading);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 0.86rem;
}

.footer-brand-block p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 140, 255, 0.55);
  background: rgba(47, 140, 255, 0.12);
}


.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
}

@media (max-width: 1024px) {
  .section-pad { padding: 86px 0; }
  .hero-grid,
  .about-grid,
  .skills-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: auto; }
  .hero-title { max-width: 820px; font-size: clamp(3rem, 7vw, 4.4rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { top: 10px; }
  .nav { border-radius: 24px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 86px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5, 8, 22, 0.92);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: 0.25s ease;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-menu a { padding: 14px 16px; }
  .nav-cta { display: none; }
  .hero { padding-top: 128px; }
  .quick-stats,
  .service-grid,
  .project-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .project-thumb { min-height: 230px; }
  .floating-card { display: none; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section-pad { padding: 72px 0; }
  .nav { height: 64px; padding: 0 12px; }
  .brand-text { display: none; }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.15rem); line-height: 1.06; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .visual-shell { border-radius: 24px; }
  .code-window { padding: 20px; }
  .visual-footer { padding: 0 20px 20px; }
  .about-content h2,
  .skills-copy h2,
  .contact-copy h2,
  .cta-card h2,
  .section-heading h2 { font-size: clamp(2.15rem, 12vw, 3rem); }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 20px;
  }
  .footer-links { width: 100%; }
  .footer-links a { flex: 1 1 auto; text-align: center; }
  .scroll-top-btn {
    width: 52px;
    height: 52px;
    justify-self: end;
  }
}

/* ==============================
   Hero visual compact alignment fix
   ============================== */
.hero-visual {
  width: 100%;
  max-width: 540px;
  min-height: 430px;
  margin-left: auto;
  align-self: center;
}

.visual-shell {
  max-width: 540px;
  margin-left: auto;
  border-radius: 28px;
}

.visual-topbar {
  padding: 14px 18px;
}

.visual-topbar span {
  width: 10px;
  height: 10px;
}

.visual-topbar p {
  font-size: 0.78rem;
}

.code-window {
  padding: 22px 24px 18px;
}

.code-window pre {
  overflow: hidden;
  white-space: pre-wrap;
  word-break: normal;
  font-size: clamp(0.74rem, 0.94vw, 0.88rem);
  line-height: 1.62;
}

.visual-footer {
  gap: 8px;
  padding: 0 24px 24px;
}

.visual-footer span {
  padding: 8px 11px;
  font-size: 0.78rem;
}

.floating-card {
  border-radius: 16px;
  padding: 11px 14px;
  font-size: 0.86rem;
  line-height: 1;
}

.card-one {
  left: 18px;
  top: -18px;
}

.card-two {
  right: -8px;
  top: 220px;
}

.card-three {
  left: 58px;
  bottom: -28px;
}

@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.78fr);
    gap: 64px;
  }
}

@media (max-width: 1024px) {
  .hero-visual {
    max-width: 680px;
    margin-inline: auto;
    min-height: 380px;
  }

  .visual-shell {
    max-width: 680px;
    margin-inline: auto;
  }

  .code-window pre {
    font-size: clamp(0.78rem, 2vw, 0.92rem);
  }

  .card-one,
  .card-two,
  .card-three {
    display: none;
  }
}

@media (max-width: 540px) {
  .hero-visual {
    min-height: auto;
  }

  .visual-topbar {
    padding: 12px 14px;
  }

  .code-window {
    padding: 18px 16px 14px;
  }

  .code-window pre {
    font-size: clamp(0.66rem, 3vw, 0.78rem);
    line-height: 1.55;
  }

  .visual-footer {
    padding: 0 16px 18px;
  }
}


/* Final cleanup: no floating hero labels */
.hero-visual {
  min-height: auto !important;
}
.floating-card,
.card-one,
.card-two,
.card-three {
  display: none !important;
}
