/* ==========================================================================
   Phase 1, 2, 3 & 4 — Founder Section, About Engine, Ecosystem & Approach
   Palette: Dark theme with Navy Blue (#0A1F44) and Electric Cyan (#00E5FF)
   No Emojis — Pure Clean SVGs & Minimal Cinematic Aesthetic
   ========================================================================== */

:root {
  --navy: #0A1F44;
  --cyan: #00E5FF;
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --cyan-subtle: rgba(0, 229, 255, 0.12);
  --bg-dark: #050505;
  --bg-darker: #030712;
  --bg-navy-overlay: rgba(10, 31, 68, 0.55);
  --text-primary: #FFFFFF;
  --text-muted: #8E9BAE;
  --text-readable: #A1A1AA;
  --text-subtle: #5B6A82;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-cursive: 'Dancing Script', 'Playfair Display', cursive;
  --font-mono: 'Courier New', Consolas, Monaco, monospace;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-y: auto;
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Hero Section Wrapper
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

/* Ambient Lighting & Atmosphere */
.ambient-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 90vw;
  max-width: 1100px;
  height: 550px;
  background: radial-gradient(circle at 50% 50%, rgba(10, 31, 68, 0.95) 0%, rgba(0, 229, 255, 0.15) 38%, transparent 75%);
  filter: blur(60px);
  z-index: 2;
  pointer-events: none;
}

.vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(5, 5, 5, 0.8) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Top Navbar
   ========================================================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  z-index: 100;
  pointer-events: auto;
}

.nav-left .nav-logo {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.nav-back-icon {
  stroke: var(--cyan);
  transition: transform 0.25s ease;
}

.nav-left .nav-logo:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  color: var(--cyan);
}

.nav-left .nav-logo:hover .nav-back-icon {
  transform: translateX(-3px);
}

.nav-center .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #D6DEE8;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.status-dot-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status-dot-svg {
  display: block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--cyan));
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
    filter: drop-shadow(0 0 12px var(--cyan));
  }
}

.status-badge {
  color: var(--cyan);
  font-weight: 600;
}

.nav-right .location-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.location-icon {
  stroke: var(--cyan);
  display: inline-block;
  flex-shrink: 0;
}

/* ==========================================================================
   3D Background Floating Projects Arc
   ========================================================================== */
.bg-projects-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card {
  position: absolute;
  width: 320px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0.3;
  filter: blur(8px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(10, 31, 68, 0.5);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), opacity 0.4s ease;
  transform-style: preserve-3d;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card.card-1 {
  left: 3%;
  top: 18%;
  transform: rotateY(45deg) rotateX(4deg) translateZ(-80px) scale(0.9);
}

.project-card.card-2 {
  left: 22%;
  top: 24%;
  transform: rotateY(26deg) rotateX(2deg) translateZ(-40px) scale(0.95);
}

.project-card.card-3 {
  right: 22%;
  top: 24%;
  transform: rotateY(-26deg) rotateX(2deg) translateZ(-40px) scale(0.95);
}

.project-card.card-4 {
  right: 3%;
  top: 18%;
  transform: rotateY(-45deg) rotateX(4deg) translateZ(-80px) scale(0.9);
}

/* ==========================================================================
   Center Stage: Founder Image
   ========================================================================== */
.hero-center-stage {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 85vh;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 10;
  pointer-events: none;
}

.founder-glow {
  position: absolute;
  bottom: 0;
  width: 450px;
  height: 70%;
  background: radial-gradient(ellipse at 50% 80%, rgba(0, 229, 255, 0.22) 0%, rgba(10, 31, 68, 0.6) 45%, transparent 75%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-center-img {
  height: 85vh;
  max-height: 85vh;
  width: auto;
  object-fit: contain;
  display: block;
  z-index: 10;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.2)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
  transform-origin: bottom center;
  transition: transform 0.2s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   Bottom Left: Introduction & CTA
   ========================================================================== */
.hero-bottom-left {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 20;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.greeting {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-at-vyomarc {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 14px;
}

.cta-wrap {
  margin-top: 10px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cyan);
  color: #000000;
  border-radius: 50px;
  padding: 13px 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.35), 0 0 12px rgba(0, 229, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s ease;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.55), 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-cta:hover::after {
  left: 100%;
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.btn-cta:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Bottom Right: Philosophy & Signature
   ========================================================================== */
.hero-bottom-right {
  position: absolute;
  bottom: 40px;
  right: 40px;
  text-align: right;
  width: 300px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.philosophy {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #C3CFDE;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.signature-wrap {
  margin-top: 4px;
}

.signature {
  font-family: var(--font-cursive);
  font-size: 2.3rem;
  font-style: italic;
  font-weight: 600;
  color: #F0F6FC;
  letter-spacing: 0.04em;
  display: inline-block;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  transform: rotate(-3deg);
}

/* ==========================================================================
   Part 1 — About Engine Section (Updated with Tools Hub)
   ========================================================================== */
.about-engine-section {
  position: relative;
  width: 100%;
  padding: 130px 40px 140px 40px;
  background: radial-gradient(circle at 80% 20%, rgba(10, 31, 68, 0.5) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
              var(--bg-dark);
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  z-index: 20;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Column: The Story */
.about-story-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.label-star-icon {
  flex-shrink: 0;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.about-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-readable);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-paragraph:last-of-type {
  margin-bottom: 0;
}

.about-paragraph strong {
  color: #FFFFFF;
  font-weight: 600;
  border-bottom: 1px dotted rgba(0, 229, 255, 0.5);
  padding-bottom: 1px;
}

/* Right Column: Tools Hub Card */
.about-card-col {
  display: flex;
  justify-content: center;
}

.tools-hub-card {
  width: 100%;
  max-width: 480px;
  background: rgba(10, 31, 68, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit--webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(10, 31, 68, 0.4);
  transition: transform 0.35s var(--transition-smooth), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.tools-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
}

.tools-hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 229, 255, 0.25);
}

.tools-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.tools-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
}

.tools-icon {
  stroke: var(--cyan);
  flex-shrink: 0;
}

.tools-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

.tools-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.tools-card-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-readable);
  margin-bottom: 28px;
}

.tools-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.tools-card-link .link-arrow-icon {
  stroke: var(--cyan);
  transition: transform 0.25s ease;
}

.tools-card-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 10px var(--cyan);
}

.tools-card-link:hover .link-arrow-icon {
  transform: translateX(5px);
  stroke: #FFFFFF;
}

/* ==========================================================================
   Part 2 — Services Ecosystem (Bento Grid)
   ========================================================================== */
.ecosystem-section {
  position: relative;
  width: 100%;
  padding: 130px 40px;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  z-index: 20;
}

.ecosystem-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.ecosystem-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit--webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.35s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 229, 255, 0.18);
  background: rgba(10, 31, 68, 0.28);
}

.bento-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.bento-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.18);
}

.bento-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(10, 31, 68, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.bento-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-readable);
}

/* Arsenal Badges Strip */
.tech-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tech-badge {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.tech-badge:hover {
  background: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   Part 1 (Phase 4) — How I Engineer Solutions (The Approach)
   ========================================================================== */
.approach-section {
  position: relative;
  width: 100%;
  padding: 130px 40px 45px 40px;
  background-color: var(--bg-darker);
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  z-index: 20;
}

.approach-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.approach-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.approach-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.highlight-cyan {
  color: var(--cyan);
  position: relative;
  display: inline-block;
}

.swoosh-underline {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 8px;
  overflow: visible;
  pointer-events: none;
}

.approach-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-readable);
  margin-bottom: 35px;
}

.approach-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 12px 0 12px 20px;
  border-left: 2px solid var(--cyan);
  background: transparent;
  transition: all 0.3s ease;
}

.feature-row:hover {
  transform: translateX(6px);
  border-left-color: #ffffff;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-row:hover .feature-icon-box {
  background: rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
  border-color: var(--cyan);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-readable);
}

/* ==========================================================================
   The 2D "3D" Stacked Layers Graphic (Isometric CSS)
   ========================================================================== */
.approach-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 460px;
}

.stacked-layers-graphic {
  position: relative;
  width: 380px;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.isometric-stack {
  position: relative;
  width: 220px;
  height: 220px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-45deg);
  animation: floatStack 4.5s ease-in-out infinite;
}

@keyframes floatStack {
  0% {
    transform: rotateX(60deg) rotateZ(-45deg) translateY(0);
  }
  50% {
    transform: rotateX(60deg) rotateZ(-45deg) translateY(-14px);
  }
  100% {
    transform: rotateX(60deg) rotateZ(-45deg) translateY(0);
  }
}

.iso-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1e3b 0%, #123a6b 100%);
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.iso-layer:hover {
  border-color: var(--cyan);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 229, 255, 0.35), 0 0 25px rgba(0, 229, 255, 0.3);
}

.layer-1 {
  transform: translateZ(95px);
  background: linear-gradient(135deg, #0d274d 0%, #15457f 100%);
  border-color: rgba(0, 229, 255, 0.85);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 229, 255, 0.28);
}

.layer-2 {
  transform: translateZ(55px);
}

.layer-3 {
  transform: translateZ(15px);
}

.layer-4 {
  transform: translateZ(-25px);
  opacity: 0.9;
}

.iso-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: rotateZ(45deg);
  user-select: none;
}

.iso-logo-v {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.85);
  letter-spacing: -0.05em;
}

.iso-icon {
  filter: drop-shadow(0 0 8px var(--cyan));
}

.iso-subtext {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #D6E4F0;
  text-transform: uppercase;
}

/* Floating labels with connecting dotted lines */
.floating-badge {
  position: absolute;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(10, 31, 68, 0.92);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35);
  z-index: 10;
  pointer-events: none;
  animation: floatLabel 4.5s ease-in-out infinite;
}

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

.badge-performance {
  top: 35px;
  right: 15px;
  animation-delay: 0.2s;
}

.badge-performance::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -35px;
  width: 35px;
  height: 0;
  border-top: 1.5px dashed var(--cyan);
  opacity: 0.7;
}

.badge-security {
  top: 48%;
  left: -15px;
  animation-delay: 0.8s;
}

.badge-security::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -38px;
  width: 38px;
  height: 0;
  border-top: 1.5px dashed var(--cyan);
  opacity: 0.7;
}

.badge-scalability {
  bottom: 30px;
  right: 20px;
  animation-delay: 1.4s;
}

.badge-scalability::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -40px;
  width: 40px;
  height: 0;
  border-top: 1.5px dashed var(--cyan);
  opacity: 0.7;
}

/* ==========================================================================
   Part 2 (Phase 4) — When I'm Not Coding (The Author)
   ========================================================================== */
.author-section {
  position: relative;
  width: 100%;
  padding: 130px 40px;
  background: var(--navy);
  color: #FFFFFF;
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  z-index: 20;
  overflow: hidden;
}

.author-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.author-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.author-label {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.35);
}

.author-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.author-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #D2DCED;
  margin-bottom: 20px;
}

.author-paragraph strong {
  color: #FFFFFF;
  font-weight: 600;
  border-bottom: 1px dotted rgba(0, 229, 255, 0.6);
  padding-bottom: 1px;
}

.author-action {
  margin-top: 14px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 50px;
  padding: 13px 28px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.btn-secondary-icon {
  stroke: var(--cyan);
  transition: transform 0.25s ease;
}

.btn-secondary:hover {
  background: var(--cyan);
  color: #000000;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.45);
  transform: translateY(-2px);
}

.btn-secondary:hover .btn-secondary-icon {
  stroke: #000000;
  transform: translateX(4px);
}

/* ==========================================================================
   CSS-Only 3D Floating Book Mockup
   ========================================================================== */
.author-book-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.book-3d-wrapper {
  position: relative;
  transform-style: preserve-3d;
  animation: book-float 5s ease-in-out infinite;
}

@keyframes book-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.book-3d-item {
  width: 240px;
  height: 350px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-25deg) rotateX(8deg) rotateZ(-2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.85);
  border-radius: 4px 12px 12px 4px;
}

.book-3d-item:hover {
  transform: rotateY(-14deg) rotateX(4deg) rotateZ(0deg) scale(1.03);
}

/* Book Front Cover */
.book-front-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #020b18 0%, #081d3f 40%, #0a2550 70%, #030d20 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 4px 12px 12px 4px;
  overflow: hidden;
  box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.8), inset -2px 0 8px rgba(255, 215, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
  z-index: 5;
}

.book-cover-stars {
  position: absolute;
  inset: 0;
  background: radial-gradient(1px 1px at 20px 30px, #ffffff, transparent),
              radial-gradient(1.5px 1.5px at 140px 60px, #ffd700, transparent),
              radial-gradient(1px 1px at 70px 180px, #ffffff, transparent),
              radial-gradient(1.5px 1.5px at 190px 220px, #ffd700, transparent),
              radial-gradient(1px 1px at 40px 280px, #ffffff, transparent);
  opacity: 0.7;
  pointer-events: none;
}

.book-cover-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 6px;
  padding: 22px 14px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.12) 0%, transparent 65%);
}

.book-star-accent {
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 10px #FFD700);
}

.book-genre {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: #FFD700;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}

.book-title-cover {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 10px 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.book-divider {
  width: 44px;
  height: 2px;
  background: #FFD700;
  box-shadow: 0 0 8px #FFD700;
  margin: 8px 0;
}

.book-synopsis {
  font-size: 0.72rem;
  line-height: 1.5;
  color: #D2DCED;
  font-style: italic;
  margin-bottom: 10px;
}

.book-author-cover {
  font-family: var(--font-cursive);
  font-size: 1.5rem;
  font-style: italic;
  color: #FFFDF0;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Book Spine (3D Left Side) */
.book-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 100%;
  background: linear-gradient(90deg, #020710 0%, #081d3f 70%, #020710 100%);
  transform: rotateY(-90deg) translateZ(16px);
  transform-origin: left;
  border-radius: 4px 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.9);
}

.spine-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #E2ECFA;
  white-space: nowrap;
}

/* Book Pages Side (Right thickness) */
.book-pages-side {
  position: absolute;
  top: 4px;
  right: 0;
  width: 26px;
  height: calc(100% - 8px);
  background: repeating-linear-gradient(
    90deg,
    #d9d3c5 0px,
    #ebe6dc 1px,
    #cfc9bc 2px
  );
  transform: rotateY(90deg) translateZ(12px);
  transform-origin: right;
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Book Floor Shadow */
.book-floor-shadow {
  position: absolute;
  bottom: -28px;
  left: 10%;
  width: 85%;
  height: 22px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.75) 0%, transparent 75%);
  filter: blur(8px);
  transform: rotateX(85deg) translateZ(-10px);
}

/* ==========================================================================
   Phase 5 — The Final Big CTA & Footer
   ========================================================================== */
.founder-cta-section {
  position: relative;
  width: 100%;
  padding: 100px 20px;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 20;
}

.founder-cta-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.founder-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.founder-cta-action {
  display: flex;
  justify-content: center;
}

.btn-cta-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 4px 30px rgba(0, 229, 255, 0.4), 0 0 16px rgba(0, 229, 255, 0.3);
}

.btn-cta-large:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.6), 0 0 24px rgba(0, 229, 255, 0.45);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.founder-footer {
  position: relative;
  width: 100%;
  background-color: #0a192f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 70px 40px 30px 40px;
  z-index: 20;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 50px;
}

/* Footer Left: Brand & Trust */
.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.footer-brand-title a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-brand-title a:hover {
  color: #00E5FF !important;
}

.footer-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-trust-line span:last-child {
  color: #00E5FF;
}

.footer-status-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 8px #00E5FF, 0 0 16px rgba(0, 229, 255, 0.8);
  animation: pulse-dot 2s infinite ease-in-out;
}

.footer-status-dot svg {
  display: none;
}

.footer-brand-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* Footer Center: Contact */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.footer-contact-link svg {
  flex-shrink: 0;
  stroke: #00E5FF;
  transition: stroke 0.25s ease;
}

.footer-contact-link span {
  color: #cbd5e1;
  transition: color 0.25s ease;
}

.footer-contact-link:hover {
  color: #00E5FF;
  transform: translateX(3px);
}

.footer-contact-link:hover span {
  color: #00E5FF;
}

.footer-contact-link:hover svg {
  stroke: #00E5FF;
}

/* Footer Right: Social */
.footer-social-links {
  display: flex;
  gap: 14px;
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #00E5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-circle-btn svg {
  fill: currentColor;
  transition: fill 0.3s ease, color 0.3s ease;
}

.social-circle-btn:hover {
  background: #00E5FF;
  border-color: #00E5FF;
  color: #0a192f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.45);
}

.social-circle-btn:hover svg {
  fill: #0a192f;
  color: #0a192f;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}

.footer-nav-link {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-nav-link:hover {
  color: #00E5FF;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #64748b;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ==========================================================================
   Founder Journey & Education Section
   ========================================================================== */
.founder-journey-wrapper {
  max-width: 1100px;
  margin: 70px auto 0 auto;
  position: relative;
  z-index: 5;
}

.journey-header {
  margin-bottom: 24px;
}

.journey-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 10px;
  letter-spacing: -0.02em;
}

.journey-card {
  background: rgba(10, 31, 68, 0.35);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 16px;
  padding: 36px 40px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.journey-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.journey-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.journey-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #E2E8F0;
  font-style: italic;
  font-weight: 400;
}

/* Journey Milestones Timeline */
.journey-timeline {
  position: relative;
  margin-top: 45px;
  padding-left: 36px;
  border-left: 2px solid rgba(0, 229, 255, 0.25);
}

.timeline-item {
  position: relative;
  padding-bottom: 34px;
  transition: transform 0.3s ease;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px var(--cyan), inset 0 0 5px var(--cyan);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--cyan), 0 0 32px rgba(0, 229, 255, 0.8);
  background: var(--cyan);
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.timeline-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-readable);
}

.founder-education-wrapper {
  max-width: 1100px;
  margin: 60px auto 0 auto;
  position: relative;
  z-index: 5;
}

.education-header {
  margin-bottom: 28px;
}

.education-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 10px;
  letter-spacing: -0.02em;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.education-card {
  background: rgba(10, 31, 68, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 30px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.education-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 229, 255, 0.1);
}

.education-badge-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}

.edu-badge-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
}

.edu-year-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.education-institution {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.education-degree {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 16px;
}

.education-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-readable);
  margin-top: auto;
}

/* ==========================================================================
   Trust Section (Why Work With Me?) — Editorial List (No Cards)
   ========================================================================== */
.trust-section {
  position: relative;
  padding: 45px 40px 120px 40px;
  background-color: var(--bg-dark);
}

.trust-container {
  max-width: 960px;
  margin: 0 auto;
}

.trust-header {
  margin-bottom: 50px;
}

.trust-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.trust-subtext {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.trust-editorial-list {
  position: relative;
  padding-left: 38px;
  border-left: 2px solid rgba(0, 229, 255, 0.22);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 42px;
  transition: transform 0.35s ease;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.trust-item:last-child {
  margin-bottom: 0;
}

.trust-item:hover {
  transform: translateX(6px);
}

.trust-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 2px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.45));
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-item:hover .trust-icon {
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.95)) drop-shadow(0 0 28px rgba(0, 229, 255, 0.6));
  transform: translateX(4px) scale(1.06);
}

.trust-text-wrap {
  flex: 1;
}

.trust-item-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.trust-item:hover .trust-item-title {
  color: var(--cyan);
}

.trust-item-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   Animations & Polish
   ========================================================================== */
.fade-in-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}

.fade-in-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .navbar {
    padding: 24px 24px;
  }
  
  .hero-bottom-left {
    left: 24px;
    bottom: 30px;
    max-width: 320px;
  }
  
  .hero-bottom-right {
    right: 24px;
    bottom: 30px;
    width: 260px;
  }

  .project-card.card-1 {
    left: -40px;
  }
  
  .project-card.card-4 {
    right: -40px;
  }

  .about-container,
  .ecosystem-container,
  .approach-container,
  .author-container {
    gap: 40px;
  }
}

@media (max-width: 880px) {
  .about-engine-section,
  .ecosystem-section,
  .author-section {
    padding: 90px 24px;
  }

  .approach-section {
    padding: 90px 24px 35px 24px;
  }

  .trust-section {
    padding: 35px 24px 90px 24px;
  }

  .about-container,
  .approach-container,
  .author-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-card-col,
  .approach-visual-col,
  .author-book-col {
    justify-content: center;
  }

  .tools-hub-card {
    max-width: 100%;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .author-container {
    text-align: center;
  }

  .author-text-col {
    align-items: center;
  }

  .author-book-col {
    order: -1;
  }

  .education-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .journey-card {
    padding: 28px 24px;
  }

  .journey-text {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .founder-cta-section {
    padding: 80px 20px;
  }

  .founder-cta-title {
    font-size: 2.2rem;
  }

  .founder-footer {
    padding: 60px 24px 30px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  /* 3D background elements completely suppressed on mobile */
  .bg-projects-3d,
  .project-card,
  #bgProjects,
  .founder-glow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .book-3d-wrapper,
  .stacked-layers-graphic,
  .stacked-layers-container {
    perspective: none !important;
    -webkit-perspective: none !important;
  }

  .book-3d-item {
    transform: none !important;
    -webkit-transform: none !important;
  }

  /* Hero Section: Single-column flex layout */
  .hero-section {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-bottom: 40px !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .navbar {
    position: relative !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px 14px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .nav-center .status-pill,
  .nav-right .location-tag {
    font-size: 0.78rem !important;
    padding: 6px 14px !important;
  }

  /* Hero Center Stage & Founder Image: Responsive & Relative */
  .hero-center-stage {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
    margin: 10px auto 20px auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    order: 1 !important;
  }

  .hero-center-img,
  #founderImg {
    position: relative !important;
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin-bottom: 20px !important;
    display: block !important;
    transform: none !important;
  }

  /* Hero Text & CTA Buttons: Stack in Column */
  .hero-bottom-left {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    order: 2 !important;
  }

  .hero-title,
  h1.hero-title,
  #heroTitle {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }

  .hero-at-vyomarc {
    margin-top: 6px !important;
    margin-bottom: 16px !important;
  }

  .cta-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .btn-cta {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
  }

  .hero-bottom-right {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 20px 10px 20px !important;
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    order: 3 !important;
  }

  .signature {
    font-size: 2rem !important;
  }

  /* Ecosystem Bento Grid: 1fr Single Column */
  .ecosystem-section {
    width: 100% !important;
    padding: 60px 16px !important;
  }

  .ecosystem-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 30px !important;
  }

  .bento-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }

  /* Footer Section: Single Column (1fr) Layout */
  .founder-footer {
    width: 100% !important;
    padding: 60px 16px 30px !important;
  }

  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 36px !important;
    width: 100% !important;
  }

  .footer-col {
    width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-col-contact .footer-contact-list {
    align-items: center !important;
  }

  .footer-social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  /* Approach & Timeline Responsive Rules */
  .approach-container {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
    width: 100% !important;
  }

  .feature-row {
    padding-left: 16px !important;
  }

  .stacked-layers-graphic {
    width: 290px !important;
    height: 330px !important;
    transform: scale(0.85) !important;
  }

  .badge-performance {
    right: 0 !important;
    top: 15px !important;
  }

  .badge-security {
    left: 0 !important;
  }

  .badge-scalability {
    right: 0 !important;
    bottom: 15px !important;
  }

  .journey-timeline {
    padding-left: 28px !important;
  }

  .timeline-marker {
    left: -35px !important;
    width: 12px !important;
    height: 12px !important;
  }

  .timeline-title {
    font-size: 1.05rem !important;
  }

  .approach-section {
    padding-bottom: 30px !important;
  }

  .trust-section {
    padding: 30px 20px 70px 20px !important;
  }

  .trust-title {
    font-size: 1.9rem !important;
  }

  .trust-subtext {
    font-size: 0.98rem !important;
  }

  .trust-editorial-list {
    padding-left: 20px !important;
  }

  .trust-item {
    gap: 16px !important;
    margin-bottom: 34px !important;
  }

  .trust-icon-wrap {
    width: 36px !important;
    height: 36px !important;
  }

  .trust-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .trust-item-title {
    font-size: 1.25rem !important;
  }

  .trust-item-text {
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   Scroll Animation Base Classes
   ========================================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* The class added by JS when element is in view */
.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays for grids/lists */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--navy);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 50%; /* Perfect circle */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* Mobile-specific fix for Scroll to Top */
@media (max-width: 768px) {
  .scroll-to-top {
    display: flex !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
    z-index: 99999 !important;
  }
}
