/* ==========================================================================
   BY ADITYA — Component Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Cursor
   -------------------------------------------------------------------------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.1s ease;
  box-shadow: 0 0 10px var(--cyan);
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1), 
              width 0.3s ease, height 0.3s ease, 
              background-color 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover .cursor-follower {
  width: 60px;
  height: 60px;
  border-color: var(--cyan);
  background-color: rgba(0, 242, 254, 0.08);
}

body.cursor-active .cursor-follower {
  transform: translate(-50%, -50%) scale(0.8);
}

/* --------------------------------------------------------------------------
   2. Floating Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1160px);
  height: 64px;
  border-radius: 9999px;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(8, 9, 13, 0.88);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sound Wave Toggle */
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sound-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
}

.sound-bar {
  width: 2.5px;
  height: 12px;
  background-color: var(--text-secondary);
  border-radius: 2px;
  transition: height 0.2s ease, background-color 0.2s ease;
}

.sound-toggle.playing .sound-bar {
  background-color: var(--cyan);
  animation: sound-bars 1.2s infinite ease-in-out alternate;
}

.sound-toggle.playing .sound-bar:nth-child(2) { animation-delay: 0.2s; height: 16px; }
.sound-toggle.playing .sound-bar:nth-child(3) { animation-delay: 0.4s; height: 8px; }
.sound-toggle.playing .sound-bar:nth-child(4) { animation-delay: 0.1s; height: 14px; }

.sound-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-left: 4px;
  color: var(--text-secondary);
}

/* Mobile Nav Toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: #ffffff;
  color: #060608;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--cyan);
  color: #060608;
  box-shadow: 0 6px 30px rgba(0, 242, 254, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

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

.btn-glow {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.35);
}

.btn-glow:hover {
  box-shadow: 0 0 45px rgba(0, 242, 254, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  animation: float 4s ease-in-out infinite;
}

.badge-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-glow 2s infinite;
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.hero-headline-word {
  display: inline-block;
  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);
}

.hero-headline-word.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtext {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3rem auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.role-pill {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.role-pill:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(0, 242, 254, 0.08);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   5. Interactive Showcase Scene Containers (Shared Structure)
   -------------------------------------------------------------------------- */
.scene-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.scene-container.reverse {
  direction: rtl;
}
.scene-container.reverse > * {
  direction: ltr;
}

.scene-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scene-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(121, 40, 202, 0.12);
  border: 1px solid rgba(121, 40, 202, 0.3);
  color: #b784ff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.scene-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.scene-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.scene-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.highlight-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   6. Scene 1: Instagram Expert Simulation
   -------------------------------------------------------------------------- */
.instagram-mockup {
  position: relative;
  background: rgba(15, 17, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 0, 127, 0.1);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.instagram-mockup:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

.ig-profile-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.ig-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad-accent);
  position: relative;
  flex-shrink: 0;
}

.ig-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #141622;
  border: 2px solid #0b0c10;
}

.ig-profile-meta {
  flex-grow: 1;
}

.ig-username {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.ig-badge-verified {
  color: #3897f0;
  display: inline-flex;
}

.ig-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.ig-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem 0.5rem;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.stat-value.accent {
  color: var(--magenta);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ig-reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.ig-reel-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #161824;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.ig-reel-item:hover {
  transform: scale(1.04);
  border-color: var(--magenta);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.3);
}

.reel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.6rem;
  color: #fff;
}

.reel-views {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.reel-pill {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--cyan);
}

/* Floating Metrics Toast */
.floating-engagement {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(20, 22, 34, 0.95);
  border: 1px solid var(--magenta);
  box-shadow: 0 15px 35px rgba(255, 0, 127, 0.25);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  backdrop-filter: blur(16px);
  animation: float 3.5s ease-in-out infinite alternate;
}

.engagement-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 0, 127, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
}

.engagement-data {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.3;
}
.engagement-data strong {
  color: #fff;
  display: block;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   7. Scene 2: Video Editor Timeline Simulation
   -------------------------------------------------------------------------- */
.nle-workspace {
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.1);
  backdrop-filter: blur(16px);
}

.nle-monitor {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.nle-monitor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nle-hud {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.nle-badge-rec {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ff3344;
  letter-spacing: 0.05em;
}

.rec-dot {
  width: 6px;
  height: 6px;
  background: #ff3344;
  border-radius: 50%;
  animation: pulse-glow 1s infinite alternate;
}

.nle-timecode {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Color Grade Split Comparison */
.split-slider-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.split-slider-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid var(--cyan);
  box-shadow: 2px 0 10px rgba(0, 242, 254, 0.5);
  transition: width 0.1s ease;
}

.split-slider-after img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.4) contrast(1.15) hue-rotate(-5deg);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.75rem;
  cursor: ew-resize;
  box-shadow: 0 0 15px var(--cyan);
  pointer-events: none;
}

/* Timeline Tracks */
.nle-timeline {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.timeline-track-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.track-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.track-lane {
  flex-grow: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 2px;
  gap: 4px;
}

.clip-block {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #fff;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.clip-block.v1 {
  width: 45%;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  border-left: 2px solid #60a5fa;
}

.clip-block.v2 {
  width: 35%;
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  border-left: 2px solid #a78bfa;
}

.clip-block.a1 {
  width: 70%;
  background: linear-gradient(90deg, #059669, #047857);
  border-left: 2px solid #34d399;
}

.clip-block.a2 {
  width: 25%;
  background: linear-gradient(90deg, #d97706, #b45309);
  border-left: 2px solid #fbbf24;
}

.playhead-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 2px;
  background: #ff3344;
  box-shadow: 0 0 10px #ff3344;
  z-index: 5;
  pointer-events: none;
}

.playhead-needle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ff3344;
}

/* --------------------------------------------------------------------------
   8. Scene 3: AI Creative Studio Simulation
   -------------------------------------------------------------------------- */
.ai-studio {
  background: #0d0e16;
  border: 1px solid rgba(121, 40, 202, 0.3);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(121, 40, 202, 0.15);
  backdrop-filter: blur(20px);
}

.ai-prompt-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.ai-prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
}

.ai-prompt-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.5;
  min-height: 2.8rem;
}

.ai-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ai-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ai-chip:hover, .ai-chip.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}

.ai-canvas-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #08090e;
}

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

.ai-neural-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 242, 254, 0.25) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ai-studio.generating .ai-neural-grid {
  opacity: 1;
}
.ai-studio.generating .ai-render-img {
  filter: blur(8px) brightness(0.7);
  transform: scale(0.98);
}

.ai-status-pill {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   9. Scene 4: Website Builder Morphing Showcase
   -------------------------------------------------------------------------- */
.web-builder-stage {
  background: #0a0b12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(20px);
}

.builder-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.builder-tabs {
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.builder-tab {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.builder-tab.active {
  background: var(--cyan);
  color: #060608;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.3);
}

.builder-browser-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #06070a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-bar {
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.4rem;
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }

.builder-viewport {
  position: relative;
  width: 100%;
  height: calc(100% - 32px);
  overflow: hidden;
}

.builder-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: none;
}

.builder-layer.active {
  opacity: 1;
  pointer-events: auto;
}

/* Layer 1: Wireframe Blueprint */
.wireframe-grid {
  width: 90%;
  height: 85%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px dashed rgba(0, 242, 254, 0.4);
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.02);
}

.wire-box {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}

/* Layer 2: Design Tokens & Layout */
.ui-tokens-view {
  width: 90%;
  height: 85%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.token-row {
  display: flex;
  gap: 0.5rem;
}

.token-badge {
  padding: 0.3rem 0.6rem;
  background: rgba(121, 40, 202, 0.15);
  border: 1px solid var(--violet);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #fff;
}

/* Layer 3: Live Finished Website */
.finished-view {
  width: 100%;
  height: 100%;
}
.finished-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   10. Portfolio Grid ("MY WORK")
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.filter-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #060608;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
}

.work-thumb-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #10121a;
}

.work-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-thumb {
  transform: scale(1.06);
}

.work-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  background: rgba(10, 11, 16, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 500;
}

.work-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.work-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.work-metrics {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald);
  font-weight: 600;
}

.work-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease;
}

.work-card:hover .work-btn {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   11. Services 3D Cards
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.1);
}

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

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

.service-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-feat-item span {
  color: var(--cyan);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   12. About Me Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.stat-box:hover {
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.03);
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
  display: block;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.skills-orbit-wrap {
  position: relative;
  padding: 2rem;
  background: rgba(14, 16, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-chip {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.skill-chip:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. Contact Section & Form
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  padding-bottom: 6rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-intro-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.contact-direct-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-link-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fff;
  transition: var(--transition-smooth);
}

.contact-link-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
  transform: translateX(6px);
}

.contact-form-glass {
  background: rgba(14, 16, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-option {
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-smooth);
}

.chip-option.selected {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan);
  color: #fff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Modal & Toast Notification
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0f111a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  padding: 0.9rem 1.5rem;
  background: rgba(15, 17, 26, 0.95);
  border: 1px solid var(--cyan);
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(12px);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
