/* ==========================================================================
   KREATIVXMEDIA — BLACK, WHITE & THICK RED EDITORIAL AGENCY STYLESHEET
   ========================================================================== */

/* Google Fonts: Geist & Geist Mono (by Vercel), Inter & Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Geist+Mono:wght@100..900&family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- CSS Variables / Black, White & Thick Red Design System --- */
:root {
  --font-display: 'Geist', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Geist', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --font-code: 'Geist Mono', monospace;

  /* Theme: Pure Black, Crisp White & Thick Red */
  --bg-primary: #080808;        /* Pure Obsidian Black */
  --bg-secondary: #121212;      /* Elevated Dark Black */
  --bg-card: #181818;           /* Card Dark Surface */
  --bg-card-hover: #202020;     /* Card Hover State */
  --bg-white: #FFFFFF;          /* Stark Pure White */
  --bg-white-subtle: #F4F4F4;   /* Off White Accent */

  --text-primary: #FFFFFF;      /* Stark Crisp White */
  --text-muted: #9E9E9E;        /* Sophisticated Grey */
  --text-dark: #080808;         /* Near Black for Light Cards */
  --text-dark-muted: #555555;

  /* Thick Red Signature Color (Derived from Logo) */
  --accent: #E50000;            /* Bold Thick Crimson/Scarlet Red */
  --accent-hover: #C40000;      /* Deep Rich Red */
  --accent-light: rgba(229, 0, 0, 0.12);
  --accent-glow: rgba(0, 0, 0, 0.2);

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --border-accent: rgba(229, 0, 0, 0.5);

  /* Layout & Geometry */
  --container-max: 1440px;
  --container-pad: clamp(1.25rem, 4vw, 3.5rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-medium: 0.4s var(--ease-editorial);
  --transition-slow: 0.7s var(--ease-editorial);

  /* Disperse Fan Spread Factor */
  --disperse-spread-factor: 1;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  overflow-x: clip;
}

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

/* --- Clean Modern Minimalist Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #080808;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) #080808;
}

::selection {
  background-color: var(--accent);
  color: #FFFFFF;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.mono-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: none;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Section Common Spacing */
.section {
  padding-top: clamp(4.5rem, 8vw, 8.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 8.5rem);
  position: relative;
}

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

.section-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.section-white .section-label {
  color: var(--accent);
}

/* --- Interactive Custom Cursor --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  will-change: transform, left, top;
  opacity: 0;
  box-shadow: none;
  transition: transform 0.15s ease-out, background-color 0.2s ease, opacity 0.2s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  will-change: transform, left, top;
  opacity: 0;
  transition: transform 0.2s ease-out, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }

  .custom-cursor,
  .custom-cursor-follower {
    opacity: 1;
  }
}

.cursor-hover .custom-cursor {
  transform: translate(-50%, -50%) scale(2);
  background-color: #FFFFFF;
}

.cursor-hover .custom-cursor-follower {
  transform: translate(-50%, -50%) scale(1.35);
  border-color: #FFFFFF;
}

/* --- Header & Sticky Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: background-color 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  background-color: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  padding: 0.6rem 0;
  background-color: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid rgba(229, 0, 0, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-editorial);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.08);
}

.brand-logo .logo-x {
  color: var(--accent);
}

.brand-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.8rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.status-pulse {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(229, 0, 0, 0.7);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 0, 0, 0.8);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(229, 0, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 0, 0, 0);
  }
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s var(--ease-editorial);
}

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

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

.header-actions .btn {
  font-size: 0.82rem;
  padding: 0.6rem 1.35rem;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-editorial);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background-color: #FFFFFF;
  color: var(--bg-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-primary .btn-arrow {
  transition: transform 0.3s var(--ease-editorial);
}

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

.btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  background-color: #FFFFFF;
  color: var(--bg-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-accent-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-accent-outline:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--bg-primary);
  border: 1px solid #FFFFFF;
}

.btn-white:hover {
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 1002;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  background-color: #FFFFFF;
  transition: all 0.3s var(--ease-editorial);
}

.mobile-nav-toggle span:nth-child(1) { width: 28px; }
.mobile-nav-toggle span:nth-child(2) { width: 20px; background-color: var(--accent); }
.mobile-nav-toggle span:nth-child(3) { width: 24px; }

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 26px;
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 26px;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #060606;
  color: #FFFFFF;
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 3rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-editorial), opacity 0.3s ease, visibility 0.5s ease;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  overflow-y: auto;
}

@media (max-width: 991px) {
  .mobile-drawer {
    display: flex;
  }
}

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

.mobile-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1010;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: scale(1.08);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

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

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* ==========================================================================
   HERO SECTION — ASYMMETRICAL EDITORIAL GRID
   ========================================================================== */
.hero-section {
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 0, 0, 0.15) 0%, rgba(8, 8, 8, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-accent-badge {
  background-color: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: clamp(2.75rem, 6.2vw, 6.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-title .title-row {
  display: block;
}

.hero-title .highlight-word {
  color: var(--accent);
  position: relative;
  display: inline-block;
  text-shadow: none;
}

.hero-desc {
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.55;
  margin-bottom: 2.75rem;
  font-weight: 400;
}

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

/* Hero Media / Editorial Right Composition */
.hero-media-composition {
  position: relative;
}

.hero-main-visual-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 0, 0, 0.15);
  background-color: #000;
  border: 1px solid var(--border-subtle);
}

.hero-main-img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  transition: transform 0.8s var(--ease-editorial);
  filter: contrast(1.15) brightness(0.95);
}

.hero-main-visual-wrapper:hover .hero-main-img {
  transform: scale(1.04);
}

/* Floating Accent Cards in Hero */
.hero-floating-card {
  position: absolute;
  bottom: -2rem;
  left: -2.5rem;
  background-color: #141414;
  color: #FFFFFF;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  max-width: 240px;
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-floating-card .card-metric {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.hero-floating-card .card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.hero-stamp-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 110px;
  height: 110px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 2;
  animation: rotate-badge 18s linear infinite;
}

.hero-stamp-badge svg {
  width: 85%;
  height: 85%;
  fill: currentColor;
}

@keyframes rotate-badge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ==========================================================================
   INFINITE MARQUEE TICKER
   ========================================================================== */
.marquee-container {
  width: 100%;
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  padding: 1.25rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.marquee-item .marquee-star {
  color: var(--accent);
  font-size: 1.25rem;
  text-shadow: none;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}




/* ==========================================================================
   CINEMATIC COLOR TRANSFORMATION MANIFESTO (BLACK -> WHITE -> RED)
   ========================================================================== */
.manifesto-scroll-track {
  position: relative;
  width: 100%;
  height: 280vh;
  background-color: #0A0A0A;
  z-index: 20;
}

.manifesto-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layer Base Architecture */
.manifesto-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  will-change: clip-path, transform;
}

/* --- Layer 1: Pure Black (#0A0A0A) Base Layer with Pure White (#F7F7F5) Text --- */
.layer-black {
  background-color: #0A0A0A;
  z-index: 1;
}

.layer-black .manifesto-line {
  color: #F7F7F5;
}

.layer-black .line-accent {
  color: #E31B23;
}

/* --- Layer 2: Rising Liquid White (#F7F7F5) Layer with Black (#0A0A0A) Text --- */
.layer-white {
  background-color: #F7F7F5;
  z-index: 2;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: none;
}

.layer-white .manifesto-line {
  color: #0A0A0A;
}

.layer-white .line-accent {
  color: #E31B23;
}

/* --- Layer 3: Rising Liquid Red (#E31B23) Layer with White (#F7F7F5) Text --- */
.layer-red {
  background-color: #E31B23;
  z-index: 3;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  transition: none;
}

.layer-red .manifesto-line {
  color: #F7F7F5;
}

.layer-red .line-accent {
  color: #0A0A0A;
}

/* Content Container & Grid */
.manifesto-content-container {
  width: 100%;
  max-width: 1440px;
  padding: clamp(5.5rem, 9vh, 7.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2rem, 4vh, 3rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.manifesto-quote-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.8vh, 2.5rem);
}

.manifesto-block {
  display: flex;
  flex-direction: column;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.8vw, 6.2rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  transition: none;
}

.line-accent {
  font-weight: 900;
}

/* --- Smooth Downward Introduction Effect --- */
.hero-entrance-anim {
  opacity: 0;
  transform: translateY(-24px);
  animation: hero-reveal-down 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-entrance-stagger-1 { animation-delay: 0.08s; }
.hero-entrance-stagger-2 { animation-delay: 0.18s; }
.hero-entrance-stagger-3 { animation-delay: 0.28s; }
.hero-entrance-stagger-4 { animation-delay: 0.38s; }
.hero-entrance-stagger-5 { animation-delay: 0.48s; }

@keyframes hero-reveal-down {
  0% {
    opacity: 0;
    transform: translateY(-26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Action Buttons in Manifesto */
.manifesto-actions-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: clamp(0.75rem, 2vh, 1.75rem);
  pointer-events: auto;
  z-index: 5;
}

/* Layer 2 (White) Button Adaptations */
.layer-white .btn-primary {
  background-color: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.layer-white .btn-primary:hover {
  background-color: #E31B23;
  border-color: #E31B23;
  color: #FFFFFF;
}

.layer-white .btn-secondary {
  background-color: transparent;
  color: #0A0A0A;
  border-color: rgba(10, 10, 10, 0.4);
}

.layer-white .btn-secondary:hover {
  background-color: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
}

/* Layer 3 (Red) Button Adaptations */
.layer-red .btn-primary {
  background-color: #FFFFFF;
  color: #E31B23;
  border-color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.layer-red .btn-primary:hover {
  background-color: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
}

.layer-red .btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

.layer-red .btn-secondary:hover {
  background-color: #FFFFFF;
  color: #E31B23;
  border-color: #FFFFFF;
}

/* ==========================================================================
   STATISTICS SECTION — SLEEK COMPACT BAND
   ========================================================================== */
.stats-section {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  padding: clamp(1.6rem, 2.2vw, 2.2rem) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2.2rem);
  position: relative;
}

.stat-card {
  padding: 0.35rem 1rem;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-editorial), border-color 0.3s ease;
}

.stat-card:first-child {
  border-left: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-left-color: var(--accent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
}

.stat-number .stat-plus {
  color: var(--accent);
  font-size: 0.75em;
  margin-left: 2px;
  text-shadow: none;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.78vw, 0.75rem);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}


/* ==========================================================================
   TOOLS & SKILLS WE USE — INFINITE SCROLLING TICKER
   ========================================================================== */
.tools-marquee-section {
  background-color: var(--accent) !important;
  border-top: none;
  border-bottom: none;
  padding: 1.35rem 0;
  overflow: hidden;
  position: relative;
  user-select: none;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.tools-marquee-section:hover {
  background-color: #000000 !important;
  box-shadow: none;
}

.tools-marquee-section::before,
.tools-marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 5;
  pointer-events: none;
  transition: background 0.35s ease;
}

.tools-marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(229, 0, 0, 0) 100%);
}

.tools-marquee-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--accent) 0%, rgba(229, 0, 0, 0) 100%);
}

.tools-marquee-section:hover::before {
  background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.tools-marquee-section:hover::after {
  background: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.tools-track {
  display: flex;
  width: max-content;
  animation: scrollTools 38s linear infinite;
}

.tools-marquee-section:hover .tools-track {
  animation-play-state: paused;
}

@keyframes scrollTools {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tools-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
}

.tools-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #000000 !important;
  color: #FFFFFF !important;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  margin-right: 0.75rem;
  transition: all 0.35s ease;
}

.tools-marquee-section:hover .tools-label-badge {
  background-color: var(--accent) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent) !important;
  border-radius: 50%;
  box-shadow: none;
  animation: pulseBadgeDot 1.4s ease-in-out infinite;
}

.tools-marquee-section:hover .pulse-dot {
  background: #FFFFFF !important;
  box-shadow: none;
}

@keyframes pulseBadgeDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF !important;
  white-space: nowrap;
  cursor: default;
  transition: transform 0.25s ease;
}

.tool-chip span:not(.tool-icon-pill) {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

.tool-chip:hover {
  transform: translateY(-2px) scale(1.06);
  /* clean hover */
}

.tool-chip:hover span:not(.tool-icon-pill) {
  color: #FFFFFF !important;
}

.tool-icon-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-icon-pill svg,
.tool-icon-pill img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tool-chip:hover .tool-icon-pill {
  transform: scale(1.15);
}

.tool-star-divider {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin: 0 0.5rem;
  opacity: 0.85;
}


/* ==========================================================================
   SERVICES SECTION — PINBOARD 3/3/2 CARDS WITH THUMBTACKS & WAVER PHYSICS
   ========================================================================== */
.services-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 3.2vw, 3rem) 0 clamp(4rem, 6vw, 6rem);
}

.services-section .services-header-row {
  margin-bottom: clamp(4.5rem, 6.5vw, 6.5rem);
}

.services-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  gap: 1.5rem;
  flex-wrap: wrap;
}

.services-title {
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 900;
  line-height: 0.95;
  color: #FFFFFF;
}

/* Pinboard Board Container with Dotted Connecting Trail */
.pinboard-services-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.pinboard-row {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.pinboard-row:last-child {
  margin-bottom: 0;
}

/* Individual Pinned Card */
.pinned-service-card {
  width: 325px;
  min-height: 350px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 2.25rem 1.6rem 1.6rem 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: 50% 10px; /* Pivots from the pin */
  transform: rotate(var(--card-rot, 0deg));
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

/* Dynamic Waver Animation on Cursor Placement */
@keyframes pin-waver-swing {
  0% { transform: rotate(var(--card-rot, 0deg)) translateY(-6px) scale(1.03); }
  20% { transform: rotate(calc(var(--card-rot, 0deg) - 6.5deg)) translateY(-6px) scale(1.03); }
  40% { transform: rotate(calc(var(--card-rot, 0deg) + 5.5deg)) translateY(-6px) scale(1.03); }
  60% { transform: rotate(calc(var(--card-rot, 0deg) - 3deg)) translateY(-6px) scale(1.03); }
  80% { transform: rotate(calc(var(--card-rot, 0deg) + 1.5deg)) translateY(-6px) scale(1.03); }
  100% { transform: rotate(var(--card-rot, 0deg)) translateY(-6px) scale(1.03); }
}

.pinned-service-card:hover {
  animation: pin-waver-swing 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65), 0 0 25px rgba(229, 0, 0, 0.25);
  z-index: 25;
}

/* 3D Realistic Push Pin / Thumbtack */
.card-pushpin {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.35), inset 0 3px 6px rgba(255, 255, 255, 0.8);
}

.card-pushpin::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: inherit;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(0,0,0,0.25);
}

.pin-green { background: radial-gradient(circle at 35% 35%, #4ADE80, #16A34A 70%, #14532D); }
.pin-red { background: radial-gradient(circle at 35% 35%, #F87171, #DC2626 70%, #7F1D1D); }
.pin-purple { background: radial-gradient(circle at 35% 35%, #C084FC, #9333EA 70%, #581C87); }
.pin-blue { background: radial-gradient(circle at 35% 35%, #60A5FA, #2563EB 70%, #1E3A8A); }
.pin-yellow { background: radial-gradient(circle at 35% 35%, #FDE047, #CA8A04 70%, #713F12); }
.pin-teal { background: radial-gradient(circle at 35% 35%, #2DD4BF, #0D9488 70%, #134E4A); }
.pin-pink { background: radial-gradient(circle at 35% 35%, #F472B6, #DB2777 70%, #831843); }
.pin-lime { background: radial-gradient(circle at 35% 35%, #A3E635, #65A30D 70%, #365314); }

/* Color Card Themes matching Image 1 & 2 */
.theme-green {
  background: linear-gradient(180deg, #FFFFFF 65%, #DCFCE7 100%);
}
.theme-green .pin-card-num { color: #16A34A; }

.theme-red {
  background: linear-gradient(180deg, #FFFFFF 65%, #FEE2E2 100%);
}
.theme-red .pin-card-num { color: #DC2626; }

.theme-purple {
  background: linear-gradient(180deg, #FFFFFF 65%, #F3E8FF 100%);
}
.theme-purple .pin-card-num { color: #9333EA; }

.theme-blue {
  background: linear-gradient(180deg, #FFFFFF 65%, #DBEAFE 100%);
}
.theme-blue .pin-card-num { color: #2563EB; }

.theme-yellow {
  background: linear-gradient(180deg, #FFFFFF 65%, #FEF9C3 100%);
}
.theme-yellow .pin-card-num { color: #D97706; }

.theme-teal {
  background: linear-gradient(180deg, #FFFFFF 65%, #CCFBF1 100%);
}
.theme-teal .pin-card-num { color: #0D9488; }

.theme-pink {
  background: linear-gradient(180deg, #FFFFFF 65%, #FCE7F3 100%);
}
.theme-pink .pin-card-num { color: #DB2777; }

.theme-lime {
  background: linear-gradient(180deg, #FFFFFF 65%, #ECFCCB 100%);
}
.theme-lime .pin-card-num { color: #65A30D; }

/* Card Top Split Row (Number + Graphic Icon) */
.pin-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.pin-card-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.pin-card-icon-box {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Card Typography */
.pin-card-body {
  flex-grow: 1;
}

.pin-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #080808;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pin-card-desc {
  font-size: 0.825rem;
  color: #475569;
  line-height: 1.45;
  font-weight: 500;
}

/* Graphic Icon Elements */
.figma-icon-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.timeline-mini-wave {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Responsive Styles */
@media (max-width: 1050px) {
  .pinboard-row {
    gap: 1.75rem;
  }
  .pinned-service-card {
    width: 290px;
    min-height: 330px;
  }
}

@media (max-width: 768px) {
  .pinboard-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
  }
  .pinboard-row:last-child {
    margin-bottom: 0;
  }
  .pinned-service-card {
    width: min(92vw, 340px);
    max-width: 340px;
    min-height: 350px;
    margin: 0 auto;
    transform: rotate(var(--card-rot, 0deg));
  }
}

/* -------------------------------------------------------------
   CARD 01: GRAPHIC DESIGN
   ------------------------------------------------------------- */
.c1-vector-stage {
  position: relative;
  width: 100%;
  height: 85px;
  margin-bottom: 0.4rem;
}

.c1-bezier-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.c1-aa-box {
  position: absolute;
  right: 15%;
  top: 42%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid #E50000;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #080808;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.c1-handle-node {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #E50000;
}

.c1-gradient-slider {
  width: 100%;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 35%, #EC4899 65%, #F59E0B 100%);
  position: relative;
  margin-bottom: 0.4rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.c1-slider-ring {
  position: absolute;
  left: 45%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.c1-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c1-swatches {
  display: flex;
  gap: 4px;
}

.c1-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.c1-align-capsule {
  background: #080808;
  color: #FFFFFF;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  display: flex;
  gap: 4px;
  align-items: center;
}

/* -------------------------------------------------------------
   CARD 02: VIDEO PRODUCTION & EDITING
   ------------------------------------------------------------- */
.c2-top-split {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.c2-rec-badge {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0.2rem;
}

.c2-preview-thumb {
  width: 80px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #111;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.c2-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.c2-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #080808;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
}

.c2-timeline-panel {
  background: #0B0B0E;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  color: #FFFFFF;
  position: relative;
}

.c2-timecode-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.42rem;
  color: #64748B;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 0.2rem;
  margin-bottom: 0.3rem;
}

.c2-track-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  color: #94A3B8;
}

.c2-block-wrap {
  flex: 1;
  height: 9px;
  display: flex;
  gap: 2px;
}

.c2-clip-block {
  flex: 1;
  border-radius: 2px;
  background: #334155;
}

.c2-clip-block.red-cut {
  background: #E50000;
}

.c2-audio-track {
  width: 100%;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 L10,3 L20,17 L30,5 L40,15 L50,2 L60,18 L70,6 L80,14 L90,4 L100,10' stroke='%23CBD5E1' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") repeat-x center;
}

.c2-red-scrubber {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 62%;
  width: 1.5px;
  background: #E50000;
  box-shadow: 0 0 6px rgba(229,0,0,0.8);
}

/* -------------------------------------------------------------
   CARD 03: BRAND IDENTITY & LOGO DESIGN
   ------------------------------------------------------------- */
.c3-toggle-pills {
  align-self: flex-end;
  display: flex;
  background: #E2E8F0;
  border-radius: 16px;
  padding: 1.5px;
}

.c3-pill-btn {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 12px;
  color: #64748B;
}

.c3-pill-btn.active {
  background: #080808;
  color: #FFFFFF;
}

.c3-logo-stage {
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 8px 8px;
}

.c3-brand-text {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #080808;
  letter-spacing: -0.04em;
  position: relative;
  line-height: 1;
}

.c3-brand-text span.red-slice {
  color: #E50000;
  position: relative;
}

.c3-red-underline {
  width: 100%;
  height: 3px;
  background: #E50000;
  margin-top: 0.25rem;
}

.c3-bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c3-tool-sqs {
  display: flex;
  gap: 3px;
}

.c3-sq-btn {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
}

.c3-swatch-list {
  display: flex;
  gap: 3px;
}

.c3-swatch-box {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* -------------------------------------------------------------
   CARD 04: WEB, 2D & 3D EXPERIENCES
   ------------------------------------------------------------- */
.c4-spatial-stage {
  height: 95px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c4-axis-gizmo {
  position: absolute;
  left: 8%;
  bottom: 20%;
  width: 28px;
  height: 28px;
}

.c4-glass-plane {
  position: absolute;
  right: 15%;
  top: 10%;
  width: 65px;
  height: 55px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transform: perspective(250px) rotateY(-15deg) rotateX(10deg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.c4-code-plane {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 55px;
  height: 45px;
  background: #0B0B0E;
  border-radius: 5px;
  transform: perspective(250px) rotateY(-10deg) rotateX(8deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  padding: 4px;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.42rem;
}

.c4-mode-pills {
  display: flex;
  gap: 3px;
}

.c4-mode-pill {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  background: #E2E8F0;
  color: #080808;
}

.c4-mode-pill.active {
  background: #E50000;
  color: #FFFFFF;
}

/* -------------------------------------------------------------
   CARD 05: MOBILE APP DEVELOPMENT
   ------------------------------------------------------------- */
.c5-phone-stage {
  height: 105px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c5-mockup-frame {
  width: 85px;
  height: 105px;
  background: #080808;
  border-radius: 12px;
  border: 2px solid #27272A;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  padding: 5px 4px;
  color: #FFFFFF;
  transform: rotate(-4deg);
  position: relative;
}

.c5-screen-header {
  font-size: 0.42rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.c5-metric-box {
  background: #18181B;
  border-radius: 6px;
  padding: 3px 4px;
  margin-bottom: 0.2rem;
}

.c5-bell-widget {
  position: absolute;
  right: -6px;
  top: 15px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 0.48rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
}

.c5-sparkline-widget {
  position: absolute;
  right: -2px;
  bottom: 20px;
  background: #080808;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 2px 4px;
  font-size: 0.48rem;
}

/* -------------------------------------------------------------
   CARD 06: AI AUTOMATION & INTEGRATIONS
   ------------------------------------------------------------- */
.c6-network-stage {
  height: 105px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c6-center-ai-node {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid #E50000;
  box-shadow: 0 0 16px rgba(229, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 900;
  color: #E50000;
  position: relative;
  z-index: 2;
}

.c6-satellite-node {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 2px 4px;
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-weight: 700;
  color: #080808;
  display: flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.06);
}

/* -------------------------------------------------------------
   CARD 07: DIGITAL MARKETING & GROWTH
   ------------------------------------------------------------- */
.c7-chart-panel {
  background: #080808;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  margin-bottom: 0.35rem;
}

.c7-chart-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.2rem;
}

.c7-roi-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: #E50000;
}

.c7-stats-grid {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.45rem;
  margin-bottom: 0.35rem;
}

.c7-stat-cell {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 2px 4px;
  border: 1px solid #E2E8F0;
}

.c7-progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: #E2E8F0;
  overflow: hidden;
}

.c7-progress-fill {
  width: 65%;
  height: 100%;
  background: #E50000;
}

/* -------------------------------------------------------------
   CARD 08: 2D & 3D ANIMATION
   ------------------------------------------------------------- */
.c8-motion-stage {
  height: 75px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c8-red-sphere {
  position: absolute;
  left: 20%;
  top: 25%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF6B6B, #E50000 60%, #7F0000 100%);
  box-shadow: 0 6px 14px rgba(229,0,0,0.5);
}

.c8-isometric-cube {
  position: absolute;
  right: 15%;
  top: 10%;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #E2E8F0, #94A3B8);
  border: 1px solid #FFFFFF;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.c8-timeline-track {
  background: #080808;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .services-tactile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-tactile-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   FEATURED PROJECTS & MASTERPIECE DISPERSE SHOWCASE (REVERSED RIGHT-TO-LEFT)
   ========================================================================== */
.projects-section {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) 0 clamp(2rem, 3vw, 2.5rem);
}

.services-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   WEBSITE TEMPLATES SHOWCASE (SHOWN ON WEBSITES TAB)
   ========================================================================== */
.websites-showcase-wrap {
  margin-bottom: clamp(4rem, 6vw, 6rem);
  position: relative;
}

.website-templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.website-template-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease-editorial), border-color 0.3s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.website-template-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 transparent;
}

.browser-frame-top {
  background: #111111;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333333;
}

.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }

.browser-url-bar {
  flex: 1;
  background: #1E1E1E;
  border-radius: 6px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-frame-img {
  position: relative;
  width: 100%;
  height: clamp(240px, 28vw, 340px);
  overflow: hidden;
}

.browser-frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-editorial);
}

.website-template-card:hover .browser-frame-img img {
  transform: scale(1.04);
}

.template-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.website-template-card:hover .template-hover-overlay {
  opacity: 1;
}

.template-info-bar {
  padding: 1.25rem 1.4rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.template-info-bar h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.template-info-bar span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .website-templates-grid {
    grid-template-columns: 1fr;
  }
}

/* Masterpiece Disperse Showcase Wrap */
.masterpiece-disperse-wrap {
  margin-bottom: clamp(3.5rem, 5.5vw, 5rem);
  position: relative;
}

.masterpiece-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.masterpiece-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.masterpiece-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
}

/* Disperse Stage */
.disperse-stage-container {
  --disperse-progress: 0;
  position: relative;
  height: clamp(340px, 38vw, 420px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* Individual Disperse Card */
.disperse-card {
  position: absolute;
  width: clamp(210px, 22vw, 275px);
  height: clamp(300px, 32vw, 380px);
  border-radius: 16px;
  overflow: hidden;
  background-color: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.disperse-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.disperse-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.05em;
  z-index: 2;
}

.disperse-card-info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.95) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.disperse-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  text-transform: uppercase;
}

.disperse-card-info span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Fan Calculation with Right-to-Left / Reversed Stacking */
/* Card 0: Stack Top (Leftmost fan) */
.disperse-card[data-index="0"] {
  z-index: 17;
  transform: translate3d(
    calc(var(--disperse-progress) * -360px * var(--disperse-spread-factor, 1)),
    calc(var(--disperse-progress) * 20px),
    0
  ) rotate(calc(var(--disperse-progress) * -16deg));
}

/* Card 1 */
.disperse-card[data-index="1"] {
  z-index: 16;
  transform: translate3d(
    calc(var(--disperse-progress) * -240px * var(--disperse-spread-factor, 1)),
    calc(var(--disperse-progress) * 8px),
    0
  ) rotate(calc(var(--disperse-progress) * -11deg));
}

/* Card 2 */
.disperse-card[data-index="2"] {
  z-index: 15;
  transform: translate3d(
    calc(var(--disperse-progress) * -120px * var(--disperse-spread-factor, 1)),
    calc(var(--disperse-progress) * 2px),
    0
  ) rotate(calc(var(--disperse-progress) * -5deg));
}

/* Card 3 (Center) */
.disperse-card[data-index="3"] {
  z-index: 14;
  transform: translate3d(
    0px,
    0px,
    0
  ) rotate(0deg);
}

/* Card 4 */
.disperse-card[data-index="4"] {
  z-index: 13;
  transform: translate3d(
    calc(var(--disperse-progress) * 120px * var(--disperse-spread-factor, 1)),
    calc(var(--disperse-progress) * 2px),
    0
  ) rotate(calc(var(--disperse-progress) * 5deg));
}

/* Card 5 */
.disperse-card[data-index="5"] {
  z-index: 12;
  transform: translate3d(
    calc(var(--disperse-progress) * 240px * var(--disperse-spread-factor, 1)),
    calc(var(--disperse-progress) * 8px),
    0
  ) rotate(calc(var(--disperse-progress) * 11deg));
}

/* Card 6: Stack Bottom (Rightmost fan) */
.disperse-card[data-index="6"] {
  z-index: 11;
  transform: translate3d(
    calc(var(--disperse-progress) * 360px * var(--disperse-spread-factor, 1)),
    calc(var(--disperse-progress) * 20px),
    0
  ) rotate(calc(var(--disperse-progress) * 16deg));
}

/* Hover Pop Effect */
.disperse-card:hover {
  z-index: 35 !important;
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 0 transparent;
}

.disperse-card[data-index="0"]:hover {
  transform: translate3d(calc(var(--disperse-progress) * -360px * var(--disperse-spread-factor, 1)), calc(var(--disperse-progress) * 20px - 14px), 0) rotate(calc(var(--disperse-progress) * -16deg)) scale(1.05);
}
.disperse-card[data-index="1"]:hover {
  transform: translate3d(calc(var(--disperse-progress) * -240px * var(--disperse-spread-factor, 1)), calc(var(--disperse-progress) * 8px - 14px), 0) rotate(calc(var(--disperse-progress) * -11deg)) scale(1.05);
}
.disperse-card[data-index="2"]:hover {
  transform: translate3d(calc(var(--disperse-progress) * -120px * var(--disperse-spread-factor, 1)), calc(var(--disperse-progress) * 2px - 14px), 0) rotate(calc(var(--disperse-progress) * -5deg)) scale(1.05);
}
.disperse-card[data-index="3"]:hover {
  transform: translate3d(0px, -14px, 0) rotate(0deg) scale(1.06);
}
.disperse-card[data-index="4"]:hover {
  transform: translate3d(calc(var(--disperse-progress) * 120px * var(--disperse-spread-factor, 1)), calc(var(--disperse-progress) * 2px - 14px), 0) rotate(calc(var(--disperse-progress) * 5deg)) scale(1.05);
}
.disperse-card[data-index="5"]:hover {
  transform: translate3d(calc(var(--disperse-progress) * 240px * var(--disperse-spread-factor, 1)), calc(var(--disperse-progress) * 8px - 14px), 0) rotate(calc(var(--disperse-progress) * 11deg)) scale(1.05);
}
.disperse-card[data-index="6"]:hover {
  transform: translate3d(calc(var(--disperse-progress) * 360px * var(--disperse-spread-factor, 1)), calc(var(--disperse-progress) * 20px - 14px), 0) rotate(calc(var(--disperse-progress) * 16deg)) scale(1.05);
}

/* Portfolio Category Filter Tabs */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-editorial);
}

.filter-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  background-color: var(--bg-card-hover);
}

.filter-btn.active {
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Asymmetric Editorial Grid */
.projects-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.project-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.4s var(--ease-editorial), border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 0, 0, 0.2);
}

.project-card.col-wide {
  grid-column: span 7;
  height: 480px;
}

.project-card.col-narrow {
  grid-column: span 5;
  height: 480px;
}

.project-card.col-half {
  grid-column: span 6;
  height: 420px;
}

.project-card.col-full {
  grid-column: span 12;
  height: 520px;
}

.project-img-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.75) contrast(1.1);
}

.project-card:hover .project-img {
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.15);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.5) 40%, rgba(8, 8, 8, 0.95) 100%);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.project-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-category-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  background-color: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.project-bottom-meta {
  max-width: 600px;
}

.project-title {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.project-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.project-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  transition: color 0.3s ease, gap 0.3s ease;
}

.project-card:hover .project-view-link {
  color: var(--accent);
  gap: 0.8rem;
}

@media (max-width: 1024px) {
  .project-card.col-wide,
  .project-card.col-narrow,
  .project-card.col-half {
    grid-column: span 12;
    height: 420px;
  }
}

@media (max-width: 768px) {
  .disperse-stage-container {
    height: 420px;
  }
  .disperse-card {
    width: 200px;
    height: 290px;
  }
}

/* Project Overlay Info */
.project-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(8,8,8,0.92) 100%);
  color: #FFFFFF;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.project-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-category-badge {
  background-color: rgba(229, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.project-bottom-meta {
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-editorial);
}

.project-card:hover .project-bottom-meta {
  transform: translateY(0);
}

.project-title {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.05;
}

.project-summary {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.project-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.project-view-link svg {
  transition: transform 0.3s ease;
}

.project-card:hover .project-view-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   WEBSITES & MOBILE APPLICATIONS SHOWCASE (NATURAL VERTICAL FLOW)
   ========================================================================== */
.websites-showcase-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  width: 100%;
  max-width: 1240px;
  margin: clamp(2rem, 3.5vw, 3rem) auto 0;
}

.furnio-direct-app-wrapper {
  margin-bottom: 0;
  width: 100%;
}

.mobile-apps-section-block {
  padding-top: 0.5rem;
  width: 100%;
}

.mobile-phones-frame {
  background: #1A1A20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: clamp(1rem, 1.5vw, 1.5rem);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.4s var(--ease-editorial), box-shadow 0.4s var(--ease-editorial);
}

.mobile-phones-frame:hover {
  border-color: rgba(229, 0, 0, 0.6);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 30px rgba(229, 0, 0, 0.25);
}

.mobile-apps-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  width: 100%;
  flex-wrap: wrap;
}

.mobile-apps-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.mobile-apps-subtitle {
  max-width: 480px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.mobile-phones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
  justify-items: center;
}

.mobile-phone-card {
  position: relative;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
}

.phone-device-frame {
  background: #0C0C10;
  border-radius: 36px;
  border: 3.5px solid #202028;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75), inset 0 0 10px rgba(255, 255, 255, 0.06);
  padding: 8px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transition: border-color 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.mobile-phone-card:hover .phone-device-frame {
  border-color: #E50000;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(229, 0, 0, 0.35);
}

.phone-dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.phone-status-bar {
  position: absolute;
  top: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFFFFF;
  z-index: 9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-screen-content {
  width: 100%;
  height: 470px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #08080C;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
}

.phone-app-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  transition: transform 0.6s var(--ease-editorial), filter 0.4s ease;
  filter: contrast(1.1) brightness(0.88);
}

.mobile-phone-card:hover .phone-app-img {
  transform: scale(1.06);
  filter: contrast(1.15) brightness(0.98);
}

.app-main-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #08080C;
}

/* --- Common Top App Navbar --- */
.app-top-nav {
  position: absolute;
  top: 38px;
  left: 10px;
  right: 10px;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.app-loc-box {
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.app-loc-pin { font-size: 0.75rem; }

.app-loc-city {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 900;
  color: #FFF;
  line-height: 1.1;
}

.app-loc-dates {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #94A3B8;
}

.app-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  cursor: pointer;
}

/* --- Floating Pills & Badges --- */
.app-floating-pill {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(8, 8, 12, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  z-index: 10;
  white-space: nowrap;
  animation: floatPill 3.5s ease-in-out infinite;
}

@keyframes floatPill {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-5px); }
}

.rotate-icon {
  font-size: 0.8rem;
  color: var(--accent);
  display: inline-block;
  animation: rotateSpin 4s linear infinite;
}

@keyframes rotateSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.app-ar-live-badge {
  position: absolute;
  top: 86px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 900;
  color: #4ADE80;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}

.pulse-green-dot {
  width: 5px;
  height: 5px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 6px #22C55E;
  animation: greenPulse 1.5s infinite;
}

@keyframes greenPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

/* --- Screen 1: Bottom Sheet --- */
.app-bottom-sheet {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(12, 12, 18, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 15;
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}

.app-sheet-handle {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  margin: 0 auto;
}

.app-sheet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-sheet-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  color: #FFF;
  margin: 0 0 2px;
  line-height: 1.1;
}

.app-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.app-star { color: #FBBF24; font-weight: 800; }
.app-reviews { color: #94A3B8; }

.app-price-box { text-align: right; }
.app-price-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: #FFF;
}
.app-price-sub { font-size: 0.55rem; color: #94A3B8; }

.app-primary-btn {
  background: var(--accent);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 15px rgba(229,0,0,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-phone-card:hover .app-primary-btn {
  background: #FF1A1A;
  box-shadow: 0 6px 20px rgba(229,0,0,0.6);
}

/* --- Screen 2: Search, Canvas Toolbar & Asset Carousel --- */
.app-search-bar {
  flex: 1;
  background: rgba(14, 14, 20, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
}

.app-cart-btn {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(14, 14, 20, 0.88);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.app-badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #E50000;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0C0C10;
}

.app-canvas-toolbar {
  position: absolute;
  left: 10px;
  top: 86px;
  background: rgba(12, 12, 18, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.toolbar-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #94A3B8;
  background: transparent;
  transition: all 0.2s;
}

.toolbar-btn.active, .toolbar-btn:hover {
  background: var(--accent);
  color: #FFF;
}

.app-bottom-assets {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(12, 12, 18, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 15;
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}

.app-asset-carousel {
  display: flex;
  gap: 6px;
  overflow-x: hidden;
}

.app-mini-asset-card {
  flex: 0 0 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-asset-preview {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  flex-shrink: 0;
}

.preview-1 { background: linear-gradient(135deg, #3B82F6, #8B5CF6); }
.preview-2 { background: linear-gradient(135deg, #EF4444, #F59E0B); }

.mini-asset-name {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 700;
  color: #FFF;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-asset-price {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 900;
  color: #22C55E;
}

.app-fab-btn {
  background: linear-gradient(135deg, #E50000, #B91C1C);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 15px rgba(229,0,0,0.4);
  cursor: pointer;
}

/* --- Screen 3: Lookbook Top Bar, Tap Points & Bottom Drawer --- */
.app-lookbook-top {
  position: absolute;
  top: 38px;
  left: 10px;
  right: 10px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lookbook-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lookbook-logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: 0.05em;
}

.lookbook-actions {
  display: flex;
  gap: 6px;
  font-size: 0.75rem;
  color: #FFF;
}

.lookbook-category-bar {
  display: flex;
  gap: 4px;
  overflow-x: hidden;
}

.cat-pill {
  background: rgba(14, 14, 20, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 700;
  color: #CBD5E1;
  white-space: nowrap;
}

.cat-pill.active {
  background: #FFFFFF;
  color: #080808;
  font-weight: 900;
}

.app-tap-point {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.point-1 { top: 38%; left: 16%; }
.point-2 { top: 60%; right: 10%; }

.tap-dot {
  width: 9px;
  height: 9px;
  background: #E50000;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.tap-radar-pulse {
  position: absolute;
  width: 21px;
  height: 21px;
  left: -6px;
  top: -6px;
  border-radius: 50%;
  background: rgba(229, 0, 0, 0.45);
  animation: radarPulse 1.8s ease-out infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.tap-info-card {
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 2px 6px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.tag-title {
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
}

.tag-price {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 900;
  color: #E50000;
}

.app-lookbook-bottom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(12, 12, 18, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 15;
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}

.lookbook-drawer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-product-mini {
  display: flex;
  align-items: center;
  gap: 5px;
}

.drawer-color-dots {
  display: flex;
  gap: 3px;
}

.drawer-color-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}

.drawer-size-label {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  color: #CBD5E1;
}

.drawer-add-btn {
  background: #FFFFFF;
  color: #080808;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.app-tab-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4px;
}

.tab-item {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 700;
  color: #64748B;
}

.tab-item.active {
  color: #E50000;
  font-weight: 900;
}

/* --- Screen 4: AI Voice Waveform & Multimodal Assistant --- */
.ai-agent-badge {
  background: rgba(14, 14, 20, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-name-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: #FFF;
}

.ai-live-tag {
  background: #16A34A;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 900;
  padding: 1px 3px;
  border-radius: 3px;
}

.ai-visual-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: radial-gradient(circle at 50% 45%, #220303 0%, #08080C 75%);
}

.ai-aura-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(229,0,0,0.4) 0%, rgba(217,119,6,0.2) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  animation: auraPulse 3s ease-in-out infinite;
}

@keyframes auraPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
}

.ai-waveform-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 55px;
  z-index: 5;
  margin-bottom: 12px;
}

.wave-bar {
  width: 3.5px;
  background: linear-gradient(180deg, #FF6B6B 0%, #E50000 60%, #990000 100%);
  border-radius: 4px;
  animation: waveBounce 1.1s ease-in-out infinite alternate;
}

.wave-bar.w1, .wave-bar.w11 { height: 10px; animation-delay: 0.1s; }
.wave-bar.w2, .wave-bar.w10 { height: 20px; animation-delay: 0.25s; }
.wave-bar.w3, .wave-bar.w9 { height: 32px; animation-delay: 0.4s; }
.wave-bar.w4, .wave-bar.w8 { height: 42px; animation-delay: 0.15s; }
.wave-bar.w5, .wave-bar.w7 { height: 50px; animation-delay: 0.5s; }
.wave-bar.w6 { height: 58px; animation-delay: 0.3s; }

@keyframes waveBounce {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.15); }
}

.ai-status-transcript {
  text-align: center;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ai-listening-text {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-style: italic;
  color: #E2E8F0;
  max-width: 175px;
}

.ai-latency-pill {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: #94A3B8;
}

.app-ai-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 12, 18, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px 20px 0 0;
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 15;
}

.ai-input-bar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #94A3B8;
}

.ai-cam-btn, .ai-mic-btn {
  background: transparent;
  font-size: 0.7rem;
  color: #FFF;
  cursor: pointer;
}

.ai-speak-btn {
  background: linear-gradient(135deg, #E50000 0%, #A30000 100%);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 20px rgba(229,0,0,0.45);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-speak-btn.speaking-active {
  background: #22C55E;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.7);
  transform: scale(0.97);
}

/* ==========================================================================
   DYNAMIC INTERACTIVE UI STATES (SCREEN 1 - 4 FUNCTIONAL UX)
   ========================================================================== */

/* --- SCREEN 1: CALENDAR WHEEL & BOOKING CONFIRMATION --- */
.app-calendar-wheel {
  position: absolute;
  top: 80px;
  left: 10px;
  right: 10px;
  background: rgba(12, 12, 18, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 8px 10px;
  z-index: 25;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  display: none;
  animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app-calendar-wheel.open {
  display: block;
}

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

.cal-wheel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 800;
  color: #94A3B8;
  margin-bottom: 6px;
}

.cal-close-btn {
  background: transparent;
  color: #FFF;
  font-size: 0.7rem;
  cursor: pointer;
}

.cal-wheel-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.cal-day {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-align: center;
  padding: 4px 2px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cal-day:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
}

.cal-day.active {
  background: var(--accent);
  color: #FFF;
  font-weight: 900;
}

.cal-day.in-range {
  background: rgba(229, 0, 0, 0.2);
  color: #FFAAAA;
}

/* 360 Spin Active Animation */
.s1-spin-active {
  animation: villa360Spin 3.5s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

@keyframes villa360Spin {
  0% { transform: scale(1.1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(6deg); }
  100% { transform: scale(1.1) rotate(-6deg); }
}

/* Mode Toggle Switch [ 🏢 3D Stays | 🗺️ Map View ] */
.s1-view-toggle-bar {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 2px 3px;
  z-index: 18;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.s1-toggle-pill {
  background: transparent;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  color: #94A3B8;
  padding: 3px 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.s1-toggle-pill.active {
  background: #FFFFFF;
  color: #080808;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Horizontal Swipe Arrows & Pagination Dots */
.s1-swipe-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(12, 12, 18, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  cursor: pointer;
  transition: all 0.2s ease;
}

.s1-swipe-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.prev-arrow { left: 8px; }
.next-arrow { right: 8px; }

.s1-pagination-dots {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 12;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 3px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.s1-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.s1-dot.active {
  width: 13px;
  border-radius: 4px;
  background: #E50000;
  box-shadow: 0 0 6px #E50000;
}

/* Dark-Mode Architectural Map View */
.s1-map-overlay {
  position: absolute;
  inset: 0;
  background: #08080E;
  overflow: hidden;
  z-index: 11;
  animation: mapFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.map-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.map-contour {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  filter: blur(1px);
}

.contour-1 { width: 220px; height: 180px; top: 18%; left: 10%; }
.contour-2 { width: 160px; height: 200px; bottom: 15%; right: 5%; }
.contour-3 { width: 120px; height: 120px; top: 40%; left: 45%; border-color: rgba(229, 0, 0, 0.18); }

.map-price-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 15;
}

.map-price-pin:hover, .map-price-pin.active {
  transform: scale(1.18);
  z-index: 20;
}

.pin-kyoto { top: 34%; left: 22%; }
.pin-zermatt { top: 52%; right: 24%; }
.pin-utah { bottom: 28%; left: 42%; }

.pin-pulse {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(229, 0, 0, 0.35);
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  animation: radarPulse 1.8s infinite;
  pointer-events: none;
}

.pin-price-pill {
  background: #FFFFFF;
  color: #080808;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  border: 1.5px solid #080808;
  transition: all 0.2s ease;
}

.map-price-pin.active .pin-price-pill {
  background: #E50000;
  color: #FFF;
  border-color: #FFF;
  box-shadow: 0 0 12px #E50000;
}

.pin-label {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 800;
  color: #E2E8F0;
  margin-top: 2px;
  text-shadow: 0 1px 3px #000;
}

.map-legend-pill {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  color: #94A3B8;
  white-space: nowrap;
}

.slider-count-badge {
  margin-top: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: #4ADE80;
  font-weight: 800;
}

/* 3D Spatial Viewport Container & Lighting */
.spatial-viewport-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 800px;
  cursor: grab;
  user-select: none;
}

.spatial-viewport-wrap.grabbing {
  cursor: grabbing;
}

.spatial-light-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.65;
  transition: background 0.08s ease, opacity 0.3s ease;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.7) 0%, rgba(255,200,150,0.3) 30%, transparent 60%);
}

.cal-pricing-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #94A3B8;
}

.calc-total-pill {
  background: #16A34A;
  color: #FFF;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.55rem;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
}

/* Background Depth Shrink Effect on Checkout */
.app-screen-1.bg-depth-active #s1MainVisual {
  transform: scale(0.92) translateY(-10px);
  filter: blur(1.5px) brightness(0.65);
  transition: transform 0.4s var(--ease-editorial), filter 0.4s ease;
}

.app-screen-1.bg-depth-active #s1BottomSheet {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sliding Apple Pay Modal Sheet with FaceID */
.apple-pay-sheet {
  position: absolute;
  inset: auto 8px 8px 8px;
  background: rgba(14, 14, 20, 0.98);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 12px 14px 16px;
  z-index: 28;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(115%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95);
}

.apple-pay-sheet.open {
  transform: translateY(0);
}

.apple-pay-handle {
  width: 32px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 0 auto;
}

.apple-pay-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-pay-logo {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.02em;
}

.apple-pay-cancel {
  background: transparent;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  cursor: pointer;
}

.apple-pay-item-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.apple-card-chip-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #CBD5E1;
  font-weight: 700;
}

.apple-pay-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-pay-stay-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  color: #FFF;
}

.apple-pay-total-amount {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  color: #4ADE80;
}

/* FaceID Biometric Ring Box */
.faceid-scan-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faceid-scan-container:hover {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
}

.faceid-bracket-frame {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid #38BDF8;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  transition: all 0.3s ease;
}

.faceid-bracket-frame.confirmed {
  border-color: #22C55E;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.8);
}

.faceid-smile-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.55rem;
  color: #38BDF8;
  line-height: 1;
  font-weight: 900;
  transition: color 0.3s;
}

.faceid-bracket-frame.confirmed .faceid-smile-icon {
  color: #22C55E;
}

.faceid-scan-beam {
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 2px;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: faceIdScan 1.6s ease-in-out infinite;
}

@keyframes faceIdScan {
  0% { top: 0%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.faceid-status-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faceid-main-msg {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 900;
  color: #FFF;
}

.faceid-sub-msg {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: #94A3B8;
}

/* Button Loading Spinner */
.btn-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  display: inline-block;
  margin-right: 6px;
}

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

/* Success Confirmation Card Overlay */
.app-success-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #08080C;
  border-radius: 28px;
  overflow: hidden;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-success-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.success-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFF;
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.6);
  margin-bottom: 12px;
  animation: badgePop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes badgePop {
  0% { transform: scale(0.5); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.app-success-overlay h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 4px;
}

.app-success-overlay p {
  font-size: 0.65rem;
  color: #94A3B8;
  margin-bottom: 4px;
}

.success-dates {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: #4ADE80;
  font-weight: 800;
  margin-bottom: 16px;
}

.success-reset-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.success-reset-btn:hover {
  background: var(--accent);
}

/* ==========================================================================
   FLEXAI MOBILE ECOSYSTEM (ALL 4 SCREENS)
   ========================================================================== */

/* --- SCREEN 1: WORKOUT SETUP & TARGET MUSCLE HEATMAP --- */
.flexai-setup-screen {
  background: #08080C;
}

.flexai-setup-nav {
  padding: 4px 8px;
  display: flex;
  align-items: center;
}

.flexai-user-streak {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-avatar-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.streak-pill {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-weight: 900;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 1px 4px;
  border-radius: 3px;
  display: inline-block;
}

.setup-mode-title {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 900;
  color: #FFF;
  margin-top: 1px;
}

.s1-equip-toggle-bar {
  display: flex;
  gap: 4px;
  padding: 2px 8px 4px;
  background: rgba(14, 14, 20, 0.6);
  z-index: 10;
}

.s1-equip-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 800;
  color: #94A3B8;
  padding: 3px 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.s1-equip-pill.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: #06B6D4;
  color: #FFF;
}

.flexai-heatmap-viewport {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anatomy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.65) saturate(1.2);
}

.anatomy-overlay-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.muscle-hotspot {
  fill: rgba(6, 182, 212, 0.25);
  stroke: #06B6D4;
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
}

.muscle-hotspot.active {
  fill: rgba(239, 68, 68, 0.5) !important;
  stroke: #EF4444 !important;
  filter: drop-shadow(0 0 14px #EF4444) !important;
  animation: heatPulse 1.2s infinite alternate;
}

@keyframes heatPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.03); }
}

.anatomy-focus-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  background: rgba(10, 10, 16, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 8px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  font-weight: 900;
  color: #FFF;
  z-index: 15;
}

.focus-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EF4444;
  animation: blinkPulse 1s infinite;
}

.anatomy-hint-badge {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.4rem;
  font-weight: 800;
  color: #94A3B8;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 15;
}

.flexai-setup-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px 20px 0 0;
  padding: 8px 10px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.setup-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.setup-stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: #06B6D4;
  line-height: 1;
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.38rem;
  color: #94A3B8;
  font-weight: 800;
  margin-top: 2px;
}

.flexai-start-btn {
  background: #06B6D4;
  border: none;
  border-radius: 8px;
  color: #08080C;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  padding: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flexai-start-btn:hover {
  background: #22D3EE;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- SCREEN 2: LIVE COMPUTER VISION ENHANCEMENTS --- */
.perfect-rep-badge {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(15px);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
  z-index: 25;
  animation: repFloatUp 0.8s ease forwards;
}

@keyframes repFloatUp {
  0% { opacity: 0; transform: translate(-50%, -20%) scale(0.8); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -80%) scale(0.9); }
}

/* --- SCREEN 3: MID-SET REST & AI WEIGHT ADJUSTER --- */
.flexai-rest-screen {
  background: #08080C;
}

.flexai-rest-nav {
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rest-timer-ring-box {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rest-countdown-text {
  display: flex;
  flex-direction: column;
}

.rest-time-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: #38BDF8;
  line-height: 1;
}

.rest-time-sub {
  font-family: var(--font-mono);
  font-size: 0.4rem;
  font-weight: 800;
  color: #64748B;
}

.rest-add-time-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.rest-add-time-btn:hover {
  background: #38BDF8;
  color: #08080C;
}

.flexai-compare-viewport {
  position: relative;
  overflow: hidden;
}

.compare-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 2px;
  background: #000;
}

.compare-pane {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.compare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.85);
}

.compare-label-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(14, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 1px 4px;
  font-family: var(--font-mono);
  font-size: 0.38rem;
  font-weight: 900;
  color: #FFF;
}

.angle-arc-tag {
  position: absolute;
  bottom: 8px;
  left: 6px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #38BDF8;
  border-radius: 4px;
  padding: 1px 4px;
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 900;
  color: #38BDF8;
}

.flexai-ai-adjuster-sheet {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 8px 10px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.ai-recommendation-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 5px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ai-rec-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-sparkle-icon {
  font-size: 0.55rem;
}

.ai-rec-title {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-weight: 900;
  color: #38BDF8;
}

.ai-speed-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.4rem;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 4px;
  border-radius: 3px;
}

.ai-rec-body {
  font-family: var(--font-mono);
  font-size: 0.44rem;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.2;
}

.weight-adjustment-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 2px;
}

.weight-current-box, .weight-target-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.w-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: #FFF;
  line-height: 1;
}

.w-unit {
  font-family: var(--font-mono);
  font-size: 0.38rem;
  color: #94A3B8;
  font-weight: 800;
}

.w-arrow {
  color: #10B981;
  font-size: 0.7rem;
  font-weight: 900;
}

.flexai-accept-weight-btn {
  background: #10B981;
  border: none;
  border-radius: 8px;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 900;
  padding: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.flexai-accept-weight-btn:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- SCREEN 4: POST-WORKOUT ANALYTICS & HEALTH SYNC --- */
.flexai-analytics-screen {
  background: #08080C;
}

.flexai-analytics-nav {
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pr-trophy-banner {
  display: flex;
  align-items: center;
  gap: 5px;
}

.trophy-icon {
  font-size: 1.1rem;
  animation: trophyFloat 1.5s infinite alternate;
}

@keyframes trophyFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-3px) rotate(4deg); }
}

.pr-title {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 900;
  color: #F59E0B;
  letter-spacing: 0.04em;
}

.pr-subtitle {
  font-family: var(--font-mono);
  font-size: 0.44rem;
  color: #FFF;
  font-weight: 700;
}

.share-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 0.65rem;
  padding: 3px 5px;
  cursor: pointer;
  color: #FFF;
}

.flexai-analytics-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.analytics-metrics-deck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.analytics-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.a-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.a-unit {
  font-family: var(--font-mono);
  font-size: 0.42rem;
  color: #CBD5E1;
  font-weight: 800;
  margin-top: 2px;
}

.a-sub {
  font-family: var(--font-mono);
  font-size: 0.36rem;
  color: #64748B;
  margin-top: 1px;
}

.hr-recovery-graph-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.graph-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.42rem;
  font-weight: 900;
  color: #94A3B8;
}

.hr-drop-pill {
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
}

.hr-curve-svg {
  width: 100%;
  height: 48px;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.4));
}

.graph-axis-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.36rem;
  color: #64748B;
}

.analytics-muscle-row {
  display: flex;
  gap: 4px;
  justify-content: space-between;
}

.a-tag {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.4rem;
  font-weight: 800;
  color: #CBD5E1;
  padding: 3px;
  text-align: center;
}

.flexai-sync-bottom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 8px 10px;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.flexai-apple-sync-btn {
  width: 100%;
  background: #FFFFFF;
  color: #08080C;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.flexai-apple-sync-btn:hover {
  background: #10B981;
  color: #FFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sync-apple-icon {
  font-size: 0.75rem;
}

/* --- SCREEN 3: PRODUCT CATALOG GRID & IN-APP CART SYSTEM --- */
.app-products-catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  position: absolute;
  inset: 68px 8px 50px 8px;
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 10;
  padding-bottom: 8px;
}

.app-prod-card {
  background: rgba(14, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-prod-card:hover {
  border-color: rgba(229, 0, 0, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.app-prod-card.selected {
  border-color: #E50000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.app-prod-card.selected .prod-name {
  color: #FF4D4D;
}

.prod-img-wrap {
  position: relative;
  width: 100%;
  height: 88px;
  overflow: hidden;
  background: #000000;
}

.prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-editorial);
  filter: brightness(0.92) contrast(1.1);
}

.app-prod-card:hover .prod-img {
  transform: scale(1.08);
  filter: brightness(1);
}

.prod-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #E50000;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.prod-meta {
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.prod-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prod-name {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62px;
}

.prod-price {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  color: #22C55E;
}

.prod-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prod-rating {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: #FBBF24;
  font-weight: 800;
}

.prod-add-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 900;
  padding: 2px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prod-add-btn:hover, .prod-add-btn.added {
  background: #E50000;
  border-color: #E50000;
  color: #FFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* In-App Shopping Cart Modal Drawer */
.app-in-cart-drawer {
  position: absolute;
  inset: auto 8px 8px 8px;
  height: 82%;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 10px 12px 14px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(115%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95);
}

.app-in-cart-drawer.open {
  transform: translateY(0);
}

.in-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  color: #FFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.in-cart-badge {
  background: var(--accent);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  padding: 1px 5px;
  border-radius: 4px;
}

.in-cart-close-btn {
  background: transparent;
  color: #94A3B8;
  font-size: 0.8rem;
  cursor: pointer;
}

.in-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  max-height: 220px;
  margin: 6px 0;
  scrollbar-width: none;
}

.in-cart-item-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: itemSlideIn 0.25s ease forwards;
}

@keyframes itemSlideIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.in-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.in-cart-item-name {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  color: #FFF;
}

.in-cart-item-meta {
  font-family: var(--font-mono);
  font-size: 0.46rem;
  color: #94A3B8;
}

.in-cart-item-price {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 900;
  color: #4ADE80;
}

.in-cart-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.in-cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: #CBD5E1;
}

.in-cart-subtotal-price {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: #FFF;
}

.in-cart-checkout-btn {
  background: #FFFFFF;
  color: #080808;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.in-cart-checkout-btn:hover {
  background: var(--accent);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lookbook-bag-wrap {
  position: relative;
  cursor: pointer;
}

.bag-counter-pill {
  position: absolute;
  top: -3px;
  right: -5px;
  background: #E50000;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 900;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #08080C;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bag-counter-pill.bump {
  transform: scale(1.4);
}

.drawer-size-selector {
  display: flex;
  gap: 3px;
}

.size-btn {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn.active, .size-btn:hover {
  background: #FFFFFF;
  color: #080808;
  font-weight: 900;
}

.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s;
}

.c-dot.active {
  transform: scale(1.3);
  box-shadow: 0 0 4px #FFF;
}

/* Flying Cart Particle Animation */
.fly-cart-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #E50000;
  border-radius: 50%;
  box-shadow: none;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
}

.fly-cart-dot.animating {
  animation: flyToCartAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flyToCartAnim {
  0% {
    top: 60%;
    left: 45%;
    opacity: 1;
    transform: scale(1.5);
  }
  50% {
    top: 25%;
    left: 70%;
    opacity: 0.9;
    transform: scale(1.1);
  }
  100% {
    top: 42px;
    left: 88%;
    opacity: 0;
    transform: scale(0.3);
  }
}

/* --- SCREEN 4: NEURAL CONVERSATIONAL AI CHATBOT --- */
.app-screen-4 {
  background: #08080C;
  display: flex;
  flex-direction: column;
  height: 470px;
  min-height: 470px;
  padding-top: 38px;
  padding-bottom: 0.5rem;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* ==========================================================================
   CLEAN PHOTOREALISTIC INTERACTIVE CURSORS ACROSS MOBILE SCREENS
   ========================================================================== */
.phone-neon-cursor {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 200;
  will-change: transform, opacity;
  opacity: 1;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.phone-neon-cursor.hidden {
  opacity: 0 !important;
}

.neon-cursor-svg {
  transform-origin: 4px 3px;
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-neon-cursor.clicking .neon-cursor-svg {
  transform: scale(0.82) rotate(-4deg);
}

.neon-cursor-trail {
  display: none !important;
}

.neon-cursor-pulse {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.phone-neon-cursor.clicking .neon-cursor-pulse {
  animation: cleanTapRipple 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cleanTapRipple {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.ai-top-nav {
  margin: 0 8px 4px;
  padding: 0.45rem 0.8rem;
  background: rgba(14, 14, 20, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.ai-agent-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-avatar-glow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A855F7, #6366F1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

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

.ai-status-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ai-live-tag {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: #A855F7;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pulse-purple-dot {
  width: 6px;
  height: 6px;
  background: #A855F7;
  border-radius: 50%;
  animation: pulsePurple 1.5s infinite alternate;
}

@keyframes pulsePurple {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 8px #A855F7; }
}

.ai-chat-stream-box {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scrollbar-width: none;
}

.ai-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ai-msg {
  display: flex;
  gap: 0.4rem;
  animation: msgPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.ai-msg.bot {
  align-self: flex-start;
  max-width: 92%;
}

.ai-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 85%;
}

.ai-msg-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #A855F7;
  color: #FFF;
  font-size: 0.55rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-msg.user .ai-msg-avatar {
  background: var(--accent);
}

.ai-msg-bubble {
  background: rgba(22, 22, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  font-size: 0.58rem;
  color: #E2E8F0;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.ai-msg.user .ai-msg-bubble {
  background: rgba(229, 0, 0, 0.2);
  border-color: rgba(229, 0, 0, 0.4);
  color: #FFF;
}

.ai-prompt-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0.25rem 0;
}

.prompt-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prompt-chip:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #A855F7;
  color: #FFF;
  transform: translateY(-1px);
}

.ai-send-btn {
  background: var(--accent);
  border: none;
  color: #FFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.ai-send-btn:hover {
  transform: scale(1.1);
}

.ai-voice-wave-card {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  animation: msgPop 0.3s ease;
}

.voice-wave-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: #C084FC;
  font-weight: 800;
}

.app-ai-bottom {
  margin: 0 8px 8px;
  padding: 0.5rem 0.65rem;
  background: rgba(14, 14, 20, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.ai-input-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 0.25rem 0.4rem 0.25rem 0.75rem;
}

.ai-real-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #FFF;
  width: 100%;
}

.ai-real-input::placeholder {
  color: #64748B;
}

.ai-mic-btn {
  background: transparent;
  border: none;
  font-size: 0.65rem;
  color: #94A3B8;
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.ai-mic-btn:hover, .ai-mic-btn.speaking {
  color: #EF4444;
  transform: scale(1.15);
}

@keyframes pulseRedRing {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 8px #EF4444; }
}

@media (max-width: 1024px) {
  .mobile-phones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mobile-phones-grid {
    grid-template-columns: 1fr;
  }
  .mobile-apps-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   CREATIVE SHOWCASE SECTION — MAGAZINE SPREAD EDITORIAL
   ========================================================================== */
.showcase-section {
  background-color: var(--bg-primary);
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.magazine-spread-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.spread-text-column {
  display: flex;
  flex-direction: column;
}

.spread-giant-title {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.spread-giant-title .outline-text {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
  transition: -webkit-text-stroke 0.3s ease;
}

.spread-giant-title:hover .outline-text {
  -webkit-text-stroke: 2px var(--accent);
}

.spread-quote-box {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.spread-quote-box p {
  font-size: 1.15rem;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.spread-quote-box span {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Spread Visual Layout */
.spread-visual-composition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.spread-visual-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.spread-visual-item:first-child {
  transform: translateY(-2rem);
}

.spread-visual-item:last-child {
  transform: translateY(2rem);
}

.spread-visual-img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  transition: transform 0.6s var(--ease-editorial);
  filter: contrast(1.15);
}

.spread-visual-item:hover .spread-visual-img {
  transform: scale(1.05);
}

.spread-accent-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   TEAM SECTION — 5 MONOLITHIC EXPERTS STAGE (CINEMATIC HOVER REVEAL)
   ========================================================================== */
.team-monolith-section {
  background-color: #060606;
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 3.5vw, 3rem) 0 3.5rem;
}

.team-monolith-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  gap: 2rem;
  flex-wrap: wrap;
}

.team-monolith-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  cursor: default;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-highlight-red {
  display: inline-block;
  background-color: var(--accent);
  color: #FFFFFF !important;
  padding: 0.06em 0.22em 0.12em;
  margin: 0 0.06em;
  line-height: 0.88;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.team-monolith-title:hover {
  color: var(--accent);
}

.team-monolith-title:hover .title-highlight-red {
  background-color: #000000;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.team-monolith-title::selection,
.team-monolith-title *::selection {
  background-color: var(--accent);
  color: #FFFFFF;
}

.team-monolith-title .title-highlight-red::selection {
  background-color: #000000;
  color: #FFFFFF;
}

.team-monolith-meta-box {
  max-width: 380px;
  text-align: right;
}

.team-monolith-desc {
  color: var(--text-muted);
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .team-monolith-meta-box {
    text-align: left;
  }
  .team-monolith-meta-box .section-label {
    justify-content: flex-start !important;
  }
}

/* 5 Curved Monolith Stage Container */
.team-monolith-stage-wrap {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  perspective: 1200px;
  padding-bottom: 1.5rem;
}

.team-monolith-cards-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.25rem, 2.8vw, 2.5rem);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  transform-style: preserve-3d;
}

/* Individual Monolith Card with amphitheater curve placement */
.monolith-card {
  position: relative;
  flex: 1 1 0px;
  max-width: 195px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.3s ease, filter 0.4s ease;
  cursor: pointer;
  transform-style: preserve-3d;
}

/* Symmetrical 4-Card Concave Amphitheater Arc Curve */
.monolith-card[data-index="0"] {
  transform: perspective(1000px) rotateY(12deg) translateZ(-12px) translateY(4px);
  transform-origin: right center;
}
.monolith-card[data-index="1"] {
  transform: perspective(1000px) rotateY(4deg) translateZ(-2px) translateY(0px);
  transform-origin: right center;
}
.monolith-card[data-index="2"] {
  transform: perspective(1000px) rotateY(-4deg) translateZ(-2px) translateY(0px);
  transform-origin: left center;
}
.monolith-card[data-index="3"] {
  transform: perspective(1000px) rotateY(-12deg) translateZ(-12px) translateY(4px);
  transform-origin: left center;
}

/* Monolith Card Hover Pop */
.monolith-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateZ(30px) translateY(-10px) scale(1.05) !important;
  z-index: 35 !important;
}

/* Light Panel Body */
.monolith-light-panel {
  position: relative;
  width: 100%;
  height: clamp(290px, 23vw, 345px);
  border-radius: 4px;
  overflow: hidden;
  background: #C30203;
  border: 1px solid rgba(0, 0, 0, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  transition: all 0.4s ease;
}

.monolith-card:hover .monolith-light-panel {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95);
}

/* 1. Default Silhouette Red View */
.monolith-silhouette-bg {
  position: absolute;
  inset: 0;
  background: #C30203;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
  z-index: 2;
}

.monolith-silhouette-img {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  pointer-events: none;
}

.monolith-card:hover .monolith-silhouette-bg {
  opacity: 0;
  pointer-events: none;
}

/* Text Overlay: Subtle dark-red tone by default (like in reference), crisp white on active card */
.monolith-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0.65rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: center;
  z-index: 5;
}

.monolith-member-name {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 0.92vw, 0.95rem);
  font-weight: 900;
  color: #1A0000;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  transition: color 0.3s ease;
}

.monolith-member-role {
  font-family: var(--font-mono);
  font-size: clamp(0.54rem, 0.6vw, 0.62rem);
  font-weight: 800;
  color: #380000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.monolith-member-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.58rem, 0.65vw, 0.68rem);
  color: #2D0000;
  line-height: 1.32;
  margin: 0;
  transition: color 0.3s ease;
}

/* 2. Real Photo Hover Reveal */
.monolith-real-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.monolith-card:hover .monolith-real-photo {
  opacity: 1;
}

.monolith-real-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-editorial);
  filter: contrast(1.15) brightness(0.95);
}

.monolith-card:hover .monolith-real-photo img {
  transform: scale(1.05);
}

.monolith-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.25) 35%, rgba(8,8,8,0.95) 75%, #080808 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem 0.75rem;
}

.monolith-photo-overlay .monolith-text-overlay {
  position: static;
  padding: 0;
  text-align: left;
  background: none;
}

.monolith-photo-overlay .monolith-member-name {
  color: #FFFFFF !important;
  font-size: clamp(0.85rem, 0.95vw, 1rem) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.monolith-photo-overlay .monolith-member-role {
  color: #FF2A2D !important;
  font-size: clamp(0.55rem, 0.62vw, 0.65rem) !important;
  background: none !important;
  padding: 0 !important;
  margin-bottom: 0.25rem !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.monolith-photo-overlay .monolith-member-desc {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(0.6rem, 0.68vw, 0.72rem) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive Team Amphitheater Layout */
@media (max-width: 1024px) {
  .team-monolith-cards-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
  .monolith-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: 165px;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .team-monolith-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  .monolith-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 220px;
  }
  .monolith-light-panel {
    height: 320px;
  }
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: contrast(1.1);
}

.team-card:hover .team-photo {
  transform: scale(1.04);
}

.team-meta {
  padding: 1.25rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #FFFFFF;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}


/* ==========================================================================
   PROCESS SECTION — NUMBERED EDITORIAL SEQUENCE
   ========================================================================== */
.process-section {
  background-color: var(--bg-primary);
}

.process-header-center {
  max-width: 750px;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  transition: transform 0.35s var(--ease-editorial), border-color 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 0, 0, 0.15);
}

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  margin-bottom: 1.75rem;
  transition: color 0.3s ease;
}

.process-card:hover .process-number {
  color: var(--accent);
}

.process-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.process-deliverable-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(229, 0, 0, 0.15);
  border: 1px solid rgba(229, 0, 0, 0.3);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}


/* ==========================================================================
   TESTIMONIALS & RESULTS SECTION
   ========================================================================== */
.testimonial-section {
  background-color: var(--bg-secondary);
  color: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.testimonial-container {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-slider-wrap {
  position: relative;
  min-height: 340px;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.testimonial-slide.active {
  display: flex;
}

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

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: none;
}

.testimonial-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.testimonial-client-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.client-info h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.client-info p {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.testimonial-nav-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   FINAL CTA SECTION — THICK RED
   ========================================================================== */
.final-cta-section {
  background-color: var(--accent);
  color: #FFFFFF;
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-headline {
  font-size: clamp(2.75rem, 7vw, 6.75rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 2.75rem;
  max-width: 1100px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.cta-btn-wrapper {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cta-dark {
  background-color: #080808;
  color: #FFFFFF;
  font-size: 1.05rem;
  padding: 1.25rem 2.75rem;
  border: 2px solid #080808;
}

.btn-cta-dark:hover {
  background-color: #FFFFFF;
  color: #080808;
  border-color: #FFFFFF;
  transform: scale(1.04);
}

.btn-cta-white {
  background-color: #FFFFFF;
  color: var(--accent);
  font-size: 1.05rem;
  padding: 1.25rem 2.75rem;
  border: 2px solid #FFFFFF;
  font-weight: 800;
}

.btn-cta-white:hover {
  background-color: #080808;
  color: #FFFFFF;
  border-color: #080808;
  transform: scale(1.04);
}


/* ==========================================================================
   MINIMAL PREMIUM FOOTER
   ========================================================================== */
.site-footer {
  background-color: #050505;
  color: #FFFFFF;
  padding-top: 1.35rem;
  padding-bottom: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 1.25rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 380px;
}

.footer-col-collab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.footer-logo .logo-x {
  color: var(--accent);
}

.footer-statement {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 310px;
  line-height: 1.35;
}

.footer-local-time {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.45rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 14px;
  height: 2px;
  background-color: var(--accent);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

.footer-link.accent-hover:hover {
  color: var(--accent);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #141414;
  border: 1px solid var(--border-subtle);
  color: #CCCCCC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-social-icon-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer !important;
  pointer-events: auto !important;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top-btn:hover {
  color: var(--accent);
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.05);
}


/* ==========================================================================
   INTERACTIVE PROJECT INQUIRY MODAL / ESTIMATOR
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-editorial);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background-color: #121212;
  color: #FFFFFF;
  border: 1px solid var(--border-strong);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-editorial);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 25;
  line-height: 1;
}

.modal-close-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF !important;
  transform: rotate(90deg) scale(1.05);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.9rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: #1A1A1A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  background-color: #222222;
  box-shadow: none;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.service-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.service-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #1A1A1A;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  color: var(--text-muted);
}

.service-check-item:has(input:checked) {
  border-color: var(--accent);
  background-color: rgba(229, 0, 0, 0.15);
  font-weight: 700;
  color: #FFFFFF;
}

.service-check-item input {
  accent-color: var(--accent);
}

.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #121212;
  color: #FFFFFF;
  border-left: 4px solid var(--accent);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 0, 0, 0.2);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-editorial);
  pointer-events: none;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Quick View Project Modal */
.quickview-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-editorial);
}

.quickview-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.quickview-card {
  background-color: #121212;
  color: #FFFFFF;
  border: 1px solid var(--border-strong);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease-editorial);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 0, 0, 0.2);
}

.quickview-modal-backdrop.open .quickview-card {
  transform: translateY(0) scale(1);
}

.quickview-media {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: #000;
  overflow: hidden;
}

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

.quickview-details {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quickview-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF !important;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  line-height: 1;
  transition: all 0.25s ease;
}

.quickview-close:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF !important;
  transform: rotate(90deg) scale(1.05);
}


/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-media-composition {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .stat-card:nth-child(3) {
    border-left: none;
  }

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

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

  .project-card.col-wide,
  .project-card.col-narrow,
  .project-card.col-half,
  .project-card.col-full {
    grid-column: span 2;
  }

  .magazine-spread-grid {
    grid-template-columns: 1fr;
  }

  .spread-visual-composition {
    max-width: 550px;
    margin: 2rem auto 0;
  }

  .about-split-grid {
    grid-template-columns: 1fr;
  }

  .about-left-sticky {
    position: static;
  }

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

  .footer-top-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
  .nav-menu, .brand-status-badge {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    padding: 0.6rem 1.15rem;
    font-size: 0.8125rem;
  }

  .hero-floating-card {
    left: 1rem;
    bottom: -1.5rem;
    padding: 1rem 1.25rem;
  }

  .hero-stamp-badge {
    width: 80px;
    height: 80px;
    top: -1rem;
    right: -0.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1rem !important;
  }

  .stat-card {
    border-left: 1px solid var(--border-subtle) !important;
    border-bottom: none !important;
    padding: 0.5rem 0 0.5rem 0.85rem !important;
  }

  .stat-card:nth-child(2n+1) {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .stat-number {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem) !important;
    margin-bottom: 0.2rem !important;
  }

  .stat-label {
    font-size: clamp(0.6rem, 2.2vw, 0.7rem) !important;
    line-height: 1.3 !important;
  }

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

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

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

  .form-row-2, .service-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .quickview-card {
    grid-template-columns: 1fr;
  }
  .quickview-media {
    min-height: 260px;
  }

  .footer-top-grid {
    flex-direction: column;
    gap: 2rem;
  }

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

/* ==========================================================================
   FURNIO — FURNITURE BOOKING SYSTEM (FEATURED CARD & FULL WEB APP)
   ========================================================================== */

/* 1. Direct Inline Browser Frame & App Window (Matching Standard Featured Card Height) */
.furnio-direct-app-wrapper {
  margin-bottom: 0;
  width: 100%;
}

.furnio-browser-frame {
  background: #1A1A20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  height: clamp(480px, 52vw, 600px);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.browser-window-header {
  background: #121216;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.b-dot.b-red { background: #EF4444; }
.b-dot.b-yellow { background: #F59E0B; }
.b-dot.b-green { background: #10B981; }

.browser-url-bar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 0.15rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #94A3B8;
  max-width: 320px;
  width: 100%;
}

.url-lock {
  font-size: 0.6rem;
}

.browser-actions {
  color: #64748B;
  font-size: 0.75rem;
  cursor: pointer;
}

.furnio-app-window.inline-app {
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 0;
  background: #F5F3EE;
  color: #171717;
  border-radius: 0 0 16px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
  transform: none;
  position: relative;
}

/* Header */
.furnio-app-header {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 10;
  flex-shrink: 0;
}

.furnio-brand-col {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.furnio-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #171717;
}

.furnio-tagline {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.furnio-center-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #F0EDE5;
  padding: 0.2rem;
  border-radius: 20px;
}

.furnio-nav-link {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #555555;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.furnio-nav-link:hover {
  color: #171717;
}

.furnio-nav-link.active {
  background: #171717;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.furnio-count-pill {
  background: var(--accent);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 800;
}

.furnio-right-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.furnio-search-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #F0EDE5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  color: #666;
}

.furnio-search-pill input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #171717;
  width: 120px;
}

.furnio-icon-btn {
  background: #F0EDE5;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.furnio-notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.furnio-user-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem 0.2rem 0.2rem;
  background: #F0EDE5;
  border-radius: 20px;
}

.furnio-user-avatar {
  width: 22px;
  height: 22px;
  background: #171717;
  color: #FFF;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.furnio-user-name {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #171717;
}

.furnio-cart-btn {
  background: var(--accent);
  color: #FFF;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.furnio-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(229, 0, 0, 0.35);
}

.furnio-cart-pill {
  background: #FFF;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 8px;
  font-weight: 900;
}

/* Body Area */
.furnio-app-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem 1.75rem;
  scrollbar-width: thin;
}

/* Hero Banner (Compact & Streamlined) */
.furnio-hero-banner {
  background: #EBE7DD;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.furnio-hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
}

.furnio-hero-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #171717;
  margin: 0.1rem 0 0.15rem;
}

.furnio-hero-sub {
  font-size: 0.68rem;
  color: #666666;
  max-width: 320px;
  line-height: 1.25;
}

.furnio-hero-perks {
  display: flex;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.f-perk-item {
  display: flex;
  flex-direction: column;
}

.f-perk-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 900;
  color: #171717;
  line-height: 1;
}

.f-perk-lbl {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  color: #888888;
  font-weight: 700;
  margin-top: 0.1rem;
}

/* Controls Bar */
.furnio-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.furnio-category-pills {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.f-cat-pill {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 15px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #555555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.f-cat-pill:hover {
  background: #EBE7DD;
  color: #171717;
}

.f-cat-pill.active {
  background: #171717;
  color: #FFFFFF;
  border-color: #171717;
}

.furnio-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.furnio-custom-sort {
  position: relative;
  display: inline-block;
  z-index: 25;
}

.furnio-sort-btn {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #171717;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.furnio-sort-btn:hover {
  border-color: #171717;
}

.f-sort-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.furnio-custom-sort.open .f-sort-arrow {
  transform: rotate(180deg);
}

.furnio-sort-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 160px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 0.35rem 0;
  display: none;
  flex-direction: column;
  z-index: 50;
}

.furnio-custom-sort.open .furnio-sort-dropdown {
  display: flex;
}

.f-sort-opt {
  padding: 0.4rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.15s ease;
}

.f-sort-opt:hover {
  background: #F5F3EE;
  color: #171717;
}

.f-sort-opt.active {
  background: #171717;
  color: #FFFFFF;
  font-weight: 700;
}

.furnio-avail-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #444;
  cursor: pointer;
}

/* Furniture Cards Grid */
.furnio-furniture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.furnio-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.furnio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.f-card-img-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  background: #EAE6DC;
  overflow: hidden;
}

.f-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-editorial);
}

.furnio-card:hover .f-card-img {
  transform: scale(1.06);
}

.f-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.f-card-tag.available {
  background: #22C55E;
  color: #FFF;
}

.f-card-tag.low-stock {
  background: #F59E0B;
  color: #FFF;
}

.f-card-quick-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.furnio-card:hover .f-card-quick-overlay {
  opacity: 1;
}

.f-quick-btn {
  background: #FFFFFF;
  color: #171717;
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.f-quick-btn:hover {
  background: #171717;
  color: #FFFFFF;
  transform: scale(1.04);
}

.f-card-body {
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  justify-content: space-between;
}

.f-card-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-card-cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #888888;
  font-weight: 700;
}

.f-card-rating {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #D97706;
  font-weight: 800;
}

.f-card-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #171717;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.f-card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.f-card-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 900;
  color: #171717;
}

.f-card-unit {
  font-size: 0.58rem;
  color: #888888;
  font-weight: 600;
}

.f-card-book-btn {
  background: #171717;
  color: #FFFFFF;
  border: none;
  padding: 0.35rem 0.7rem;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.f-card-book-btn:hover {
  background: var(--accent);
  box-shadow: 0 3px 8px rgba(229, 0, 0, 0.35);
}

/* Collections Page Grid */
.furnio-section-header {
  margin-bottom: 2rem;
}

.furnio-section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #171717;
  margin: 0.2rem 0;
}

.furnio-section-sub {
  font-size: 0.95rem;
  color: #666;
}

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

.furnio-collection-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.f-col-img-wrap {
  position: relative;
  height: 240px;
}

.f-col-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f-col-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #171717;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.f-col-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f-col-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.f-col-header-row h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #171717;
}

.f-col-price {
  font-family: var(--font-mono);
  font-weight: 900;
  color: var(--accent);
}

.f-col-content p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.furnio-bundle-btn {
  margin-top: 0.75rem;
  background: #171717;
  color: #FFF;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.furnio-bundle-btn:hover {
  background: var(--accent);
}

/* My Bookings Page */
.furnio-booking-tabs-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0.5rem;
}

.f-b-tab {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: #666;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.f-b-tab.active {
  background: #171717;
  color: #FFF;
}

.furnio-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.furnio-booking-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.f-b-left-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.f-b-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: #EEE;
}

.f-b-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
}

.f-b-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #171717;
  margin: 0.1rem 0 0.3rem;
}

.f-b-dates {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #666;
}

.f-b-status-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.f-b-status-pill.Upcoming {
  background: #E0F2FE;
  color: #0369A1;
}

.f-b-status-pill.Active {
  background: #DCFCE7;
  color: #15803D;
}

.f-b-status-pill.Completed {
  background: #F1F5F9;
  color: #475569;
}

.f-b-status-pill.Cancelled {
  background: #FEE2E2;
  color: #B91C1C;
}

.f-b-actions-col {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.f-b-total-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 900;
  color: #171717;
  margin-right: 0.5rem;
}

.f-btn-extend {
  background: #F0EDE5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #171717;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.f-btn-cancel {
  background: transparent;
  border: 1px solid #EF4444;
  color: #EF4444;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.f-btn-cancel:hover {
  background: #EF4444;
  color: #FFF;
}

/* 3. Product Details Modal (CONTAINED INSIDE THE APP TAB) */
.furnio-product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  border-radius: 0 0 16px 16px;
}

.furnio-product-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.furnio-product-modal-card {
  width: 100%;
  max-width: 95%;
  max-height: 94%;
  background: #FFFFFF;
  border-radius: 14px;
  overflow-y: auto;
  position: relative;
  padding: 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  scrollbar-width: thin;
}

.furnio-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: #EAE6DC;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.15);
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.furnio-modal-close:hover {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(229, 0, 0, 0.45);
}

.furnio-product-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
}

.furnio-main-img-box {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  background: #EAE6DC;
}

.furnio-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f-modal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #22C55E;
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.furnio-thumbs-row {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.f-thumb-item {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.f-thumb-item.active {
  border-color: #171717;
}

.f-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.furnio-details-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.f-modal-category {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.f-modal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #171717;
  margin: 0.1rem 0 0.2rem;
}

.f-modal-rating-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.f-stars {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: #D97706;
}

.f-reviews {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #888888;
}

.f-modal-price-box {
  margin-top: 0.2rem;
}

.f-price-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  color: #171717;
}

.f-price-unit {
  font-size: 0.7rem;
  color: #666;
  font-weight: 600;
}

.f-modal-description {
  font-size: 0.72rem;
  color: #555555;
  line-height: 1.4;
}

.f-specs-table {
  background: #F9F8F5;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.f-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
}

.f-spec-key {
  color: #777;
}

.f-spec-val {
  font-weight: 700;
  color: #171717;
}

/* STICKY BOOKING PANEL */
.furnio-booking-panel {
  background: #F5F3EE;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.f-panel-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: #171717;
  letter-spacing: 0.05em;
  margin: 0;
}

.f-panel-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.f-date-input-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: #777;
  margin-bottom: 0.15rem;
}

.f-date-input-group input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.3rem 0.45rem;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: #171717;
  outline: none;
}

.f-panel-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.f-qty-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #444;
}

.f-qty-stepper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 22px;
  height: 22px;
  font-weight: 900;
  cursor: pointer;
  font-size: 0.75rem;
}

.qty-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0 6px;
}

.f-rental-days {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
}

.f-pricing-calc-box {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.f-calc-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #777;
}

.f-calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding-top: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.7rem;
  color: #171717;
}

.f-calc-total-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 900;
  color: #22C55E;
}

.furnio-add-cart-btn {
  background: #171717;
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.furnio-add-cart-btn:hover {
  background: var(--accent);
  box-shadow: 0 3px 10px rgba(229, 0, 0, 0.3);
}

/* 4. Booking Cart Slide-out Drawer (INSIDE THE APP FRAME) */
.furnio-cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  border-radius: 0 0 16px 16px;
}

.furnio-cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.furnio-cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 340px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.furnio-cart-drawer-backdrop.open .furnio-cart-drawer-panel {
  transform: translateX(0);
}

.f-cart-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-cart-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.f-cart-title-row h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  margin: 0;
}

.f-cart-badge {
  background: var(--accent);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.f-cart-close-btn {
  background: #F0EDE5;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
}

.f-cart-item-row {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  align-items: center;
}

.f-cart-item-img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: #EEE;
  flex-shrink: 0;
}

.f-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.f-cart-item-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: #171717;
}

.f-cart-item-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: #777;
}

.f-cart-item-pricing {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  color: #171717;
  margin-top: 0.1rem;
}

.f-cart-item-remove {
  background: transparent;
  border: none;
  color: #999;
  font-size: 0.8rem;
  cursor: pointer;
}

.f-cart-item-remove:hover {
  color: #EF4444;
}

.f-cart-footer {
  padding: 0.85rem 1rem;
  background: #F9F8F5;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.f-cart-calc-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #666;
}

.f-cart-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 0.4rem;
  margin-top: 0.2rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.75rem;
  color: #171717;
}

.f-cart-final-total {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent);
}

.furnio-checkout-trigger-btn {
  background: #171717;
  color: #FFF;
  border: none;
  padding: 0.65rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  transition: all 0.2s;
}

.furnio-checkout-trigger-btn:hover {
  background: var(--accent);
}

/* 5. Multi-Step Checkout Modal (INSIDE THE APP FRAME) */
.furnio-checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  border-radius: 0 0 16px 16px;
}

.furnio-checkout-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.furnio-checkout-card {
  width: 100%;
  max-width: 520px;
  max-height: 94%;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 1.25rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  scrollbar-width: thin;
}

.f-checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.f-step {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: #999;
}

.f-step.active {
  color: #171717;
}

.f-step span {
  width: 18px;
  height: 18px;
  background: #EEE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 800;
}

.f-step.active span {
  background: #171717;
  color: #FFF;
}

.f-step-line {
  flex: 1;
  height: 1px;
  background: #EEE;
  margin: 0 0.5rem;
}

.f-step-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #171717;
  margin-bottom: 0.25rem;
}

.f-step-sub {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.f-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.f-field.full-width {
  grid-column: span 2;
}

.f-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.35rem;
}

.f-field input {
  width: 100%;
  background: #F9F8F5;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #171717;
  outline: none;
}

.f-step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.75rem;
  gap: 1rem;
}

.furnio-secondary-btn {
  background: #F0EDE5;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
  cursor: pointer;
}

.furnio-primary-btn {
  background: #171717;
  color: #FFF;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.furnio-primary-btn:hover {
  background: var(--accent);
}

/* Step 2 Review summary */
.f-review-summary-card {
  background: #F9F8F5;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.f-review-items-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1rem;
}

.f-meta-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.4rem;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #888;
}

.meta-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #171717;
}

/* Step 3 Payment */
.f-payment-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.f-pay-tab {
  flex: 1;
  background: #F0EDE5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.65rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.f-pay-tab.active {
  background: #171717;
  color: #FFF;
}

/* Step 4 Confirmed */
.f-confirmed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}

.f-confirm-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFF;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
  margin-bottom: 1rem;
}

.f-confirm-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #171717;
}

.f-confirm-desc {
  font-size: 0.9rem;
  color: #666;
  max-width: 440px;
  margin: 0.4rem 0 1.5rem;
}

.f-confirm-ticket {
  background: #F9F8F5;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.f-ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.t-lbl {
  color: #888;
}

.t-val {
  font-weight: 800;
  color: #171717;
}

.t-val.highlight {
  color: var(--accent);
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .furnio-app-window {
    height: 98vh;
    padding: 0;
  }
  .furnio-app-header {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
  .furnio-hero-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .furnio-product-modal-grid {
    grid-template-columns: 1fr;
  }
  .furnio-main-img-box {
    height: 250px;
  }
}

/* ==========================================================================
   AUTOMATIC INTERACTIVE DEMO CURSOR (SMOOTH REAL-TIME SHOWCASE)
   ========================================================================== */
.auto-interactive-cursor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3000;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.auto-cursor-pointer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3000;
  will-change: transform, opacity;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
  opacity: 1;
}

.auto-cursor-pointer.visible {
  opacity: 1;
}

.auto-cursor-pointer.hidden {
  opacity: 0 !important;
}

.auto-cursor-svg {
  transform-origin: 4px 3px;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auto-cursor-pointer.clicking .auto-cursor-svg {
  transform: scale(0.82) rotate(-5deg);
}

.auto-cursor-ripple {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(229, 0, 0, 0.85);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.auto-cursor-pointer.clicking .auto-cursor-ripple {
  animation: autoCursorRippleAnim 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes autoCursorRippleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.95;
    background: rgba(229, 0, 0, 0.9);
  }
  100% {
    transform: translate(-50%, -50%) scale(4.8);
    opacity: 0;
    border: 2px solid var(--accent);
    background: transparent;
  }
}

.auto-cursor-badge {
  display: none !important;
}

/* ==========================================================================
   NEON GLASSMORPHIC CURSORS (FOR 4 MOBILE APP AUTOMATION)
   ========================================================================== */
.neon-app-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 100;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neon-app-cursor.hidden {
  opacity: 0 !important;
}

.neon-cursor-ring {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(229, 0, 0, 0.9);
  background: rgba(229, 0, 0, 0.15);
  box-shadow: 0 0 12px rgba(229, 0, 0, 0.6), inset 0 0 6px rgba(229, 0, 0, 0.4);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease;
}

.neon-app-cursor.clicking .neon-cursor-ring {
  transform: scale(0.7);
  background: rgba(229, 0, 0, 0.6);
  border-color: #FFFFFF;
}

.neon-cursor-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: none;
  pointer-events: none;
}

.neon-cursor-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(229, 0, 0, 0.8);
  pointer-events: none;
  transform: scale(0);
  opacity: 0;
}

.neon-app-cursor.clicking .neon-cursor-ripple {
  animation: neonCursorPulse 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes neonCursorPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
    background: rgba(229, 0, 0, 0.9);
  }
  100% {
    transform: scale(4.5);
    opacity: 0;
    border: 2px solid rgba(229, 0, 0, 0.8);
    background: transparent;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE, TABLET & DESKTOP RESPONSIVENESS ENGINE (320px - 1440px+)
   ========================================================================== */

/* 1. Global Viewport & Touch Optimization */
html, body {
  overflow-x: clip;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none !important;
  }
  * {
    cursor: auto !important;
  }
}

/* Realistic Mobile & Touch Device Tap / Swipe Indicators for Auto Demo */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .auto-cursor-svg {
    display: none !important;
  }

  .auto-cursor-pointer {
    width: 32px !important;
    height: 32px !important;
    margin-top: -16px !important;
    margin-left: -16px !important;
    border-radius: 50% !important;
    background: rgba(229, 0, 0, 0.28) !important;
    border: 2px solid rgba(229, 0, 0, 0.85) !important;
    box-shadow: 0 0 16px rgba(229, 0, 0, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.3s ease, transform 0.12s ease !important;
  }

  .auto-cursor-pointer.clicking {
    background: rgba(229, 0, 0, 0.6) !important;
    transform: scale(0.86) !important;
  }

  .auto-cursor-ripple {
    top: 50% !important;
    left: 50% !important;
  }
}

/* 2. Tablet Viewport (768px - 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-pad: 2rem;
    --disperse-spread-factor: 0.75;
  }

  .container {
    padding: 0 var(--container-pad) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-phones-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 640px !important;
    margin: 0 auto !important;
  }

  .team-monolith-cards-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.5rem !important;
  }

  .monolith-card {
    flex: 0 0 calc(50% - 1rem) !important;
    max-width: 210px !important;
    transform: none !important;
  }

  .furnio-furniture-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.85rem !important;
  }
}

/* 3. Mobile Devices & Small Tablets (480px - 768px) */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
    --disperse-spread-factor: 0.45;
  }

  .container {
    padding: 0 var(--container-pad) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header & Navigation */
  .site-header {
    padding: 0.6rem 0;
  }

  .brand-logo {
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .brand-logo-img {
    width: 28px;
    height: 28px;
  }

  .header-actions .btn-primary {
    padding: 0.5rem 0.95rem !important;
    font-size: 0.78rem !important;
    min-height: 42px;
    border-radius: 6px;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3.4rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.04em !important;
    word-break: break-word !important;
  }

  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

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

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Manifesto Section (Sticky Liquid Color Wave Transitions on Mobile) */
  .manifesto-scroll-track {
    height: 260vh !important;
    position: relative !important;
    width: 100% !important;
    background-color: #0A0A0A !important;
  }

  .manifesto-sticky-viewport {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
    background-color: #0A0A0A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .manifesto-layer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
  }

  .manifesto-layer.layer-white,
  .manifesto-layer.layer-red {
    display: flex !important;
  }

  .manifesto-content-container {
    padding: clamp(4.5rem, 8vh, 6rem) clamp(1rem, 4vw, 1.5rem) clamp(1.5rem, 3vh, 2.5rem) !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .manifesto-quote-wrap {
    gap: clamp(1rem, 2vh, 1.75rem) !important;
  }

  .manifesto-line {
    font-size: clamp(1.4rem, 6.2vw, 2.5rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
    word-break: break-word !important;
  }

  .manifesto-actions-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
    margin-top: 1rem !important;
    pointer-events: auto !important;
  }

  .manifesto-actions-row .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  /* Stats Section */
  .stats-section {
    padding: 1.5rem 0 !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-card {
    border-left: 1px solid var(--border-subtle) !important;
    border-bottom: none !important;
    padding: 0.5rem 0 0.5rem 0.85rem !important;
    box-sizing: border-box !important;
  }

  .stat-card:nth-child(2n+1) {
    border-left: none !important;
    padding-left: 0 !important;
  }

  .stat-number {
    font-size: clamp(1.65rem, 6.5vw, 2.1rem) !important;
    margin-bottom: 0.2rem !important;
  }

  .stat-label {
    font-size: clamp(0.6rem, 2.2vw, 0.7rem) !important;
    line-height: 1.3 !important;
  }

  /* Services Section / Pinned Cards */
  .services-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
  }

  .services-title {
    font-size: clamp(1.85rem, 8vw, 2.8rem) !important;
    line-height: 1.05 !important;
  }

  .pinboard-services-wrapper {
    overflow: visible !important;
    width: 100% !important;
  }

  .pinboard-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2.75rem !important;
    margin-bottom: 2.75rem !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .pinboard-row:last-child {
    margin-bottom: 0 !important;
  }

  .pinned-service-card {
    transform: rotate(var(--card-rot, 0deg)) !important;
    width: min(92vw, 340px) !important;
    max-width: 340px !important;
    min-height: 350px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* 3D Disperse Deck Showcase */
  .masterpiece-disperse-wrap {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .disperse-stage-container {
    height: clamp(320px, 80vw, 400px) !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
  }

  .disperse-card {
    width: clamp(165px, 45vw, 220px) !important;
    height: clamp(240px, 65vw, 320px) !important;
    border-radius: 12px !important;
  }

  /* FURNIO Web Application Mobile Adaptation */
  .furnio-direct-app-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .furnio-browser-frame {
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(520px, 86vh, 660px) !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .browser-window-header {
    padding: 0.35rem 0.65rem !important;
    box-sizing: border-box !important;
  }

  .browser-url-bar {
    max-width: 180px !important;
    font-size: 0.58rem !important;
    padding: 0.12rem 0.45rem !important;
  }

  .furnio-app-window.inline-app {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .furnio-app-header {
    padding: 0.45rem 0.65rem !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    box-sizing: border-box !important;
  }

  .furnio-brand-col {
    gap: 0.25rem !important;
  }

  .furnio-logo {
    font-size: 1rem !important;
  }

  .furnio-tagline,
  .furnio-search-pill,
  .furnio-icon-btn,
  .furnio-user-chip {
    display: none !important;
  }

  .furnio-cart-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.72rem !important;
    min-height: 36px;
  }

  .furnio-center-nav {
    order: 3;
    width: 100%;
    justify-content: space-around;
    padding: 0.15rem;
    margin-top: 0.2rem;
  }

  .furnio-nav-link {
    padding: 0.3rem 0.55rem !important;
    font-size: 0.7rem !important;
    min-height: 34px;
    display: flex;
    align-items: center;
  }

  .furnio-app-body {
    padding: 0.65rem 0.5rem 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .furnio-page-view {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .furnio-hero-banner {
    padding: 0.75rem 0.85rem !important;
    border-radius: 10px !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .furnio-hero-title {
    font-size: 1.1rem !important;
  }

  .furnio-hero-perks {
    display: none !important;
  }

  .furnio-controls-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .furnio-category-pills {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .furnio-category-pills::-webkit-scrollbar {
    display: none;
  }

  .f-cat-pill {
    flex-shrink: 0 !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.72rem !important;
    min-height: 34px;
  }

  .furnio-filter-actions {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .furnio-sort-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.72rem !important;
    min-height: 34px;
  }

  .furnio-furniture-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .furnio-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .furnio-card .f-card-img-wrap {
    height: 120px !important;
  }

  .furnio-card .f-card-body {
    padding: 0.6rem !important;
    box-sizing: border-box !important;
  }

  .furnio-card .f-card-title {
    font-size: 0.8rem !important;
    margin-bottom: 0.35rem !important;
  }

  .furnio-card .f-card-price {
    font-size: 0.82rem !important;
  }

  .furnio-card .f-card-book-btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.7rem !important;
    min-height: 34px;
  }

  /* FURNIO My Bookings View Mobile Adaptation */
  .furnio-booking-tabs-bar {
    display: flex !important;
    gap: 0.35rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .furnio-booking-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .f-b-tab {
    flex-shrink: 0 !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    min-height: 32px !important;
  }

  .furnio-booking-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0.85rem !important;
    gap: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .f-b-left-col {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .f-b-thumb {
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }

  .f-b-title {
    font-size: 0.88rem !important;
    line-height: 1.2 !important;
    margin: 0.1rem 0 !important;
    word-break: break-word !important;
  }

  .f-b-dates {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  .f-b-actions-col {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px dashed rgba(0, 0, 0, 0.08) !important;
    padding-top: 0.65rem !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .f-b-total-price {
    font-size: 0.95rem !important;
    margin-right: auto !important;
  }

  .f-btn-extend,
  .f-btn-cancel {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.68rem !important;
    min-height: 32px !important;
  }

  /* FURNIO Collections View Mobile Adaptation */
  .furnio-collections-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .furnio-collection-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .f-col-img-wrap {
    height: 160px !important;
  }

  .f-col-content {
    padding: 1rem !important;
  }

  /* Responsive Bottom-Sheet Modals & Full-Screen Drawers */
  .furnio-product-modal-backdrop {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .furnio-product-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.25rem 1rem 1.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 !important;
  }

  .furnio-product-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .furnio-main-img-box {
    height: 190px !important;
  }

  .furnio-modal-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    font-size: 1.2rem !important;
  }

  .furnio-cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }

  .furnio-cart-drawer-panel {
    max-width: 100% !important;
    width: 100% !important;
  }

  .f-cart-close-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 0.95rem !important;
  }

  .f-cart-item-remove {
    padding: 0.5rem !important;
    font-size: 0.95rem !important;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .qty-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }

  .furnio-checkout-modal-backdrop {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .furnio-checkout-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.25rem 1rem 1.5rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 !important;
  }

  /* 4 Native Mobile Apps Section */
  .mobile-apps-section-block {
    padding-top: 0;
  }

  .mobile-apps-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .mobile-apps-title {
    font-size: 1.35rem !important;
  }

  .mobile-apps-subtitle {
    font-size: 0.82rem !important;
    max-width: 100% !important;
  }

  .mobile-phones-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
    max-width: 100% !important;
  }

  .mobile-phone-card {
    max-width: 100% !important;
  }

  .phone-device-frame {
    border-radius: 26px !important;
    border-width: 2.5px !important;
    padding: 6px !important;
  }

  .phone-screen-content {
    height: clamp(380px, 78vw, 440px) !important;
  }

  /* Team Monolith Section */
  .team-monolith-cards-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .monolith-card {
    max-width: 260px !important;
    margin: 0 auto !important;
    width: 100% !important;
    transform: none !important;
  }

  /* Testimonials Section */
  .testimonial-quote-text {
    font-size: clamp(1.15rem, 4.5vw, 1.65rem) !important;
    line-height: 1.35 !important;
    margin-bottom: 1.5rem !important;
  }

  .testimonial-client-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  /* Final CTA Section */
  .final-cta-section {
    padding: 4rem 0 !important;
  }

  .cta-headline {
    font-size: clamp(1.75rem, 8vw, 3rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 2rem !important;
    word-break: break-word !important;
  }

  .cta-btn-wrapper {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .cta-btn-wrapper .btn {
    width: 100% !important;
    min-height: 50px !important;
    justify-content: center !important;
  }

  /* Inquiry Modal on Mobile */
  .modal-backdrop {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .modal-window {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.5rem 1.25rem !important;
    box-sizing: border-box !important;
  }

  .form-row-2,
  .service-checkbox-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact & Form Inputs (Prevent iOS auto-zoom by ensuring font-size >= 16px) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .inquiry-form-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
}

/* 4. Small Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
    --disperse-spread-factor: 0.32;
  }

  .hero-title {
    font-size: 2.1rem !important;
  }

  .manifesto-line {
    font-size: 1.35rem !important;
  }

  .furnio-furniture-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .furnio-card .f-card-img-wrap {
    height: 140px !important;
  }

  .mobile-phones-grid {
    grid-template-columns: 1fr !important;
    max-width: 310px !important;
    margin: 0 auto !important;
  }

  .phone-screen-content {
    height: 440px !important;
  }
}


