@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel:wght@500;700;800;900&family=Great+Vibes&family=Playfair+Display:ital,wght@0,600;0,800;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a0e14;
  --bg-secondary: #121822;
  --bg-card: rgba(18, 26, 36, 0.85);
  --bg-card-hover: rgba(24, 35, 49, 0.95);
  --bg-elevated: #1a2332;
  --border-color: rgba(0, 240, 255, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --neon-cyan: #00f0ff;
  --neon-teal: #1de9b6;
  --neon-purple: #9d4edd;
  --neon-gold: #ffd166;
  --neon-coral: #ff477e;
  --neon-ice: #a0f0ff;
  --neon-turquoise: #00f2fe;
  --gradient-pro: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-pro-hover: linear-gradient(135deg, #38f9d7 0%, #4facfe 100%);
  --whatsapp-green: #25d366;
  
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --shadow-neon: 0 0 15px rgba(0, 240, 255, 0.35);
  --shadow-neon-teal: 0 0 15px rgba(29, 233, 182, 0.35);
  --shadow-gold: 0 0 15px rgba(255, 209, 102, 0.4);
  --shadow-pro: 0 4px 18px rgba(0, 242, 254, 0.4);
  --shadow-pro-glow: 0 0 16px rgba(0, 242, 254, 0.55);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-vaporous: 'Alex Brush', 'Great Vibes', cursive, sans-serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(29, 233, 182, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* User Selection & Anti-Copying styling */
.protected-ui {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Layout Containers */
.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  width: 100%;
  flex: 1;
}

/* Header & Navigation Bar with Prominent Official Logo */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  gap: 1.25rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-banner-img {
  height: 110px;
  max-width: 360px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  filter: none;
  vertical-align: middle;
  transition: opacity 0.2s ease;
}
.brand-banner-img:hover {
  opacity: 0.95;
}

/* User Pro/Free Tier Pill in Brand Section */
.pro-badge {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18), rgba(79, 172, 254, 0.22));
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0 0.75rem;
  border-radius: 8px;
  letter-spacing: 0.6px;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 38px;
  box-sizing: border-box;
  line-height: 1;
}

/* Vaporous Display Typography System */
.font-vaporous {
  font-family: var(--font-vaporous);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.font-brand-display {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brand-vapor-title {
  font-family: var(--font-vaporous);
  font-size: 2.2rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 30%, var(--neon-cyan) 70%, var(--neon-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.5));
}

.brand-vapor-subtitle {
  font-family: var(--font-vaporous);
  font-size: 1.45rem;
  color: #a5f3fc;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.55), 0 0 20px rgba(29, 233, 182, 0.3);
}

.brand-logo-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}
.brand-logo-wrapper:hover {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.85);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 0%, var(--neon-cyan) 60%, var(--neon-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Actions Toolbar - Equal Height, Balanced Padding & Alignment */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-actions .btn,
.nav-actions select,
.nav-actions #user-profile-badge {
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  box-sizing: border-box;
  padding: 0 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  letter-spacing: 0.2px;
  line-height: 1;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  vertical-align: middle;
}

.nav-actions .btn i,
.nav-actions #user-profile-badge i {
  font-size: 0.88rem;
}

.nav-actions .btn-outline {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #e2e8f0;
}

.nav-actions .btn-outline:hover:not(:disabled) {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

.nav-actions select, #language-selector {
  outline: none;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: auto;
  padding-right: 0.75rem;
}

.nav-actions select:hover, #language-selector:hover,
.nav-actions select:focus, #language-selector:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
  color: #ffffff;
  background: rgba(15, 23, 42, 0.95);
}

.nav-actions #user-profile-badge,
.user-profile-btn {
  position: relative;
  cursor: default;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #e2e8f0;
  font-weight: 600;
}

.user-profile-btn.is-pro {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
  font-weight: 700;
}

.user-display-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-pro-corner-badge {
  position: absolute;
  top: -8px;
  right: -6px;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #031726;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid #70e1ff;
  pointer-events: none;
}

.nav-actions .btn-danger,
.nav-actions #btn-logout {
  background: rgba(255, 71, 126, 0.12);
  border: 1px solid rgba(255, 71, 126, 0.45);
  color: #ff5e8c;
  box-shadow: 0 0 10px rgba(255, 71, 126, 0.15);
}

.nav-actions .btn-danger:hover:not(:disabled),
.nav-actions #btn-logout:hover:not(:disabled) {
  background: rgba(255, 71, 126, 0.25);
  border-color: #ff477e;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 71, 126, 0.45);
  transform: translateY(-1px);
}

.nav-actions .btn-gold,
.nav-actions .btn-pro,
.nav-actions #btn-nav-upgrade {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #031726;
  font-weight: 800;
  border: 1px solid #70e1ff;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.35);
}

.nav-actions .btn-gold:hover:not(:disabled),
.nav-actions .btn-pro:hover:not(:disabled),
.nav-actions #btn-nav-upgrade:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #38f9d7 0%, #4facfe 100%);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

/* 15-Second Functional Neuroscience Insights Carousel */
.wise-statement-card {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(29, 233, 182, 0.05) 50%, rgba(18, 24, 34, 0.92) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-left: 5px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  margin: 1.25rem auto 2rem;
  max-width: 1040px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 0 15px rgba(0, 240, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.insight-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.insight-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-teal));
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.1s linear;
}

.insight-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.insight-category-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--neon-teal);
  text-transform: uppercase;
  background: rgba(29, 233, 182, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(29, 233, 182, 0.25);
}

.insight-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.insight-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}
.insight-nav-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.insight-title-text {
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.insight-body-text {
  font-size: 1.02rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

/* Practical Result Highlight Box */
.insight-practical-result {
  background: rgba(0, 240, 255, 0.08);
  border-left: 3px solid var(--neon-teal);
  border-radius: 4px;
  padding: 0.65rem 1rem;
  color: #f1f5f9;
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.insight-dots-container {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.5rem;
}

.insight-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.insight-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  max-width: 100%;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(29, 233, 182, 0.15));
  color: var(--neon-cyan);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.tab-btn .pro-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #031726;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
  height: auto;
  min-height: 0;
  margin-left: 0.35rem;
  line-height: 1;
}

/* Cards & Panels */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-neon {
  border-color: var(--border-color);
}

.card-title {
  color: var(--neon-cyan);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.35);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
}

.btn-teal {
  background: linear-gradient(135deg, #1de9b6, #00bfa5);
  color: #0b1916;
  font-weight: 700;
  box-shadow: var(--shadow-neon-teal);
}
.btn-teal:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(29, 233, 182, 0.6);
}

.btn-cyan {
  background: linear-gradient(135deg, #00f0ff, #00a8b5);
  color: #061e22;
  font-weight: 700;
  box-shadow: var(--shadow-neon);
}
.btn-cyan:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.btn-x {
  background: linear-gradient(135deg, #202020, #000000);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.btn-x:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-facebook {
  background: linear-gradient(135deg, #1877f2, #0d5bbd);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.35);
}
.btn-facebook:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.35);
}
.btn-instagram:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.6);
}

.btn-danger {
  background: rgba(255, 71, 126, 0.15);
  border-color: rgba(255, 71, 126, 0.4);
  color: #ff477e;
}
.btn-danger:hover:not(:disabled) {
  background: rgba(255, 71, 126, 0.25);
  box-shadow: 0 0 15px rgba(255, 71, 126, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--neon-cyan);
}
.btn-outline:hover:not(:disabled) {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.btn-gold,
.btn-pro {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #031726;
  font-weight: 800;
  border-color: #70e1ff;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
}
.btn-gold:hover:not(:disabled),
.btn-pro:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #38f9d7 0%, #4facfe 100%);
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.65);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* Form Controls & Inputs */
select, input[type="text"], input[type="password"], input[type="email"], input[type="number"], textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

select:focus, input:focus, textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* Guided Breathing Visualizer Section */
.guided-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.pattern-select-wrapper, .pattern-info-card, .circle-wrapper, .phase-indicator, .guided-meta, .guided-container button {
  position: relative;
  z-index: 1;
}

.pattern-select-wrapper {
  max-width: 500px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.pattern-info-card {
  max-width: 650px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px dashed rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.pattern-title-lg {
  color: var(--neon-cyan);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

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

/* The Animated Breathing Sphere */
.circle-wrapper {
  position: relative;
  width: min(88vw, 360px);
  height: min(88vw, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem auto 2rem;
}

.circle-backdrop-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.45), inset 0 0 20px rgba(0, 240, 255, 0.35);
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.45));
}

.circle-halo {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.25);
  animation: rotate-slow 40s linear infinite;
  pointer-events: none;
  z-index: 1;
}

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

.breathing-orb {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3.5px solid var(--neon-cyan);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(3, 7, 18, 0.4) 80%);
  box-shadow: 
    0 0 15px rgba(0, 240, 255, 0.7),
    0 0 30px rgba(0, 240, 255, 0.35),
    inset 0 0 15px rgba(0, 240, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
}

.orb-timer {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.9), 0 0 20px rgba(0, 240, 255, 0.5);
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.phase-indicator {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-cyan);
  min-height: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  letter-spacing: 0.5px;
}

.guided-meta {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* Freestyle Session Controls */
.freestyle-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-tile {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.stat-val {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  margin-top: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Detailed Matrix Watermark Background */
#detailed-report {
  position: relative;
  overflow: hidden;
}

#detailed-report::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: url('/home/gediz/.gemini/antigravity/brain/3b632aa1-b229-4f44-b2c8-4444d3deb9db/breathing_disciple_fit_western_logo_1786954446627.jpg') no-repeat center center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.4));
}

#detailed-report > * {
  position: relative;
  z-index: 1;
}

.matrix-brand-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--neon-cyan);
}

.matrix-brand-banner a {
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: none;
}
.matrix-brand-banner a:hover {
  text-decoration: underline;
}

/* Ad Placements - Strictly Centered */
.ad-slot-wrapper {
  margin: 1.5rem auto 2rem auto;
  width: 100%;
  max-width: 900px;
  background: rgba(18, 24, 34, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ad-label {
  width: 100%;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.ad-label a {
  color: var(--neon-gold);
  text-decoration: underline;
  cursor: pointer;
}

.ad-leaderboard,
.ad-rectangle {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.ad-leaderboard {
  min-height: 90px;
}

.ad-rectangle {
  min-height: 200px;
}

ins.adsbygoogle {
  display: none !important;
  margin: 0 auto !important;
  text-align: center !important;
}

ins.adsbygoogle[data-ad-status="filled"],
ins.adsbygoogle iframe {
  display: block !important;
}

.ad-banner-mock {
  width: 100%;
  max-width: 780px;
  background: linear-gradient(135deg, rgba(22, 34, 47, 0.9), rgba(13, 21, 30, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  margin: 0 auto !important;
  color: #fff;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  overflow: hidden;
  box-sizing: border-box;
}

.ad-badge-google {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.62rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0.8;
}
.ad-badge-google i {
  color: #38bdf8;
}

.ad-content-flex {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.ad-icon-preview {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(29, 233, 182, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.ad-text-group {
  flex: 1;
  min-width: 260px;
}

.ad-headline {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.ad-body {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.ad-display-url {
  font-size: 0.74rem;
  color: var(--neon-teal);
  font-weight: 600;
  display: block;
}

.btn-ad-cta {
  height: 36px;
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-teal) 100%);
  color: #031726;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-ad-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.6);
  color: #000;
}

/* Card Style Ad for In-Feed Rectangle Slot */
.ad-card-style {
  max-width: 440px;
  padding: 1.25rem;
}

.ad-card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.ad-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(157, 78, 221, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-teal);
  margin-bottom: 0.25rem;
}

ins.adsbygoogle {
  margin: 0 auto;
  text-align: center;
}

/* Subscriber History & Sheets Table */
.sheets-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sheets-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
}

.sheets-filters input, .sheets-filters select {
  max-width: 240px;
}

.sheets-export-btns {
  display: flex;
  gap: 0.5rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.sheets-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.sheets-table th {
  background: var(--bg-elevated);
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: var(--neon-cyan);
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.sheets-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  white-space: nowrap;
}

.sheets-table tr:hover {
  background: rgba(0, 240, 255, 0.04);
}

.badge-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-guided {
  background: rgba(29, 233, 182, 0.15);
  color: var(--neon-teal);
  border: 1px solid rgba(29, 233, 182, 0.3);
}

.badge-freestyle {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.badge-custom {
  background: rgba(157, 78, 221, 0.15);
  color: var(--neon-purple);
  border: 1px solid rgba(157, 78, 221, 0.3);
}

/* Paywall / Locked Feature Banner */
.pro-lock-overlay {
  background: linear-gradient(180deg, rgba(18, 26, 36, 0.6) 0%, rgba(10, 14, 20, 0.98) 100%);
  border: 2px dashed rgba(0, 242, 254, 0.4);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 1.5rem 0;
}

.lock-icon-lg {
  font-size: 3rem;
  color: var(--neon-turquoise);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.5));
}

.lock-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.lock-desc {
  max-width: 600px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-neon);
  position: relative;
  animation: modal-enter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-close-btn:hover { color: var(--neon-coral); }

.modal-title {
  color: var(--neon-cyan);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.auth-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.auth-form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* 1-Click Google Sign-In Button */
.btn-google {
  width: 100%;
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
}

.btn-google:hover {
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
  padding: 0 0.75rem;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), var(--shadow-neon);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toast-in 0.3s ease;
  min-width: 260px;
}

@keyframes toast-in {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer & Intellectual Property Protection Notice */
.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem;
  }
  .brand-banner-img {
    height: 80px;
    max-width: 260px;
  }
  .nav-brand {
    justify-content: center;
    width: 100%;
  }
  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .circle-wrapper {
    width: min(90vw, 345px);
    height: min(90vw, 345px);
    margin: 1.75rem auto 1.5rem;
  }
  .ad-banner-mock {
    flex-direction: column;
    height: auto;
    padding: 1rem;
    text-align: center;
    gap: 0.5rem;
  }
  .sheets-header-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sheets-filters input, .sheets-filters select {
    max-width: 100%;
  }
}

/* Star Rating Component for Feedback */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.35rem;
  font-size: 1.6rem;
  margin: 0.5rem 0;
}
.star-rating input {
  display: none;
}
.star-rating label {
  color: #475569;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--neon-gold);
  transform: scale(1.15);
}

/* AI Coach Sub-Navigation Pill Toggle */
.coach-subnav {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-primary);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.coach-subnav-btn {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.coach-subnav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.coach-subnav-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(29, 233, 182, 0.12));
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Multi-Week Program Cards */
.week-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.week-card-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.week-badge {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #031726;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.day-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.day-phase-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.day-phase-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

/* =========================================================================
   Medical & Health Advisory Disclaimer Box
   ========================================================================= */
.medical-disclaimer-box {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.05) 0%, rgba(239, 68, 68, 0.03) 100%);
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-left: 4px solid var(--neon-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto;
  max-width: 960px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.medical-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--neon-gold);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.medical-disclaimer-header i {
  font-size: 1.15rem;
  color: var(--neon-gold);
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.5));
}

.medical-disclaimer-text {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* =========================================================================
   Site Creator Philosophy & Quote Box (Compact & Refined)
   ========================================================================= */
.creator-quote-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(29, 233, 182, 0.02) 50%, rgba(15, 23, 42, 0.5) 100%);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-left: 3px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin: 1.25rem auto 1rem auto;
  max-width: 960px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  position: relative;
}

.creator-quote-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.80rem;
  color: var(--neon-cyan);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.creator-quote-header i {
  font-size: 0.95rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.creator-quote-text {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: italic;
  font-size: 0.81rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 0.5rem 0;
}

.creator-quote-author {
  text-align: right;
  font-style: italic;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--neon-cyan);
  letter-spacing: 0.4px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}

.creator-quote-author::before {
  content: "—";
  color: var(--neon-teal);
  font-style: normal;
}

/* =========================================================================
   Terms of Service & Health Advisory Compliance Styles
   ========================================================================= */

.medical-disclaimer-footer-link {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 209, 102, 0.25);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.legal-tos-link {
  color: var(--neon-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.legal-tos-link:hover {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.8));
}

.tos-consent-container {
  margin: 1.25rem auto 0.75rem auto;
  max-width: 480px;
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.tos-consent-container.tos-verified {
  border-color: rgba(46, 213, 115, 0.4);
  background: rgba(46, 213, 115, 0.05);
}

.tos-pulse-highlight {
  animation: tosPulseAnimation 1.2s ease-in-out infinite;
  border-color: var(--neon-gold) !important;
}

@keyframes tosPulseAnimation {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(255, 209, 102, 0.9);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.7);
    transform: scale(1);
  }
}

.tos-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.84rem;
  color: #cbd5e1;
  user-select: none;
}

.tos-real-checkbox {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--neon-cyan);
}

.tos-label-text a,
.tos-modal-trigger {
  color: var(--neon-cyan);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.tos-label-text a:hover,
.tos-modal-trigger:hover {
  color: #fff;
}

.tos-badge-acknowledged {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  color: #2ed573;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Terms Modal Content Formatting */
.terms-scroll-body {
  max-height: 55vh;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  background: rgba(10, 15, 29, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: var(--radius-md);
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: left;
}

.terms-scroll-body h4 {
  color: var(--neon-cyan);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

.terms-scroll-body p, .terms-scroll-body ul {
  margin-bottom: 0.75rem;
}

.terms-scroll-body ul {
  padding-left: 1.2rem;
}

.terms-warning-box {
  background: rgba(255, 209, 102, 0.08);
  border-left: 3px solid var(--neon-gold);
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
  font-size: 0.84rem;
  color: #fef08a;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* =========================================================================
   Scientific Research & Clinical Papers Library
   ========================================================================= */

.research-header {
  text-align: center;
  margin-bottom: 2rem;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.paper-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(10px);
}

.paper-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.15);
}

.paper-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paper-journal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 240, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.paper-year {
  font-size: 0.8rem;
  color: #94a3b8;
}

.paper-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin: 0 0 0.6rem 0;
}

.paper-authors {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.paper-mechanism {
  background: rgba(0, 240, 255, 0.04);
  border-left: 3px solid var(--neon-cyan);
  padding: 0.65rem 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 0.85rem;
}

.paper-metric-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.paper-metric-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  background: rgba(46, 213, 115, 0.12);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.paper-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
  margin-top: auto;
  font-size: 0.82rem;
}

.paper-routine-tag {
  color: var(--neon-teal);
  font-weight: 600;
}

.paper-doi-link {
  color: var(--neon-cyan);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.paper-doi-link:hover {
  color: #fff;
}

/* =========================================================================
   AI Coach Live Case Study Previews Showcase
   ========================================================================= */
.ai-preview-showcase {
  margin-top: 2rem;
}

.ai-preview-showcase-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  text-align: left;
}

.ai-preview-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.ai-case-pills-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
}

.ai-case-pill-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.55rem 1rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-case-pill-btn:hover {
  color: #fff;
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.06);
}

.ai-case-pill-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(29, 233, 182, 0.18));
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.ai-case-detail-box {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.ai-sim-user-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.ai-sim-user-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.ai-sim-user-text {
  font-size: 0.92rem;
  color: #f1f5f9;
  margin: 0;
  font-style: italic;
  line-height: 1.5;
}

.ai-sim-diag-box {
  background: rgba(0, 240, 255, 0.05);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.ai-sim-diag-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.ai-sim-diag-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.55;
}

.ai-sim-roadmap-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}
