@property --card-glow-color {
  syntax: '<color>';
  inherits: true;
  initial-value: rgba(217, 79, 112, 0.15);
}

:root {
  color-scheme: dark;
  font-family: 'Outfit', 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #07080d;
  color: #f3f4f6;
  
  --primary: #d94f70;
  --primary-glow: rgba(217, 79, 112, 0.4);
  --secondary: #4c7bd9;
  --secondary-glow: rgba(76, 123, 217, 0.4);
  --accent: #ffcf5a;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover-bg: rgba(255, 255, 255, 0.08);
  --glass-hover-border: rgba(255, 255, 255, 0.18);
  --glass-active-bg: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  
  --text-primary: #f3f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #07080d;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(217, 79, 112, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(76, 123, 217, 0.08) 0%, transparent 45%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* Glassmorphism Background Orbs */
.glass-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: float 25s infinite ease-in-out;
}

.orb-1 {
  top: 5%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  animation-duration: 22s;
}

.orb-2 {
  bottom: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -5s;
}

.orb-3 {
  top: 45%;
  left: 45%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(40px, -60px) scale(1.15);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  background: rgba(7, 8, 13, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 15px var(--primary-glow);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

nav a {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

nav a:hover {
  color: var(--text-primary);
  background: var(--glass-hover-bg);
  border-color: var(--glass-border);
}

/* Base Sections Layout */
main {
  overflow: hidden;
}

.hero,
.section,
footer {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: calc(100vh - 5rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.hero-copy {
  min-width: 0;
}

h1 {
  margin: 0 0 1.25rem 0;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 30%, #e4e4e7 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.85rem 1.75rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #eb6383);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 79, 112, 0.6);
}

.button-secondary {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  transform: translateY(-2px);
}

/* Step list */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--secondary);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.step-list li:hover {
  border-left-color: var(--primary);
  color: var(--text-primary);
  background: var(--glass-hover-bg);
}

/* Hero Media */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media::before {
  position: absolute;
  inset: 10% -5% -5% 10%;
  content: "";
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.25;
  filter: blur(40px);
  transform: rotate(-3deg);
  z-index: 0;
}

.hero-media img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Section Headings */
.section-heading {
  margin-bottom: 3.5rem;
  max-width: 48rem;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #ffffff 40%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

/* Feature & Example Grids */
.feature-grid,
.examples-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.example-card,
.member-card {
  min-height: 12.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.example-card:hover,
.member-card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.feature-index {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(76, 123, 217, 0.15);
  color: #7da5f4;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(76, 123, 217, 0.3);
}

.feature-card h3,
.example-card h3,
.member-card strong {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-card p,
.example-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Example Card Specifics */
.example-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(217, 79, 112, 0.02), rgba(255, 255, 255, 0.03));
}

/* Interactive Preview Section */
.preview-section {
  position: relative;
}

.preview-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.preview-step {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

.step-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(76, 123, 217, 0.15);
  color: #7da5f4;
  border: 1px solid rgba(76, 123, 217, 0.3);
  margin-bottom: 1rem;
}

.preview-step h3 {
  margin: 0 0 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.grid-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.option-card:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.option-card:focus-visible {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary-glow);
}

.option-card.is-active {
  background: rgba(217, 79, 112, 0.14);
  border-color: rgba(217, 79, 112, 0.45);
  color: #ff8ca3;
  box-shadow: 0 0 16px rgba(217, 79, 112, 0.2);
}

.option-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.option-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Action Row */
.action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

.action-row .button {
  flex-shrink: 0;
  padding: 0.85rem 2.25rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.counter {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Results Display Card Container */
.preview-result-container {
  position: sticky;
  top: 6.5rem;
}

.recommendation-card {
  position: relative;
  background: rgba(11, 12, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  --card-glow-color: rgba(217, 79, 112, 0.15);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease, --card-glow-color 0.5s ease;
}

.recommendation-card.is-tilting {
  transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease, --card-glow-color 0.5s ease;
}

.recommendation-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, var(--card-glow-color) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Dynamic Glow Theme Classes */
.recommendation-card.glow-novo {
  --card-glow-color: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.1);
}
.recommendation-card.glow-rir {
  --card-glow-color: rgba(234, 179, 8, 0.18);
  border-color: rgba(234, 179, 8, 0.25);
  box-shadow: 0 24px 60px rgba(234, 179, 8, 0.08);
}
.recommendation-card.glow-chorar {
  --card-glow-color: rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.1);
}
.recommendation-card.glow-nostalgico {
  --card-glow-color: rgba(217, 119, 6, 0.2);
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: 0 24px 60px rgba(217, 119, 6, 0.08);
}
.recommendation-card.glow-problemas {
  --card-glow-color: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.1);
}
.recommendation-card.glow-aconchegante {
  --card-glow-color: rgba(251, 113, 133, 0.22);
  border-color: rgba(251, 113, 133, 0.25);
  box-shadow: 0 24px 60px rgba(251, 113, 133, 0.1);
}
.recommendation-card.glow-inspirado {
  --card-glow-color: rgba(6, 182, 212, 0.22);
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.1);
}
.recommendation-card.glow-animado {
  --card-glow-color: rgba(249, 115, 22, 0.22);
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.1);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Card Footer & Copy Button Styles */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-top: 1.75rem;
}

.btn-copiar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-copiar:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px) translateZ(10px);
}

.btn-copiar:active {
  transform: translateY(1px) translateZ(5px);
}

.btn-copiar:focus-visible {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary-glow);
}

.btn-copiar.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.icon-copy {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-copiar.copied .icon-copy {
  transform: scale(1.1);
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.content-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(76, 123, 217, 0.18);
  color: #92b7ff;
  border: 1px solid rgba(76, 123, 217, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feeling-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 207, 90, 0.16);
  color: #ffe699;
  border: 1px solid rgba(255, 207, 90, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rec-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  background: linear-gradient(135deg, #ffffff 20%, #e4e4e7 80%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.rec-description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1.75rem 0;
}

.rec-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.meta-value {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

/* JavaScript Animation Reveal */
.animate-recommendation {
  animation: cardReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardReveal {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Breathing Section CSS */
.breathing-section {
  position: relative;
}

.breathing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.breathing-circle-wrapper {
  display: grid;
  place-items: center;
  height: 250px;
  width: 250px;
  position: relative;
}

.breathing-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 79, 112, 0.2) 0%, rgba(217, 79, 112, 0.45) 100%);
  border: 2px solid rgba(217, 79, 112, 0.65);
  box-shadow: 0 0 30px rgba(217, 79, 112, 0.35);
  transition: transform 4s linear, background 1s ease, border-color 1s ease, box-shadow 1s ease;
  z-index: 2;
  user-select: none;
}

/* Inhale state */
.breathing-circle.inhale {
  transform: scale(1.4);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.5) 100%);
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.5);
}

/* Hold state */
.breathing-circle.hold {
  transform: scale(1.4);
  background: radial-gradient(circle, rgba(234, 179, 8, 0.2) 0%, rgba(234, 179, 8, 0.5) 100%);
  border-color: rgba(234, 179, 8, 0.7);
  box-shadow: 0 0 50px rgba(234, 179, 8, 0.5);
}

/* Exhale state */
.breathing-circle.exhale {
  transform: scale(1.0);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.5) 100%);
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.breathing-state {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.breathing-timer {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.breathing-controls {
  text-align: center;
  max-width: 450px;
}

.breathing-instructions {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Member avatar placeholder styling */
.member-avatar-placeholder {
  display: none; /* activated when image fails */
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

/* Team Section Specifics */
.team-section {
  position: relative;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-card {
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2.25rem 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

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

.member-img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-img {
  border-color: var(--secondary);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-avatar-placeholder {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #07080d;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-avatar-placeholder {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.member-card span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-card strong {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

/* Footer Section */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
  margin-top: 2rem;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

footer a {
  color: var(--primary);
  font-weight: 800;
  transition: color 0.2s;
}

footer a:hover {
  color: #ff8ca3;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }
  
  .hero-media {
    order: -1;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .step-list {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .preview-container {
    grid-template-columns: 1fr;
  }
  
  .preview-result-container {
    position: static;
  }
  
  .feature-grid,
  .examples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    border-radius: 0;
    width: 100%;
    padding: 1rem;
  }
  
  nav {
    justify-content: center;
    margin-top: 0.5rem;
  }
  
  .feature-grid,
  .examples-grid,
  .team-grid,
  .step-list {
    grid-template-columns: 1fr;
  }
  
  .step-list {
    max-width: 100%;
  }
  
  .action-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .grid-options {
    grid-template-columns: 1fr;
  }
  
  .preview-step {
    padding: 1.25rem;
  }
  
  .recommendation-card {
    padding: 1.5rem;
  }
  
  .rec-title {
    font-size: 1.75rem;
  }
  
  footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
