/* ==========================================================================
   EMMANOEL WEB DESIGN — Monochrome Apple Liquid Glass (Black, Gray & White)
   Inspired by Apple Pro Monochrome Design & hopeedits.com
   ========================================================================== */

:root {
  /* Dark Mode (Default Signature Monochrome Theme) */
  --bg-primary: #000000;
  --bg-elevated: #080808;
  --bg-footer: #070707;
  --nav-bg: rgba(0, 0, 0, 0.80);
  --nav-border: rgba(255, 255, 255, 0.09);

  --text-primary: #ffffff;
  --text-secondary: #ededed;
  --text-muted: #9a9a9e;
  --text-subtle: #66666a;

  /* Monochrome Apple Liquid Glass Tokens */
  --glass-bg: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.085) 0%,
    rgba(255, 255, 255, 0.025) 50%,
    rgba(255, 255, 255, 0.055) 100%
  );
  --glass-bg-strong: linear-gradient(
    145deg,
    rgba(26, 26, 28, 0.86) 0%,
    rgba(12, 12, 13, 0.82) 100%
  );
  --glass-pill-bg: rgba(255, 255, 255, 0.07);
  --glass-pill-hover: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(255, 255, 255, 0.30);
  --glass-specular:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.32),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.05),
    0 24px 60px -12px rgba(0, 0, 0, 0.72);
  --glass-sheen: rgba(255, 255, 255, 0.12);

  --filter-chip-bg: rgba(255, 255, 255, 0.08);
  --filter-chip-active-bg: #ffffff;
  --filter-chip-active-ink: #000000;

  --switch-track: #171717;
  --switch-thumb: #ffffff;
  --divider: rgba(255, 255, 255, 0.09);

  /* Pure Monochrome Accents (Zero Blue) */
  --badge-fill: #ffffff;
  --badge-check: #000000;
  --cta-solid-bg: linear-gradient(180deg, #ffffff 0%, #dcdce0 100%);
  --cta-solid-ink: #000000;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --container-max: 1180px;
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Light Mode (Pure White, Silver & Charcoal Monochrome Toggle) */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-elevated: #f4f4f5;
  --bg-footer: #f4f4f5;
  --nav-bg: rgba(255, 255, 255, 0.86);
  --nav-border: rgba(0, 0, 0, 0.08);

  --text-primary: #09090b;
  --text-secondary: #18181b;
  --text-muted: #52525b;
  --text-subtle: #71717a;

  --glass-bg: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(244, 244, 246, 0.68) 55%,
    rgba(255, 255, 255, 0.82) 100%
  );
  --glass-bg-strong: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(242, 242, 245, 0.92) 100%
  );
  --glass-pill-bg: rgba(0, 0, 0, 0.05);
  --glass-pill-hover: rgba(0, 0, 0, 0.10);
  --glass-border: rgba(0, 0, 0, 0.09);
  --glass-border-strong: rgba(0, 0, 0, 0.22);
  --glass-specular:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.05),
    0 18px 42px -12px rgba(0, 0, 0, 0.09);
  --glass-sheen: rgba(0, 0, 0, 0.045);

  --filter-chip-bg: rgba(0, 0, 0, 0.06);
  --filter-chip-active-bg: #09090b;
  --filter-chip-active-ink: #ffffff;

  --switch-track: #e4e4e7;
  --switch-thumb: #ffffff;
  --divider: rgba(0, 0, 0, 0.09);

  --badge-fill: #09090b;
  --badge-check: #ffffff;
  --cta-solid-bg: linear-gradient(180deg, #18181b 0%, #000000 100%);
  --cta-solid-ink: #ffffff;
}

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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease-apple), color 0.4s var(--ease-apple);
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

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

/* ==========================================================================
   VERIFIED BADGE (Monochrome Platinum / Obsidian Checkmark — Zero Blue)
   ========================================================================== */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  width: 1.12em;
  height: 1.12em;
  margin-left: 0.28em;
  transform: translateY(-0.04em);
  color: var(--badge-fill);
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.22));
  position: relative;
}

[data-theme="light"] .verified-badge {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.verified-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Force crisp white badge inside always-dark Hero & Brand card */
.hero-section .verified-badge,
.about-brand-card .verified-badge {
  color: #ffffff;
}

/* ==========================================================================
   LIQUID GLASS CORE SURFACE
   ========================================================================== */
.liquid-glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.42s var(--ease-apple),
    border-color 0.35s ease,
    box-shadow 0.42s var(--ease-apple),
    background 0.4s ease;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 0%),
    var(--glass-sheen),
    transparent 62%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.liquid-glass:hover::before {
  opacity: 1;
}

.liquid-glass.interactive-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
}

/* ==========================================================================
   TOP FROSTED NAVBAR (hopeedits.com × Monochrome Apple Glass Header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--nav-border);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand-mark-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #0a0a0b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: transform 0.3s var(--ease-apple);
}

.brand-link:hover .brand-mark-box {
  transform: scale(1.07);
}

.brand-mark-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name-text {
  display: inline-flex;
  align-items: center;
}

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

.nav-link {
  font-size: 0.94rem;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.84;
  transition: opacity 0.22s ease, color 0.22s ease;
}

.nav-link:hover {
  opacity: 1;
  color: var(--text-muted);
}

/* hopeedits.com Pill Theme Switch */
.theme-switch {
  width: 54px;
  height: 30px;
  border-radius: 20px;
  background: var(--switch-track);
  border: 1px solid var(--glass-border);
  position: relative;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.theme-switch-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--switch-thumb);
  color: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  transform: translateX(24px);
  transition: transform 0.32s var(--ease-apple);
}

[data-theme="light"] .theme-switch-thumb {
  transform: translateX(0);
}

.theme-switch-thumb svg {
  width: 13px;
  height: 13px;
}

.icon-sun {
  display: none;
}

[data-theme="light"] .icon-sun {
  display: block;
}

[data-theme="light"] .icon-moon {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-zap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.25s var(--ease-apple), background 0.25s ease, border-color 0.25s ease;
}

.nav-zap-btn:hover {
  background: var(--glass-pill-hover);
  border-color: var(--glass-border-strong);
  transform: scale(1.03);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.45; }
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 18px 24px 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid var(--nav-border);
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
}

/* ==========================================================================
   HERO PORTAL (Monochrome Liquid Silver Light Sweep Canvas)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding: 122px 0 76px;
  scroll-margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}

#prismatic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, transparent 20%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 25%, transparent 72%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Uploaded Logo Floating Smoked Glass Crest */
.hero-logo-crest {
  width: 72px;
  height: 72px;
  border-radius: 21px;
  padding: 14px;
  margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(38, 38, 42, 0.82), rgba(10, 10, 12, 0.90));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatCrest 6s ease-in-out infinite;
}

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

.hero-logo-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.18));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-nowrap {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.hero-title .verified-badge {
  width: 0.58em;
  height: 0.58em;
  margin-left: 0.2em;
  transform: translateY(0.02em);
}

.hero-title-sub {
  display: block;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  color: rgba(235, 235, 240, 0.82);
  margin-top: 8px;
  letter-spacing: -0.025em;
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: wordIn 0.72s var(--ease-apple) forwards;
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-description {
  max-width: 600px;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  color: rgba(220, 220, 225, 0.74);
  font-weight: 400;
  line-height: 1.58;
  margin-bottom: 26px;
}

/* 3 Monochrome Titanium/Glass App-Icon Portal Tiles */
.hero-portal-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(220, 220, 225, 0.62);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.hero-portal-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.portal-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.portal-squircle {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 18px 38px rgba(0, 0, 0, 0.6);
  transition: transform 0.32s var(--ease-apple), border-color 0.3s ease, box-shadow 0.32s ease;
}

.portal-tile:hover .portal-squircle {
  transform: scale(1.1) translateY(-3px);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
    0 24px 48px rgba(0, 0, 0, 0.75);
}

.portal-squircle svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.75;
}

.portal-squircle.tile-obsidian {
  background: linear-gradient(150deg, rgba(48, 48, 52, 0.72) 0%, rgba(12, 12, 14, 0.84) 100%);
}

.portal-squircle.tile-graphite {
  background: linear-gradient(150deg, rgba(92, 92, 98, 0.48) 0%, rgba(20, 20, 22, 0.80) 100%);
}

.portal-squircle.tile-silver {
  background: linear-gradient(150deg, rgba(210, 210, 216, 0.28) 0%, rgba(28, 28, 32, 0.78) 100%);
}

.portal-tile-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

/* Hero CTAs */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-liquid-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 600;
  color: #000000;
  background: linear-gradient(180deg, #ffffff 0%, #dedee2 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 12px 32px rgba(255, 255, 255, 0.16);
  transition: transform 0.28s var(--ease-apple), box-shadow 0.28s ease;
}

.btn-liquid-primary:hover {
  transform: scale(1.035);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 16px 40px rgba(255, 255, 255, 0.26);
}

.btn-liquid-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.30);
  transition: transform 0.28s var(--ease-apple), background 0.28s ease;
}

.btn-liquid-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}

/* ==========================================================================
   SECTIONS COMMON TYPOGRAPHY
   ========================================================================== */
.section-block {
  padding: 110px 0;
  scroll-margin-top: 86px;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT EMMANOEL SECTION (Monochrome Obsidian & Silver Brand Card)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.about-brand-card {
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 65%), #060607 !important;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-logo-frame {
  width: 220px;
  padding: 26px 24px 20px;
  border-radius: 28px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 22px 45px rgba(0, 0, 0, 0.7);
  margin-bottom: 26px;
}

.about-logo-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about-identity-name {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
}

.about-identity-role {
  font-size: 0.94rem;
  color: rgba(235, 235, 240, 0.66);
  margin-bottom: 22px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e4e4e7;
  font-size: 0.83rem;
  font-weight: 500;
}

.about-story-card {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.about-story-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-story-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.68;
  margin-bottom: 14px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 10px;
}

.metric-pill {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   ALL WEBSITE FUNCTIONALITIES (Monochrome Filter Bar + Bento)
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--filter-chip-bg);
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-apple);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--glass-border);
}

.filter-btn.active {
  background: var(--filter-chip-active-bg);
  color: var(--filter-chip-active-ink);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

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

.feature-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.feature-card.hidden-by-filter {
  display: none;
}

.feature-card.span-2 {
  grid-column: span 2;
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.feature-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.feature-title {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

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

/* Mini Live Interactive Demos inside Feature Cards */
.mini-demo-box {
  padding: 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
}

[data-theme="light"] .mini-demo-box {
  background: rgba(0, 0, 0, 0.035);
}

.mini-catalog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: var(--glass-pill-bg);
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.mini-catalog-row:last-of-type {
  margin-bottom: 0;
}

.mini-add-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--glass-pill-hover);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-primary);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mini-add-btn.added {
  background: var(--filter-chip-active-bg);
  color: var(--filter-chip-active-ink);
  border-color: transparent;
}

.mini-cart-status {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Interactive Before/After Slider (Pure Monochrome Contrast) */
.ba-slider {
  position: relative;
  height: 126px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  user-select: none;
  touch-action: none;
}

.ba-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  font-size: 0.76rem;
  font-weight: 600;
}

.ba-before {
  background: linear-gradient(135deg, #141416 0%, #09090a 100%);
  color: rgba(255, 255, 255, 0.45);
  justify-content: flex-end;
}

.ba-before-wire {
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

.ba-after {
  background: linear-gradient(135deg, #323236 0%, #8e8e96 55%, #f2f2f5 100%);
  color: #09090b;
  clip-path: inset(0 46% 0 0);
}

.ba-after-ui {
  position: absolute;
  inset: 16px;
  border-radius: 10px;
  background: rgba(12, 12, 14, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

/* ==========================================================================
   PORTFOLIO / WORK SHOWCASE (Monochrome Sculpted Titanium Cards)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-thumb {
  aspect-ratio: 1 / 1.05;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30);
  transition: transform 0.38s var(--ease-apple), box-shadow 0.38s var(--ease-apple), border-color 0.3s ease;
  color: #ffffff;
}

.showcase-item:hover .showcase-thumb {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
}

.thumb-clinic {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.24), transparent 56%),
    linear-gradient(160deg, #1f1f22 0%, #080809 100%);
}

.thumb-auto {
  background:
    radial-gradient(circle at 20% 20%, rgba(180, 180, 188, 0.26), transparent 56%),
    linear-gradient(160deg, #141416 0%, #040405 100%);
}

.thumb-gastro {
  background:
    radial-gradient(circle at 75% 25%, rgba(220, 220, 226, 0.22), transparent 56%),
    linear-gradient(160deg, #242428 0%, #09090b 100%);
}

.thumb-corp {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.20), transparent 58%),
    linear-gradient(160deg, #19191c 0%, #060607 100%);
}

.showcase-pill {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.showcase-mockup-window {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.mockup-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.mockup-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.mockup-headline {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.mockup-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
}

.showcase-meta h4 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.showcase-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.showcase-zap-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--glass-border-strong);
  padding-bottom: 2px;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.showcase-zap-link:hover {
  gap: 10px;
  opacity: 0.78;
}

/* ==========================================================================
   INTERACTIVE CONFIGURATOR -> WHATSAPP (Monochrome Capsule Design)
   ========================================================================== */
.builder-card {
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.builder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.builder-chip {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.24s var(--ease-apple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.builder-chip:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-1px);
}

.builder-chip.selected {
  background: var(--filter-chip-active-bg);
  border-color: transparent;
  color: var(--filter-chip-active-ink);
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.builder-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.glass-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s ease;
}

.glass-input::placeholder {
  color: var(--text-subtle);
}

.glass-input:focus {
  border-color: var(--glass-border-strong);
}

.builder-preview-pane {
  padding: 26px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.imessage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}

.whatsapp-bubble-preview {
  padding: 16px 18px;
  border-radius: 18px 18px 4px 18px;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border-strong);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-primary);
  white-space: pre-line;
}

.btn-whatsapp-send {
  width: 100%;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  background: var(--cta-solid-bg);
  color: var(--cta-solid-ink);
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease-apple), box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-whatsapp-send:hover {
  transform: scale(1.025);
  opacity: 0.94;
}

/* ==========================================================================
   CLIENT REVIEWS (Monochrome Platinum Stars & Avatars)
   ========================================================================== */
.reviews-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.88rem;
  margin-top: 18px;
}

.stars-mono {
  color: var(--text-primary);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

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

.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.review-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.64;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--glass-border-strong);
  flex-shrink: 0;
}

.review-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.review-author-biz {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CLOSING CTA + FOOTER
   ========================================================================== */
.closing-cta-card {
  padding: 64px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone-display-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
}

.copy-phone-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--glass-pill-hover);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-phone-btn:hover {
  background: var(--filter-chip-active-bg);
  color: var(--filter-chip-active-ink);
}

.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--divider);
  padding: 54px 0 38px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-col h6 {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col p {
  font-size: 0.94rem;
  color: var(--text-subtle);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   FLOATING LIQUID GLASS WHATSAPP CONCIERGE (Monochrome Obsidian & White)
   ========================================================================== */
.zap-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.zap-popover {
  width: 320px;
  padding: 20px;
  border-radius: 24px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  display: none;
  flex-direction: column;
  gap: 12px;
  transform-origin: bottom right;
  animation: popIn 0.28s var(--ease-apple);
}

.zap-popover.open {
  display: flex;
}

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

.zap-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zap-popover-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zap-quick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zap-quick-option {
  text-align: left;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 0.85rem;
  background: var(--glass-pill-bg);
  border: 1px solid var(--glass-border);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.zap-quick-option:hover {
  background: var(--glass-pill-hover);
  border-color: var(--glass-border-strong);
  transform: translateX(3px);
}

.zap-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 18, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 16px 38px rgba(0, 0, 0, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.28s var(--ease-apple), border-color 0.28s ease;
}

.zap-fab:hover {
  transform: scale(1.04) translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
}

.zap-fab-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast Notification */
.glass-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border-strong);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 0.28s ease, transform 0.28s var(--ease-apple);
}

.glass-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-apple), transform 0.7s var(--ease-apple);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card.span-2 {
    grid-column: span 2;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .builder-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-center {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-section {
    padding: 112px 0 96px;
    min-height: auto;
  }
  .hero-portal-icons {
    gap: 20px;
  }
  .portal-squircle {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }
  .features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.span-2 {
    grid-column: span 1;
  }
  .builder-inputs {
    grid-template-columns: 1fr;
  }
  .about-story-card,
  .builder-card,
  .closing-cta-card {
    padding: 28px 22px;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .about-metrics {
    grid-template-columns: 1fr;
  }
  .nav-zap-btn span.nav-zap-text {
    display: none;
  }
  .zap-widget {
    right: 14px;
    bottom: 14px;
  }
  .zap-fab {
    padding: 10px 15px;
    font-size: 0.82rem;
  }
  .site-footer {
    padding-bottom: 84px;
  }
  .zap-popover {
    width: calc(100vw - 28px);
  }
}
