/* =============================================
   MARLON — Developer Portfolio
   style.css
   Theme: Glassmorphism · Deep Dark · Electric Blue
   Goal: Get freelance jobs fast on Fiverr/Upwork
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@200;300;400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --blue:         #2979FF;
  --blue-bright:  #448AFF;
  --blue-glow:    rgba(41, 121, 255, 0.25);
  --blue-pale:    rgba(41, 121, 255, 0.08);

  --bg:           #060810;
  --bg-2:         #0A0D18;
  --bg-3:         #0D1120;

  --glass:        rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover:  rgba(255, 255, 255, 0.07);

  --white:        #F0F4FF;
  --off-white:    #B8C4E0;
  --muted:        #6B7A99;
  --rule:         rgba(255,255,255,0.06);

  --green:        #00E676;
  --green-glow:   rgba(0, 230, 118, 0.2);

  --font-main: 'Sora', sans-serif;
  --font-code: 'Fira Code', monospace;

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; }

/* ---------- Animated Background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
          radial-gradient(ellipse 80% 50% at 20% 20%, rgba(41,121,255,0.07) 0%, transparent 60%),
          radial-gradient(ellipse 60% 60% at 80% 80%, rgba(41,121,255,0.05) 0%, transparent 60%),
          radial-gradient(ellipse 40% 40% at 50% 50%, rgba(41,121,255,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
          linear-gradient(rgba(41,121,255,0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(41,121,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.section-pad { padding: 110px 0; }

/* Glass card mixin */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.code-tag {
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: var(--blue-bright);
  opacity: 0.7;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-title span { color: var(--blue-bright); }

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.75;
  font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--blue);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-blue:hover::before { opacity: 1; }
.btn-blue:hover { box-shadow: 0 0 30px var(--blue-glow); transform: translateY(-2px); }
.btn-blue span, .btn-blue svg { position: relative; z-index: 1; }
.btn-blue svg { transition: transform 0.3s; }
.btn-blue:hover svg { transform: translateX(4px); }

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.btn-glass:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(6, 8, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-family: var(--font-code);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav-logo .bracket { color: var(--blue-bright); }
.nav-logo .cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--blue-bright);
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  letter-spacing: 0.03em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--blue-bright);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(6,8,16,0.98);
  backdrop-filter: blur(20px);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a { font-size: 2rem; font-weight: 700; color: var(--off-white); transition: color var(--transition); }
.mobile-menu a:hover { color: var(--blue-bright); }
.mobile-close { position: absolute; top: 22px; right: 28px; font-size: 1.4rem; color: var(--muted); cursor: pointer; z-index: 1001; padding: 10px; line-height: 1; }

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Orb lights */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(41,121,255,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(41,121,255,0.08) 0%, transparent 70%);
  bottom: -50px; left: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left: Copy */
.hero-greeting {
  font-family: var(--font-code);
  font-size: 0.82rem;
  color: var(--blue-bright);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-greeting::before { content: '//'; color: var(--muted); }

.hero-name {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}
.hero-name .blue { color: var(--blue-bright); }
.hero-name .outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
  color: transparent;
}

.hero-role {
  font-family: var(--font-code);
  font-size: 1rem;
  color: var(--off-white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.role-tag {
  background: var(--blue-pale);
  border: 1px solid rgba(41,121,255,0.2);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.78rem;
  color: var(--blue-bright);
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
  font-weight: 300;
  margin-bottom: 40px;
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.platforms-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.platform-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--off-white);
  transition: var(--transition);
  cursor: pointer;
}
.platform-badge:hover { border-color: var(--blue); color: var(--blue-bright); }
.platform-icon { font-size: 1rem; }

/* Right: Floating glass card stack */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  /* Extra padding so floating cards don't get clipped */
  padding: 40px 40px 60px 20px;
}

.hero-card-main {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  z-index: 1;
}
.hero-card-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(41,121,255,0.15), rgba(41,121,255,0.05));
  border: 1px solid rgba(41,121,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}
.hero-card-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(41,121,255,0.1));
}
.photo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 0.8rem; }
.photo-placeholder svg { opacity: 0.3; }

.hero-card-name { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-card-title { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.stat-item { text-align: center; }
.stat-val { font-size: 1.3rem; font-weight: 700; color: var(--blue-bright); line-height: 1; }
.stat-lbl { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

/* Floating mini cards */
.float-card {
  position: absolute;
  border-radius: var(--radius);
  padding: 12px 16px;
  background: rgba(10, 13, 24, 0.95);
  border: 1px solid rgba(41,121,255,0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(41,121,255,0.1);
  z-index: 10;  /* Always above main card */
}
.float-card.top-right {
  top: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatUp 4s ease-in-out infinite;
}
.float-card.bottom-left {
  bottom: -30px;
  left: 0px;
  animation: floatUp 5s ease-in-out infinite reverse;
}
@keyframes floatUp { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.fc-icon { font-size: 1.4rem; }
.fc-label { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.fc-value { font-size: 0.85rem; font-weight: 700; color: var(--white); }

.fc-tech-list { display: flex; gap: 6px; flex-wrap: wrap; }
.fc-tech { font-size: 0.65rem; font-weight: 600; color: var(--blue-bright); background: var(--blue-pale); border: 1px solid rgba(41,121,255,0.15); padding: 3px 8px; border-radius: 4px; }

/* ===========================
   SERVICES SECTION
   =========================== */
.services { background: var(--bg-2); position: relative; }
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 32px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,121,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(41,121,255,0.25) !important; box-shadow: 0 0 0 1px rgba(41,121,255,0.1), 0 20px 40px rgba(0,0,0,0.3); }

.service-card.featured {
  background: linear-gradient(135deg, rgba(41,121,255,0.15), rgba(41,121,255,0.05)) !important;
  border-color: rgba(41,121,255,0.3) !important;
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--blue-pale);
  border: 1px solid rgba(41,121,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--blue); border-color: var(--blue); }

.service-name { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.service-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; font-weight: 300; }

.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.price-from { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.price-val { font-size: 1.1rem; font-weight: 700; color: var(--blue-bright); font-family: var(--font-code); }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.s-tag { font-size: 0.65rem; font-weight: 600; color: var(--off-white); background: var(--glass); border: 1px solid var(--glass-border); padding: 3px 10px; border-radius: 100px; }

/* ===========================
   PORTFOLIO SECTION
   =========================== */
.portfolio { background: var(--bg); }
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  group: true;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-img-box { transform: scale(1.03); }

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-3);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 16px 16px 0 16px;
}
.project-img-box {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s ease;
  position: relative;
}
/* Colourful gradient preview per project type */
.project-img-box.gym {
  background: linear-gradient(135deg, #1A0810 0%, #3D0A15 50%, #1A0810 100%);
}
.project-img-box.business {
  background: linear-gradient(135deg, #0A0F1A 0%, #1A2A1A 40%, #0A1A0A 100%);
}
.project-img-box.burnout {
  background: linear-gradient(135deg, #080F14 0%, #0D2020 50%, #080F14 100%);
}
.project-img-box.nextjs {
  background: linear-gradient(135deg, #080808 0%, #1A1A2E 50%, #080808 100%);
}
.project-img-box.wordpress {
  background: linear-gradient(135deg, #0A0818 0%, #1A1040 50%, #0A0818 100%);
}
.project-img-box.shopify {
  background: linear-gradient(135deg, #071510 0%, #0F2818 50%, #071510 100%);
}

.project-mock {
  width: 80%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
}
.project-mock::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 24px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.project-mock::after {
  content: '● ● ●';
  position: absolute; top: 6px; left: 10px;
  font-size: 0.4rem; letter-spacing: 4px;
  color: rgba(255,255,255,0.2);
}

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(6,8,16,0.85);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.overlay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.82rem; font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  transition: var(--transition);
}
.overlay-btn:hover { background: var(--blue-bright); }
.overlay-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass);
  color: var(--off-white);
  font-size: 0.82rem; font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

.project-info { padding: 20px 22px; }
.project-type { font-family: var(--font-code); font-size: 0.65rem; color: var(--blue-bright); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.project-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.project-desc { font-size: 0.81rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; font-weight: 300; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-pill { font-size: 0.63rem; font-weight: 600; color: var(--off-white); background: var(--glass); border: 1px solid var(--glass-border); padding: 3px 10px; border-radius: 100px; }

/* Coming soon card */
.project-card.coming-soon { opacity: 0.5; }
.coming-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.63rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about { background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-left { position: relative; }
.about-img-card {
  border-radius: var(--radius-xl);
  padding: 6px;
  background: linear-gradient(135deg, rgba(41,121,255,0.3), rgba(41,121,255,0.05), rgba(41,121,255,0.2));
  position: relative;
}
.about-img-inner {
  border-radius: calc(var(--radius-xl) - 6px);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); font-size: 0.82rem; }
.about-img-placeholder svg { opacity: 0.2; }

.about-exp-chip {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 32px var(--blue-glow);
}
.chip-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.chip-text { font-size: 0.62rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

.about-passion {
  font-size: 0.92rem;
  color: var(--off-white);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 14px;
}
.about-passion strong { color: var(--white); font-weight: 600; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}
.value-item {
  border-radius: var(--radius);
  padding: 16px;
  display: flex; align-items: flex-start; gap: 10px;
}
.value-icon { font-size: 1.2rem; flex-shrink: 0; }
.value-title { font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.value-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* ===========================
   TECH STACK SECTION
   =========================== */
.techstack { background: var(--bg); }
.techstack-header { text-align: center; margin-bottom: 64px; }
.techstack-header .section-sub { margin: 0 auto; text-align: center; }

.tech-categories { display: flex; flex-direction: column; gap: 40px; }
.tech-category-label {
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--blue-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tech-category-label::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

.tech-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--off-white);
  transition: var(--transition);
  cursor: default;
}
.tech-chip:hover { border-color: rgba(41,121,255,0.3) !important; color: var(--white); transform: translateY(-2px); }
.tech-chip:hover .tech-emoji { transform: scale(1.2); }
.tech-emoji { font-size: 1.2rem; transition: transform 0.3s; }

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials { background: var(--bg-2); }
.testimonials-header { text-align: center; margin-bottom: 56px; }

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

/* === TESTI CARD === */
.testi-card {
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--glass-border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  animation-delay: calc(var(--ti) * 0.12s);
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41,121,255,0.3);
  box-shadow: 0 20px 60px rgba(41,121,255,0.1), 0 0 0 1px rgba(41,121,255,0.08);
}
.testi-card--placeholder {
  border: 1.5px dashed rgba(41,121,255,0.18);
  background: rgba(41,121,255,0.015);
}

/* Big background quote mark */
.testi-quote-bg {
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 120px;
  line-height: 1;
  color: rgba(41,121,255,0.06);
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
  transition: color 0.35s ease;
}
.testi-card:hover .testi-quote-bg { color: rgba(41,121,255,0.1); }

/* Top row: avatar + stars */
.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Avatar */
.testi-avatar-wrap { position: relative; flex-shrink: 0; }
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(41,121,255,0.35);
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testi-avatar--placeholder { background: linear-gradient(135deg, var(--bg-3) 0%, rgba(41,121,255,0.08) 100%); }
.testi-initials { font-size: 1.3rem; color: rgba(41,121,255,0.3); font-weight: 700; }
.testi-avatar-online {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(41,121,255,0.25);
  border: 2px solid var(--bg-2);
}
.testi-card--placeholder .testi-avatar-online { background: rgba(41,121,255,0.2); }

/* Shimmer on placeholder avatar */
.testi-avatar-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: testi-shimmer 2s infinite;
}
@keyframes testi-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Stars */
.testi-stars { display: flex; gap: 4px; }
.t-star {
  color: #f5c518;
  font-size: 1rem;
  display: inline-block;
  transition: transform 0.2s ease;
  animation: star-pulse 3s ease-in-out infinite;
  animation-delay: calc(var(--si, 0) * 0.1s);
}
.testi-card:hover .t-star { animation: star-shimmer 0.5s ease forwards; }
.testi-card:hover .t-star:nth-child(1) { animation-delay: 0s; }
.testi-card:hover .t-star:nth-child(2) { animation-delay: 0.06s; }
.testi-card:hover .t-star:nth-child(3) { animation-delay: 0.12s; }
.testi-card:hover .t-star:nth-child(4) { animation-delay: 0.18s; }
.testi-card:hover .t-star:nth-child(5) { animation-delay: 0.24s; }
@keyframes star-shimmer {
  0% { transform: scale(1); }
  40% { transform: scale(1.35) rotate(-8deg); color: #ffd700; }
  100% { transform: scale(1); }
}
@keyframes star-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Divider */
.testi-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(41,121,255,0.2) 0%, transparent 100%);
  margin-bottom: 18px;
}

/* Review text */
.testi-text {
  font-size: 0.875rem;
  color: var(--off-white);
  line-height: 1.75;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 22px;
  flex: 1;
}
.testi-text--placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
  margin-bottom: 22px;
}

/* Shimmer lines for placeholder text */
.testi-shimmer-line {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: testi-shimmer 1.8s ease-in-out infinite;
}
.testi-shimmer-line:nth-child(2) { animation-delay: 0.15s; }
.testi-shimmer-line:nth-child(3) { animation-delay: 0.3s; }
.testi-shimmer-line:nth-child(4) { animation-delay: 0.45s; }

/* Author row */
.testi-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.testi-name { font-weight: 600; font-size: 0.875rem; color: var(--white); margin-bottom: 3px; }
.testi-platform { font-size: 0.7rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.testi-country { color: var(--muted); }
.testi-dot { opacity: 0.4; }

/* CTA link on placeholder */
.testi-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-bright);
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 12px;
  border: 1px solid rgba(41,121,255,0.25);
  border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.testi-cta:hover { background: rgba(41,121,255,0.1); border-color: rgba(41,121,255,0.5); }

/* ===========================
   CONTACT SECTION
   =========================== */
.contact { background: var(--bg); position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(41,121,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-tagline {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--blue-bright);
  margin-bottom: 28px;
  line-height: 1.8;
}
.contact-tagline .comment { color: var(--muted); }

.hire-links { display: flex; flex-direction: column; gap: 12px; margin: 32px 0; }
.hire-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
  text-decoration: none;
}
.hire-link:hover { transform: translateX(4px); border-color: rgba(41,121,255,0.3) !important; }
.hire-link-left { display: flex; align-items: center; gap: 14px; }
.hire-link-icon { font-size: 1.4rem; }
.hire-link-name { font-size: 0.92rem; font-weight: 700; color: var(--white); }
.hire-link-sub { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.hire-link-arrow { color: var(--muted); transition: var(--transition); }
.hire-link:hover .hire-link-arrow { color: var(--blue-bright); transform: translateX(4px); }

.contact-detail-row { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--off-white); margin-bottom: 10px; }
.contact-detail-row svg { color: var(--blue-bright); flex-shrink: 0; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.contact-social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 500; color: var(--off-white);
  background: var(--glass); border: 1px solid var(--glass-border);
  padding: 8px 16px; border-radius: 100px;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
.contact-social-btn svg { color: var(--blue-bright); flex-shrink: 0; transition: color var(--transition); }
.contact-social-btn:hover { color: var(--white); border-color: rgba(41,121,255,0.4); background: rgba(41,121,255,0.08); transform: translateY(-2px); }
.contact-social-btn:hover svg { color: var(--white); }

/* Form */
.contact-form-wrap {
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}
.form-title { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.form-sub { font-size: 0.83rem; color: var(--muted); margin-bottom: 28px; font-weight: 300; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); font-weight: 300; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  background: rgba(41,121,255,0.05);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-select { cursor: pointer; }
.form-select option { background: var(--bg-2); color: var(--white); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-error-msg { display: none; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: var(--radius); padding: 12px; font-size: 0.82rem; color: #FCA5A5; margin-bottom: 14px; }
.form-submit { width: 100%; justify-content: center; padding: 15px; font-size: 0.9rem; margin-top: 6px; border-radius: var(--radius); }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.success-emoji { font-size: 2.8rem; margin-bottom: 12px; }
.success-title { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.success-msg { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 40px 0 28px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: var(--font-code); font-size: 1rem; color: var(--off-white); }
.footer-logo .bracket { color: var(--blue-bright); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--blue-bright); }
.footer-copy { font-size: 0.75rem; color: var(--muted); }
.footer-copy span { color: var(--blue-bright); }

/* ===========================
   ANIMATIONS
   =========================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.hero-greeting { animation: fadeUp 0.6s ease both 0.1s; }
.hero-name     { animation: fadeUp 0.6s ease both 0.2s; }
.hero-role     { animation: fadeUp 0.6s ease both 0.32s; }
.hero-desc     { animation: fadeUp 0.6s ease both 0.44s; }
.hero-actions  { animation: fadeUp 0.6s ease both 0.56s; }
.hero-platforms{ animation: fadeUp 0.6s ease both 0.68s; }
.hero-right    { animation: fadeIn 1s ease both 0.3s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { order: -1; max-width: 360px; margin: 0 auto; }
  .float-card.top-right { right: 0; }
  .float-card.bottom-left { left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-left { max-width: 380px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; } .testi-cta { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 72px 0; }
  .nav-links, .nav-status { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .hero-platforms { flex-wrap: wrap; }
  .hero-card-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-name { font-size: clamp(2.8rem, 12vw, 3.5rem); }
  .hero-actions { flex-direction: column; }
  .btn-blue, .btn-glass { width: 100%; justify-content: center; }
  .hero-card-main { padding: 22px; }
  .float-card { display: none; }
}
/* =============================================
   TOOLS SECTION — added below existing styles
   ============================================= */
.tools-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 32px;
}

/* Filter tabs */
.tools-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.tf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 7px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tf-btn:hover { color: var(--white); border-color: rgba(41,121,255,0.3); }
.tf-btn.active { color: var(--blue-bright); background: var(--blue-pale); border-color: rgba(41,121,255,0.4); }
.tf-count {
  font-family: var(--font-code);
  font-size: 9px;
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 100px;
  color: var(--muted);
}
.tf-btn.active .tf-count { background: rgba(41,121,255,0.15); color: var(--blue-bright); }

/* Tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), opacity 0.25s ease;
  animation-delay: calc(var(--i) * 0.06s);
}
.tool-card.hidden { display: none; }
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(41,121,255,0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 0;
}
.tool-card:hover { transform: translateY(-6px); border-color: rgba(41,121,255,0.35); box-shadow: 0 20px 60px rgba(41,121,255,0.12), 0 0 0 1px rgba(41,121,255,0.1); }
.tool-card:hover::before { opacity: 1; }
.tool-img-wrap { position: relative; width: 100%; overflow: hidden; background: var(--bg-3); flex-shrink: 0; padding: 16px 16px 16px 16px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.tool-img { width: 100%; height: auto; display: block; object-fit: contain; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.tool-card:hover .tool-img { transform: scale(1.02); }
.tool-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%); font-size: 40px; opacity: 0; }
.tool-img-wrap.no-img .tool-img { display: none; }
.tool-img-wrap.no-img .tool-img-placeholder { opacity: 1; }
.tool-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(6,8,16,0.15) 60%, rgba(6,8,16,0.6) 100%); pointer-events: none; }
.tool-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; z-index: 1; }
.tool-tag { display: inline-flex; align-items: center; font-family: var(--font-code); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); background: var(--blue-pale); border: 1px solid rgba(41,121,255,0.2); padding: 3px 10px; border-radius: 100px; width: fit-content; }
.tool-name { font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.3; letter-spacing: -0.3px; }
.tool-desc { font-size: 13.5px; color: var(--off-white); line-height: 1.7; flex: 1; }
.tool-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tool-stack span { font-family: var(--font-code); font-size: 10.5px; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--rule); padding: 3px 8px; border-radius: 4px; }
.tool-cta-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 9px 18px; font-family: var(--font-code); font-size: 12px; font-weight: 500; color: var(--blue-bright); background: rgba(41,121,255,0.08); border: 1px solid rgba(41,121,255,0.25); border-radius: 8px; text-decoration: none; transition: all 0.25s ease; align-self: flex-start; letter-spacing: 0.01em; }
.tool-cta-btn:hover { background: rgba(41,121,255,0.18); border-color: rgba(41,121,255,0.55); color: #fff; transform: translateX(3px); box-shadow: 0 0 18px rgba(41,121,255,0.15); }
.tool-card::after { content: ''; position: absolute; top: 16px; right: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue), 0 0 16px rgba(41,121,255,0.4); opacity: 0; transition: opacity var(--transition); z-index: 2; }
.tool-card:hover::after { opacity: 1; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) {
  .tools-header { flex-direction: column; align-items: flex-start; }
  .tools-grid { grid-template-columns: 1fr; }
}