/* ============================================
   Pixatronic Lab — Premium Stylesheet
   ============================================ */

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

:root {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --surface: #16161f;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text: #e4e4e7;
  --text-muted: #8b8b9e;
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --accent: #06b6d4;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* --- Screen reader only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Grid BG --- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* --- Cursor Glow --- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: left 0.5s ease, top 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.cursor-glow.active { opacity: 1; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header .section__desc { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--glass {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn--white:hover {
  background: #f0f0f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn--nav {
  background: var(--gradient);
  color: #fff;
  padding: 10px 24px;
  font-size: 0.85rem;
  border-radius: 50px;
  box-shadow: 0 2px 16px rgba(59, 130, 246, 0.25);
}

.btn--lg { padding: 18px 44px; font-size: 1rem; }
.btn--full { width: 100%; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { transition: opacity var(--transition); }
.nav__logo:hover img { opacity: 0.8; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  color: var(--text);
}

.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle-close { display: none; }
.nav__toggle.active .nav__toggle-open { display: none; }
.nav__toggle.active .nav__toggle-close { display: block; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  z-index: 2;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.12);
  top: -10%;
  right: 10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.08);
  bottom: 0;
  left: -5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.08);
  top: 40%;
  right: -5%;
  animation: orbFloat 10s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__title-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

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

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__proof-avatars { display: flex; }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.hero__proof-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero__proof-text strong { color: var(--text); }

/* Hero Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__card-stack {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.hero__main-img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(59, 130, 246, 0.15));
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(16, 16, 31, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 2;
}

.hero__float-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.hero__float-icon svg { width: 20px; height: 20px; }
.hero__float-icon--blue { background: rgba(59, 130, 246, 0.12); color: var(--primary-light); }
.hero__float-icon--cyan { background: rgba(6, 182, 212, 0.12); color: var(--accent); }

.hero__float-card--1 {
  top: 5%;
  right: -5%;
  animation: cardFloat1 5s ease-in-out infinite;
}

.hero__float-card--2 {
  bottom: 15%;
  left: -10%;
  animation: cardFloat2 6s ease-in-out infinite 1s;
}

.hero__float-card--3 {
  top: 45%;
  right: -15%;
  animation: cardFloat3 7s ease-in-out infinite 0.5s;
}

@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes cardFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-line {
  width: 2px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* --- Marquee --- */
.marquee {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 15, 0.5);
}

.marquee__track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee__dot {
  width: 6px !important;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  display: inline-block;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section--alt {
  background: var(--bg-alt);
}

.section--features {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- About --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__img-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.about__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about__img-wrap:hover .about__img {
  transform: scale(1.04);
}

.about__img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  z-index: 3;
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.about__img-badge small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.about__stats {
  display: flex;
  gap: 16px;
  margin: 32px 0;
}

.stat-card {
  flex: 1;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--transition);
}

.stat-card:hover { border-color: var(--border-hover); }

.stat-card__num {
  font-family: var(--font);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__plus {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about__clients { margin-top: 8px; }

.about__clients-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.about__client-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.client-chip {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.client-chip:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

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

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  overflow: hidden;
  cursor: default;
}

.service-card__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-6px) perspective(1000px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(59, 130, 246, 0.06);
}

.service-card:hover .service-card__glow { opacity: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 20px;
  color: #fff;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.service-card__title {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: all var(--transition);
}

.service-card__arrow svg { width: 16px; height: 16px; }

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
  color: var(--primary-light);
  border-color: rgba(59, 130, 246, 0.25);
}

/* --- Portfolio Bento Grid --- */
.portfolio__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.portfolio__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  display: block;
  text-decoration: none;
  grid-column: span 4;
  grid-row: span 1;
}

/* Large featured cards */
.portfolio__item--lg {
  grid-column: span 8;
  grid-row: span 1;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 10, 0.95) 0%, rgba(5, 5, 10, 0.4) 40%, transparent 65%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio__cat {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
  transform: translateY(10px);
  transition: transform 0.35s ease;
}

.portfolio__name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.35s ease 0.03s;
}

.portfolio__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  transform: translateY(10px);
  transition: transform 0.35s ease 0.06s;
  display: none;
}

.portfolio__item--lg .portfolio__overlay { padding: 28px; }
.portfolio__item--lg .portfolio__name { font-size: 1.3rem; }
.portfolio__item--lg .portfolio__desc { display: block; }

.portfolio__item:hover img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

.portfolio__item:hover .portfolio__overlay { opacity: 1; }

.portfolio__item:hover .portfolio__cat,
.portfolio__item:hover .portfolio__name,
.portfolio__item:hover .portfolio__desc {
  transform: translateY(0);
}

/* --- Features --- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature:hover {
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-3px);
}

.feature__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.feature__title {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--gradient);
}

.cta__pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--cta-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  top: -30%;
  left: 15%;
  animation: orbFloat 10s ease-in-out infinite;
}

.orb--cta-2 {
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -30%;
  right: 15%;
  animation: orbFloat 12s ease-in-out infinite reverse;
}

.cta__inner { position: relative; }

.cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -0.03em;
}

.cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* --- Contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact__card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateX(4px);
}

.contact__card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  color: var(--primary-light);
}

.contact__card-icon svg { width: 20px; height: 20px; }

.contact__card h4 {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact__card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact__card a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.contact__card a:hover {
  color: var(--primary-light);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition);
  outline: none;
}

.form__input::placeholder { color: var(--text-muted); }

.form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding-top: 64px;
  background: var(--bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer__social a svg { width: 18px; height: 18px; }

.footer__social a:hover {
  color: var(--primary-light);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.footer__links h4 {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: all var(--transition);
}

.footer__links a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Project Detail Page --- */
.project-page {
  padding-top: 100px;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.project__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  transition: color var(--transition);
}

.project__back svg { width: 18px; height: 18px; }
.project__back:hover { color: var(--primary-light); }

.project__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.project__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.project__img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.project__meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project__cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  width: fit-content;
}

.project__title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.project__tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.project__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.project__info-card {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.project__info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.project__info-value {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
}

.project__body {
  max-width: 800px;
  margin: 0 auto 80px;
}

.project__body h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  margin-top: 48px;
}

.project__body h2:first-child { margin-top: 0; }

.project__body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.project__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.project__feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
}

.project__feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.project__cta {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.project__cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.project__cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .project__hero { grid-template-columns: 1fr; gap: 32px; }
  .project__info-grid { grid-template-columns: 1fr; }
  .project__features { grid-template-columns: 1fr; }
}

/* --- Founder Page --- */
.founder-page {
  padding-top: 100px;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.founder__hero {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0 80px;
}

.founder__portrait {
  position: relative;
  flex-shrink: 0;
}

.founder__portrait-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient);
  position: relative;
  z-index: 2;
}

.founder__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bg-alt), var(--surface));
  color: var(--primary-light);
  letter-spacing: 0.05em;
}

.founder__portrait-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  z-index: 1;
  animation: founderGlow 4s ease-in-out infinite;
}

@keyframes founderGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.founder__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder__name {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.founder__tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.founder__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.founder__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  transition: all var(--transition);
}

.founder__social a svg { width: 20px; height: 20px; }

.founder__social a:hover {
  color: var(--primary-light);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

/* Founder Sections */
.founder__section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.founder__section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.founder__section-header h2 {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 700;
}

.founder__section-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.founder__section-icon svg { width: 22px; height: 22px; }

.founder__content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 800px;
}

.founder__content p:last-child { margin-bottom: 0; }

/* Quote */
.founder__quote {
  position: relative;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.founder__quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

/* Skills Grid */
.founder__skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.founder__skill-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.founder__skill-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.founder__skill-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  margin-bottom: 16px;
}

.founder__skill-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.founder__skill-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.founder__skill-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline */
.founder__milestones {
  position: relative;
  padding-left: 40px;
}

.founder__milestones::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.founder__milestone {
  position: relative;
  padding-bottom: 40px;
}

.founder__milestone:last-child { padding-bottom: 0; }

.founder__milestone-marker {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
  z-index: 2;
}

.founder__milestone-marker::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.founder__milestone-year {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.founder__milestone-content h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.founder__milestone-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Quick Facts */
.founder__quick-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.founder__fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.founder__fact svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; }

/* Stats Bar */
.founder__stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founder__stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.founder__stat:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

.founder__stat-num {
  display: block;
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder__stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Education */
.founder__edu-grid {
  display: grid;
  gap: 20px;
}

.founder__edu-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.founder__edu-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.founder__edu-card--featured {
  border-color: rgba(59, 130, 246, 0.15);
  background: linear-gradient(135deg, var(--surface), rgba(59, 130, 246, 0.03));
}

.founder__edu-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.founder__edu-card h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.founder__edu-school {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.founder__edu-school svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; }

.founder__edu-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder__edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.founder__edu-tags span {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Experience */
.founder__experience {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder__exp-card {
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.founder__exp-card:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateX(4px);
}

.founder__exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

.founder__exp-header h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
}

.founder__exp-company {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 500;
}

.founder__exp-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  flex-shrink: 0;
}

.founder__exp-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Achievements */
.founder__achievements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.founder__achievement-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.founder__achievement-card:hover {
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-3px);
}

.founder__achievement-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.founder__achievement-icon svg { width: 20px; height: 20px; }

.founder__achievement-card h3 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.founder__achievement-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Tech Stack */
.founder__tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.founder__tech-group {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.founder__tech-group h3 {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 14px;
}

.founder__tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.founder__tech-tags span {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.founder__tech-tags span:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.06);
}

/* Team Section */
.founder__team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.founder__team-card {
  display: block;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  cursor: pointer;
}

.founder__team-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.founder__team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  background: linear-gradient(135deg, var(--bg-alt), var(--surface));
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.founder__team-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.founder__team-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.founder__team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all var(--transition);
}

.founder__team-link svg { width: 14px; height: 14px; }

.founder__team-link:hover {
  color: var(--primary-light);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.06);
}

/* Founder CTA */
.founder__cta {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.founder__cta h3 {
  font-family: var(--font);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.founder__cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

.founder__cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .founder__stats-bar { grid-template-columns: repeat(2, 1fr); }
  .founder__achievements { grid-template-columns: 1fr; }
  .founder__tech-grid { grid-template-columns: 1fr; }
  .founder__team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .founder__hero { flex-direction: column; text-align: center; gap: 36px; }
  .founder__tagline { margin: 0 auto; }
  .founder__quick-facts { align-items: center; }
  .founder__social { justify-content: center; }
  .founder__portrait-ring { width: 180px; height: 180px; }
  .founder__avatar { font-size: 3rem; }
  .founder__skills { grid-template-columns: 1fr; }
  .founder__exp-header { flex-direction: column; }
  .founder__team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .founder__portrait-ring { width: 150px; height: 150px; }
  .founder__avatar { font-size: 2.5rem; }
  .founder__stats-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* --- Team Page --- */
.team-page {
  padding-top: 100px;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.team__header {
  padding: 60px 0 48px;
}

.team__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 16px 0 12px;
}

.team__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* Team Member Cards */
.team-member {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 24px;
  overflow: hidden;
  transition: all var(--transition);
}

.team-member:hover {
  border-color: rgba(59, 130, 246, 0.15);
}

.team-member__header {
  display: flex;
  gap: 28px;
  padding: 36px 36px 0;
  align-items: flex-start;
}

.team-member__avatar-wrap {
  flex-shrink: 0;
}

.team-member__avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-light);
  background: linear-gradient(135deg, var(--bg-alt), var(--surface));
  border: 2px solid rgba(59, 130, 246, 0.2);
}

.team-member__avatar--founder {
  width: 100px;
  height: 100px;
  font-size: 2rem;
  border-color: rgba(6, 182, 212, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
}

.team-member__info {
  flex: 1;
}

.team-member__badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.team-member__name {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-member__headline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.team-member__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-member__location svg {
  width: 15px;
  height: 15px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.team-member__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.team-member__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.team-member__links a svg {
  width: 14px;
  height: 14px;
}

.team-member__links a:hover {
  color: var(--primary-light);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.06);
}

.team-member__body {
  padding: 28px 36px 36px;
}

.team-member__body > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.team-member__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.team-member__detail-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.team-member__detail-group h3 svg {
  width: 16px;
  height: 16px;
  color: var(--primary-light);
}

.team-member__detail-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-member__detail-group li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.team-member__detail-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.team-member__detail-group li strong {
  color: var(--text);
  font-weight: 600;
}

.team-member__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-member__skills span {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.team-member__skills span:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.06);
}

.team__cta {
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.team__cta h3 {
  font-family: var(--font);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.team__cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .team-member__header { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .team-member__links { justify-content: center; }
  .team-member__location { justify-content: center; }
  .team-member__details { grid-template-columns: 1fr; }
  .team-member__skills { justify-content: center; }
  .team-member__body { padding: 24px 20px 28px; }
  .team-member__header { padding: 28px 20px 0; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero__subtitle { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__proof { justify-content: center; }
  .hero__card-stack { max-width: 380px; margin: 0 auto; }
  .hero__float-card--1 { right: 0; }
  .hero__float-card--2 { left: 0; }
  .hero__float-card--3 { right: -5%; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
  .portfolio__bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
  .portfolio__item { grid-column: span 3; }
  .portfolio__item--lg { grid-column: span 6; }
}

@media (max-width: 768px) {
  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: rgba(17, 17, 24, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 28px 28px;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 999;
  }

  .nav__menu.open { right: 0; }

  .nav__link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
  }

  .btn--nav {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }

  .services__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { flex-direction: column; }
  .about__stats { gap: 12px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
  .hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; }
  .about__stats { flex-direction: column; }
  .hero__float-card { display: none; }
  .portfolio__bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .portfolio__item { grid-column: span 1; }
  .portfolio__item--lg { grid-column: span 1; }
}
