/* ══════════════════════════════════════════════════════════════
   LUXURY PORTFOLIO — Premium Dark Theme with Gold Accents
   Inspired by n8n, OpenClaw, Linear, Vercel
   ══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --ink: #f0ece4;
  --muted: #9a9082;
  --accent: #c9a44a;
  --accent-bright: #e0b852;
  --accent-rgb: 201, 164, 74;
  --accent-soft: rgba(201, 164, 74, 0.1);
  --accent-glow: rgba(201, 164, 74, 0.25);
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(var(--accent-rgb), 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══ RESET ═══ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  padding-top: 80px;
  overflow-x: hidden;
  position: relative;
}

/* ═══ AMBIENT BACKGROUND ═══ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 800px 600px at 15% 5%, rgba(var(--accent-rgb), 0.1), transparent),
    radial-gradient(ellipse 600px 400px at 85% 15%, rgba(var(--accent-rgb), 0.06), transparent),
    radial-gradient(ellipse 900px 500px at 50% 85%, rgba(var(--accent-rgb), 0.04), transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  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: 80px 80px;
}

/* ═══ PARTICLE CANVAS ═══ */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ═══ ORB FLOATING BLOBS ═══ */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-one {
  width: 500px;
  height: 500px;
  background: rgba(var(--accent-rgb), 0.12);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.orb-two {
  width: 400px;
  height: 400px;
  background: rgba(var(--accent-rgb), 0.08);
  top: 20%;
  right: -150px;
  animation-delay: -7s;
}

.orb-three {
  width: 500px;
  height: 500px;
  background: rgba(var(--accent-rgb), 0.06);
  bottom: -200px;
  left: 30%;
  animation-delay: -13s;
}

.orb-four {
  width: 350px;
  height: 350px;
  background: rgba(var(--accent-rgb), 0.07);
  top: 50%;
  left: -80px;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15), transparent 70%);
  mix-blend-mode: screen;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.cursor-glow.is-visible {
  opacity: 1;
}

/* ═══ PROFILE PHOTO ═══ */
.profile-photo-wrapper {
  position: fixed;
  bottom: 90px;
  left: 20px;
  z-index: 45;
}

.profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), 0.3);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-spring);
  background: var(--surface-strong);
  cursor: pointer;
  animation: photoPulse 4s ease-in-out infinite;
}

@keyframes photoPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15); }
  50% { box-shadow: 0 0 35px rgba(var(--accent-rgb), 0.3); }
}

.profile-photo:hover {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.4);
  border-color: var(--accent);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent);
}

.profile-initials {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.profile-label {
  font-size: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0;
  transition: var(--transition-base);
}

.profile-photo:hover .profile-label {
  opacity: 1;
}

/* ═══ UTILITIES ═══ */
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  z-index: 60;
  transition: top var(--transition-base);
}

.skip-link:focus { top: 16px; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(40px, 6vw, 80px) 0;
}

.hidden { display: none; }

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3 {
  line-height: 1.1;
  font-weight: 600;
  font-family: "Instrument Serif", Georgia, serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 500;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

/* ═══ NAVIGATION ═══ */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 8, 0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(30px) saturate(1.2);
  z-index: 50;
  animation: navSlideDown 0.6s ease-out;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(var(--accent-rgb), 0.4);
  flex-shrink: 0;
  transition: var(--transition-base);
}

.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--bg);
}

.brand-photo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
  border-color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.brand-role {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ═══ LANGUAGE TOGGLE ═══ */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.3);
  font-weight: 600;
}

/* ═══ BUTTONS ═══ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
}

.button:hover::before { opacity: 1; }

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.45);
}

.button.ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.button.ghost:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.button.small {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ═══ HERO ═══ */
.hero {
  padding-top: clamp(50px, 8vw, 90px);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  perspective: 1200px;
}

.hero-copy {
  animation: heroReveal 1s ease-out;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy h1 {
  background: linear-gradient(135deg, var(--ink) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  animation: statReveal 0.8s ease-out backwards;
}

.stat:nth-child(1) { animation-delay: 0.3s; }
.stat:nth-child(2) { animation-delay: 0.45s; }
.stat:nth-child(3) { animation-delay: 0.6s; }

@keyframes statReveal {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.stat:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* ═══ HERO PANEL ═══ */
.hero-stack {
  display: grid;
  gap: 20px;
  animation: heroPanelReveal 1s ease-out 0.2s backwards;
}

@keyframes heroPanelReveal {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.4), transparent);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(var(--accent-rgb), 0.06), transparent 60%);
  pointer-events: none;
}

.hero-panel:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-2px);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 4px;
}

.panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-panel h2 {
  font-size: 1.5rem;
  margin: 14px 0 8px;
}

.panel-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.panel-item {
  padding-left: 16px;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ═══ HERO MEDIA / CODE TERMINAL ═══ */
.hero-media {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 14px;
  transition: var(--transition-base);
}

.hero-media:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
}

.hero-media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-media-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  animation: tagGlow 3s ease-in-out infinite;
}

@keyframes tagGlow {
  0%, 100% { box-shadow: 0 0 0 transparent; }
  50% { box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2); }
}

.hero-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0c0c;
  min-height: 220px;
  font-family: "IBM Plex Mono", monospace;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(var(--accent-rgb), 0.05), transparent 50%);
  transition: opacity 0.4s;
}

/* ═══ SITE SHOWCASE ANIMATION ═══ */
.site-showcase {
  position: absolute;
  inset: 0;
  padding: 16px;
  overflow: hidden;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-url {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
  flex: 1;
}

.browser-url svg {
  opacity: 0.5;
}

.site-content {
  padding: 12px;
  animation: siteReveal 1.5s ease-out 0.3s backwards;
}

@keyframes siteReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-hero-anim {
  margin-bottom: 12px;
}

.site-title-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.site-title-line {
  height: 8px;
  width: 80%;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.1));
  border-radius: 4px;
  animation: lineGrow 2s ease-in-out infinite alternate;
}

.site-title-line.short {
  width: 50%;
  animation-delay: 0.3s;
}

@keyframes lineGrow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.site-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.site-btn-primary {
  width: 60px;
  height: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border-radius: 10px;
  animation: btnPulse 2s ease-in-out infinite;
}

.site-btn-secondary {
  width: 50px;
  height: 18px;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 10px;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(var(--accent-rgb), 0); }
  50% { box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.3); }
}

.site-image-placeholder {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.03));
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  animation: imageShimmer 3s ease-in-out infinite;
}

@keyframes imageShimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.site-cards-anim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: 6px;
  padding: 8px;
  animation: cardFadeIn 0.6s ease-out backwards;
}

.mini-card:nth-child(1) { animation-delay: 0.5s; }
.mini-card:nth-child(2) { animation-delay: 0.7s; }
.mini-card:nth-child(3) { animation-delay: 0.9s; }

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mini-card-icon {
  width: 16px;
  height: 16px;
  background: rgba(var(--accent-rgb), 0.2);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mini-card-text {
  height: 5px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: 3px;
  margin-bottom: 4px;
}

.mini-card-text.short {
  width: 60%;
}

/* Floating Badges */
.floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
  backdrop-filter: blur(8px);
  animation: floatBadge 6s ease-in-out infinite;
}

.float-badge svg {
  opacity: 0.7;
}

.fb-1 { top: 15%; left: 5%; animation-delay: 0s; }
.fb-2 { top: 25%; right: 5%; animation-delay: -1s; }
.fb-3 { top: 55%; left: 8%; animation-delay: -2s; }
.fb-4 { top: 65%; right: 8%; animation-delay: -3s; }
.fb-5 { top: 80%; left: 15%; animation-delay: -4s; }
.fb-6 { top: 40%; right: 12%; animation-delay: -5s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  25% { transform: translateY(-6px) rotate(2deg); opacity: 1; }
  50% { transform: translateY(3px) rotate(-1deg); opacity: 0.8; }
  75% { transform: translateY(-4px) rotate(1deg); opacity: 0.9; }
}

.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(var(--accent-rgb), 0.08) 50%, transparent 90%);
  animation: scanline 6s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

@keyframes scanline {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(60%); }
}

.hero-media-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.overlay-item {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  backdrop-filter: blur(8px);
}

.hero-media-meta {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

/* ═══ TILT EFFECT ═══ */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  will-change: transform;
}

[data-tilt].is-tilting {
  box-shadow: var(--shadow-lg), 0 0 60px rgba(var(--accent-rgb), 0.1);
}

/* ═══ PROOF / TECHNOLOGIES ═══ */
.proof {
  padding-top: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.proof-logos span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: var(--transition-base);
}

.proof-logos span:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: var(--transition-base);
  cursor: default;
}

.tech-badge svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.tech-badge:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.tech-badge:hover svg {
  opacity: 1;
}

.logo-marquee {
  margin-top: 30px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.35);
  font-family: "Instrument Serif", serif;
  font-weight: 600;
}

.marquee-track span {
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee-track span:hover {
  color: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ═══ SECTION HEADERS ═══ */
.section-header {
  max-width: 600px;
  margin-bottom: 44px;
}

/* ═══ IMPACT / SERVICES GRID ═══ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.impact-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 40px rgba(var(--accent-rgb), 0.08);
}

.impact-card:hover::before { opacity: 1; }

.impact-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  font-family: "Instrument Serif", serif;
}

.impact-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 10px;
}

/* ═══ PORTFOLIO / PROJECTS ═══ */
.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.signal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.signal-metric {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.signal-wall {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.signal-wall::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
}

.project-showcase {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition-base);
  cursor: default;
}

.project-item:hover {
  transform: translateX(4px);
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.06);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.1);
}

.project-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.project-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.project-type {
  font-size: 0.72rem;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
  font-weight: 500;
}

.signal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.signal-badges span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
}

/* ═══ PROCESS ═══ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: var(--transition-base);
  position: relative;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.process-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-3px);
}

.process-card:hover::before { opacity: 1; }

.process-step {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

.process-card h3 {
  font-size: 1.1rem;
  margin: 10px 0 8px;
}

/* ═══ TESTIMONIALS ═══ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-base);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4rem;
  font-family: "Instrument Serif", serif;
  color: rgba(var(--accent-rgb), 0.15);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══ FAQ ═══ */
.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* ═══ CONTACT ═══ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-whatsapp {
  color: #25D366;
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-whatsapp:hover { opacity: 0.7; }

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.contact-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  cursor: pointer;
  appearance: auto;
  transition: var(--transition-fast);
  width: 100%;
}

.contact-select option {
  background: #1a1a1a;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 0.92rem;
  border: none;
}

.contact-select option[value=""] {
  color: var(--muted);
}

.contact-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.contact-select:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.form-status {
  min-height: 20px;
  font-size: 0.88rem;
}

.form-status.is-success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.form-status.is-error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-links a:hover { opacity: 0.7; }

/* ═══ WHATSAPP FLOAT ═══ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  animation: whatsappBounce 3s ease-in-out infinite;
}

@keyframes whatsappBounce {
  0%, 85%, 100% { transform: translateY(0); }
  90% { transform: translateY(-6px); }
  95% { transform: translateY(0); }
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { flex-shrink: 0; }

/* ═══ SCROLL ANIMATIONS ═══ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate]:nth-child(2) { transition-delay: 0.1s; }
[data-animate]:nth-child(3) { transition-delay: 0.2s; }
[data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .signal-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  body { padding-top: 68px; }
  .site-nav { height: 64px; }
  .hero { min-height: auto; padding-top: 40px; }
  .hero-grid { gap: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .impact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .signal-metrics { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; }
  .nav-actions { gap: 8px; }
  .hero-media-meta { flex-direction: column; gap: 4px; }
  .proof-grid { grid-template-columns: 1fr; }
  .profile-photo-wrapper { display: none; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .signal-metrics { grid-template-columns: 1fr; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .orb, .hero-media, .scanline, .marquee-track {
    animation: none !important;
  }
  .cursor-glow { display: none !important; }
  [data-tilt] { transform: none !important; }
  .whatsapp-float { animation: none !important; }
}