
:root {
  --bg: #f9faff;
  --white: #fff;
  --ink: #18152f;
  --muted: #77758c;
  --primary: #7555f6;
  --secondary: #ad78ff;
  --border: #e9e7f5;
  --gradient: linear-gradient(120deg, #7555f6, #b17aff, #f09dc7);
  --shadow: 0 24px 70px rgba(76, 55, 151, .1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 15%, #e9e2ff 0, transparent 30%),
    radial-gradient(circle at 90% 70%, #ffe7f1 0, transparent 30%);
}

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(1180px, 90%);
  margin-inline: auto;
}

::selection {
  background: #cbbcff;
  color: #24104f;
}

/* Scroll progress */

.progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 4px;
  width: 0;
  background: var(--gradient);
  z-index: 1000;
  box-shadow: 0 0 15px #9574ff;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(150, 110, 255, .13),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s;
}

/* Navigation */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(220, 215, 245, .7);
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -.7px;
  direction: ltr;
}

.brand-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--gradient);
  box-shadow: 0 8px 22px #7555f650;
  font-size: 23px;
}

.brand-icon span,
.footer-brand span {
  color: #f4b9f4;
}

.brand-last {
  color: #a09bb4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #666078;
  font-size: 14px;
  font-weight: 600;
  transition: .3s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-contact {
  background: var(--ink);
  color: white;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 13px;
  transition: .3s;
}

.nav-contact:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.nav-contact span {
  margin-right: 8px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--ink);
}

/* Hero */

.hero {
  min-height: 850px;
  padding-top: 170px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid #e2dbff;
  background: #ffffffb8;
  border-radius: 100px;
  color: #6651c7;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 30px;
}

.status-dot,
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42c99b;
  box-shadow: 0 0 0 5px #42c99b25;
  animation: pulse 2s infinite;
}

.eyebrow-line {
  width: 30px;
  height: 1px;
  background: #c8b9ff;
}

.intro {
  color: #6d6683;
  font-size: 24px;
  margin-bottom: 6px;
}

.hero h1 {
  font-size: clamp(46px, 5.3vw, 83px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.35;
  white-space: nowrap;
}

.gradient-text {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

.star {
  color: #f1a8d4;
  font-size: 32px;
  display: inline-block;
  animation: rotate 12s linear infinite;
  vertical-align: top;
}

.role {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  margin-top: 15px;
  min-height: 44px;
}

#typewriter {
  color: var(--primary);
}

.caret {
  color: var(--primary);
  animation: blink .7s infinite;
}

.hero-description {
  max-width: 530px;
  line-height: 2.3;
  color: var(--muted);
  margin-top: 23px;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 26px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .3s, box-shadow .3s, background .3s;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-5px);
}

.btn-primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 12px 30px #7555f64a;
}

.btn-primary:hover {
  box-shadow: 0 18px 40px #7555f675;
}

.btn-secondary {
  background: white;
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 38px;
  font-size: 11px;
  color: #9690a7;
}

.hero-meta > span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-meta > span:last-child {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 1px;
}

/* Hero artwork */

.hero-art {
  height: 480px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.orbit {
  position: absolute;
  border: 1px dashed #cbbcf8;
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.orbit-one {
  width: 420px;
  height: 420px;
}

.orbit-two {
  width: 330px;
  height: 330px;
  animation-direction: reverse;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  animation: float 8s ease-in-out infinite;
}

.blob-one {
  width: 300px;
  height: 300px;
  background: #d8c9ff;
  opacity: .75;
}

.blob-two {
  width: 210px;
  height: 210px;
  background: #ffcce4;
  left: 15%;
  bottom: 0;
  opacity: .65;
  animation-delay: -4s;
}

.code-card {
  width: min(100%, 455px);
  background: #1d1b32;
  border: 1px solid #ffffff20;
  border-radius: 23px;
  box-shadow:
    0 35px 90px #27204945,
    0 0 0 8px #ffffff65;
  overflow: hidden;
  transform: rotate(-4deg);
  transition: transform .25s ease;
  position: relative;
  z-index: 3;
  direction: ltr;
}

.code-top {
  height: 50px;
  background: #29263f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 19px;
  color: #a9a5c3;
  font-family: monospace;
  font-size: 12px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b7c;
}

.dots i:nth-child(2) {
  background: #ffd166;
}

.dots i:nth-child(3) {
  background: #55d6a5;
}

.code-content {
  padding: 30px 20px;
  font-family: Consolas, Monaco, monospace;
  color: #e9e5ff;
  font-size: clamp(10px, 1.15vw, 14px);
  line-height: 2.3;
  white-space: nowrap;
  overflow-x: auto;
}

.code-content em {
  font-style: normal;
  color: #66617e;
  margin-right: 12px;
}

.purple { color: #b69aff; }
.blue { color: #8acbff; }
.green { color: #8fe1b4; }
.orange { color: #ffc68a; }

.code-cursor {
  color: #b69aff;
  animation: blink .7s infinite;
}

.float-chip {
  position: absolute;
  z-index: 4;
  padding: 13px 19px;
  border: 1px solid #ffffff;
  border-radius: 15px;
  background: #ffffffd9;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  animation: float 5s ease-in-out infinite;
}

.chip-one {
  top: 28px;
  right: -15px;
}

.chip-two {
  bottom: 35px;
  left: -15px;
  animation-delay: -2.5s;
}

.chip-two span {
  color: #46d3a0;
}

.floating-shape {
  position: absolute;
  color: #ac86ff;
  font-size: 45px;
  animation: float 6s infinite;
}

.shape-a {
  top: 10px;
  left: 25px;
}

.shape-b {
  bottom: 5px;
  right: 20px;
  color: #f3a3d1;
  animation-delay: -3s;
}

.scroll-hint {
  position: absolute;
  bottom: 35px;
  right: 0;
  color: #9993a9;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-hint span {
  font-size: 23px;
  animation: bounce 2s infinite;
}

/* Marquee */

.marquee {
  overflow: hidden;
  background: #ede7ff;
  border-block: 1px solid #e1d7ff;
  padding: 20px 0;
  transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #8b73d3;
  letter-spacing: 3px;
  padding-right: 30px;
}

/* Sections */

.section {
  padding-top: 125px;
  padding-bottom: 125px;
}

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font: 700 13px "Space Grotesk", sans-serif;
  letter-spacing: 2px;
  direction: ltr;
  margin-bottom: 17px;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 51px);
  font-weight: 900;
  line-height: 1.5;
}

.section-heading p {
  color: var(--muted);
  line-height: 2;
  margin-top: 12px;
}

.section-heading.center {
  text-align: center;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

.about-main {
  position: relative;
  overflow: hidden;
  background: white;
  padding: 55px;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.quote-mark {
  position: absolute;
  top: -25px;
  left: 30px;
  font: 160px Georgia, serif;
  color: #f0eaff;
}

.about-main h3 {
  position: relative;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.7;
}

.about-main h3 span {
  color: var(--primary);
}

.about-main p {
  color: var(--muted);
  line-height: 2.5;
  margin-top: 20px;
  max-width: 550px;
}

.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  color: var(--primary);
  font-weight: 800;
  margin-top: 35px;
  transition: gap .3s;
}

.text-link:hover {
  gap: 30px;
}

.about-aside {
  display: grid;
  gap: 17px;
}

.stat-card {
  background: linear-gradient(135deg, #7555f6, #ad78ff);
  border-radius: 27px;
  padding: 30px;
  color: white;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px #7555f63a;
}

.stat-icon {
  font-size: 29px;
}

.stat-card strong {
  font: 700 78px "Space Grotesk", sans-serif;
  line-height: 1.2;
}

.stat-card > span:last-child {
  font-size: 13px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 17px;
  background: white;
  padding: 21px 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.mini-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: #f1ebff;
  border-radius: 14px;
  color: var(--primary);
  font-size: 23px;
}

.mini-card div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-card strong {
  font: 700 15px "Space Grotesk", sans-serif;
}

.mini-card small {
  color: var(--muted);
}

/* Skills */

.skills-section {
  background: linear-gradient(180deg, #f1efff, #fafaff);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-card {
  min-height: 220px;
  background: #fff;
  padding: 27px;
  border: 1px solid #e8e3f6;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ded2ff50, transparent 65%);
  opacity: 0;
  transition: opacity .35s;
}

.skill-card:hover {
  transform: translateY(-12px);
  border-color: #c9b9ff;
  box-shadow: 0 22px 45px #7555f620;
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  margin-bottom: 25px;
  font: 800 24px "Space Grotesk", sans-serif;
}

.skill-symbol.js { background: #fff2b7; color: #8a6800; }
.skill-symbol.html { background: #ffe3d6; color: #ed642c; }
.skill-symbol.css { background: #dfeaff; color: #3278e5; }
.skill-symbol.php { background: #e7e6ff; color: #6865af; font-size: 19px; }
.skill-symbol.wp { background: #dff4ff; color: #21759b; }
.skill-symbol.java { background: #ffe6df; color: #df704e; }
.skill-symbol.c { background: #e1e9ff; color: #4162b8; }

.skill-card h3 {
  position: relative;
  direction: ltr;
  text-align: right;
  font: 700 19px "Space Grotesk", sans-serif;
}

.skill-card p {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.skill-arrow {
  position: absolute;
  left: 25px;
  bottom: 24px;
  color: #b4a5df;
  transition: .3s;
}

.skill-card:hover .skill-arrow {
  transform: translate(4px, -4px);
  color: var(--primary);
}

/* Projects */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}

.project-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow);
}

.project-art {
  height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.project-one .project-art {
  background: linear-gradient(135deg, #d8ccff, #f3dcff);
}

.project-two .project-art {
  background: linear-gradient(135deg, #cbeeff, #e3ddff);
}

.mock-window {
  width: 72%;
  height: 220px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 25px 60px #53469b35;
  transform: rotate(-7deg) translateY(25px);
  transition: .5s;
  overflow: hidden;
}

.project-card:hover .mock-window {
  transform: rotate(-2deg) translateY(12px) scale(1.05);
}

.mock-header {
  height: 35px;
  background: #29253d;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}

.mock-header i {
  width: 8px;
  height: 8px;
  background: #ff7587;
  border-radius: 50%;
}

.mock-header i:nth-child(2) { background: #ffd479; }
.mock-header i:nth-child(3) { background: #7ee0ae; }

.mock-content {
  padding: 30px;
}

.mock-heading {
  width: 65%;
  height: 22px;
  border-radius: 8px;
  background: #ad91ff;
  margin-bottom: 18px;
}

.mock-line {
  width: 90%;
  height: 10px;
  background: #e7e1f7;
  border-radius: 5px;
  margin-bottom: 10px;
}

.mock-line.short {
  width: 65%;
}

.mock-button {
  width: 95px;
  height: 28px;
  background: #7555f6;
  border-radius: 8px;
  margin-top: 20px;
}

.phone-mock {
  width: 155px;
  height: 275px;
  border: 7px solid #29253d;
  background: white;
  border-radius: 28px;
  transform: rotate(9deg) translateY(30px);
  box-shadow: 0 25px 55px #53469b35;
  transition: .5s;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 18px;
}

.project-card:hover .phone-mock {
  transform: rotate(2deg) translateY(15px) scale(1.06);
}

.phone-top {
  width: 48px;
  height: 7px;
  background: #29253d;
  border-radius: 10px;
}

.phone-circle {
  width: 80px;
  height: 80px;
  border-radius: 25px;
  background: linear-gradient(135deg, #7555f6, #e3a0d8);
  display: grid;
  place-items: center;
  color: white;
  font-size: 45px;
  margin-top: 25px;
}

.phone-line {
  width: 95%;
  height: 9px;
  background: #e9e3f7;
  border-radius: 5px;
  margin-top: 18px;
}

.phone-line.small {
  width: 65%;
  margin-top: 8px;
}

.phone-btn {
  width: 90%;
  height: 25px;
  background: #7555f6;
  border-radius: 8px;
  margin-top: 23px;
}

.project-info {
  padding: 30px;
}

.project-info > span {
  color: var(--primary);
  font: 700 11px "Space Grotesk", sans-serif;
  letter-spacing: 1.5px;
}

.project-info h3 {
  font-size: 23px;
  margin-top: 12px;
}

.project-info p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 13px;
}

/* Contact */

.contact-section {
  padding: 50px 0;
}

.contact-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(130deg, #6241e6, #9970f9, #c98ad9);
  color: white;
  border-radius: 35px;
  padding: 100px 25px;
  isolation: isolate;
}

.contact-inner .section-kicker {
  color: #e9dcff;
}

.contact-inner h2 {
  font-size: clamp(35px, 5vw, 65px);
  line-height: 1.5;
  font-weight: 900;
}

.contact-inner h2 span {
  color: #ffe6ac;
}

.contact-inner p {
  max-width: 550px;
  margin: 20px auto 30px;
  color: #f0eaff;
  line-height: 2.2;
}

.btn-light {
  background: white;
  color: #6948df;
  position: relative;
  z-index: 2;
}

.contact-orb {
  position: absolute;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -230px;
  right: -150px;
  box-shadow: 0 0 0 50px #ffffff09;
}

.orb-b {
  width: 320px;
  height: 320px;
  bottom: -190px;
  left: -90px;
  box-shadow: 0 0 0 45px #ffffff0b;
}

/* Footer */

.footer {
  min-height: 140px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: #928ba4;
  font-size: 12px;
}

.footer-brand {
  font: 800 27px "Space Grotesk", sans-serif;
  color: var(--ink);
}

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 100px);
  opacity: 0;
  background: #25213d;
  color: white;
  padding: 14px 26px;
  border-radius: 14px;
  z-index: 200;
  transition: .4s;
  box-shadow: var(--shadow);
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity .85s cubic-bezier(.2,.7,.2,1),
    transform .85s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:nth-child(2),
.project-card:nth-child(2) {
  transition-delay: .08s;
}

.skill-card:nth-child(3) { transition-delay: .16s; }
.skill-card:nth-child(4) { transition-delay: .24s; }

/* Keyframes */

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -22px; }
}

@keyframes rotate {
  to { rotate: 360deg; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px #42c99b25; }
  50% { box-shadow: 0 0 0 10px #42c99b08; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* Responsive */

@media (max-width: 1050px) {
  .hero {
    gap: 20px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .code-card {
    width: 95%;
  }

  .orbit-one {
    width: 340px;
    height: 340px;
  }
}

@media (max-width: 800px) {
  .nav {
    height: 72px;
  }

  .menu-toggle {
    display: block;
    margin-right: auto;
  }

  .nav-contact {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffffed;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 25px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 135px;
    padding-bottom: 80px;
    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .hero-art {
    height: 410px;
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(43px, 8vw, 65px);
  }

  .scroll-hint {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .project-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 85px;
    padding-bottom: 85px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 91%;
  }

  .brand {
    font-size: 12px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: -1px;
  }

  .intro {
    font-size: 19px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-art {
    height: 340px;
  }

  .code-card {
    width: 94%;
    transform: rotate(-2deg);
  }

  .code-content {
    padding: 20px 12px;
    font-size: 10px;
  }

  .orbit-one {
    width: 285px;
    height: 285px;
  }

  .orbit-two {
    width: 220px;
    height: 220px;
  }

  .float-chip {
    font-size: 10px;
    padding: 10px;
  }

  .chip-one {
    right: 0;
  }

  .chip-two {
    left: 0;
  }

  .skills-grid {
    gap: 12px;
  }

  .skill-card {
    min-height: 190px;
    padding: 20px 15px;
  }

  .skill-symbol {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .skill-card h3 {
    font-size: 15px;
  }

  .skill-card p {
    font-size: 11px;
  }

  .about-main {
    padding: 35px 25px;
  }

  .project-art {
    height: 260px;
  }

  .contact-inner {
    padding: 75px 20px;
    border-radius: 25px;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 35px 0;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* GALAXY CYBER EDITION */
:root{--bg:#050916;--white:#101b2c;--ink:#eafaff;--muted:#9db4c6;--primary:#35f5c1;--secondary:#64a8ff;--border:rgba(87,229,220,.19);--gradient:linear-gradient(115deg,#2af5ba,#5abaff,#a57aff);--shadow:0 22px 75px rgba(0,0,0,.36)}
html{color-scheme:dark}body{background:#050916;color:var(--ink);position:relative}body::before{z-index:-2;background:radial-gradient(ellipse at 72% 12%,rgba(71,44,155,.36),transparent 40%),radial-gradient(ellipse at 18% 60%,rgba(0,170,168,.17),transparent 43%),linear-gradient(155deg,#040713,#0b1026 55%,#050916)}
#galaxyCanvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;opacity:.85}.cyber-grid{position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(rgba(58,246,204,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(58,246,204,.035) 1px,transparent 1px);background-size:68px 68px;mask-image:linear-gradient(to bottom,transparent,black 35%,black 85%,transparent)}
.nav-wrap{background:rgba(5,11,26,.77);border-bottom:1px solid var(--border)}.nav-links a{color:#a6bacb}.brand-last{color:#91a8ba}.brand-icon{color:#03121b;box-shadow:0 0 30px #20e6b555}.nav-contact{background:linear-gradient(110deg,#0f594f,#153f64);border:1px solid var(--border)}.menu-toggle{color:#eafaff}
.eyebrow{background:rgba(9,31,43,.7);border-color:rgba(46,240,188,.35);color:#72f8d5}.eyebrow-line{background:#35f5c1}.intro{color:#adc5d7}.star{color:#64e8ff}.hero-description,.section-heading p,.about-main p,.skill-card p,.project-info p{color:var(--muted)}.hero-meta{color:#a0b5c4}.btn-primary{color:#03151c;box-shadow:0 12px 38px #20e8bc33}.btn-secondary{background:rgba(10,24,41,.8);color:#eafaff;border-color:var(--border)}
.orbit{border-color:rgba(76,245,217,.35)}.blob-one{background:#1a5b9e;opacity:.5}.blob-two{background:#4e1d8d;opacity:.55}.code-card{background:rgba(7,17,33,.94);border:1px solid rgba(69,243,201,.35);box-shadow:0 25px 90px #000a,0 0 65px #2af5ba16}.code-top{background:#0b2433;color:#b3d2da}.code-content{color:#d5eff1}.float-chip{background:rgba(8,25,39,.86);border-color:rgba(81,245,204,.3);color:#e5faff}.floating-shape{color:#43f5c4}.shape-b{color:#7baaff}
.marquee{background:rgba(8,39,49,.82);border-color:rgba(54,239,194,.24)}.marquee-track span{color:#68f2cf}.about-main,.mini-card,.skill-card,.project-card{background:linear-gradient(145deg,rgba(17,35,55,.91),rgba(8,17,34,.86));border-color:var(--border);box-shadow:0 12px 50px #0004;backdrop-filter:blur(12px)}.quote-mark{color:#1b4650}.stat-card{background:linear-gradient(130deg,#086a62,#184e86)}.mini-icon{background:#103c43;color:#5efbd1}.skills-section{background:linear-gradient(180deg,rgba(8,27,45,.65),rgba(4,11,25,.4))}.skill-card:hover,.project-card:hover{border-color:#45f6c6;box-shadow:0 16px 55px #1ee5b21d}.skill-card::before{background:linear-gradient(135deg,#21eab020,transparent 65%)}.skill-arrow{color:#5feecb}
.project-one .project-art{background:linear-gradient(135deg,#103f54,#262257)}.project-two .project-art{background:linear-gradient(135deg,#132b54,#12554c)}.mock-window,.phone-mock{background:#101c31}.mock-content .mock-line,.phone-line{background:#304258}.mock-heading,.mock-button,.phone-btn{background:#31d6b1}.phone-circle{background:linear-gradient(135deg,#12a98e,#536cf0)}
.contact-inner{background:linear-gradient(130deg,#073a42,#15265b 58%,#3d235e);border:1px solid rgba(91,245,217,.28);box-shadow:inset 0 0 100px #20d6b011}.contact-inner h2 span{color:#6cf7d3}.contact-inner p{color:#c3e0e7}.contact-inner .section-kicker{color:#7ff9d8}.btn-light{background:#48f3c8;color:#03151c}.footer{color:#92a8b9}.toast{background:#0b2731;border:1px solid var(--border)}.cursor-glow{background:radial-gradient(circle,rgba(29,242,195,.13),transparent 65%)}::selection{background:#33dfb7;color:#041522}
@media(max-width:800px){.nav-links{background:rgba(5,17,31,.97);border-color:var(--border)}}@media(prefers-reduced-motion:reduce){.cyber-grid{animation:none}}


/* WHITE CARDS + GALAXY SKY + LIVE TERMINAL */
:root{--white:#fff;--shadow:0 20px 60px rgba(0,0,0,.22)}
.hero{isolation:isolate}.hero::before{content:"";position:absolute;z-index:-1;inset:65px -5vw 0;background:radial-gradient(ellipse at 65% 33%,rgba(58,74,180,.26),transparent 55%),radial-gradient(ellipse at 25% 65%,rgba(7,170,190,.14),transparent 55%);pointer-events:none}
.about-main,.mini-card,.skill-card,.project-card{background:#fff!important;color:#172235!important;border:1px solid #dce6f2!important;box-shadow:0 15px 48px rgba(0,0,0,.2)!important;backdrop-filter:none!important}
.about-main p,.skill-card p,.project-info p,.mini-card small{color:#526177!important}.about-main h3,.skill-card h3,.project-info h3,.mini-card strong{color:#172235!important}.quote-mark{color:#e6e9f6!important}.mini-icon{background:#e8fbf5!important;color:#087c65!important}.skill-card:hover,.project-card:hover{border-color:#21cda4!important;box-shadow:0 20px 55px rgba(21,206,166,.22)!important}.skill-arrow{color:#087c65!important}
.terminal-zone{padding:35px 0 20px}.live-terminal{max-width:1050px;margin:auto;border-radius:22px;overflow:hidden;background:rgba(2,10,18,.94);border:1px solid rgba(40,255,166,.4);box-shadow:0 0 55px rgba(0,255,152,.12),0 25px 70px #0008;direction:ltr}.terminal-head{display:flex;align-items:center;gap:12px;padding:15px 20px;background:#0c1c27;border-bottom:1px solid #1d4b47;color:#b4d6d1;font:12px Consolas,monospace}.terminal-led{width:9px;height:9px;border-radius:50%;background:#42ffa5;box-shadow:0 0 12px #42ffa5}.terminal-live{margin-left:auto;color:#50f9a9;font-size:11px}.terminal-lines{height:255px;overflow:hidden;padding:18px 24px;color:#6affac;font:13px/1.85 Consolas,'Courier New',monospace;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.terminal-line{animation:terminalIn .22s ease both}.terminal-line:nth-child(3n){color:#8fdfff}.terminal-line:nth-child(5n){color:#e6b4ff}.terminal-foot{padding:13px 24px;border-top:1px solid #1d4b47;color:#69ffb1;font:13px Consolas,monospace}.terminal-caret{animation:blink .8s step-end infinite}@keyframes terminalIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.terminal-lines{height:230px;padding:15px;font-size:11px}.terminal-head{font-size:10px;padding:13px}.terminal-live{font-size:9px}.terminal-zone{padding-top:22px}}

#meteorCanvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;opacity:.95}

/* Version 3: services, mobile app-like navigation and support */
.services-section{position:relative}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.service-card{background:#fff;color:#17203a;border:1px solid #dfe8f4;border-radius:24px;padding:30px;box-shadow:0 16px 40px #05091b1b;transition:transform .3s,box-shadow .3s}.service-card:hover{transform:translateY(-7px);box-shadow:0 22px 55px #04d9c52a}.service-card h3{font-size:19px;margin:18px 0 12px}.service-card p{color:#536077;line-height:2;font-size:14px}.service-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#e6fdf8;color:#008e7d;font-size:30px}.services-cta{text-align:center;margin-top:35px}.support-fab{position:fixed;bottom:28px;left:24px;z-index:120;width:62px;height:62px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(135deg,#04cfa9,#00a7d8);color:#041323;font-size:33px;box-shadow:0 10px 32px #00e6c777;border:2px solid #b6fff0;transition:transform .25s}.support-fab:hover{transform:translateY(-5px) scale(1.05)}.support-tooltip{position:absolute;left:74px;white-space:nowrap;font-size:12px;color:#fff;background:#0a2030;padding:10px 14px;border-radius:10px;opacity:0;pointer-events:none;transition:opacity .2s}.support-fab:hover .support-tooltip{opacity:1}.mobile-dock{display:none}.contact-page-main{padding:160px 0 90px;min-height:85vh}.contact-page-header{text-align:center;max-width:780px;margin:0 auto 42px}.contact-page-header h1{font-size:clamp(35px,6vw,64px);color:#fff;margin:12px 0}.contact-page-header p{color:#c5d6e7;line-height:2}.contact-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:900px;margin:0 auto}.contact-method{background:#fff;color:#14203a;border-radius:25px;padding:36px;border:1px solid #d9e7f3;box-shadow:0 20px 55px #0003}.contact-method .service-icon{margin-bottom:18px}.contact-method h2{margin-bottom:12px}.contact-method p{line-height:2;color:#536077;margin-bottom:22px}.contact-method .btn{max-width:100%}.contact-note{text-align:center;color:#b9cadd;margin:36px auto;max-width:720px;line-height:2}
@media(max-width:800px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:150;justify-content:space-around;align-items:center;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:rgba(8,17,34,.94);border-top:1px solid #25e6cd55;backdrop-filter:blur(22px);box-shadow:0 -8px 35px #0006}.mobile-dock a{display:flex;align-items:center;flex-direction:column;gap:3px;min-width:60px;color:#dce9f7;text-align:center}.mobile-dock a span{font-size:25px;line-height:1.2;color:#4ef5d7}.mobile-dock a small{font-size:10px}.support-fab{bottom:92px;left:16px;width:54px;height:54px;border-radius:18px;font-size:27px}.support-tooltip{display:none}body{padding-bottom:75px}.contact-methods{grid-template-columns:1fr}.contact-page-main{padding-top:120px}}
@media(max-width:540px){.services-grid{grid-template-columns:1fr}.service-card{padding:25px}.contact-method{padding:26px}}

/* v4 - mobile floating dock and sales landing */
@media(max-width:800px){.mobile-dock{position:fixed!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(92vw,410px)!important;border-radius:28px!important;padding:10px 14px!important;box-shadow:0 18px 55px #0006!important;background:rgba(255,255,255,.96)!important;border:1px solid #dce3f1!important;backdrop-filter:blur(20px)!important;display:flex!important;justify-content:space-around!important;z-index:500!important}.mobile-dock a{color:#35435b!important;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:56px;font-weight:700}.mobile-dock a span{font-size:23px!important;line-height:1.15}.mobile-dock a small{font-size:10px!important}.mobile-dock a:first-child{color:#4f5eea!important}.footer{padding-bottom:115px!important}.support-fab{bottom:104px!important}}
.sell-online{margin-top:95px;margin-bottom:35px;padding:clamp(35px,6vw,80px);border-radius:32px;background:linear-gradient(125deg,#061c30,#14285b 65%,#251c4b);border:1px solid #43c9de66;box-shadow:0 25px 65px #0005;position:relative;overflow:hidden}.sell-online:before{content:"";position:absolute;inset:-50%;background:radial-gradient(circle at 70% 40%,#23e6b322,transparent 40%);pointer-events:none}.sell-online>*{position:relative}.sell-kicker{font:700 13px monospace;letter-spacing:3px;color:#71e8d0}.sell-online h2{font-size:clamp(30px,5vw,56px);margin:15px 0}.sell-online h2 span{color:#56f2c9}.sell-online p{max-width:780px;color:#d1e1ee;line-height:2.2;margin-bottom:24px}.installment-image{display:block;width:100%;max-width:300px;height:auto;margin:18px auto 8px;border-radius:12px}.integration-note{display:block;font-size:11px;color:#526279;line-height:1.9}.service-card{background:#fff!important;color:#19253b!important}.service-card p{color:#526279!important}

/* VEXLUNIQ team redesign */
.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:42px;height:42px;object-fit:cover;object-position:center;border-radius:12px;border:1px solid #79ff65}.brand>span:last-child{font-family:"Space Grotesk",sans-serif;font-weight:800;letter-spacing:1.5px}.team-hero-art{display:flex;align-items:center;justify-content:center}.hero-logo-photo{width:100%;max-width:600px;aspect-ratio:3/2;object-fit:cover;border-radius:24px;border:1px solid rgba(116,255,106,.3);box-shadow:0 20px 70px #0008}.subpage-hero{padding-top:165px;padding-bottom:50px;text-align:center}.subpage-hero h1{font-size:clamp(2rem,5vw,4rem);margin:16px auto;color:#fff}.subpage-hero p{color:#bac7d6;max-width:650px;margin:0 auto 28px}.subpage-hero .btn{display:inline-flex}.account-layout{padding:0 0 110px}.account-panel{max-width:480px;margin:auto;padding:28px;background:rgba(9,18,35,.88);border:1px solid #3d6859;border-radius:24px;backdrop-filter:blur(18px)}.account-tabs{display:flex;gap:8px;margin-bottom:24px}.account-tabs button{flex:1;padding:13px;border:1px solid #49605b;border-radius:12px;background:#12212a;color:#fff;cursor:pointer}.account-tabs button.active{background:#7cfa54;color:#07140c;font-weight:800}.account-panel form{display:grid;gap:18px}.account-panel label{display:grid;gap:8px;color:#dce7e8}.account-panel input{width:100%;padding:14px;background:#0b1420;color:#fff;border:1px solid #415b61;border-radius:12px;direction:ltr}.account-panel form button{justify-content:center}.account-disclaimer{color:#b2c4c6;font-size:12px;line-height:2;margin-top:22px}.account-panel #accountMessage{color:#a2ff87;min-height:25px}.section-heading .btn{margin-top:18px}.mobile-dock{justify-content:space-around}.mobile-dock a{min-width:0;flex:1}@media(max-width:700px){.subpage-hero{padding-top:115px}.brand-mark{width:34px;height:34px}.brand>span:last-child{font-size:14px}.hero-logo-photo{border-radius:15px}.account-panel{padding:18px}.mobile-dock small{font-size:10px}}

.management-image{display:block;width:100%;height:auto;object-fit:contain;margin-top:18px;border-radius:16px;background:#fff;padding:10px}.hero-art .code-card{max-width:100%}.account-panel form[hidden]{display:none!important}.account-panel button:disabled{opacity:.5;cursor:wait}

/* VEXLUNIQ order journey */
.order-main{padding-bottom:72px}.order-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start;margin:28px 0 70px}.order-form,.order-result,.order-cta{background:rgba(11,20,43,.88);border:1px solid rgba(113,238,210,.23);border-radius:24px;padding:28px;backdrop-filter:blur(14px)}.order-form{display:grid;gap:18px}.order-form label{display:grid;gap:8px;color:#eef8ff;font-weight:600}.order-form input,.order-form select,.order-form textarea,.order-result textarea{width:100%;box-sizing:border-box;background:#101d35;color:#fff;border:1px solid #415575;border-radius:12px;padding:13px 15px;font:inherit;resize:vertical}.order-form input:focus,.order-form select:focus,.order-form textarea:focus{outline:2px solid #64eacb;outline-offset:2px}.order-result{display:grid;gap:16px}.order-result h2,.order-cta h2{margin:0}.order-result p,.order-cta p{color:#c9d5e7}.order-cta{margin:35px auto 75px;text-align:center}.order-cta .btn{margin-top:15px}.order-result [hidden]{display:none!important}@media(max-width:760px){.order-layout{grid-template-columns:1fr}.order-form,.order-result,.order-cta{padding:20px}.order-main{padding-bottom:90px}}
