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

html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: dark;
  --brand-primary: #00d4ff;
  --brand-glow: rgba(0, 212, 255, 0.35);
  --bg-deep: #050816;
  --text-light: #ffffff;
  --text-muted: #b5b5b5;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(0, 212, 255, 0.4);
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at 20% 30%, rgba(var(--brand-rgb, 0, 212, 255), 0.08), transparent 55%),
              var(--bg-deep);
  color: var(--text-light);
  overflow-x: hidden;
  transition: background 0.55s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  width: 800px;
  height: 800px;
  top: -300px;
  right: -200px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.6s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(20px);
  background: rgba(5, 8, 22, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-primary);
  transition: color 0.3s ease;
  z-index: 1001;
  text-decoration: none;
  cursor: pointer;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px var(--brand-glow);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links li {
  position: relative;
  z-index: 2;
}

.nav-links a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 30px;
  transition: color 0.3s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
  color: var(--brand-primary);
  transform: translateY(-3px);
}

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

.nav-links a:active {
  transform: translateY(0) scale(0.95);
}

/* Sliding 3D pill — positioned by script-main.js to sit behind the
   hovered / current link, giving the nav a smooth "magnetic" feel */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.16), rgba(0, 212, 255, 0.05));
  border: 1px solid var(--border-glow);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.35),
    0 8px 20px var(--brand-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition:
    left 0.45s cubic-bezier(0.22, 0.9, 0.3, 1.4),
    width 0.45s cubic-bezier(0.22, 0.9, 0.3, 1.4),
    opacity 0.25s ease;
}

.nav-indicator.visible {
  opacity: 1;
}

.hamburger {
  display: none; /* Keep this if you're showing it only on mobile */

  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  width: 50px;
  height: 50px;

  cursor: pointer;
  border: none;
  border-radius: 12px;

  background: linear-gradient(135deg, var(--brand-primary), #4f46e5);

  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);

  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger:hover {
  transform: translateY(-2px) scale(1.05);
}

.hamburger:active {
  transform: scale(0.95);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  width: 28px;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  /* The sliding pill only makes sense on a horizontal bar — the mobile
     drawer gets its own chip-style "current" state instead (below). */
  .nav-indicator {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: rgba(3, 6, 20, 0.96);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    transition: right 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    z-index: 1000;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    padding: 12px 30px;
    border-radius: 30px;
    border: 1px solid transparent;
  }
  .nav-links a:hover {
    transform: translateY(-2px);
  }
  .nav-links a.current {
    background: linear-gradient(160deg, rgba(0, 212, 255, 0.18), rgba(0, 212, 255, 0.06));
    border-color: var(--border-glow);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), 0 8px 18px var(--brand-glow);
  }
  .nav-links li {
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 0 8%;
}

.hero-content {
  max-width: 650px;
}

.tag {
  color: var(--brand-primary);
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.05;
  margin: 25px 0;
  background: linear-gradient(135deg, #fff 30%, var(--brand-primary) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: background 0.4s;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.buttons {
  display: flex;
  gap: 18px;
  margin-top: 40px;
}

button {
  padding: 14px 32px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand-primary);
  color: #050816;
  box-shadow: 0 0 20px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

section {
  padding: 120px 8%;
}

h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.1rem;
}

/* ========== WHAT WE DO SECTION ========== */
.services-vertical {
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  margin-bottom: 50px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  cursor: pointer;
  border-radius: 32px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-header:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--brand-primary);
  transform: translateX(8px);
}

.service-icon {
  font-size: 3.5rem;
  min-width: 80px;
  text-align: center;
}

.service-title {
  flex: 1;
}

.service-title h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.service-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  margin-right: 10px;
}

.service-stats span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.service-arrow {
  font-size: 1.5rem;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.service-header.active .service-arrow {
  transform: rotate(90deg);
}

.service-projects-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 32px 32px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
}

.project-preview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-preview:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  background: rgba(0, 212, 255, 0.1);
}

.project-preview h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--brand-primary);
}

.project-preview p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.project-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-link:hover {
  gap: 10px;
}

/* The whole card is now a link (see index.html / founder.html) —
   this makes the arrow "gap" animation trigger from anywhere on the
   card, not just when hovering the text itself. */
.project-preview:hover .project-link {
  gap: 10px;
}

.project-preview:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tech-tags span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .service-header {
    padding: 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .service-icon {
    font-size: 2.5rem;
    min-width: 60px;
  }
  .service-title h3 {
    font-size: 1.3rem;
  }
  .service-stats {
    flex-direction: row;
    align-items: flex-start;
    margin-right: 0;
    margin-left: 95px;
    order: 3;
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 0 20px var(--brand-glow);
}

.card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 28px;
  transition: all 0.4s;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--border-glow);
  box-shadow: 0 0 30px var(--brand-glow);
}

.card .role {
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.cube {
  position: relative;
  width: 260px;
  height: 260px;
  transform-style: preserve-3d;
  cursor: grab;
  will-change: transform;
}

.cube:active {
  cursor: grabbing;
}

.face {
  position: absolute;
  width: 260px;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backface-visibility: hidden;
  box-shadow: 0 0 20px var(--brand-glow);
  transition: box-shadow 0.2s;
}

.front { transform: translateZ(130px); }
.back { transform: rotateY(180deg) translateZ(130px); }
.left { transform: rotateY(-90deg) translateZ(130px); }
.right { transform: rotateY(90deg) translateZ(130px); }
.top { transform: rotateX(90deg) translateZ(130px); }
.bottom { transform: rotateX(-90deg) translateZ(130px); }

.founder-spotlight {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), transparent);
  border-radius: 48px;
  padding: 50px;
  margin-top: 20px;
}
.founder-flex {
  display: flex;
  gap: 45px;
  align-items: center;
  flex-wrap: wrap;
}
.founder-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 0 30px var(--brand-glow);
}
.founder-info h3 { font-size: 1.8rem; margin-bottom: 10px; }
.founder-info h4 { font-size: 1.2rem; color: var(--brand-primary); margin-bottom: 15px; }

/* Founder direct-contact row — 3D "keycap" buttons: a flat shadow layer
   underneath simulates thickness, and each button lifts on hover / presses
   down on click, like the raised tiles this style is based on. */
.founder-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.founder-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(0);
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}
.founder-contact a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.35),
    0 14px 26px var(--brand-glow);
}
.founder-contact a:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 3px 10px rgba(0, 0, 0, 0.2);
}

.founder-contact a.primary {
  background: var(--brand-primary);
  color: #050816;
  border: none;
  font-weight: 700;
  box-shadow:
    0 3px 0 rgba(0, 130, 160, 0.9),
    0 6px 16px var(--brand-glow);
}

.founder-contact a.primary:hover {
  color: #050816;
  transform: translateY(-4px);
  box-shadow:
    0 6px 0 rgba(0, 130, 160, 0.9),
    0 16px 28px var(--brand-glow);
}
.founder-contact a.primary:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(0, 130, 160, 0.9),
    0 3px 10px var(--brand-glow);
}

/* Per-brand hover colors, matched by link target — same spirit as the
   platform-colored 3D tiles, without needing extra classes in the HTML */
.founder-contact a[href^="https://wa.me"]:hover,
.founder-contact a[href*="wa.me"]:hover {
  background: #25d366;
  border-color: #25d366;
  color: #06210f;
  box-shadow: 0 6px 0 #128c3e, 0 16px 28px rgba(37, 211, 102, 0.35);
}
.founder-contact a[href^="mailto:"]:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #050816;
  box-shadow: 0 6px 0 rgba(0, 130, 160, 0.9), 0 16px 28px var(--brand-glow);
}
.founder-contact a[href^="tel:"]:hover {
  background: #ffb648;
  border-color: #ffb648;
  color: #3a2400;
  box-shadow: 0 6px 0 #cc8f30, 0 16px 28px rgba(255, 182, 72, 0.32);
}
.founder-contact a[href*="github.com"]:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0d1117;
  box-shadow: 0 6px 0 #b0b0b0, 0 16px 28px rgba(255, 255, 255, 0.25);
}
.founder-contact a[href*="linkedin.com"]:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
  box-shadow: 0 6px 0 #084d94, 0 16px 28px rgba(10, 102, 194, 0.35);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ========== HOW WE WORK (process steps) ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.process-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 28px;
  color: white;
  font-family: inherit;
  margin-bottom: 18px;
  transition: all 0.2s ease;
}
/* BLACK BACKGROUND when selecting options (dropdown focused/active) */
.contact-form select {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}
.contact-form select option {
  background: #000000;
  color: white;
}
.contact-form select:focus {
  background: #000000;
  outline: none;
  border-color: var(--brand-primary);
}
.contact-form select:hover {
  border-color: var(--brand-primary);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: rgba(0, 0, 0, 0.6);
}
.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
.contact-info p { margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.contact-info a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease,
    background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.contact-info a:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.3), 0 12px 20px var(--brand-glow);
}
.contact-info a:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.2); }
.contact-info a[href^="https://wa.me"]:hover,
.contact-info a[href*="wa.me"]:hover { background: #25d366; border-color: #25d366; color: #06210f; box-shadow: 0 5px 0 #128c3e, 0 12px 22px rgba(37,211,102,.35); }
.contact-info a[href^="tel:"]:hover { background: #ffb648; border-color: #ffb648; color: #3a2400; box-shadow: 0 5px 0 #cc8f30, 0 12px 22px rgba(255,182,72,.3); }

/* ---- Social icons: 3D "domino tile" buttons ----
   Smaller and less extreme than a literal recreation of the reference —
   a gentle tilt + layered depth edge, with a soft brand-glow shadow so it
   sits comfortably in the site's neon-glass aesthetic instead of looking
   like a dropped-in flat asset. */
.social-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 140px));
  gap: 26px 30px;
  margin-top: 38px;
  padding: 14px 6px 30px;
}

.social-icons span {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 138px;
  height: 46px;
  padding-left: 14px;
  background: #ffffff;
  border-radius: 8px;
  color: #1c2b45;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2px;
  transform: rotate(-16deg) skew(12deg);
  box-shadow:
    -10px 10px 8px rgba(0, 0, 0, 0.32),
    0 0 16px rgba(0, 212, 255, 0.1);
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.3, 1.2), box-shadow 0.35s ease,
    background 0.35s ease, color 0.35s ease;
}

.social-icons span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -12px;
  height: 100%;
  width: 12px;
  background: #cfcfcf;
  transform: skewY(-45deg);
  transition: background 0.35s ease;
}

.social-icons span::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: -6px;
  height: 12px;
  width: 100%;
  background: #cfcfcf;
  transform: skewX(-45deg);
  transition: background 0.35s ease;
}

.social-icons span i {
  font-size: 18px;
  line-height: 1;
  color: #262626;
  transition: color 0.35s ease;
}

.social-icons a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

.social-icons span:hover {
  z-index: 5;
  transform: rotate(-16deg) skew(12deg) translate(10px, -9px);
  color: #ffffff;
}
.social-icons span:hover i {
  color: #ffffff;
}

/* Per-platform brand fills + matching glow on hover */
.social-icons span:has(.fa-youtube):hover {
  background: #ff0000;
  box-shadow: -22px 22px 20px rgba(0, 0, 0, 0.35), 0 0 22px rgba(255, 0, 0, 0.4);
}
.social-icons span:has(.fa-youtube):hover::before { background: #cc0000; }
.social-icons span:has(.fa-youtube):hover::after { background: #ff4d4d; }

.social-icons span:has(.fa-tiktok):hover {
  background: #010101;
  box-shadow: -22px 22px 20px rgba(0, 0, 0, 0.35), 0 0 22px rgba(37, 244, 238, 0.35);
}
.social-icons span:has(.fa-tiktok):hover::before { background: #000000; }
.social-icons span:has(.fa-tiktok):hover::after { background: #25f4ee; }

.social-icons span:has(.fa-facebook-f):hover,
.social-icons span:has(.fa-facebook):hover {
  background: #1877F2;
  box-shadow: -22px 22px 20px rgba(0, 0, 0, 0.35), 0 0 22px rgba(24, 119, 242, 0.4);
}
.social-icons span:has(.fa-facebook-f):hover::before,
.social-icons span:has(.fa-facebook):hover::before { background: #0f5bc4; }
.social-icons span:has(.fa-facebook-f):hover::after,
.social-icons span:has(.fa-facebook):hover::after { background: #5b9bf5; }

.social-icons span:has(.fa-github):hover {
  background: #ffffff;
  color: #0d1117;
  box-shadow: -22px 22px 20px rgba(0, 0, 0, 0.35), 0 0 22px rgba(255, 255, 255, 0.25);
}
.social-icons span:has(.fa-github):hover i { color: #0d1117; }
.social-icons span:has(.fa-github):hover::before { background: #b0b0b0; }
.social-icons span:has(.fa-github):hover::after { background: #d9d9d9; }

/* WhatsApp button (inline, inside Contact section) */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 40px;
  background: #25D366;
  color: #06210f;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
  transform: translateY(0);
  box-shadow: 0 4px 0 #128c3e, 0 10px 22px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.3s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow: 0 8px 0 #128c3e, 0 18px 30px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #128c3e, 0 3px 10px rgba(37, 211, 102, 0.3);
}

/* WhatsApp floating action button (site-wide) — a raised 3D disc */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  text-decoration: none;
  transform: translateY(0);
  box-shadow: 0 5px 0 #128c3e, 0 10px 24px rgba(0,0,0,.4), 0 0 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 9px 0 #128c3e, 0 18px 30px rgba(0,0,0,.4), 0 0 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-float:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 0 #128c3e, 0 4px 12px rgba(0,0,0,.35);
}

/* Copy-to-clipboard toast (email fallback) */
.copy-toast {
  position: fixed;
  bottom: 100px;
  right: 26px;
  background: rgba(10, 14, 30, 0.95);
  border: 1px solid var(--brand-primary);
  color: white;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.85rem;
  box-shadow: 0 0 20px var(--brand-glow);
  z-index: 1200;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Standalone page header (used on the Portfolio page) */
.page-header {
  padding: 170px 8% 40px;
  text-align: center;
}
.page-header h1 {
  font-size: 3.2rem;
  background: linear-gradient(135deg, #fff 30%, var(--brand-primary) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

footer {
  padding: 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
}
footer a { color: #888; }
footer a:hover { color: var(--brand-primary); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .buttons {
    justify-content: center;
  }
  .hero-3d {
    margin-top: 40px;
  }
  h2 {
    font-size: 2.2rem;
  }
  section {
    padding: 80px 6%;
  }
  .cube {
    width: 200px;
    height: 200px;
  }
  .face {
    width: 200px;
    height: 200px;
  }
  .front { transform: translateZ(100px); }
  .back { transform: rotateY(180deg) translateZ(100px); }
  .left { transform: rotateY(-90deg) translateZ(100px); }
  .right { transform: rotateY(90deg) translateZ(100px); }
  .top { transform: rotateX(90deg) translateZ(100px); }
  .bottom { transform: rotateX(-90deg) translateZ(100px); }
  .founder-flex { justify-content: center; text-align: center; }
  .founder-contact { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-header { padding: 150px 6% 30px; }
  .page-header h1 { font-size: 2.3rem; }
}
