@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-darker: #fff0f3; /* Soft pastel pinkish white */
    --bg-dark: #ffffff; /* Pure white */
    --bg-light: #fff8f9; /* Light lavender-blush */
    --primary: #ff8da1; /* Baby pink */
    --primary-glow: rgba(255, 141, 161, 0.2);
    --secondary: #f3a3b4; /* Muted rose pink */
    --secondary-glow: rgba(243, 163, 180, 0.15);
    --accent: #dca0b2; /* Muted mauve pink */
    --text-white: #3b2837; /* Eggplant dark slate */
    --text-muted: #8e7488; /* Slate purple secondary */
    --text-bright: #4e364a; /* Dark violet primary */
    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(255, 141, 161, 0.2);
    --glass-blur: blur(12px);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 4px;
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 50% 50%, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Floating Particles Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Floating Animation Rules (Anti-Gravity Movement) */
@keyframes float-gentle {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(-0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 141, 161, 0.15); }
    50% { text-shadow: 0 0 20px rgba(255, 141, 161, 0.35); }
}

@keyframes scan-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 141, 161, 0.1); }
    50% { box-shadow: 0 0 25px rgba(255, 141, 161, 0.3); }
}

@keyframes slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes radar-sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Header / Logo Style */
header {
    padding: 10px 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #e26f86; /* Darker baby pink for readability */
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    margin-bottom: 30px;
}

header span {
    color: var(--accent);
}

/* Hero Text */
h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(45deg, #ff8da1, #cf748d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

p.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Anti-Gravity Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* Glassmorphic Floating Cards */
.anti-gravity-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 30px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 15px 35px rgba(224, 166, 192, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 420px;
}

/* Applying the floating physics */
.card-1 { animation: float-gentle 7s ease-in-out infinite; }
.card-2 { animation: float-delayed 8s ease-in-out infinite; }
.card-3 { animation: float-gentle 9s ease-in-out infinite; }

.anti-gravity-card:hover {
    transform: scale(1.04) translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.anti-gravity-card.card-2:hover {
    border-color: var(--secondary);
    box-shadow: 0 15px 35px var(--secondary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.7);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 141, 161, 0.15);
    box-shadow: 0 5px 15px rgba(224, 166, 192, 0.08);
    transition: var(--transition-smooth);
}

.anti-gravity-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.9);
}

h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-bright);
}

.card-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Energetic Action Buttons */
.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px var(--primary-glow);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    outline: none;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 141, 161, 0.4);
}

.cta-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.privacy-tag {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #cc6078; /* dark pastel pink */
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Modal Overlay Container */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 243, 245, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f9 100%);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(224, 166, 192, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 40px;
    color: var(--text-white);
    animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(90deg);
}

/* Modals Titles */
.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #d46077, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.modal-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

/* ==========================================================================
   AI Psychologist Scanner Section Styles
   ========================================================================== */
.uploader-box {
    border: 2px dashed rgba(255, 141, 161, 0.4);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 25px;
    position: relative;
}

.uploader-box:hover, .uploader-box.dragover {
    border-color: var(--primary);
    background: rgba(255, 141, 161, 0.05);
}

.uploader-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.uploader-icon {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.uploader-text {
    font-size: 1.1rem;
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 5px;
}

.uploader-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.or-divider {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 20px 0;
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
}

.or-divider::before, .or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: rgba(255, 141, 161, 0.15);
}

.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

.demo-logs-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-log-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    border-radius: 16px;
    text-align: left;
    color: var(--text-bright);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(224, 166, 192, 0.04);
}

.demo-log-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    transform: translateX(5px);
}

.demo-log-info h4 {
    color: #cc6078;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.demo-log-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.demo-log-tag {
    font-size: 0.75rem;
    background: rgba(255, 141, 161, 0.12);
    color: #cc6078;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.demo-log-btn:nth-child(2) .demo-log-tag {
    background: rgba(224, 166, 192, 0.15);
    color: var(--accent);
}

/* Scanner Animation UI */
.scanning-container {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.scanning-radar {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 141, 161, 0.02) 40%, rgba(255, 141, 161, 0.1) 100%);
    border: 1px solid rgba(255, 141, 161, 0.15);
    margin-bottom: 40px;
    overflow: hidden;
    animation: scan-glow 2s infinite;
}

.scanning-radar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(from 0deg, transparent 50%, rgba(255, 141, 161, 0.4) 100%);
    transform-origin: top left;
    animation: radar-sweep 2.5s linear infinite;
}

.scanning-radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

.radar-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: fade-in 1.5s infinite alternate;
}

.scanning-console {
    background: #fff8f9;
    border: 1px solid rgba(255, 141, 161, 0.3);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-white);
    text-align: left;
    height: 150px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(224, 166, 192, 0.1);
}

.scanning-console-line {
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(5px);
    animation: slide-up 0.2s forwards;
}

/* Results Dashboard UI */
.results-dashboard {
    display: none;
    animation: fade-in 0.6s ease;
}

.results-header-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.gauge-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-gauge {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0% 70%, rgba(0, 0, 0, 0.05) 70% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 10px rgba(224,166,192,0.1);
}

.circular-gauge::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #ffffff;
    z-index: 1;
}

.gauge-value {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1;
}

.gauge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.relationship-verdict {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.verdict-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #cc6078;
    margin-bottom: 10px;
}

.verdict-desc {
    color: var(--text-white);
    line-height: 1.6;
    font-size: 0.95rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.results-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    text-align: left;
}

.results-card h3 {
    font-size: 1.25rem;
    color: #cc6078;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 141, 161, 0.15);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-bar-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-bright);
    font-weight: 600;
}

.stat-bar-bg {
    height: 10px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 5px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.tag-bullet {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.tag-red .tag-bullet {
    background: rgba(255, 141, 161, 0.15);
    color: #cc6078;
}

.tag-green .tag-bullet {
    background: rgba(224, 166, 192, 0.15);
    color: var(--accent);
}

.ai-recommendations {
    background: rgba(255, 141, 161, 0.04);
    border: 1px dashed rgba(255, 141, 161, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    margin-bottom: 35px;
}

.ai-recommendations h3 {
    color: #cc6078;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recom-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recom-item {
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 10px rgba(224, 166, 192, 0.03);
}

.recom-title {
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.recom-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.dashboard-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Whose Fault Is It? Quiz Styles
   ========================================================================== */
.quiz-container {
    max-width: 650px;
    margin: 0 auto;
}

.quiz-progress-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    width: 0%;
    transition: var(--transition-smooth);
}

.quiz-step-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.quiz-question-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 30px;
    line-height: 1.4;
}

.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-option-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 18px 24px;
    text-align: left;
    color: var(--text-bright);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quiz-option-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    transform: translateX(4px);
}

.quiz-option-card.selected {
    background: rgba(255, 141, 161, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.option-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quiz-option-card.selected .option-check {
    background: var(--primary);
    border-color: var(--primary);
}

.quiz-option-card.selected .option-check::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* Quiz Results CSS */
.quiz-results {
    display: none;
    animation: fade-in 0.6s ease;
}

.quiz-results-summary {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
}

.quiz-chart-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto 30px auto;
}

.fault-breakdown-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.fault-stat-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.fault-stat-card h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fault-stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #cc6078;
}

.fault-stat-card:nth-child(2) .fault-stat-val {
    color: var(--accent);
}

.fault-stat-card:nth-child(3) .fault-stat-val {
    color: #e58d4a; /* Muted orange */
}

.fault-diagnosis-box {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    margin-bottom: 35px;
}

.fault-diagnosis-box h3 {
    color: #cc6078;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.fault-diagnosis-text {
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.resolution-plan {
    border-top: 1px solid rgba(255, 141, 161, 0.15);
    padding-top: 20px;
}

.resolution-plan h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 12px;
}

.resolution-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resolution-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-white);
}

.resolution-item input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
}

/* ==========================================================================
   Consultation Booking Styles
   ========================================================================== */
.booking-wizard {
    max-width: 700px;
    margin: 0 auto;
}

.tier-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.tier-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.tier-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

.tier-card.selected {
    border-color: var(--primary);
    background: rgba(255, 141, 161, 0.05);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.tier-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-bright);
}

.tier-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #cc6078;
    margin-bottom: 12px;
}

.tier-features {
    font-size: 0.8rem;
    color: var(--text-muted);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Calendar widget */
.calendar-widget {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav-btn {
    background: rgba(0, 0, 0, 0.03);
    border: none;
    color: var(--text-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calendar-nav-btn:hover {
    background: var(--primary);
    color: white;
}

.calendar-month-title {
    font-weight: 700;
    color: #cc6078;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
}

.calendar-day.selected {
    background: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 700;
}

.calendar-day.disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: var(--primary);
}

/* Time Slots Grid */
.time-slots-section {
    margin-bottom: 30px;
    display: none;
}

.time-slots-section.active {
    display: block;
}

.time-slots-section h4 {
    font-size: 0.95rem;
    color: var(--text-bright);
    margin-bottom: 12px;
    text-align: left;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-bright);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.time-slot:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.9);
}

.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Booking Details Form */
.booking-form-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-bottom: 30px;
    display: none;
}

.booking-form-details.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.booking-receipt-modal {
    display: none;
    text-align: center;
    animation: fade-in 0.5s ease;
}

.receipt-box {
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 30px;
    max-width: 420px;
    margin: 0 auto 30px auto;
    position: relative;
    box-shadow: 0 15px 35px var(--primary-glow);
}

.receipt-box::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 10%;
    right: 10%;
    height: 12px;
    background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
    border-radius: 6px;
}

.receipt-success-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 141, 161, 0.15);
    color: #cc6078;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px auto;
}

.receipt-header {
    border-bottom: 1px dashed rgba(255, 141, 161, 0.25);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.receipt-id {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.receipt-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 5px;
    color: var(--text-bright);
}

.receipt-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 20px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.receipt-label {
    color: var(--text-muted);
}

.receipt-val {
    font-weight: 600;
    color: var(--text-bright);
}

.receipt-videolink {
    background: rgba(255, 141, 161, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px;
    font-family: monospace;
    font-size: 0.8rem;
    color: #cc6078;
    margin: 15px 0;
    word-break: break-all;
    user-select: all;
}

/* Responsive Overrides */
@media(max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    p.subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    .modal-content {
        padding: 24px;
    }
    .modal-title {
        font-size: 1.7rem;
    }
    .results-header-summary {
        flex-direction: column;
        text-align: center;
    }
    .relationship-verdict {
        text-align: center;
    }
    .lang-switcher {
        top: 10px;
        right: 10px;
    }
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    outline: none;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-white);
    border-color: rgba(255, 141, 161, 0.4);
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Loyalty Filter Banner */
.loyalty-banner {
    background: rgba(255, 141, 161, 0.05);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 15px 25px;
    max-width: 750px;
    margin: -35px auto 45px auto;
    font-size: 0.95rem;
    color: var(--text-bright);
    line-height: 1.5;
    box-shadow: 0 5px 20px rgba(224, 166, 192, 0.05);
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

/* Stories Slider CSS */
.story-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 35px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    min-height: 480px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.story-names {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cc6078;
    text-align: center;
    border-bottom: 1px solid rgba(255, 141, 161, 0.15);
    padding-bottom: 12px;
    margin-bottom: 5px;
}

.story-chat-bubbles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 141, 161, 0.1);
    padding-bottom: 12px;
}

.chat-bubble {
    padding: 8px 14px;
    border-radius: 12px;
    max-width: 75%;
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;
}

.chat-bubble.sent {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 141, 161, 0.2);
}

.chat-bubble.received {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-bright);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.story-context {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
}

.story-discovery {
    font-size: 0.95rem;
    color: var(--text-white);
    line-height: 1.5;
    font-weight: 600;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.story-feedback {
    font-size: 1.05rem;
    font-weight: bold;
    text-align: center;
    color: #cc6078;
    font-style: italic;
    margin-top: 5px;
    border-top: 1px dashed rgba(255, 141, 161, 0.2);
    padding-top: 12px;
}

/* Scrollable Story Chat Container */
.story-scroll-container {
    max-height: 420px;
    overflow-y: auto;
    padding: 8px 4px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(204, 96, 120, 0.4) transparent;
}
.story-scroll-container::-webkit-scrollbar { width: 4px; }
.story-scroll-container::-webkit-scrollbar-track { background: transparent; }
.story-scroll-container::-webkit-scrollbar-thumb { background: rgba(204, 96, 120, 0.4); border-radius: 4px; }

.story-msg {
    line-height: 1.6;
    animation: msgFadeIn 0.3s ease forwards;
    opacity: 1;
}

.story-msg-quote {
    background: rgba(204, 96, 120, 0.1);
    border-left: 3px solid #cc6078;
    padding: 8px 14px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-bright, #2d1f24);
    font-weight: 600;
    font-size: 0.92rem;
}

.story-msg-narration {
    color: var(--text-muted, #6b5460);
    font-size: 0.88rem;
    padding: 3px 8px;
    line-height: 1.55;
}

.story-msg-feedback {
    background: linear-gradient(135deg, rgba(204, 96, 120, 0.15), rgba(255, 182, 193, 0.12));
    border: 1.5px solid rgba(204, 96, 120, 0.25);
    padding: 14px 18px;
    border-radius: 14px;
    font-style: italic;
    font-weight: 700;
    font-size: 0.95rem;
    color: #cc6078;
    margin-top: 8px;
    text-align: center;
    position: relative;
}

.story-msg-feedback::before {
    content: '💬';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg, #fff);
    padding: 0 8px;
    font-size: 1.1rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.carousel-nav-btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.1);
}

