/* ==========================================================================
   FLÁVIA DAVES — CORRETORA DE IMÓVEIS | LINK DA BIO
   Paleta Oficial: Navy Blue, Champagne Gold e Detalhes Luxuosos
   ========================================================================== */

:root {
  --navy-900: #0A1840;
  --navy-800: #0F2150;
  --navy-700: #1E3A78;
  --navy-soft: #284A94;
  
  --gold-dark: #8C6A22;
  --gold: #C9A24B;
  --gold-light: #E6C877;
  --gold-grad: linear-gradient(135deg, #8C6A22 0%, #C9A24B 35%, #E9D08A 55%, #B88F38 80%, #8C6A22 100%);
  --gold-border: rgba(201, 162, 75, 0.28);
  --gold-border-strong: rgba(201, 162, 75, 0.55);

  --bg-primary: #F7F5EE;
  --bg-secondary: #EFECE3;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FAF9F6;
  
  --text-dark: #0A1840;
  --text-muted: #56647E;
  --text-light: #8E9BAF;
  
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Montserrat', sans-serif;
  --font-script: 'Dancing Script', cursive;

  --shadow-sm: 0 4px 12px rgba(10, 24, 64, 0.05);
  --shadow-card: 0 16px 36px -12px rgba(10, 24, 64, 0.09), 0 4px 12px rgba(201, 162, 75, 0.06);
  --shadow-hover: 0 24px 48px -14px rgba(10, 24, 64, 0.2), 0 8px 24px rgba(201, 162, 75, 0.12);
  --shadow-btn: 0 12px 28px -8px rgba(140, 106, 34, 0.55);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --transition-smooth: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

::selection {
  background: var(--gold);
  color: var(--navy-900);
}

/* Ambient Backdrops */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.ambient-top {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.3) 0%, rgba(247, 245, 238, 0) 70%);
}

.ambient-bottom {
  bottom: -150px;
  right: -60px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(10, 24, 64, 0.18) 0%, rgba(247, 245, 238, 0) 70%);
}

/* Layout Wrapper */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 48px;
}

.bio-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Profile Card */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gold-grad);
  animation: rotateRing 14s linear infinite;
}

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

.avatar-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-card);
  background: var(--navy-900);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  border: 2.5px solid var(--bg-card);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.8);
}

.name-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.15;
}

.verified-badge {
  color: var(--gold);
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.profile-handle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.profile-slogan {
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 8px;
  line-height: 1.2;
}

.profile-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.48;
  max-width: 380px;
  margin: 0 auto 16px;
}

.pill-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy-900);
  background: var(--bg-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201, 162, 75, 0.2);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Social Icon Bar */
.social-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 162, 75, 0.16);
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.social-circle svg {
  width: 20px;
  height: 20px;
}

.social-circle:hover {
  background: var(--navy-900);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10, 24, 64, 0.2);
}

/* Action Cards Group */
.action-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.section-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.section-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

.action-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
}

.action-card:hover {
  border-color: var(--gold-border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Card 1: Video Highlight Player */
.video-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.bio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-custom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 64, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-custom-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--navy-900);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.6);
  transition: transform 0.25s ease;
}

.play-btn-circle svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.play-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  animation: pulsePlay 1.8s infinite;
}

@keyframes pulsePlay {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

.video-duration-badge {
  background: rgba(10, 24, 64, 0.85);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 24, 64, 0.9);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201, 162, 75, 0.35);
  z-index: 3;
}

.pulse-spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.video-chips-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}

.mini-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* Card Media Banner */
.card-media-banner {
  position: relative;
  width: 100%;
  height: 154px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.action-card:hover .card-banner-img {
  transform: scale(1.04);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 64, 0.08) 0%, rgba(10, 24, 64, 0.6) 100%);
}

/* Card Content Area */
.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
}

.badge-featured, .device-chips {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-900);
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.card-quote {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.card-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* The 3 Selected Developments in Card 2 */
.selected-developments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 6px;
}

.dev-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  transition: var(--transition-smooth);
}

.dev-item-row:hover {
  background: #FFF;
  border-color: var(--gold);
  transform: translateX(3px);
}

.dev-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--gold-border);
}

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

.dev-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dev-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.dev-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Buttons System */
.card-cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-grad);
  color: var(--navy-900);
  box-shadow: var(--shadow-btn);
}

.btn-gold:hover {
  box-shadow: 0 16px 36px -10px rgba(140, 106, 34, 0.7);
}

.btn-blue {
  background: linear-gradient(135deg, #0A1840 0%, #0F2150 55%, #1E3A78 100%);
  color: #FFF;
  box-shadow: 0 12px 28px -8px rgba(10, 24, 64, 0.45);
}

.btn-blue:hover {
  box-shadow: 0 16px 36px -8px rgba(10, 24, 64, 0.65);
}

.btn-darkblue {
  background: linear-gradient(135deg, #0A1840 0%, #1E3A78 100%);
  color: #FFF;
  box-shadow: 0 12px 28px -8px rgba(10, 24, 64, 0.5);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: #FFF;
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon svg {
  transform: translateX(3px);
}

/* Floating Site Badge */
.offer-floating-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #FFF;
  border: 1px solid var(--gold-border);
  box-shadow: 0 8px 18px rgba(10, 24, 64, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  backdrop-filter: blur(8px);
}

.offer-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.offer-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}

/* Card WhatsApp */
.card-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FBF6 100%);
}

.whatsapp-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 211, 102, 0.14);
  color: #147A3E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 0 8px var(--whatsapp-green);
  animation: pulseWa 1.8s infinite;
}

@keyframes pulseWa {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.wa-body-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.wa-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.wa-icon-box svg {
  width: 26px;
  height: 26px;
}

.wa-info-text {
  flex: 1;
}

.wa-phone-number {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 2px;
}

.wa-desc {
  font-size: 0.84rem;
  margin-top: 4px;
}

.btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #179E4B 100%);
  color: #FFF;
  box-shadow: 0 14px 28px -8px rgba(37, 211, 102, 0.5);
}

.btn-wa:hover {
  box-shadow: 0 18px 36px -8px rgba(37, 211, 102, 0.65);
}

/* SECTION: EDITORIAL */
.editorial-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

.editorial-header {
  margin-bottom: 10px;
}

.sub-script {
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--gold-dark);
  font-weight: 700;
  display: block;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
}

.editorial-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy-900);
}

.metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.2;
}

/* FAQ Accordion */
.faq-container {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}

.faq-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
}

.accordion-item {
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  transition: color 0.25s ease;
}

.accordion-trigger:hover {
  color: var(--gold-dark);
}

.acc-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-content p {
  padding: 0 4px 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.bio-footer {
  text-align: center;
  padding: 16px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-dark);
}

.footer-dot {
  margin: 0 6px;
  color: var(--gold);
}

.copyright {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.4;
}

.footer-signature {
  font-family: var(--font-script);
  font-size: 2.1rem;
  color: var(--gold-dark);
  line-height: 1;
}

/* ==========================================================================
   MODAL: DETALHES DOS 3 EMPREENDIMENTOS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 64, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 0;
}

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

.modal-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.modal-header {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
}

.modal-close-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--navy-900);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--navy-900);
  color: var(--gold-light);
}

.modal-body {
  padding: 18px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.machine-spec-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.machine-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.machine-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.dev-card-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.machine-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.48;
  margin-bottom: 12px;
}

.machine-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.machine-badges span {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--navy-900);
  border: 1px solid var(--gold-border);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.btn-dev-item-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy-900);
  text-decoration: none;
  background: var(--gold-grad);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(140, 106, 34, 0.35);
  transition: var(--transition-smooth);
}

.btn-dev-item-wa:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.modal-footer {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--gold-border);
  background: var(--bg-card);
}

.btn-modal-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFF;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.45);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-900);
  color: #FFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  border: 1px solid var(--gold);
}

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

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

/* Desktop Presentation Mode */
@media (min-width: 768px) {
  .page-wrapper {
    padding: 40px 24px 60px;
  }
  
  .bio-container {
    max-width: 460px;
    box-shadow: 0 30px 80px -20px rgba(10, 24, 64, 0.22), 0 0 0 1px rgba(201, 162, 75, 0.2);
    border-radius: 36px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
  }

  .modal-overlay {
    align-items: center;
  }

  .modal-card {
    border-radius: var(--radius-lg);
    transform: scale(0.95) translateY(20px);
  }

  .modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
  }
}
