/* ==========================================================================
   ABDUL SHAKOOR — VIBRANT CREATIVE-DEVELOPER DESIGN SYSTEM
   Deep Purple Canvas • Scalloped Cloud Panels • Stylized Browser Windows
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Deep Purple Canvas Palette */
  --bg-purple-deep: #1F1338;
  --bg-purple-dark: #170D2B;
  --bg-purple-card: #281947;
  --bg-purple-elevated: #321E56;
  --bg-purple-border: #442B72;
  --purple-grid-line: rgba(184, 167, 234, 0.08);

  /* Scalloped Cloud / Off-White Palette */
  --cloud-white: #FFFDF9;
  --cloud-offwhite: #FAF6EE;
  --cloud-warm: #F4ECE1;
  --cloud-border: #1F1338;

  /* Typography Colors */
  --text-purple-dark: #1F1338;
  --text-purple-muted: #554870;
  --text-light: #FFFFFF;
  --text-light-lavender: #D8CFF2;
  --text-muted-lavender: #A594CE;

  /* Lively Accent Colors */
  --accent-coral: #FF553E;
  --accent-coral-hover: #E03E28;
  --accent-coral-subtle: #FFEAE6;

  --accent-peach: #FFA07A;
  --accent-peach-subtle: #FFF0EB;

  --accent-mint: #4ECCA3;
  --accent-mint-hover: #36B38C;
  --accent-mint-subtle: #E8F9F3;

  --accent-lavender: #B8A7EA;
  --accent-lavender-subtle: #F0EDFA;

  --accent-cobalt: #4361EE;
  --accent-gold: #FFD166;

  /* Border Tokens */
  --border-thick: 2.5px solid #1F1338;
  --border-subtle-purple: 1.5px solid rgba(184, 167, 234, 0.2);

  /* Hard Offset Drop Shadows (Playful Neo-Editorial Vibe) */
  --shadow-hard-sm: 4px 4px 0px 0px #1F1338;
  --shadow-hard-md: 6px 6px 0px 0px #1F1338;
  --shadow-hard-lg: 8px 8px 0px 0px #1F1338;
  --shadow-hard-xl: 12px 12px 0px 0px #1F1338;
  --shadow-purple-glow: 0 10px 30px rgba(31, 19, 56, 0.4);

  /* Typography Stack */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout Spacing & Radii */
  --container-max: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-cloud: 32px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body.theme-purple-creative {
  font-family: var(--font-body);
  background-color: var(--bg-purple-deep);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background Vertical Grid Lines */
.canvas-grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
  z-index: 0;
}

.grid-line {
  width: 1px;
  height: 100%;
  background-color: var(--purple-grid-line);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--accent-mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. Motion & Scroll-Reveal Engine
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Animations for Doodles */
@keyframes floatGentle {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(-4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatReverse {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(16px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.float-gentle { animation: floatGentle 5s ease-in-out infinite; }
.float-slow { animation: floatSlow 7s ease-in-out infinite; }
.float-reverse { animation: floatReverse 6s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   4. Buttons, Badges & Micro-Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  border: var(--border-thick);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
  border-width: 2px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--accent-coral);
  color: #FFFFFF;
  box-shadow: 4px 4px 0px 0px #1F1338;
}

.btn-primary:hover {
  background-color: var(--accent-coral-hover);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px 0px #1F1338;
}

.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0px 0px #1F1338;
}

.btn-secondary {
  background-color: var(--cloud-white);
  color: var(--text-purple-dark);
  box-shadow: 4px 4px 0px 0px #1F1338;
}

.btn-secondary:hover {
  background-color: var(--accent-mint-subtle);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px 0px #1F1338;
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-mint);
  border-radius: var(--radius-pill);
}

.btn-outline-light:hover {
  background-color: var(--accent-mint);
  color: var(--bg-purple-deep);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-arrow-bounce {
  display: inline-block;
  transition: transform var(--transition-fast);
}

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

.btn-arrow-down {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow-down {
  transform: translateY(3px);
}

/* Browser Window Header & 3-Dot Badges */
.browser-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.browser-dots.sm {
  gap: 4px;
}

.b-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}

.browser-dots.sm .b-dot {
  width: 8px;
  height: 8px;
}

.b-dot.coral { background-color: var(--accent-coral); }
.b-dot.peach { background-color: var(--accent-peach); }
.b-dot.mint { background-color: var(--accent-mint); }

/* Mint Status Pulse Indicator */
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-mint);
  box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.7);
  animation: pulseMint 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.pulse-indicator.sm {
  width: 6px;
  height: 6px;
}

@keyframes pulseMint {
  0% { box-shadow: 0 0 0 0 rgba(78, 204, 163, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(78, 204, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 204, 163, 0); }
}

/* Scalloped Cloud Panels */
.scalloped-cloud-panel {
  background-color: var(--cloud-white);
  color: var(--text-purple-dark);
  border: var(--border-thick);
  border-radius: var(--radius-cloud);
  box-shadow: var(--shadow-hard-lg);
  position: relative;
  overflow: hidden;
}

/* Section Header Typography in Dark / Light contexts */
.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-lavender-subtle);
  border: 1.5px solid var(--text-purple-dark);
  color: var(--text-purple-dark);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.editorial-badge.badge-light {
  background-color: rgba(184, 167, 234, 0.15);
  border-color: var(--accent-lavender);
  color: var(--accent-lavender);
}

.badge-num {
  color: var(--accent-coral);
}

.editorial-heading {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  color: var(--text-purple-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.editorial-heading.text-white {
  color: #FFFFFF;
}

.heading-star-doodle {
  color: var(--accent-coral);
  margin-left: 4px;
}

.editorial-subhead {
  font-size: 1.1rem;
  color: var(--text-purple-muted);
  line-height: 1.65;
  max-width: 640px;
}

.editorial-subhead.text-light-purple {
  color: var(--text-light-lavender);
}

.section-center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. Sticky Minimal Navigation (On Deep Purple)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(31, 19, 56, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid rgba(184, 167, 234, 0.16);
  transition: all var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-browser-badge {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 12px;
  padding: 0.35rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 3px 3px 0px 0px #1F1338;
  transition: transform var(--transition-bounce);
}

.brand-link:hover .brand-browser-badge {
  transform: rotate(-4deg) scale(1.06);
}

.brand-monogram-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-purple-dark);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--accent-lavender);
  font-weight: 600;
}

/* Desktop Nav Links */
.desktop-nav {
  display: block;
}

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

.nav-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-light-lavender);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  position: relative;
}

.nav-link span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-coral);
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-mint);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-status-pill {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(78, 204, 163, 0.12);
  border: 1px solid rgba(78, 204, 163, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-mint);
}

@media (min-width: 1100px) {
  .header-status-pill {
    display: inline-flex;
  }
}

.btn-header-cta {
  background-color: var(--accent-coral);
  color: #FFFFFF;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background-color: var(--bg-purple-card);
  border: 1.5px solid var(--accent-lavender);
}

.toggle-bar {
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--bg-purple-deep);
  border-top: 2px solid var(--accent-lavender);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.mobile-drawer.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.mobile-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(78, 204, 163, 0.12);
  border: 1px solid rgba(78, 204, 163, 0.35);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-mint);
  align-self: flex-start;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(184, 167, 234, 0.15);
}

.mobile-nav-link span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-coral);
}

/* --------------------------------------------------------------------------
   6. Hero Section (Deep Purple Grid + Scalloped Cloud Panel + Doodles)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-doodles-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-doodle {
  position: absolute;
  pointer-events: none;
}

.doodle-planet { top: 40px; right: 8%; }
.doodle-star-1 { top: 70px; left: 6%; }
.doodle-star-2 { bottom: 180px; right: 5%; }
.doodle-cloud { top: 220px; left: 3%; }

/* Mini Tech Illustration Nodes */
.doodle-tech-api {
  top: 140px;
  right: 2%;
  display: none;
}

.doodle-tech-ai {
  bottom: 120px;
  left: 3%;
  display: none;
}

.doodle-tech-mobile {
  bottom: 90px;
  right: 3%;
  display: none;
}

@media (min-width: 1200px) {
  .doodle-tech-api, .doodle-tech-ai, .doodle-tech-mobile {
    display: block;
  }
}

.mini-browser-card {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  box-shadow: 4px 4px 0px 0px #1F1338;
  width: 180px;
  color: var(--text-purple-dark);
}

.mini-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #EFEBE0;
  padding-bottom: 0.35rem;
  margin-bottom: 0.35rem;
}

.m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.m-dot.coral { background: var(--accent-coral); }
.m-dot.peach { background: var(--accent-peach); }
.m-dot.mint { background: var(--accent-mint); }

.mini-bar-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-purple-muted);
  margin-left: 3px;
}

.code-method {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-coral);
}

.code-path {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-purple-dark);
}

.code-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-mint-hover);
  margin-top: 0.2rem;
}

.mini-ai-node-card {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  box-shadow: 4px 4px 0px 0px #1F1338;
  width: 190px;
  color: var(--text-purple-dark);
}

.ai-node-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-coral);
  margin-bottom: 0.2rem;
}

.ai-node-text {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text-purple-dark);
}

.ai-node-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-mint-hover);
  margin-top: 0.2rem;
}

.mini-mobile-badge {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  box-shadow: 4px 4px 0px 0px #1F1338;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-purple-dark);
}

.mobile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-title { font-size: 0.75rem; font-weight: 800; display: block; }
.mobile-sub { font-size: 0.68rem; color: var(--accent-mint-hover); font-weight: 700; }

/* Large Centered Scalloped Cloud Panel */
.hero-main-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-main-panel {
    padding: 4.5rem 4rem;
  }
}

.hero-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-peach-subtle);
  border: 1.5px solid var(--text-purple-dark);
  color: var(--text-purple-dark);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sparkle-icon {
  color: var(--accent-coral);
  font-size: 0.9rem;
}

.hero-headline {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-purple-dark);
  margin-bottom: 1.5rem;
}

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

.creative-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 8px;
  background-color: var(--accent-peach);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-purple-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.hero-description strong {
  color: var(--text-purple-dark);
}

.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

/* Hero Capability Switcher (Inside Cloud Panel) */
.hero-capability-container {
  background-color: var(--cloud-offwhite);
  border: 2px solid var(--text-purple-dark);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0px 0px var(--text-purple-dark);
  padding: 1.4rem;
  margin-bottom: 2.5rem;
}

.capability-switcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cap-header-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-purple-dark);
}

.cap-header-hint {
  font-size: 0.78rem;
  color: var(--text-purple-muted);
}

.capability-switcher-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  background-color: var(--cloud-warm);
  border: 1.5px solid var(--text-purple-dark);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.cap-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.3rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-purple-muted);
  transition: all var(--transition-fast);
}

.cap-tab-btn.active {
  background-color: var(--cloud-white);
  color: var(--text-purple-dark);
  border: 1.5px solid var(--text-purple-dark);
  box-shadow: 2px 2px 0px 0px var(--text-purple-dark);
}

.cap-panel {
  display: none;
  animation: capFade 200ms ease;
}

.cap-panel.active {
  display: block;
}

@keyframes capFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cap-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cap-panel-grid {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
  }
}

.cap-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-purple-dark);
  margin-bottom: 0.35rem;
}

.cap-desc {
  font-size: 0.88rem;
  color: var(--text-purple-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cap-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background-color: var(--cloud-white);
  border: 1px solid var(--text-purple-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-purple-dark);
}

.cap-metric-box {
  background-color: var(--cloud-white);
  border: 1.5px solid var(--text-purple-dark);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.metric-row {
  display: flex;
  flex-direction: column;
}

.m-label {
  font-size: 0.72rem;
  color: var(--text-purple-muted);
  font-weight: 600;
}

.m-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
}

.text-mint { color: var(--accent-mint-hover); }
.text-coral { color: var(--accent-coral); }

/* Hero Verified Channels */
.hero-channels-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.channels-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-purple-muted);
  text-transform: uppercase;
}

.channels-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--cloud-white);
  border: 1.5px solid var(--text-purple-dark);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-purple-dark);
  box-shadow: 2px 2px 0px 0px var(--text-purple-dark);
  transition: all var(--transition-fast);
}

.channel-pill:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px 0px var(--text-purple-dark);
  background-color: var(--accent-mint-subtle);
}

.pill-svg {
  width: 15px;
  height: 15px;
}

.fiverr-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background-color: #1DBF73;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.62rem;
}

/* Angled Animated Skills Marquee */
.angled-marquee-wrapper {
  margin-top: 4.5rem;
  transform: rotate(-1.5deg) scale(1.02);
  transform-origin: center;
}

.marquee-strip {
  background-color: var(--accent-coral);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  padding: 0.9rem 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 19, 56, 0.5);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: marqueeRoll 24s linear infinite;
}

.marquee-track:hover .marquee-content,
.marquee-track:focus .marquee-content {
  animation-play-state: paused;
}

.m-item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}

.m-star {
  color: var(--accent-gold);
  font-size: 1rem;
}

@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   7. Selected Work Section (Off-White Scalloped Cloud + Browser Cards)
   -------------------------------------------------------------------------- */
.projects-scalloped-section {
  position: relative;
  background-color: var(--cloud-white);
  color: var(--text-purple-dark);
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.scallop-divider-top {
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: radial-gradient(circle at 12px 0px, transparent 12px, var(--cloud-white) 13px) repeat-x;
  background-size: 24px 24px;
}

.scallop-divider-bottom {
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: radial-gradient(circle at 12px 24px, transparent 12px, var(--cloud-white) 13px) repeat-x;
  background-size: 24px 24px;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.creative-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background-color: var(--cloud-warm);
  border: 2px solid var(--text-purple-dark);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--text-purple-muted);
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover {
  color: var(--text-purple-dark);
}

.filter-pill-btn.active {
  background-color: var(--text-purple-dark);
  color: #FFFFFF;
  box-shadow: 2px 2px 0px 0px var(--accent-coral);
}

.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--accent-coral);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Browser Window Project Cards Grid */
.browser-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.browser-project-card {
  background-color: var(--bg-purple-deep);
  color: #FFFFFF;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.browser-project-card.hidden {
  display: none;
}

@media (min-width: 960px) {
  .browser-project-card {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto 1fr;
  }

  .browser-project-card .browser-window-header {
    grid-column: 1 / -1;
  }

  .browser-project-card:nth-child(even) .browser-visual-canvas {
    order: 2;
  }
}

.browser-project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hard-xl);
}

/* Browser Window Top Bar */
.browser-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background-color: #FAF6EE;
  border-bottom: var(--border-thick);
  color: var(--text-purple-dark);
}

.browser-address-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #FFFFFF;
  border: 1.5px solid #1F1338;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-purple-muted);
}

.browser-cat-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--accent-lavender-subtle);
  border: 1px solid #1F1338;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.browser-cat-badge.badge-mobile { background-color: var(--accent-mint-subtle); color: var(--accent-mint-hover); }
.browser-cat-badge.badge-ai { background-color: var(--accent-coral-subtle); color: var(--accent-coral); }

/* Illustrated Visual Canvas */
.browser-visual-canvas {
  background-color: #281947;
  padding: 2.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: var(--border-thick);
}

@media (min-width: 960px) {
  .browser-visual-canvas {
    border-bottom: none;
    border-right: var(--border-thick);
  }

  .browser-project-card:nth-child(even) .browser-visual-canvas {
    border-right: none;
    border-left: var(--border-thick);
  }
}

/* PTB Mockup Visual */
.visual-inner-mockup {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 85px 1fr;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 4px 4px 0px 0px #1F1338;
  color: var(--text-purple-dark);
}

.mockup-sidebar {
  background-color: var(--cloud-offwhite);
  border-right: 1px solid #E5DFD3;
  padding: 0.6rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.m-nav-item {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-purple-muted);
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
}

.m-nav-item.active {
  background-color: var(--accent-coral-subtle);
  color: var(--accent-coral);
}

.mockup-main {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.m-pill-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.m-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  border: 1px solid #1F1338;
}
.m-status-pill.blue { background-color: #EEF2FF; color: #1E40AF; }
.m-status-pill.green { background-color: var(--accent-mint-subtle); color: var(--accent-mint-hover); }

.m-table-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.m-row {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  background-color: var(--cloud-offwhite);
  padding: 0.3rem 0.45rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.m-tag {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}
.m-tag.admin { background: #FEE2E2; color: #991B1B; }
.m-tag.inspector { background: #FEF3C7; color: #92400E; }
.m-tag.auditor { background: #DBEAFE; color: #1E40AF; }

/* Zimma Phone Mockup Visual */
.visual-phone-frame {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 18px;
  padding: 0.75rem;
  width: 100%;
  max-width: 320px;
  box-shadow: 4px 4px 0px 0px #1F1338;
  color: var(--text-purple-dark);
}

.v-notch {
  width: 40px;
  height: 4px;
  background-color: #1F1338;
  border-radius: 3px;
  margin: 0 auto 0.6rem;
}

.v-phone-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.v-phone-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
}

.v-secp-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--accent-mint-subtle);
  color: var(--accent-mint-hover);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.v-escrow-card {
  background-color: var(--cloud-offwhite);
  border: 1.5px solid #1F1338;
  border-radius: 8px;
  padding: 0.6rem;
}

.v-escrow-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.v-escrow-amount {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0.2rem 0;
}

.v-escrow-bar {
  height: 6px;
  background-color: #E2DBD0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.v-escrow-fill {
  height: 100%;
  background-color: var(--accent-mint);
}

.v-escrow-sub {
  font-size: 0.65rem;
  color: var(--text-purple-muted);
  font-weight: 600;
}

.v-fcm-alert {
  font-size: 0.68rem;
  font-weight: 700;
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  color: #1E40AF;
}

/* AI Engine Mockup Visual */
.visual-ai-diagram {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  padding: 0.85rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 4px 4px 0px 0px #1F1338;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-purple-dark);
}

.v-prompt-bubble {
  background-color: var(--cloud-offwhite);
  border: 1px solid #1F1338;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font-size: 0.72rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.v-pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
}

.v-flow-node {
  background-color: var(--cloud-offwhite);
  border: 1px solid #1F1338;
  border-radius: 6px;
  padding: 0.35rem 0.3rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.v-flow-node.active-node {
  background-color: var(--accent-coral-subtle);
  border-color: var(--accent-coral);
}

.v-node-icon { font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.v-node-text { font-size: 0.6rem; font-weight: 700; }
.v-flow-arrow { font-size: 0.75rem; color: var(--text-purple-muted); }

.v-result-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-mint-hover);
  background-color: var(--accent-mint-subtle);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  text-align: center;
}

/* SZABIST Mockup Visual */
.visual-szabist-grid {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 4px 4px 0px 0px #1F1338;
  color: var(--text-purple-dark);
}

.v-szabist-box {
  background-color: var(--cloud-offwhite);
  border: 1px solid #1F1338;
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.v-box-head {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-purple-muted);
}

.v-roster-item { font-size: 0.62rem; font-weight: 600; }

.v-alert-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
}
.v-alert-pill.green { background-color: var(--accent-mint-subtle); color: var(--accent-mint-hover); }
.v-alert-pill.amber { background-color: #FEF3C7; color: #92400E; }

/* Dark-Purple Information Card */
.browser-project-info {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-header-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.p-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-coral);
}

.p-title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: #FFFFFF;
}

.p-description {
  font-size: 0.95rem;
  color: var(--text-light-lavender);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.p-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.8rem;
}

.p-tech-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--bg-purple-elevated);
  border: 1px solid var(--accent-lavender);
  color: var(--text-light-lavender);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.p-action-row {
  margin-top: auto;
}

.arrow-glyph {
  transition: transform var(--transition-fast);
  display: inline-block;
}

.open-modal-btn:hover .arrow-glyph {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Services Section (Deep-Purple Grid + Staggered Scalloped Panels + Line Art)
   -------------------------------------------------------------------------- */
.services-purple-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

.staggered-services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .staggered-services-layout {
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
  }

  .service-stagger-item.stagger-featured {
    transform: translateY(-20px);
  }
}

.service-stagger-item {
  position: relative;
}

.service-doodle-decor {
  position: absolute;
  top: -36px;
  right: 15px;
  z-index: 2;
  pointer-events: none;
}

.service-panel {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hard-xl);
}

.service-panel.featured-purple-panel {
  border-color: var(--accent-coral);
  box-shadow: 8px 8px 0px 0px var(--accent-coral);
}

.featured-service-pill {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent-coral);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.service-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-index {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-purple-muted);
  opacity: 0.4;
}

.service-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--cloud-warm);
  border: 2px solid #1F1338;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 2px 2px 0px 0px #1F1338;
}

.service-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-purple-dark);
  margin-bottom: 0.75rem;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-purple-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-best-box {
  background-color: var(--cloud-offwhite);
  border: 1.5px dashed var(--text-purple-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  margin-bottom: 1.35rem;
}

.best-tag { font-weight: 800; color: var(--text-purple-dark); margin-right: 0.25rem; }
.best-desc { color: var(--text-purple-muted); }

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.service-checklist li {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-purple-dark);
  position: relative;
  padding-left: 1.25rem;
}

.service-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-coral);
  font-weight: 800;
}

.service-inquire-wrap {
  margin-top: auto;
  border-top: 1.5px solid #EFEBE0;
  padding-top: 1.1rem;
}

.service-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-purple-dark);
}

.service-cta-link:hover {
  color: var(--accent-coral);
}

.cta-arrow {
  transition: transform var(--transition-fast);
}

.service-cta-link:hover .cta-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   9. 4-Stage Process Timeline
   -------------------------------------------------------------------------- */
.process-purple-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-top: 1.5px solid rgba(184, 167, 234, 0.16);
}

.process-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .process-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-browser-box {
  background-color: var(--cloud-white);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow-hard-md);
  color: var(--text-purple-dark);
  transition: transform var(--transition-fast);
}

.process-browser-box:hover {
  transform: translateY(-4px);
}

.process-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-coral);
}

.process-phase-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--cloud-warm);
  border: 1px solid var(--text-purple-dark);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.process-box-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-purple-dark);
  margin-bottom: 0.5rem;
}

.process-box-desc {
  font-size: 0.86rem;
  color: var(--text-purple-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. The Abdul Shakoor Studio / Multi-Hat Roles & Metrics
   -------------------------------------------------------------------------- */
.studio-section {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.studio-roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 960px) {
  .studio-roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.studio-role-card {
  background-color: var(--bg-purple-card);
  border: 2px solid var(--accent-lavender);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-purple-glow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

.studio-role-card:hover {
  transform: translateY(-4px);
}

.role-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.role-avatar-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 3px 3px 0px 0px rgba(255, 255, 255, 0.4);
}

.avatar-web { background-color: var(--accent-cobalt); }
.avatar-ai { background-color: var(--accent-coral); }
.avatar-mobile { background-color: var(--accent-mint); }

.role-title-wrap {
  display: flex;
  flex-direction: column;
}

.role-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.role-tagline {
  font-size: 0.78rem;
  color: var(--accent-lavender);
  font-weight: 600;
}

.role-bio {
  font-size: 0.9rem;
  color: var(--text-light-lavender);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.role-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.role-stack-pills span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--bg-purple-elevated);
  border: 1px solid var(--accent-lavender);
  color: #FFFFFF;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

/* Studio Metrics Cloud Card */
.studio-metrics-cloud {
  padding: 3rem 2.5rem;
}

.metrics-cloud-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.metrics-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-purple-dark);
  margin-bottom: 0.65rem;
}

.metrics-cloud-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-purple-dark);
}

.metrics-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .metrics-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-cloud-item {
  background-color: var(--cloud-offwhite);
  border: 2px solid var(--text-purple-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  box-shadow: 4px 4px 0px 0px var(--text-purple-dark);
  display: flex;
  flex-direction: column;
}

.metric-big-num {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-cobalt);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.metric-big-num.coral-num {
  color: var(--accent-coral);
}

.num-plus {
  font-size: 1.8rem;
  margin-left: 2px;
}

.metric-head {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-purple-dark);
  margin-bottom: 0.4rem;
}

.metric-sub {
  font-size: 0.85rem;
  color: var(--text-purple-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. Theatrical Contact Section
   -------------------------------------------------------------------------- */
.theatrical-contact-section {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.theatrical-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.geo-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.shape-coral {
  top: 10%;
  right: 5%;
  width: 320px;
  height: 320px;
  background-color: var(--accent-coral);
}

.shape-mint {
  bottom: 10%;
  left: 5%;
  width: 280px;
  height: 280px;
  background-color: var(--accent-mint);
}

.shape-lavender {
  top: 40%;
  left: 30%;
  width: 380px;
  height: 380px;
  background-color: var(--accent-lavender);
}

.contact-theatrical-panel {
  padding: 3.5rem 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .contact-theatrical-panel {
    padding: 4rem 3.5rem;
  }
}

.contact-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 960px) {
  .contact-panel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-theatrical-heading {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-purple-dark);
  margin-bottom: 1rem;
}

.contact-theatrical-sub {
  font-size: 1.05rem;
  color: var(--text-purple-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.theatrical-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--cloud-offwhite);
  border: 2px solid var(--text-purple-dark);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: 3px 3px 0px 0px var(--text-purple-dark);
}

.channel-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--cloud-white);
  border: 1.5px solid var(--text-purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-coral);
  flex-shrink: 0;
}

.channel-icon-box svg {
  width: 20px;
  height: 20px;
}

.channel-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.channel-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-purple-muted);
  text-transform: uppercase;
}

.channel-val {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-purple-dark);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.channel-copy-button {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  background-color: var(--cloud-white);
  border: 1.5px solid var(--text-purple-dark);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: var(--text-purple-dark);
  transition: all var(--transition-fast);
}

.channel-copy-button:hover {
  background-color: var(--text-purple-dark);
  color: #FFFFFF;
}

.external-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--cloud-offwhite);
  border: 2px solid var(--text-purple-dark);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-purple-dark);
  box-shadow: 3px 3px 0px 0px var(--text-purple-dark);
  transition: all var(--transition-fast);
}

.social-link-btn svg { width: 18px; height: 18px; }

.social-link-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px var(--text-purple-dark);
  background-color: var(--accent-mint-subtle);
}

/* Browser-Window Styled Contact Form */
.browser-form-card {
  background-color: var(--cloud-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard-lg);
  overflow: hidden;
}

.browser-form-body {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-purple-dark);
}

.form-subtext {
  font-size: 0.86rem;
  color: var(--text-purple-muted);
  margin-top: -0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-purple-dark);
}

.req { color: var(--accent-coral); }

.form-input, .form-textarea, .form-select {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.75rem 0.95rem;
  background-color: var(--cloud-offwhite);
  border: 2px solid var(--text-purple-dark);
  border-radius: var(--radius-sm);
  color: var(--text-purple-dark);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(255, 85, 62, 0.2);
}

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

.select-box {
  position: relative;
}

.form-select {
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F1338' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-status {
  display: none;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.success {
  display: block;
  background-color: var(--accent-mint-subtle);
  color: var(--accent-mint-hover);
  border: 1.5px solid var(--accent-mint);
}

.form-status.error {
  display: block;
  background-color: var(--accent-coral-subtle);
  color: var(--accent-coral);
  border: 1.5px solid var(--accent-coral);
}

.theatrical-portal-decor {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   12. Site Footer (On Deep Purple Grid)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-purple-dark);
  border-top: 2px solid rgba(184, 167, 234, 0.16);
  padding: 4rem 0 2.5rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 360px;
}

.footer-brand-badge {
  background-color: var(--cloud-white);
  border: 2px solid #1F1338;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  box-shadow: 2px 2px 0px 0px #1F1338;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

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

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-light-lavender);
}

.footer-nav-links a:hover {
  color: var(--accent-mint);
}

.footer-bottom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(184, 167, 234, 0.15);
  padding-top: 1.25rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted-lavender);
}

.back-to-top-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-mint);
}

.back-to-top-btn:hover {
  color: var(--accent-coral);
}

/* --------------------------------------------------------------------------
   13. Architectural Detail Modal (Browser Window Aesthetic)
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(31, 19, 56, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background-color: var(--cloud-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard-xl);
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 240ms cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-purple-dark);
}

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

.modal-content-area {
  padding: 2rem;
  overflow-y: auto;
}

.modal-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-purple-dark);
  margin-bottom: 1rem;
}

.modal-close-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--cloud-white);
  border: 1.5px solid #1F1338;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-purple-dark);
  transition: all var(--transition-fast);
}

.modal-close-button svg { width: 16px; height: 16px; }

.modal-close-button:hover {
  background-color: var(--accent-coral);
  color: #FFFFFF;
}

.modal-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-purple-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.modal-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--text-purple-muted);
}

.modal-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-coral);
  font-weight: 800;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   14. Floating Toast Notification
   -------------------------------------------------------------------------- */
.toast-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--cloud-white);
  color: var(--text-purple-dark);
  border: var(--border-thick);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-hard-md);
  font-size: 0.88rem;
  font-weight: 800;
  z-index: 3000;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-smooth);
  pointer-events: none;
}

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

.toast-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-mint-hover);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   15. Mobile Navigation Drawer & Hamburger Toggle
   -------------------------------------------------------------------------- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  background: var(--bg-purple-card);
  border: 1.5px solid var(--accent-lavender);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: var(--bg-purple-elevated);
  border-color: var(--accent-mint);
}

.mobile-toggle .toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--cloud-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(23, 13, 43, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease, visibility 320ms;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg-purple-card);
  border: 1px solid var(--bg-purple-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-light-lavender);
  align-self: flex-start;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cloud-white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(184, 167, 234, 0.12);
  transition: all var(--transition-fast);
}

.mobile-nav-link span {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--accent-coral);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--accent-mint);
  padding-left: 0.5rem;
}

.mobile-drawer-footer {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   16. Comprehensive Multi-Device Breakpoints Media Queries
   -------------------------------------------------------------------------- */

/* Desktop & Large Laptops (1025px - 1200px) */
@media (max-width: 1200px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
}

/* Tablets & Laptops (901px - 1024px) */
@media (max-width: 1024px) {
  .header-actions .header-status-pill {
    display: none;
  }
}

/* Tablets & Mobile Navigation Trigger (< 900px) */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-header-cta {
    display: none;
  }

  .hero-capability-container {
    padding: 1.25rem;
  }

  .cap-panel-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .external-links-row {
    grid-template-columns: 1fr;
  }

  .m-pill-row {
    grid-template-columns: 1fr;
  }

  .visual-szabist-grid {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    max-width: 92vw;
  }
}

/* Medium Mobile & Small Tablets (< 768px) */
@media (max-width: 768px) {
  /* Hide heavy floating absolute doodles to prevent overflow & boost speed */
  .floating-doodle {
    display: none !important;
  }

  /* Hide service decorative line-art doodles to prevent card overflow */
  .service-doodle-decor {
    display: none;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 2.5rem;
  }

  .hero-main-panel {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .creative-filter-pills {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    margin-top: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .creative-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill-btn {
    flex-shrink: 0;
  }

  .capability-switcher-tabs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-channels-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .channels-pills-list {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .channel-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .browser-project-info {
    padding: 1.5rem 1.25rem;
  }

  .browser-window-header {
    padding: 0.6rem 0.85rem;
  }

  .browser-address-bar {
    font-size: 0.68rem;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .footer-bottom-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }
}

/* Small Mobile Phones (< 576px down to 320px) */
@media (max-width: 576px) {
  /* Capability switcher header: wrap on very small screens */
  .capability-switcher-header {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  /* Contact panel: tighter padding on small phones */
  .contact-theatrical-panel {
    padding: 1.75rem 1rem;
  }

  /* Channel pills: prevent long email/phone text from overflowing pill */
  .channel-pill {
    max-width: 100%;
    min-width: 0;
  }

  .channel-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  /* Capability container and grids: prevent 320px overflow */
  .hero-capability-container,
  .cap-panel-grid,
  .cap-tags,
  .p-tags-row,
  .role-stack-pills {
    min-width: 0;
  }

  /* Address bar: tighter clamp at very small widths */
  .browser-address-bar {
    max-width: 130px;
  }

  /* Ensure form controls are full-width and tappable */
  .form-input,
  .form-textarea,
  .form-select {
    width: 100%;
    min-height: 44px;
  }

  /* WhatsApp float: move up slightly to never cover submit button */
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  /* Studio metrics: tighter padding */
  .studio-metrics-cloud {
    padding: 2rem 1rem;
  }

  /* Marquee: slightly smaller text */
  .m-item {
    font-size: 1rem;
  }

  .hero-main-panel {
    padding: 1.75rem 1rem;
  }

  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

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

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
  }

  .brand-meta .brand-subtitle {
    display: none;
  }

  .browser-window-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .browser-cat-badge {
    margin-left: auto;
    font-size: 0.72rem;
  }

  .modal-content-area {
    padding: 1.25rem;
  }

  .modal-heading {
    font-size: 1.25rem;
  }

  .toast-popup {
    bottom: 5rem;
    right: 1rem;
    left: 1rem;
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
  }
}

/* Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-content {
    animation: none !important;
  }

  .floating-doodle {
    animation: none !important;
  }

  .pulse-indicator {
    animation: none !important;
  }

  .whatsapp-float {
    animation: none !important;
  }
}

/* ==========================================================================
   SVG ICON DISPLAY HELPERS
   Ensures inline SVG icons render correctly in flex, text, and mixed contexts
   without disrupting existing layout, spacing, or alignment.
   ========================================================================== */

/* Icons used inside non-flex text/inline flow contexts: must be inline-block */
.v-fcm-alert svg,
.cap-header-title svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Icons inside flex-row parent containers: block is fine, just prevent shrink */
.address-lock svg,
.v-quote-glyph svg,
.v-node-icon svg,
.tab-icon svg,
.mobile-icon svg {
  display: block;
  flex-shrink: 0;
}

/* Service icon bubble and role avatar badge SVGs */
.svc-icon-svg,
.role-icon-svg {
  display: block;
  flex-shrink: 0;
}

/* Keep font-size for the ✦ AI service bubble text glyph */
.service-icon-bubble {
  font-size: 1.35rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & INLINE FORM STATUS STYLES
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: whatsappPulse 2.5s infinite ease-in-out;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  background-color: #20ba5a;
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.whatsapp-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

/* Inline Contact Form Status */
.form-status {
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1rem;
  transition: opacity 0.3s ease;
}

.form-status.status-success {
  background-color: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.status-error {
  background-color: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

