/* ============================================================
   TURINGS DESIGN — Global Styles
   ============================================================ */

:root {
  /* Colors */
  --bg-primary: #050508;
  --bg-secondary: #0a0a10;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;

  --accent-1: #7c5cff;
  --accent-2: #00d4aa;
  --accent-3: #ff6b9d;

  --gradient-primary: linear-gradient(135deg, #7c5cff 0%, #00d4aa 50%, #ff6b9d 100%);
  --gradient-text: linear-gradient(135deg, #7c5cff 0%, #00d4aa 100%);
  --gradient-card-1: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(0, 212, 170, 0.05));
  --gradient-card-2: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(255, 107, 157, 0.05));

  --border-color: rgba(255, 255, 255, 0.06);
  --border-color-hover: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-padding: clamp(20px, 4vw, 40px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

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

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

::selection {
  background: rgba(124, 92, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 92, 255, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 92, 255, 0.5);
}

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

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   Cursor Glow
   ============================================================ */

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ============================================================
   Layout
   ============================================================ */

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

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-1);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

.nav-link--cta {
  color: var(--bg-primary);
  background: var(--text-primary);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-1);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -200px;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  opacity: 0.2;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.02); }
}

.orb-3 {
  animation-name: orbFloat3;
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  25% { transform: translate(-45%, -55%) scale(1.08); }
  50% { transform: translate(-55%, -45%) scale(0.92); }
  75% { transform: translate(-48%, -52%) scale(1.04); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

/* .title-gradient — see Hero Entrance Animation section for shimmer version */

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out-expo);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color-hover);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat {
  text-align: center;
}

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

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

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Section Headers
   ============================================================ */

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 550px;
  line-height: 1.7;
}

/* ============================================================
   About Section
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text .text-large {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

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

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

.feature-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.feature-icon {
  color: var(--accent-1);
  margin-bottom: 16px;
}

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Process Section
   ============================================================ */

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

.process-timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-color-hover) 10%, var(--border-color-hover) 90%, transparent);
}

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}

.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  transition: all 0.4s var(--ease-out-expo);
}

.process-step:hover .step-icon-wrap {
  border-color: rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.05);
  transform: scale(1.05);
}

/* ============================================================
   Work / Portfolio Section
   ============================================================ */

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

.work-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.work-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.work-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    hsla(var(--card-hue), 70%, 50%, 0.12) 0%,
    transparent 70%
  );
  transition: opacity 0.5s;
}

.work-card:hover .work-card-bg {
  opacity: 1.5;
}

.work-card-content {
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.work-platform {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.work-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

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

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-1);
  transition: gap 0.3s var(--ease-out-expo);
}

.work-card:hover .work-link {
  gap: 10px;
}

/* ============================================================
   Philosophy Section
   ============================================================ */

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

.philosophy-layout {
  display: grid;
  gap: 48px;
}

.philosophy-statement .text-large {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 700px;
}

.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.pillar {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.4s var(--ease-out-expo);
}

.pillar:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.pillar-icon,
.pillar-scene {
  color: var(--accent-2);
  margin-bottom: 16px;
}

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

.pillar p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Founder Section
   ============================================================ */

.founder-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}

.founder-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-image-wrap {
  position: relative;
  width: 280px;
  height: 280px;
}

.founder-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.founder-image-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: ringRotate 8s linear infinite;
  opacity: 0.5;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

.founder-content {
  max-width: 560px;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.95rem;
  color: var(--accent-1);
  font-weight: 500;
  margin-bottom: 24px;
}

.founder-bio {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder-bio:last-of-type {
  margin-bottom: 28px;
}

/* ============================================================
   Contact Section
   ============================================================ */

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

.contact-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 40px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--text-secondary);
}

.contact-phone svg {
  color: var(--accent-2);
  flex-shrink: 0;
}

.contact-phone a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s;
}

.contact-phone a:hover {
  color: var(--accent-2);
}

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

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

.office-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  flex-shrink: 0;
}

.office h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

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

/* Contact Form */
.contact-form-wrap {
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  background: rgba(124, 92, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form two-column row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Select dropdown */
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select:focus {
  border-color: var(--accent-1);
  background-color: rgba(124, 92, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.1);
}

.form-group select option {
  background: #1a1a2e;
  color: var(--text-primary);
}

/* Checkbox */
.form-checkbox {
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Cal.com scheduler notice */
.cal-scheduler {
  margin-bottom: 20px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cal-scheduler-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 211, 176, 0.2);
  background: rgba(0, 211, 176, 0.06);
  color: var(--accent-2);
}

.cal-scheduler-inner svg {
  flex-shrink: 0;
}

.cal-note {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--accent-2);
}

/* Footer meta */
.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-meta a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-meta a:hover {
  color: var(--accent-1);
}

.footer-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding: 60px 0 40px;
  border-top: none;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   Work Card Illustrations
   ============================================================ */

.work-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Bliss+ — Breathing Rings & Particles ── */

.work-visual-bliss .breath-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 92, 255, 0.35);
  animation: breathe 4s ease-in-out infinite;
}

.work-visual-bliss .ring-1 {
  width: 60px;
  height: 60px;
  border-color: rgba(124, 92, 255, 0.5);
  animation-delay: 0s;
}

.work-visual-bliss .ring-2 {
  width: 100px;
  height: 100px;
  border-color: rgba(124, 92, 255, 0.3);
  animation-delay: 0.6s;
}

.work-visual-bliss .ring-3 {
  width: 140px;
  height: 140px;
  border-color: rgba(124, 92, 255, 0.15);
  animation-delay: 1.2s;
}

.work-visual-bliss .breath-center {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.8), rgba(124, 92, 255, 0.2));
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.5), 0 0 40px rgba(124, 92, 255, 0.2);
  animation: breatheCenter 4s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes breatheCenter {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(124, 92, 255, 0.5), 0 0 40px rgba(124, 92, 255, 0.2); }
  50% { transform: scale(1.3); box-shadow: 0 0 30px rgba(124, 92, 255, 0.7), 0 0 60px rgba(124, 92, 255, 0.3); }
}

.work-visual-bliss .float-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.6);
  animation: floatUpBliss 5s ease-in-out infinite;
}

.fp-1 { left: 15%; animation-delay: 0s; }
.fp-2 { left: 30%; animation-delay: 0.8s; }
.fp-3 { left: 50%; animation-delay: 1.6s; }
.fp-4 { left: 65%; animation-delay: 2.4s; }
.fp-5 { left: 80%; animation-delay: 3.2s; }
.fp-6 { left: 45%; animation-delay: 4s; }

@keyframes floatUpBliss {
  0% { bottom: 0; opacity: 0; transform: scale(1); }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { bottom: 100%; opacity: 0; transform: scale(0.5); }
}

/* ── Bolaa — Chat Bubbles & Network ── */

.work-visual-bolaa .chat-bubble {
  position: absolute;
  border-radius: 16px;
  background: rgba(0, 170, 230, 0.1);
  border: 1px solid rgba(0, 170, 230, 0.2);
  animation: bubbleRise 4.5s ease-in-out infinite;
}

.work-visual-bolaa .cb-left {
  border-bottom-left-radius: 4px;
}

.work-visual-bolaa .cb-right {
  border-bottom-right-radius: 4px;
}

.work-visual-bolaa .cb-1 {
  width: 65px;
  height: 28px;
  left: 18%;
  bottom: 60%;
  animation-delay: 0s;
}

.work-visual-bolaa .cb-2 {
  width: 55px;
  height: 24px;
  right: 18%;
  bottom: 50%;
  animation-delay: 1.5s;
}

.work-visual-bolaa .cb-3 {
  width: 50px;
  height: 22px;
  left: 28%;
  bottom: 40%;
  animation-delay: 3s;
}

@keyframes bubbleRise {
  0% { transform: translateY(15px) scale(0.8); opacity: 0; }
  15% { transform: translateY(0) scale(1); opacity: 0.8; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-30px) scale(0.9); opacity: 0; }
}

.work-visual-bolaa .debate-person {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 170, 230, 0.4);
  bottom: 25%;
  animation: personPulse 3s ease-in-out infinite;
}

.work-visual-bolaa .dp-1 {
  left: 30%;
  animation-delay: 0s;
}

.work-visual-bolaa .dp-2 {
  right: 30%;
  animation-delay: 1.5s;
}

@keyframes personPulse {
  0%, 100% { border-color: rgba(0, 170, 230, 0.3); box-shadow: none; }
  50% { border-color: rgba(0, 170, 230, 0.7); box-shadow: 0 0 12px rgba(0, 170, 230, 0.2); }
}

.work-visual-bolaa .debate-connect {
  position: absolute;
  bottom: calc(25% + 10px);
  left: calc(30% + 22px);
  right: calc(30% + 22px);
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 170, 230, 0.1), rgba(0, 170, 230, 0.4), rgba(0, 170, 230, 0.1));
  animation: connectPulse 3s ease-in-out infinite;
}

@keyframes connectPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

.work-visual-bolaa .debate-pulse {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 170, 230, 0.5);
  bottom: calc(25% + 8px);
  animation: dotTravel 3s ease-in-out infinite;
}

.work-visual-bolaa .pulse-1 {
  animation-delay: 0.5s;
}

.work-visual-bolaa .pulse-2 {
  animation-delay: 2s;
  animation-direction: reverse;
}

@keyframes dotTravel {
  0% { left: calc(30% + 22px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(70% - 22px); opacity: 0; }
}

/* ── Dream Valley Stories — Stars, Moon & Book ── */

.work-visual-dream .twinkle-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 107, 157, 0.8);
  animation: twinkle 2.5s ease-in-out infinite;
}

.work-visual-dream .twinkle-star::before,
.work-visual-dream .twinkle-star::after {
  content: '';
  position: absolute;
  background: rgba(255, 107, 157, 0.5);
  border-radius: 50%;
}

.work-visual-dream .twinkle-star::before {
  width: 1px;
  height: 9px;
  left: 1px;
  top: -3px;
}

.work-visual-dream .twinkle-star::after {
  width: 9px;
  height: 1px;
  top: 1px;
  left: -3px;
}

.ts-1 { top: 15%; left: 15%; animation-delay: 0s; }
.ts-2 { top: 25%; right: 20%; animation-delay: 0.5s; }
.ts-3 { top: 10%; left: 45%; animation-delay: 1s; }
.ts-4 { top: 35%; left: 25%; animation-delay: 1.5s; }
.ts-5 { top: 20%; right: 35%; animation-delay: 2s; }
.ts-6 { top: 40%; right: 15%; animation-delay: 0.3s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

.work-visual-dream .dream-moon {
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  top: 18%;
  right: 22%;
  box-shadow: 8px -4px 0 0 rgba(255, 107, 157, 0.35);
  animation: moonGlow 5s ease-in-out infinite;
}

@keyframes moonGlow {
  0%, 100% { opacity: 0.5; box-shadow: 8px -4px 0 0 rgba(255, 107, 157, 0.35); }
  50% { opacity: 1; box-shadow: 8px -4px 0 0 rgba(255, 107, 157, 0.55), 8px -4px 15px 3px rgba(255, 107, 157, 0.1); }
}

.work-visual-dream .shooting-star {
  position: absolute;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 107, 157, 0.6), transparent);
  top: 30%;
  left: 20%;
  transform: rotate(-25deg);
  animation: shoot 6s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes shoot {
  0%, 90%, 100% { opacity: 0; transform: rotate(-25deg) translateX(0); }
  92% { opacity: 1; }
  97% { opacity: 0.8; transform: rotate(-25deg) translateX(120px); }
  98% { opacity: 0; }
}

.work-visual-dream .dream-book {
  position: absolute;
  bottom: 15%;
  display: flex;
  align-items: flex-end;
}

.work-visual-dream .book-page {
  width: 32px;
  height: 40px;
  border: 1px solid rgba(255, 107, 157, 0.2);
  background: rgba(255, 107, 157, 0.04);
}

.work-visual-dream .page-left {
  border-radius: 4px 0 0 4px;
  border-right: none;
  transform-origin: right center;
  animation: pageLeft 5s ease-in-out infinite;
}

.work-visual-dream .page-right {
  border-radius: 0 4px 4px 0;
  border-left: none;
  transform-origin: left center;
  animation: pageRight 5s ease-in-out infinite;
}

.work-visual-dream .book-spine {
  width: 2px;
  height: 42px;
  background: rgba(255, 107, 157, 0.3);
}

@keyframes pageLeft {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(8deg); }
}

@keyframes pageRight {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(-8deg); }
}

/* Feature icons removed — replaced by feature-scene mini-animations */

/* Process step icons — replaced by rich scene animations */

.step-icon-wrap {
  position: relative;
  overflow: hidden;
}

/* Philosophy pillar scenes — 3D isometric animated scenes */

.pillar-scene {
  width: 64px;
  height: 64px;
  position: relative;
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-out-expo);
}

.pillar:hover .pillar-scene {
  transform: scale(1.1);
}

/* ============================================================
   Founder Image (Photo)
   ============================================================ */

.founder-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
  transition: filter 0.5s, transform 0.5s var(--ease-out-expo);
}

.founder-image-wrap:hover .founder-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ============================================================
   Hero Entrance Animation
   ============================================================ */

.hero-anim {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  animation: heroEntrance 1s var(--ease-out-expo) forwards;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-badge.hero-anim { animation-delay: 0.1s; }
.hero-title.hero-anim { animation-delay: 0.3s; }
.hero-subtitle.hero-anim { animation-delay: 0.55s; }
.hero-actions.hero-anim { animation-delay: 0.75s; }
.hero-stats.hero-anim { animation-delay: 0.95s; }

/* Gradient shimmer on hero title */
.title-gradient {
  background: linear-gradient(
    90deg,
    var(--accent-1) 0%,
    var(--accent-2) 30%,
    var(--accent-3) 60%,
    var(--accent-1) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 6s ease-in-out infinite;
}

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

/* ============================================================
   Hero Floating Elements — 3D Phones + Agentic AI
   ============================================================ */

.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-float {
  position: absolute;
  opacity: 0;
  animation: heroFloatIn 1.2s var(--ease-out-expo) forwards;
}

@keyframes heroFloatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Shared Phone Styles ── */
.hf-phone-3d {
  position: absolute;
  top: 50%;
  opacity: 0;
}

.phone-3d-body {
  position: relative;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(10,10,18,0.9);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    8px 16px 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.phone-3d-screen {
  position: absolute;
  inset: 12px 8px;
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(15,15,25,1) 0%, rgba(8,8,16,1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px;
  gap: 14px;
  overflow: hidden;
}

.phone-3d-edge-right {
  position: absolute;
  top: 10px;
  right: -4px;
  width: 4px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, rgba(100,100,120,0.3) 0%, rgba(60,60,80,0.15) 100%);
  border-radius: 0 2px 2px 0;
  transform: skewY(-2deg);
}

.phone-3d-edge-left {
  position: absolute;
  top: 10px;
  left: -4px;
  width: 4px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, rgba(100,100,120,0.25) 0%, rgba(60,60,80,0.1) 100%);
  border-radius: 2px 0 0 2px;
  transform: skewY(2deg);
}

.phone-3d-edge-bottom {
  position: absolute;
  bottom: -3px;
  left: 20px;
  width: calc(100% - 40px);
  height: 3px;
  background: rgba(60,60,80,0.2);
  border-radius: 0 0 2px 2px;
}

.phone-3d-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,212,170,0.08) 0%, transparent 70%);
  z-index: -1;
  animation: fadeIn 2s ease 1.5s both;
}

/* ── RIGHT Phone (primary, larger) ── */
.hf-phone-right {
  right: 6%;
  animation: phoneEnterRight 1.6s var(--ease-out-expo) 1s forwards;
}

.hf-phone-right .phone-3d-body {
  width: 130px;
  height: 240px;
  transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
  animation: phoneDriftRight 8s ease-in-out 2.6s infinite;
}

@keyframes phoneEnterRight {
  from { opacity: 0; transform: translateY(-50%) translateX(40px) scale(0.85); }
  to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}

@keyframes phoneDriftRight {
  0%, 100% { transform: perspective(800px) rotateY(-8deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(800px) rotateY(-6deg) rotateX(3deg) translateY(-8px); }
}

/* ── LEFT Phone (secondary, smaller) ── */
.hf-phone-left {
  left: 4%;
  animation: phoneEnterLeft 1.6s var(--ease-out-expo) 1.3s forwards;
}

.hf-phone-left .phone-3d-body {
  width: 110px;
  height: 200px;
  transform: perspective(800px) rotateY(10deg) rotateX(2deg);
  animation: phoneDriftLeft 9s ease-in-out 2.9s infinite;
}

.hf-phone-left .phone-3d-body--left {
  border-color: rgba(255,255,255,0.08);
}

@keyframes phoneEnterLeft {
  from { opacity: 0; transform: translateY(-50%) translateX(-40px) scale(0.85); }
  to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}

@keyframes phoneDriftLeft {
  0%, 100% { transform: perspective(800px) rotateY(10deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(800px) rotateY(8deg) rotateX(3deg) translateY(-6px); }
}

/* ── Right Phone Screen: Progress + Streak + Chart ── */
.app-progress-ring {
  position: relative;
  width: 48px;
  height: 48px;
}

.app-progress-ring svg { transform: rotate(-90deg); }

.app-ring-fill { animation: ringAnimFill 3s var(--ease-out-expo) 2s forwards; }

@keyframes ringAnimFill {
  from { stroke-dashoffset: 126; }
  to { stroke-dashoffset: 38; }
}

.app-ring-level {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-level-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-2);
  opacity: 0;
  animation: fadeIn 0.5s ease 3s forwards;
}

.app-streak {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.app-streak-flame {
  width: 14px;
  height: 18px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at bottom, rgba(255,165,0,0.7) 0%, rgba(255,80,50,0.5) 50%, transparent 80%);
  opacity: 0;
  animation: fadeIn 0.5s ease 2.2s forwards, flamePulse 1.5s ease-in-out 2.8s infinite;
}

@keyframes flamePulse {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  50% { transform: scaleY(1.15) scaleX(0.9); }
}

.app-streak-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.asb {
  width: 8px;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
}

.asb-1 { height: 6px;  background: rgba(0,212,170,0.15); animation: barGrow 0.4s var(--ease-out-expo) 2.3s forwards; }
.asb-2 { height: 8px;  background: rgba(0,212,170,0.2);  animation: barGrow 0.4s var(--ease-out-expo) 2.4s forwards; }
.asb-3 { height: 12px; background: rgba(0,212,170,0.25); animation: barGrow 0.4s var(--ease-out-expo) 2.5s forwards; }
.asb-4 { height: 10px; background: rgba(0,212,170,0.3);  animation: barGrow 0.4s var(--ease-out-expo) 2.6s forwards; }
.asb-5 { height: 14px; background: rgba(0,212,170,0.4);  animation: barGrow 0.4s var(--ease-out-expo) 2.7s forwards; }
.asb-6 { height: 16px; background: rgba(0,212,170,0.5);  animation: barGrow 0.4s var(--ease-out-expo) 2.8s forwards; }
.asb-7 { height: 20px; background: var(--accent-2);       animation: barGrow 0.4s var(--ease-out-expo) 2.9s forwards; }

@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.app-chart-line { width: 100%; margin-top: auto; }

.app-chart-path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: chartDraw 2.5s var(--ease-out-expo) 2.5s forwards;
}

.app-chart-area { opacity: 0; animation: fadeIn 1s ease 3.5s forwards; }

@keyframes chartDraw { to { stroke-dashoffset: 0; } }

/* ── Left Phone Screen: Mood + Progress Bars + Checks ── */
.app-mood-row {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.mood-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0;
  animation: moodPop 0.4s var(--ease-out-back) forwards;
}

.md-1 { background: rgba(255,107,157,0.4); animation-delay: 2.5s; }
.md-2 { background: rgba(255,165,0,0.4); animation-delay: 2.6s; }
.md-3 { background: rgba(0,212,170,0.4); animation-delay: 2.7s; }
.md-4 { background: rgba(0,212,170,0.6); animation-delay: 2.8s; }
.md-5 { background: rgba(0,212,170,0.8); animation-delay: 2.9s; }

@keyframes moodPop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

.app-h-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-h-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(0,212,170,0.15);
  position: relative;
  overflow: hidden;
}

.app-h-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 2px;
  background: var(--accent-2);
  animation: hBarFill 1.5s var(--ease-out-expo) forwards;
}

.ahb-1::after { width: 75%; animation-delay: 2.8s; }
.ahb-2::after { width: 50%; animation-delay: 3s; background: var(--accent-1); }
.ahb-3::after { width: 90%; animation-delay: 3.2s; }

@keyframes hBarFill {
  from { width: 0; }
}

.app-checks {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
}

.app-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
}

.ac-1 { animation: checkPop 0.4s var(--ease-out-back) 3.3s forwards; }
.ac-2 { animation: checkPop 0.4s var(--ease-out-back) 3.5s forwards; }
.ac-3 { animation: checkPop 0.4s var(--ease-out-back) 3.7s forwards; }

@keyframes checkPop {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Energy Waves (from both phones) ── */
.hf-wave {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.1);
}

.hf-wave-r { right: 10%; transform: translate(50%, -50%); }
.hf-wave-l { left: 8%; transform: translate(-50%, -50%); }

.hf-wave-1 { animation: heroFloatIn 0s ease 2s forwards, waveExpandR 4s ease-out 2.5s infinite; }
.hf-wave-2 { animation: heroFloatIn 0s ease 2s forwards, waveExpandR 4s ease-out 3.8s infinite; }
.hf-wave-3 { animation: heroFloatIn 0s ease 2s forwards, waveExpandL 4.5s ease-out 3s infinite; }
.hf-wave-4 { animation: heroFloatIn 0s ease 2s forwards, waveExpandL 4.5s ease-out 4.5s infinite; }

@keyframes waveExpandR {
  0% { transform: translate(50%, -50%) scale(1); opacity: 0.4; }
  100% { transform: translate(50%, -50%) scale(5); opacity: 0; }
}

@keyframes waveExpandL {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}

/* ── Particles (spread across both sides) ── */
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
}

/* Right-side particles */
.hp-1 { right: 18%; top: 55%; animation: particleRise 5s ease-in-out 2.5s infinite; }
.hp-2 { right: 6%;  top: 50%; animation: particleRise 6s ease-in-out 3s infinite; }
.hp-3 { right: 14%; top: 65%; animation: particleRise 4.5s ease-in-out 3.5s infinite; background: var(--accent-1); }
.hp-4 { right: 2%;  top: 45%; animation: particleRise 7s ease-in-out 2.8s infinite; width: 3px; height: 3px; }
.hp-5 { right: 22%; top: 58%; animation: particleRise 5.5s ease-in-out 4s infinite; background: var(--accent-3); width: 3px; height: 3px; }

/* Left-side particles */
.hp-6  { left: 8%;  top: 55%; animation: particleRise 6s ease-in-out 3.2s infinite; }
.hp-7  { left: 3%;  top: 48%; animation: particleRise 5s ease-in-out 4s infinite; background: var(--accent-1); width: 3px; height: 3px; }
.hp-8  { left: 14%; top: 62%; animation: particleRise 7s ease-in-out 3.5s infinite; width: 2px; height: 2px; }
.hp-9  { left: 18%; top: 50%; animation: particleRise 5.5s ease-in-out 2.8s infinite; background: var(--accent-3); width: 3px; height: 3px; }
.hp-10 { left: 6%;  top: 60%; animation: particleRise 6.5s ease-in-out 4.2s infinite; width: 2px; height: 2px; }

@keyframes particleRise {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: 0.7; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80px); }
}

/* ── Floating Icon Cards (distributed both sides) ── */
.hf-card {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}

/* Right side */
.hf-card-heart {
  top: 18%;
  right: 3%;
  animation: heroFloatIn 1s var(--ease-out-expo) 2.5s forwards, cardDrift1 7s ease-in-out 3.5s infinite;
}

.hf-card-bolt {
  bottom: 25%;
  right: 20%;
  animation: heroFloatIn 1s var(--ease-out-expo) 2.8s forwards, cardDrift2 8s ease-in-out 3.8s infinite;
}

/* Left side */
.hf-card-arrow {
  top: 22%;
  left: 2%;
  animation: heroFloatIn 1s var(--ease-out-expo) 3s forwards, cardDrift3 9s ease-in-out 4s infinite;
}

.hf-card-star {
  bottom: 30%;
  left: 16%;
  animation: heroFloatIn 1s var(--ease-out-expo) 3.2s forwards, cardDrift1 8.5s ease-in-out 4.2s infinite;
}

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

@keyframes cardDrift2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-3deg); }
}

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

/* ── Agentic AI: Connected Agent Nodes ── */
.hf-agents {
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  animation: heroFloatIn 1.2s var(--ease-out-expo) 2s forwards, agentsDrift 10s ease-in-out 3s infinite;
}

@keyframes agentsDrift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.agent-node {
  position: relative;
  z-index: 1;
}

.agent-node svg {
  display: block;
}

.an-1 { animation: nodeGlow 3s ease-in-out infinite; }
.an-2 { animation: nodeGlow 3s ease-in-out 1s infinite; }
.an-3 { animation: nodeGlow 3s ease-in-out 2s infinite; }

@keyframes nodeGlow {
  0%, 100% { filter: drop-shadow(0 0 2px transparent); }
  50% { filter: drop-shadow(0 0 8px rgba(0,212,170,0.4)); }
}

.agent-link {
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.agent-link::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-2);
  animation: packetTravel 2s ease-in-out infinite;
}

.al-2::after {
  animation-delay: 1s;
  background: var(--accent-1);
}

@keyframes packetTravel {
  0% { left: -8px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% + 8px); opacity: 0; }
}

.agent-packet {
  display: none; /* visual handled by link ::after */
}

/* ============================================================
   About Section — Feature Scene Animations
   ============================================================ */

.feature-scene {
  height: 80px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.03);
  border: 1px solid rgba(124, 92, 255, 0.06);
  overflow: hidden;
}

/* ── Agentic AI — Terminal with auto-typing code ── */

.ai-terminal {
  width: 90%;
  height: 60px;
  padding: 6px 10px;
  position: relative;
}

.ai-terminal-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.ai-terminal-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.2);
}

.ai-terminal-dots span:first-child { background: rgba(255, 107, 157, 0.4); }
.ai-terminal-dots span:nth-child(2) { background: rgba(0, 212, 170, 0.4); }
.ai-terminal-dots span:last-child { background: rgba(124, 92, 255, 0.4); }

.ai-line {
  height: 2px;
  border-radius: 1px;
  margin-bottom: 4px;
  transform-origin: left;
  animation: aiLineType 1.5s var(--ease-out-expo) infinite;
}

.al-1 { width: 70%; background: rgba(124, 92, 255, 0.3); animation-delay: 0s; }
.al-2 { width: 50%; background: rgba(0, 212, 170, 0.3); margin-left: 10px; animation-delay: 0.4s; }
.al-3 { width: 60%; background: rgba(255, 107, 157, 0.25); margin-left: 10px; animation-delay: 0.8s; }
.al-4 { width: 45%; background: rgba(124, 92, 255, 0.2); animation-delay: 1.2s; }

@keyframes aiLineType {
  0% { transform: scaleX(0); opacity: 0; }
  15% { opacity: 1; }
  30% { transform: scaleX(1); opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0.3; }
}

.ai-cursor {
  position: absolute;
  width: 2px;
  height: 10px;
  background: var(--accent-1);
  bottom: 8px;
  animation: aiCursorMove 6s ease-in-out infinite;
}

@keyframes aiCursorMove {
  0%, 100% { left: 10px; opacity: 1; }
  15% { left: calc(70% + 10px); }
  25% { left: 20px; opacity: 1; }
  40% { left: calc(50% + 20px); }
  50% { left: 20px; }
  65% { left: calc(60% + 20px); }
  75% { left: 10px; }
  90% { left: calc(45% + 10px); }
}

/* ── Beautiful by Default — Layout elements arranging ── */

.scene-design {
  background: rgba(0, 212, 170, 0.02);
  border-color: rgba(0, 212, 170, 0.06);
}

.design-canvas {
  width: 90%;
  height: 60px;
  position: relative;
}

.design-el {
  position: absolute;
  border-radius: 3px;
  animation: designArrange 4s var(--ease-out-expo) infinite;
}

.de-header {
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.12);
  animation-delay: 0s;
}

.de-sidebar {
  top: 12px;
  left: 0;
  width: 20%;
  bottom: 0;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.08);
  animation-delay: 0.2s;
}

.de-card {
  height: 18px;
  border: 1px solid rgba(0, 212, 170, 0.12);
  background: rgba(0, 212, 170, 0.06);
}

.de-card-1 { top: 12px; left: 24%; width: 22%; animation-delay: 0.4s; }
.de-card-2 { top: 12px; left: 50%; width: 22%; animation-delay: 0.6s; }
.de-card-3 { top: 12px; left: 76%; width: 22%; animation-delay: 0.8s; }

.de-hero-img {
  top: 34px;
  left: 24%;
  right: 2%;
  bottom: 2px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(0, 212, 170, 0.1);
  animation-delay: 1s;
}

@keyframes designArrange {
  0% { opacity: 0; transform: scale(0.5) translate(20px, 10px); }
  20% { opacity: 1; transform: scale(1) translate(0, 0); }
  80% { opacity: 1; transform: scale(1) translate(0, 0); }
  100% { opacity: 0.6; }
}

/* ── Gamification — Progress ring filling + rewards ── */

.scene-gamify {
  background: rgba(124, 92, 255, 0.02);
  border-color: rgba(124, 92, 255, 0.06);
}

.gamify-ring {
  position: relative;
  z-index: 1;
}

.gamify-progress {
  animation: gamifyFill 3s var(--ease-out-expo) infinite;
}

@keyframes gamifyFill {
  0% { stroke-dashoffset: 151; }
  40% { stroke-dashoffset: 38; }
  60% { stroke-dashoffset: 38; }
  100% { stroke-dashoffset: 151; }
}

.gamify-star {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: gamifyStarPop 3s ease infinite;
}

.gamify-star::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-1);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes gamifyStarPop {
  0%, 35% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
  45% { transform: translate(-50%, -50%) scale(1.3) rotate(15deg); opacity: 1; }
  55% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  65%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

.gamify-xp {
  position: absolute;
  right: 15%;
  top: 20%;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-2);
  opacity: 0;
  animation: xpFloat 3s ease infinite 0.5s;
}

@keyframes xpFloat {
  0%, 30% { opacity: 0; transform: translateY(5px); }
  40% { opacity: 1; transform: translateY(0); }
  55% { opacity: 1; transform: translateY(-3px); }
  70%, 100% { opacity: 0; transform: translateY(-12px); }
}

.gamify-streak {
  position: absolute;
  left: 15%;
  bottom: 15%;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  animation: streakAppear 3s ease infinite 0.3s;
}

.streak-flame {
  width: 10px;
  height: 14px;
  background: linear-gradient(to top, rgba(255, 107, 157, 0.6), rgba(255, 200, 50, 0.4));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flameDance 0.6s ease-in-out infinite alternate;
}

@keyframes flameDance {
  from { transform: scaleX(0.9) scaleY(1); }
  to { transform: scaleX(1.1) scaleY(0.9); }
}

.streak-num {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-3);
}

@keyframes streakAppear {
  0%, 25% { opacity: 0; transform: scale(0.5); }
  35% { opacity: 1; transform: scale(1.1); }
  45% { opacity: 1; transform: scale(1); }
  70%, 100% { opacity: 0; }
}

/* ============================================================
   Process Section — Meaningful Step Animations
   ============================================================ */

/* Remove old simple icon animations */
.process-step:nth-child(1) .step-icon-wrap svg,
.process-step:nth-child(2) .step-icon-wrap svg,
.process-step:nth-child(3) .step-icon-wrap svg,
.process-step:nth-child(4) .step-icon-wrap svg circle {
  animation: none;
}

/* ── Discover — Radar scan with data dots ── */

.step-scene-discover {
  position: relative;
}

.step-scene-discover svg {
  position: relative;
  z-index: 2;
  opacity: 0.7;
}

.discover-dots {
  position: absolute;
  inset: 0;
}

.discover-dots .dd {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
  animation: dotReveal 4s ease-in-out infinite;
}

.dd-1 { top: 18%; left: 22%; animation-delay: 0s; }
.dd-2 { top: 30%; right: 20%; animation-delay: 0.8s; }
.dd-3 { bottom: 28%; left: 35%; animation-delay: 1.6s; }
.dd-4 { top: 45%; right: 30%; animation-delay: 2.4s; }
.dd-5 { bottom: 20%; right: 25%; animation-delay: 3.2s; }

@keyframes dotReveal {
  0% { opacity: 0; transform: scale(0); }
  10% { opacity: 1; transform: scale(1.5); }
  20% { opacity: 0.6; transform: scale(1); box-shadow: 0 0 6px rgba(0, 212, 170, 0.4); }
  60% { opacity: 0.6; }
  100% { opacity: 0; transform: scale(0.5); }
}

.discover-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.15);
  animation: scanPulse 4s ease-in-out infinite;
}

.discover-scan::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.08);
  animation: scanPulse 4s ease-in-out infinite 0.5s;
}

@keyframes scanPulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  30% { opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* ── Design — Wireframe drawing itself ── */

.step-scene-design {
  position: relative;
  overflow: hidden;
}

.design-wireframe {
  width: 48px;
  height: 48px;
  position: relative;
}

.dw-line {
  position: absolute;
  background: var(--accent-2);
  opacity: 0.4;
}

.dw-h1 {
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  transform-origin: left;
  animation: wireframeDraw 3s var(--ease-out-expo) infinite;
}

.dw-h2 {
  top: 14px;
  left: 0;
  right: 0;
  height: 1px;
  transform-origin: left;
  animation: wireframeDraw 3s var(--ease-out-expo) infinite 0.3s;
}

.dw-v1 {
  top: 0;
  left: 16px;
  width: 1px;
  bottom: 0;
  transform-origin: top;
  animation: wireframeDrawV 3s var(--ease-out-expo) infinite 0.6s;
}

.dw-block {
  border: 1px solid rgba(0, 212, 170, 0.25);
  background: rgba(0, 212, 170, 0.06);
  border-radius: 2px;
}

.dw-b1 {
  top: 18px;
  left: 20px;
  width: 12px;
  height: 12px;
  animation: blockAppear 3s ease infinite 0.9s;
}

.dw-b2 {
  top: 18px;
  left: 34px;
  width: 12px;
  height: 12px;
  animation: blockAppear 3s ease infinite 1.2s;
}

@keyframes wireframeDraw {
  0% { transform: scaleX(0); opacity: 0; }
  20% { transform: scaleX(1); opacity: 0.5; }
  80% { transform: scaleX(1); opacity: 0.5; }
  100% { opacity: 0.15; }
}

@keyframes wireframeDrawV {
  0% { transform: scaleY(0); opacity: 0; }
  20% { transform: scaleY(1); opacity: 0.5; }
  80% { transform: scaleY(1); opacity: 0.5; }
  100% { opacity: 0.15; }
}

@keyframes blockAppear {
  0%, 10% { opacity: 0; transform: scale(0); }
  30% { opacity: 1; transform: scale(1.1); }
  40% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0.2; }
}

/* ── Build — Code brackets with typing lines ── */

.step-scene-build {
  position: relative;
  overflow: hidden;
}

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

.bc-bracket {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-2);
  opacity: 0.5;
  animation: bracketPulse 2s ease-in-out infinite;
}

@keyframes bracketPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.bc-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bcl {
  display: block;
  height: 2px;
  border-radius: 1px;
  transform-origin: left;
  animation: buildLineType 2.5s var(--ease-out-expo) infinite;
}

.bcl-1 { width: 18px; background: rgba(0, 212, 170, 0.4); animation-delay: 0s; }
.bcl-2 { width: 14px; background: rgba(124, 92, 255, 0.4); animation-delay: 0.3s; }
.bcl-3 { width: 20px; background: rgba(255, 107, 157, 0.35); animation-delay: 0.6s; }

@keyframes buildLineType {
  0% { transform: scaleX(0); opacity: 0; }
  20% { transform: scaleX(1); opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0.2; }
}

.build-cursor {
  position: absolute;
  width: 1.5px;
  height: 12px;
  background: var(--accent-2);
  right: 22px;
  animation: buildCursorBlink 0.8s steps(2) infinite;
}

@keyframes buildCursorBlink {
  0% { opacity: 0; }
  50% { opacity: 1; }
}

/* ── Launch — Rocket with expanding rings ── */

.step-scene-launch {
  position: relative;
  overflow: visible;
}

.launch-rocket {
  position: relative;
  z-index: 2;
  animation: rocketLift 3s ease-in-out infinite;
}

.rocket-body {
  width: 8px;
  height: 20px;
  background: linear-gradient(to top, var(--accent-2), rgba(0, 212, 170, 0.6));
  border-radius: 4px 4px 1px 1px;
  position: relative;
}

.rocket-body::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--accent-2);
}

.rocket-flame {
  width: 6px;
  height: 10px;
  background: linear-gradient(to bottom, rgba(255, 200, 50, 0.7), rgba(255, 107, 157, 0.5), transparent);
  border-radius: 0 0 3px 3px;
  margin: 0 auto;
  animation: flameDance 0.3s ease-in-out infinite alternate;
}

@keyframes rocketLift {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-6px); }
}

.launch-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.2);
  animation: launchRipple 3s ease-out infinite;
}

.lr-1 {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  animation-delay: 0s;
}

.lr-2 {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  animation-delay: 1s;
}

.lr-3 {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  animation-delay: 2s;
}

@keyframes launchRipple {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Process timeline scroll fill */
.process-timeline::after {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  width: 1px;
  height: var(--timeline-progress, 0%);
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
  z-index: 1;
}

/* ============================================================
   Philosophy Pillar — 3D Isometric Scene Animations
   ============================================================ */

/* ── 1. Customers First: 3D Shield with heart + orbiting dots ── */
.ps-customers {
  perspective: 200px;
}

.ps-shield {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 40px;
  height: 44px;
}

.ps-shield-front {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 20%, 100% 65%, 50% 100%, 0% 65%, 0% 20%);
  background: linear-gradient(180deg, rgba(0,212,170,0.25) 0%, rgba(0,212,170,0.08) 100%);
  border: 1px solid rgba(0,212,170,0.3);
  animation: shieldBreathe 3s ease-in-out infinite;
}

.ps-shield-side {
  position: absolute;
  right: -5px;
  top: 8px;
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, rgba(0,212,170,0.15) 0%, rgba(0,212,170,0.05) 100%);
  transform: skewY(-20deg);
}

.ps-shield-top {
  position: absolute;
  top: -3px;
  left: 10px;
  width: 24px;
  height: 6px;
  background: rgba(160,160,180,0.2);
  transform: rotate(-5deg) skewX(-20deg);
}

.ps-shield-heart {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 14px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.ps-shield-heart::before,
.ps-shield-heart::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 8px 8px 0 0;
  background: rgba(0,212,170,0.6);
}

.ps-shield-heart::before {
  left: 0;
  transform: rotate(-45deg);
  transform-origin: bottom right;
}

.ps-shield-heart::after {
  right: 0;
  transform: rotate(45deg);
  transform-origin: bottom left;
}

.ps-shield-heart {
  animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes shieldBreathe {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0,212,170,0.1)); }
  50% { filter: drop-shadow(0 0 12px rgba(0,212,170,0.3)); }
}

.ps-orbit-dots {
  position: absolute;
  inset: -6px;
  animation: orbitSpin 8s linear infinite;
}

.ps-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
}

.ps-dot-1 { top: 0; left: 50%; }
.ps-dot-2 { bottom: 10%; right: 0; }
.ps-dot-3 { bottom: 10%; left: 0; }

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* ── 2. Stakeholder Health: Connected network hub ── */
.ps-ecosystem {
  perspective: 200px;
}

.ps-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2) 30%, rgba(0,212,170,0.3) 100%);
  box-shadow: 0 0 12px rgba(0,212,170,0.4);
  animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,212,170,0.3); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 20px rgba(0,212,170,0.5); transform: translate(-50%, -50%) scale(1.15); }
}

.ps-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,212,170,0.5);
  background: rgba(0,212,170,0.1);
}

.ps-node-1 { top: 4px; left: 50%; transform: translateX(-50%); }
.ps-node-2 { bottom: 4px; left: 50%; transform: translateX(-50%); }
.ps-node-3 { top: 50%; left: 4px; transform: translateY(-50%); }
.ps-node-4 { top: 50%; right: 4px; transform: translateY(-50%); }

.ps-node { animation: nodeAppear 3s ease-in-out infinite; }
.ps-node-2 { animation-delay: 0.5s; }
.ps-node-3 { animation-delay: 1s; }
.ps-node-4 { animation-delay: 1.5s; }

@keyframes nodeAppear {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.8); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.ps-node-3, .ps-node-4 {
  animation-name: nodeAppearY;
}

@keyframes nodeAppearY {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(0.8); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

.ps-link {
  position: absolute;
  background: rgba(0,212,170,0.15);
  height: 1px;
}

.ps-link-1 { top: 12px; left: 50%; width: 0; transform-origin: left; animation: linkGrow 3s ease-in-out infinite; }
.ps-link-2 { bottom: 12px; left: 50%; width: 0; transform-origin: left; animation: linkGrow 3s ease-in-out 0.5s infinite; }
.ps-link-3 {
  top: 50%; left: 8px; width: 0; height: 1px;
  transform-origin: left; animation: linkGrow 3s ease-in-out 1s infinite;
}
.ps-link-4 {
  top: 50%; right: 8px; width: 0; height: 1px;
  transform-origin: right; animation: linkGrow 3s ease-in-out 1.5s infinite;
}

@keyframes linkGrow {
  0% { width: 0; opacity: 0; }
  30% { width: 20px; opacity: 0.6; }
  70% { width: 20px; opacity: 0.6; }
  100% { width: 0; opacity: 0; }
}

.ps-pulse-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.1);
  animation: ecosystemPulse 4s ease-out infinite;
}

@keyframes ecosystemPulse {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* ── 3. Purpose-Driven: 3D Mountain with flag + climbing trail ── */
.ps-purpose {
  perspective: 200px;
}

.ps-mountain {
  position: absolute;
  bottom: 8px;
  left: 10px;
  width: 44px;
  height: 36px;
}

.ps-mtn-front {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(160,160,180,0.25) 0%, rgba(100,100,120,0.1) 100%);
}

.ps-mtn-side {
  position: absolute;
  bottom: 0;
  right: -8px;
  width: 16px;
  height: 100%;
  clip-path: polygon(0% 0%, 100% 30%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, rgba(0,212,170,0.15) 0%, rgba(0,212,170,0.05) 100%);
}

.ps-flag {
  position: absolute;
  top: 6px;
  left: 28px;
  animation: flagPlant 0.8s var(--ease-out-back) 0.5s both;
}

@keyframes flagPlant {
  from { transform: translateY(10px) scale(0); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.ps-flag-pole {
  width: 1.5px;
  height: 18px;
  background: rgba(255,255,255,0.4);
}

.ps-flag-cloth {
  position: absolute;
  top: 0;
  left: 1.5px;
  width: 10px;
  height: 7px;
  background: var(--accent-2);
  clip-path: polygon(0% 0%, 100% 25%, 80% 100%, 0% 75%);
  animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {
  0%, 100% { clip-path: polygon(0% 0%, 100% 25%, 80% 100%, 0% 75%); }
  50% { clip-path: polygon(0% 5%, 100% 15%, 85% 95%, 0% 80%); }
}

.ps-path-trail {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ps-trail-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
  animation: trailLight 3s ease-in-out infinite;
}

.ps-td-1 { bottom: 4px; left: 8px; animation-delay: 0s; }
.ps-td-2 { bottom: 10px; left: 16px; animation-delay: 0.3s; }
.ps-td-3 { bottom: 16px; left: 22px; animation-delay: 0.6s; }
.ps-td-4 { bottom: 22px; left: 26px; animation-delay: 0.9s; }
.ps-td-5 { bottom: 28px; left: 28px; animation-delay: 1.2s; }

@keyframes trailLight {
  0%, 100% { opacity: 0; }
  30% { opacity: 0.8; }
  60% { opacity: 0.8; }
  90% { opacity: 0; }
}

.ps-summit-glow {
  position: absolute;
  top: 2px;
  left: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.4) 0%, transparent 70%);
  animation: summitGlow 3s ease-in-out 1.5s infinite;
}

@keyframes summitGlow {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ── 4. Team Wellbeing: Growing plant with sparkles ── */
.ps-wellbeing {
  perspective: 200px;
}

.ps-plant-pot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 20px;
  height: 12px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(160,160,180,0.2) 0%, rgba(100,100,120,0.1) 100%);
  clip-path: polygon(5% 0%, 95% 0%, 80% 100%, 20% 100%);
}

.ps-plant-stem {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 2px;
  height: 0;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(0,212,170,0.7) 0%, rgba(0,212,170,0.3) 100%);
  animation: stemGrow 2s var(--ease-out-expo) 0.3s both;
  transform-origin: bottom;
}

@keyframes stemGrow {
  from { height: 0; }
  to { height: 28px; }
}

.ps-leaf {
  position: absolute;
  width: 10px;
  height: 6px;
  border-radius: 0 50% 50% 0;
  background: rgba(0,212,170,0.4);
  opacity: 0;
}

.ps-leaf-1 {
  bottom: 32px;
  left: 50%;
  transform: translateX(1px) rotate(-30deg);
  animation: leafSprout 0.6s var(--ease-out-back) 1.2s both;
}

.ps-leaf-2 {
  bottom: 36px;
  right: 50%;
  border-radius: 50% 0 0 50%;
  transform: translateX(-1px) rotate(30deg);
  animation: leafSprout 0.6s var(--ease-out-back) 1.5s both;
}

.ps-leaf-3 {
  bottom: 40px;
  left: 50%;
  transform: translateX(1px) rotate(-20deg);
  background: rgba(0,212,170,0.5);
  animation: leafSprout 0.6s var(--ease-out-back) 1.8s both;
}

@keyframes leafSprout {
  from { opacity: 0; transform: translateX(1px) scale(0); }
  to { opacity: 1; transform: translateX(1px) scale(1); }
}

.ps-plant-glow {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.2) 0%, transparent 70%);
  animation: plantGlow 3s ease-in-out 2s infinite;
}

@keyframes plantGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.ps-sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-2);
  border-radius: 50%;
  opacity: 0;
}

.ps-sp-1 {
  top: 8px;
  right: 10px;
  animation: sparkle 2.5s ease-in-out 2.2s infinite;
}

.ps-sp-2 {
  top: 14px;
  left: 10px;
  animation: sparkle 2.5s ease-in-out 2.6s infinite;
}

.ps-sp-3 {
  top: 4px;
  left: 50%;
  animation: sparkle 2.5s ease-in-out 3s infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* ============================================================
   Founder — Rich Floating Elements (hero-style)
   ============================================================ */

.section-founder {
  position: relative;
  overflow: hidden;
}

.founder-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-founder .container {
  position: relative;
  z-index: 1;
}

.founder-float {
  position: absolute;
  opacity: 0;
}

/* Photo particles (kept) */
.founder-particles {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.fp {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
}

.fp-1 { top: 10%; left: 15%;  animation: founderParticle 6s ease-in-out 0.5s infinite; }
.fp-2 { top: 25%; right: 10%; animation: founderParticle 7s ease-in-out 1.2s infinite; background: var(--accent-1); }
.fp-3 { bottom: 20%; left: 10%; animation: founderParticle 5s ease-in-out 2s infinite; width: 3px; height: 3px; }
.fp-4 { bottom: 30%; right: 15%; animation: founderParticle 8s ease-in-out 0.8s infinite; background: var(--accent-3); width: 3px; height: 3px; }
.fp-5 { top: 50%; left: 0;    animation: founderParticle 6.5s ease-in-out 1.5s infinite; width: 2px; height: 2px; }
.fp-6 { top: 40%; right: 5%;  animation: founderParticle 7.5s ease-in-out 2.5s infinite; width: 2px; height: 2px; }

@keyframes founderParticle {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20px); }
}

.founder-ambient-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.06) 0%, rgba(0,212,170,0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: ambientPulse 5s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Isometric cubes */
.ff-cube-1, .ff-cube-2 {
  width: 18px;
  height: 18px;
}

.ff-cube-1::before, .ff-cube-1::after,
.ff-cube-2::before, .ff-cube-2::after {
  content: '';
  position: absolute;
}

.ff-cube-1::before, .ff-cube-2::before {
  bottom: 0; left: 0; width: 12px; height: 14px;
  transform: skewY(25deg); background: rgba(0,212,170,0.2);
}
.ff-cube-1::after, .ff-cube-2::after {
  bottom: 0; left: 12px; width: 12px; height: 14px;
  transform: skewY(-25deg); background: rgba(0,212,170,0.1);
}

.ff-cube-1 { top: 15%; right: 8%; animation: ffReveal 1s var(--ease-out-expo) 0.3s forwards, ffDrift1 10s ease-in-out 1.3s infinite; }
.ff-cube-2 { bottom: 20%; left: 5%; width: 12px; height: 12px; animation: ffReveal 1s var(--ease-out-expo) 0.6s forwards, ffDrift2 12s ease-in-out 1.6s infinite; }
.ff-cube-2::before { width: 8px; height: 10px; }
.ff-cube-2::after { left: 8px; width: 8px; height: 10px; }

@keyframes ffReveal {
  from { opacity: 0; transform: translateY(15px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ffDrift1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

@keyframes ffDrift2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-5deg); }
}

/* Floating icon cards */
.ff-card {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}

.ff-card-1 { top: 20%; left: 3%; animation: ffReveal 1s var(--ease-out-expo) 0.4s forwards, ffDrift3 8s ease-in-out 1.4s infinite; }
.ff-card-2 { bottom: 30%; right: 4%; animation: ffReveal 1s var(--ease-out-expo) 0.7s forwards, ffDrift1 9s ease-in-out 1.7s infinite; }
.ff-card-3 { top: 60%; right: 10%; animation: ffReveal 1s var(--ease-out-expo) 1s forwards, ffDrift2 7s ease-in-out 2s infinite; }

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

/* Energy waves */
.ff-wave {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.08);
}

.ff-wave-1 { top: 40%; left: 15%; animation: ffReveal 0s ease 0.5s forwards, ffWaveExpand 5s ease-out 1s infinite; }
.ff-wave-2 { bottom: 35%; right: 15%; animation: ffReveal 0s ease 0.5s forwards, ffWaveExpand 5s ease-out 3s infinite; }

@keyframes ffWaveExpand {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(4); opacity: 0; }
}

/* Section-wide particles */
.ff-particle {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
}

.ff-p-1 { top: 10%; left: 20%; animation: ffReveal 0s ease 0s forwards, particleRise 5s ease-in-out 1s infinite; }
.ff-p-2 { top: 30%; right: 18%; animation: ffReveal 0s ease 0s forwards, particleRise 6s ease-in-out 1.8s infinite; background: var(--accent-1); }
.ff-p-3 { bottom: 15%; left: 25%; animation: ffReveal 0s ease 0s forwards, particleRise 7s ease-in-out 2.5s infinite; width: 3px; height: 3px; }
.ff-p-4 { bottom: 25%; right: 22%; animation: ffReveal 0s ease 0s forwards, particleRise 5.5s ease-in-out 0.8s infinite; background: var(--accent-3); width: 3px; height: 3px; }
.ff-p-5 { top: 55%; left: 8%; animation: ffReveal 0s ease 0s forwards, particleRise 6.5s ease-in-out 2s infinite; width: 2px; height: 2px; }
.ff-p-6 { top: 45%; right: 6%; animation: ffReveal 0s ease 0s forwards, particleRise 5s ease-in-out 3s infinite; width: 2px; height: 2px; }
.ff-p-7 { top: 70%; left: 30%; animation: ffReveal 0s ease 0s forwards, particleRise 7.5s ease-in-out 1.5s infinite; width: 3px; height: 3px; background: var(--accent-1); }
.ff-p-8 { top: 20%; right: 30%; animation: ffReveal 0s ease 0s forwards, particleRise 6s ease-in-out 2.8s infinite; width: 2px; height: 2px; }

/* ============================================================
   Contact — Rich Floating Elements (hero-style)
   ============================================================ */

.section-contact {
  position: relative;
  overflow: hidden;
}

.contact-bg-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-contact .container {
  position: relative;
  z-index: 1;
}

.contact-float {
  position: absolute;
  opacity: 0;
}

/* Isometric cubes */
.cf-cube {
  width: 16px;
  height: 16px;
}

.cf-cube::before, .cf-cube::after {
  content: '';
  position: absolute;
}

.cf-cube::before {
  bottom: 0; left: 0; width: 10px; height: 12px;
  transform: skewY(25deg); background: rgba(0,212,170,0.2);
}
.cf-cube::after {
  bottom: 0; left: 10px; width: 10px; height: 12px;
  transform: skewY(-25deg); background: rgba(0,212,170,0.1);
}

.cf-cube-1 { top: 12%; left: 6%; animation: ffReveal 1s var(--ease-out-expo) 0.2s forwards, ffDrift1 11s ease-in-out 1.2s infinite; }
.cf-cube-2 { top: 25%; right: 4%; animation: ffReveal 1s var(--ease-out-expo) 0.5s forwards, ffDrift2 9s ease-in-out 1.5s infinite; width: 12px; height: 12px; }
.cf-cube-2::before { width: 8px; height: 10px; }
.cf-cube-2::after { left: 8px; width: 8px; height: 10px; }
.cf-cube-3 { bottom: 18%; left: 10%; animation: ffReveal 1s var(--ease-out-expo) 0.8s forwards, ffDrift3 10s ease-in-out 1.8s infinite; }

/* Icon cards */
.cf-card {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}

.cf-card-1 { top: 15%; right: 10%; animation: ffReveal 1s var(--ease-out-expo) 0.3s forwards, ffDrift3 8s ease-in-out 1.3s infinite; }
.cf-card-2 { bottom: 25%; left: 4%; animation: ffReveal 1s var(--ease-out-expo) 0.6s forwards, ffDrift1 9s ease-in-out 1.6s infinite; }
.cf-card-3 { bottom: 12%; right: 6%; animation: ffReveal 1s var(--ease-out-expo) 0.9s forwards, ffDrift2 7s ease-in-out 1.9s infinite; }

/* Particles */
.cf-particle {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
}

.cf-p-1 { top: 20%; left: 15%; animation: ffReveal 0s ease 0s forwards, particleRise 5s ease-in-out 0.5s infinite; }
.cf-p-2 { top: 35%; right: 15%; animation: ffReveal 0s ease 0s forwards, particleRise 6s ease-in-out 1.2s infinite; background: var(--accent-1); }
.cf-p-3 { bottom: 30%; left: 20%; animation: ffReveal 0s ease 0s forwards, particleRise 7s ease-in-out 2s infinite; width: 3px; height: 3px; }
.cf-p-4 { bottom: 20%; right: 18%; animation: ffReveal 0s ease 0s forwards, particleRise 5.5s ease-in-out 0.8s infinite; background: var(--accent-3); width: 3px; height: 3px; }
.cf-p-5 { top: 55%; left: 3%; animation: ffReveal 0s ease 0s forwards, particleRise 6.5s ease-in-out 1.5s infinite; width: 2px; height: 2px; }
.cf-p-6 { top: 45%; right: 3%; animation: ffReveal 0s ease 0s forwards, particleRise 5s ease-in-out 2.5s infinite; width: 2px; height: 2px; }
.cf-p-7 { top: 70%; left: 25%; animation: ffReveal 0s ease 0s forwards, particleRise 7.5s ease-in-out 1.8s infinite; width: 3px; height: 3px; background: var(--accent-1); }
.cf-p-8 { top: 10%; right: 25%; animation: ffReveal 0s ease 0s forwards, particleRise 6s ease-in-out 3s infinite; width: 2px; height: 2px; }

/* Energy waves */
.cf-wave {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.08);
}

.cf-wave-1 { top: 30%; left: 8%; animation: ffReveal 0s ease 0.3s forwards, ffWaveExpand 5s ease-out 1s infinite; }
.cf-wave-2 { bottom: 30%; right: 8%; animation: ffReveal 0s ease 0.3s forwards, ffWaveExpand 5s ease-out 3s infinite; }

/* Office dots — pulsing green with expanding ring */
.office-dot {
  position: relative;
  animation: officePulse 2.5s ease-in-out infinite;
}

.office-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent-2);
  animation: officeRing 2.5s ease-out infinite;
}

@keyframes officePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,170,0); }
  50% { box-shadow: 0 0 8px 2px rgba(0,212,170,0.3); }
}

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

.office:nth-child(2) .office-dot { animation-delay: 0.6s; }
.office:nth-child(2) .office-dot::after { animation-delay: 0.6s; }
.office:nth-child(3) .office-dot { animation-delay: 1.2s; }
.office:nth-child(3) .office-dot::after { animation-delay: 1.2s; }

/* Contact form wrapper — animated gradient border */
.contact-form-wrap {
  position: relative;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,92,255,0.3), rgba(0,212,170,0.3), rgba(255,107,157,0.3), rgba(124,92,255,0.3));
  background-size: 300% 300%;
  animation: formBorderShimmer 6s ease infinite;
  -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: 0;
  border-radius: 16px;
}

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

/* Form inputs — glow on focus */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0,212,170,0.4);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.08), 0 0 20px rgba(0,212,170,0.06);
}

/* Submit button glow pulse */
.btn-full {
  position: relative;
  overflow: hidden;
}

.btn-full::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(0,212,170,0.2);
  opacity: 0;
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Contact phone icon pulse */
.contact-phone svg {
  animation: phoneSvgPulse 3s ease-in-out infinite;
}

@keyframes phoneSvgPulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); transform: scale(1); }
  50% { filter: drop-shadow(0 0 6px rgba(0,212,170,0.3)); transform: scale(1.05); }
}

/* ============================================================
   Navigation — Animations
   ============================================================ */

/* Logo subtle hover spin */
.nav-logo-spin {
  transition: transform 0.6s var(--ease-out-expo);
}

.nav-logo:hover .nav-logo-spin {
  transform: rotate(180deg) scale(1.1);
}

/* Nav link hover underline glow */
.nav-link::after {
  background: var(--gradient-primary) !important;
  height: 2px !important;
  transition: width 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.nav-link:hover::after {
  box-shadow: 0 2px 8px rgba(0,212,170,0.3);
}

/* CTA button shimmer */
.nav-link--cta {
  position: relative;
  overflow: hidden;
}

.nav-link--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: ctaShimmer 3s ease-in-out infinite;
}

@keyframes ctaShimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Shimmer line under nav on scroll */
.nav-shimmer-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,170,0.3), rgba(124,92,255,0.3), transparent);
  background-size: 200% 100%;
  animation: navShimmer 4s ease infinite;
  opacity: 0;
  transition: opacity 0.4s;
}

.nav.scrolled .nav-shimmer-line {
  opacity: 1;
}

@keyframes navShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   Footer — Animations
   ============================================================ */

.footer {
  position: relative;
  overflow: hidden;
}

/* Animated gradient top line (replaces static border) */
.footer-gradient-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-1) 25%, var(--accent-2) 50%, var(--accent-3) 75%, transparent 100%);
  background-size: 200% 100%;
  animation: footerLineShimmer 4s ease infinite;
}

@keyframes footerLineShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Floating dots */
.footer-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
}

.fd-1 { top: 20%; left: 5%; animation: particleRise 6s ease-in-out 0s infinite; }
.fd-2 { top: 30%; right: 8%; animation: particleRise 7s ease-in-out 1s infinite; background: var(--accent-1); width: 2px; height: 2px; }
.fd-3 { bottom: 30%; left: 15%; animation: particleRise 5.5s ease-in-out 2s infinite; width: 2px; height: 2px; }
.fd-4 { top: 40%; right: 20%; animation: particleRise 8s ease-in-out 0.5s infinite; background: var(--accent-3); width: 2px; height: 2px; }
.fd-5 { bottom: 20%; right: 12%; animation: particleRise 6.5s ease-in-out 1.5s infinite; }
.fd-6 { top: 15%; left: 25%; animation: particleRise 7.5s ease-in-out 2.5s infinite; width: 2px; height: 2px; background: var(--accent-1); }

/* Small floating cubes */
.footer-float-cube {
  position: absolute;
  width: 10px;
  height: 10px;
}

.footer-float-cube::before,
.footer-float-cube::after {
  content: '';
  position: absolute;
}

.footer-float-cube::before {
  bottom: 0; left: 0; width: 7px; height: 8px;
  transform: skewY(25deg); background: rgba(0,212,170,0.15);
}

.footer-float-cube::after {
  bottom: 0; left: 7px; width: 7px; height: 8px;
  transform: skewY(-25deg); background: rgba(0,212,170,0.08);
}

.ffc-1 { top: 25%; right: 5%; animation: ffDrift1 10s ease-in-out infinite; opacity: 0.6; }
.ffc-2 { bottom: 25%; left: 8%; animation: ffDrift2 12s ease-in-out 1s infinite; opacity: 0.6; }

/* Footer links hover glow */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: width 0.3s var(--ease-out-expo);
}

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

/* Footer logo entrance */
.footer-brand .nav-logo .logo-mark-img {
  transition: transform 0.6s var(--ease-out-expo);
}

.footer-brand .nav-logo:hover .logo-mark-img {
  transform: rotate(180deg) scale(1.1);
}

/* ============================================================
   Reveal Animations
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* Stagger children */
.about-features .reveal:nth-child(2) { transition-delay: 0.1s; }
.about-features .reveal:nth-child(3) { transition-delay: 0.2s; }

.process-step.reveal:nth-child(2) { transition-delay: 0.08s; }
.process-step.reveal:nth-child(3) { transition-delay: 0.16s; }
.process-step.reveal:nth-child(4) { transition-delay: 0.24s; }

.work-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.work-card.reveal:nth-child(3) { transition-delay: 0.2s; }

.pillar.reveal:nth-child(2) { transition-delay: 0.08s; }
.pillar.reveal:nth-child(3) { transition-delay: 0.16s; }
.pillar.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .founder-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .founder-content {
    max-width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .process-timeline::before {
    left: 30px;
  }

  .process-timeline::after {
    left: 30px;
  }

  .step-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    border-left: 1px solid var(--border-color);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link--cta {
    margin-top: 12px;
  }

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

  .work-card-visual {
    height: 160px;
  }

  .philosophy-pillars {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number, .stat-suffix {
    font-size: 1.5rem;
  }

  .founder-image-wrap {
    width: 200px;
    height: 200px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-floats {
    display: none;
  }

  .cursor-glow {
    display: none;
  }

  .founder-particles,
  .founder-ambient-glow,
  .founder-bg-elements {
    display: none;
  }

  .contact-bg-floats {
    display: none;
  }

  .footer-floats {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
