/* Bright, Warm and Positive Health Theme */
:root {
    --bg-light: #f7faf8;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(16, 185, 129, 0.12);
    --text-main: #1f2937;
    --text-muted: #6b7280;
    
    /* Vibrant & Life-giving Colors */
    --color-primary: #10b981; /* Fresh Mint Green (Health, Life) */
    --color-primary-hover: #059669;
    --color-primary-glow: rgba(16, 185, 129, 0.1);
    --color-accent: #d97706; /* Warm Amber for stress marks (readable on light) */
    --color-active-card: rgba(16, 185, 129, 0.06);
    
    /* Layout */
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(16, 185, 129, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 40px rgba(16, 185, 129, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background glows - Warm sun and spring grass vibes */
.bg-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    background: radial-gradient(circle, #ccfbf1 0%, transparent 70%); /* Soft Teal */
    top: -250px;
    right: -100px;
}

.bg-glow-2 {
    background: radial-gradient(circle, #fef08a 0%, transparent 70%); /* Sunny Yellow */
    bottom: -250px;
    left: -100px;
}

/* Layout Container */
.app-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 11rem; /* Bottom padding for player bar */
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 2.4rem;
    animation: rotate 20s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 2px 5px rgba(16, 185, 129, 0.2));
}

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

.header-logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
}

.header-logo h1 span {
    background: linear-gradient(135deg, var(--color-primary), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-tagline span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #047857; /* Darker green */
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.04);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hero-section p {
    font-size: 1.15rem;
    color: #4b5563;
    font-weight: 400;
}

/* Glass Panels - Clean white translucent cards */
.glass-panel {
    background-color: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

/* Dashboard Controls */
.dashboard-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.5;
}

.search-box input {
    width: 100%;
    padding: 1.1rem 1.2rem 1.1rem 3.2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 1.05rem;
    font-family: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), 0 4px 10px rgba(16, 185, 129, 0.05);
}

.category-filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.65rem 1.3rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--color-primary);
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.3);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

/* Main Layout Grid */
.main-layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Left Grid of Cards */
.attitudes-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Scrollbar for Grid */
.attitudes-grid::-webkit-scrollbar {
    width: 6px;
}

.attitudes-grid::-webkit-scrollbar-track {
    background: transparent;
}

.attitudes-grid::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 10px;
}

.attitudes-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.4);
}

/* Card Styling - Bright and Warm */
.attitude-card {
    flex-shrink: 0;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.attitude-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: transparent;
    transition: var(--transition);
}

.attitude-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow-hover);
}

.attitude-card.active {
    background-color: var(--color-active-card);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.attitude-card.active::before {
    background-color: var(--color-primary);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.card-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-weight: 700;
}

.badge-diseases {
    background-color: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.badge-organs {
    background-color: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.badge-habits {
    background-color: rgba(245, 158, 11, 0.08);
    color: #d97706;
}

.attitude-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.4rem;
}

.attitude-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.card-play-btn {
    background: var(--color-primary-glow);
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.attitude-card:hover .card-play-btn {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.attitude-card.active .card-play-btn {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Right Reader Panel - Warm Focus */
.reader-panel {
    min-height: 580px;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    position: sticky;
    top: 25px;
    background-color: white;
}

.reader-empty {
    margin: auto;
    text-align: center;
    max-width: 400px;
}

.empty-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.15));
}

.reader-empty h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.6rem;
}

.reader-empty p {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.reader-content {
    animation: fadeIn 0.3s ease-out;
}

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

.reader-header {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.attitude-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.reader-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

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

.reader-tools {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

/* Accent Switch */
.toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.slider {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
    background-color: #e5e7eb;
    border-radius: 34px;
    transition: var(--transition);
}

.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.toggle-switch input:checked + .slider {
    background-color: var(--color-primary);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(21px);
}

.toggle-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
}

.toggle-switch:hover .toggle-label {
    color: var(--text-main);
}

/* Sytin Chant Text Body */
.reader-body {
    background: #fbfdfc;
    border-radius: var(--radius-md);
    padding: 2.2rem;
    border: 1px solid var(--border-color);
    max-height: 420px;
    overflow-y: auto;
    box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.02);
}

/* Custom scroll for reader text */
.reader-body::-webkit-scrollbar {
    width: 6px;
}
.reader-body::-webkit-scrollbar-track {
    background: transparent;
}
.reader-body::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.15);
    border-radius: 10px;
}

.attitude-text {
    font-size: 1.3rem;
    line-height: 1.85;
    text-align: justify;
    font-weight: 500;
    color: #374151;
    letter-spacing: 0.01em;
}

/* Stressed Vowel Styling - Bright warm orange/amber highlight */
.accent-vowel {
    color: var(--color-accent);
    font-weight: 800;
    background-color: rgba(217, 119, 6, 0.08);
    padding: 0 2px;
    border-radius: 3px;
    border-bottom: 2px solid rgba(217, 119, 6, 0.3);
}

/* Footer & Disclaimers */
.app-footer {
    margin-top: 5rem;
    text-align: center;
}

.disclaimer-box {
    text-align: left;
    padding: 2rem;
    margin-bottom: 2rem;
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.02);
    box-shadow: var(--shadow);
}

.disclaimer-box h4 {
    color: #d97706;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.disclaimer-box p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.copyright {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Sticky Bottom Audio Player Bar - Sunny & Cheerful design */
.audio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 -10px 40px rgba(16, 185, 129, 0.06);
    z-index: 100;
    padding: 1.3rem 0;
    transition: var(--transition);
    transform: translateY(100%); /* Hidden initially, slides up */
}

.audio-player-bar.visible {
    transform: translateY(0);
}

.player-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    gap: 2rem;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.player-avatar {
    width: 46px;
    height: 46px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.player-meta {
    overflow: hidden;
}

.player-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-status {
    font-size: 0.8rem;
    color: #059669;
    font-weight: 600;
}

/* Center Controls & Progress */
.player-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
}

.player-btn {
    background: white;
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.player-btn:hover {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

.player-btn.btn-main {
    background: var(--color-primary);
    border-color: var(--color-primary);
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.player-btn.btn-main:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45);
}

/* Progress Slider */
.player-progress-container {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 900px) {
    .player-container {
        grid-template-columns: 280px auto 1fr auto;
    }
    .player-progress-container {
        grid-column: auto;
    }
}

.time-display {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 32px;
}

.progress-bar {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 10px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.progress-bar::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Extra controls (Volume / Download) */
.player-extra {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.volume-icon {
    font-size: 0.95rem;
    opacity: 0.5;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    width: 80px;
    border-radius: 10px;
    background: #e5e7eb;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.02);
    transition: var(--transition);
}

.download-link:hover {
    color: white;
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

/* Utility Helpers */
.hidden {
    display: none !important;
}

.loading-spinner {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
}

/* Mobile responsive fixes */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .reader-panel {
        position: static;
        min-height: auto;
    }
    .attitudes-grid {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 1.5rem 1rem 9rem;
    }
    .dashboard-controls {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    .app-header {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    .player-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    .player-info {
        justify-content: center;
    }
    .player-extra {
        justify-content: space-between;
        width: 100%;
    }
    .volume-slider {
        width: 120px;
    }
}

/* ==========================================================================
   INDIVIDUAL NEURO-ATTITUDE ORDER SECTION & MODAL STYLES
   ========================================================================== */

.custom-order-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #e6fffa 0%, #e0f2fe 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 3rem;
    margin: 3.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.08);
}

.custom-order-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.custom-order-content {
    max-width: 70%;
    z-index: 2;
}

.custom-order-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 99px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-order-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #047857;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.custom-order-section p {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.custom-order-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.price-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 850;
    color: #059669;
    text-shadow: 0 0 15px rgba(5, 150, 105, 0.1);
}

.order-btn {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
}

.custom-order-visual {
    font-size: 8rem;
    user-select: none;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.15));
    animation: pulseBrain 4s ease-in-out infinite;
}

@keyframes pulseBrain {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

/* Modal Backdrops & Animation */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 92%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 3rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

.modal-backdrop.visible .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #6b7280;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.05);
}

.modal-header {
    margin-bottom: 2.2rem;
}

.modal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.modal-header p {
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Order Questionnaire Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
}

.form-group input,
.form-group textarea {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    color: #111827;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.form-submit-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f4f6;
    padding-top: 2rem;
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-info span {
    font-size: 0.82rem;
    color: #6b7280;
    text-transform: uppercase;
}

.modal-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 850;
    color: #059669;
}

.submit-btn {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Notification Popups */
.notification-content {
    max-width: 480px;
    text-align: center;
    padding: 3rem 2rem;
}

.notification-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.notification-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.8rem;
}

.notification-content p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.close-notification-btn {
    width: 100%;
}

@media (max-width: 768px) {
    .custom-order-section {
        flex-direction: column;
        padding: 2.2rem;
        text-align: center;
        gap: 2rem;
    }
    .custom-order-content {
        max-width: 100%;
    }
    .custom-order-footer {
        flex-direction: column;
        gap: 1rem;
    }
    .form-submit-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Smartphone Responsive Adjustments */
@media (max-width: 576px) {
    .hero-section h2 {
        font-size: 1.5rem;
    }
    .hero-section p {
        font-size: 0.92rem;
        line-height: 1.5;
    }
    .reader-panel {
        padding: 1.5rem;
    }
    .reader-header h2 {
        font-size: 1.5rem;
    }
    .custom-order-section {
        padding: 2rem 1.5rem;
    }
    .custom-order-section h3 {
        font-size: 1.4rem;
    }
    .modal-content {
        padding: 2rem 1.5rem;
    }
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    /* Compact Sticky Audio Player for Smartphones */
    .audio-player-bar {
        padding: 0.7rem 1.2rem;
        height: 70px;
    }
    .player-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        position: relative;
    }
    .player-info {
        flex-grow: 1;
        min-width: 0;
    }
    .player-avatar {
        font-size: 1.3rem;
        width: 32px;
        height: 32px;
        min-width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .player-meta {
        min-width: 0;
    }
    .player-title {
        font-size: 0.88rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .player-status {
        font-size: 0.72rem;
    }
    .player-controls {
        display: flex;
        gap: 0.5rem;
        flex-shrink: 0;
        align-items: center;
    }
    .player-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .player-btn.btn-main {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    /* Hide non-essential player parts on small screens to prevent cluttering */
    .player-progress-container,
    .volume-container,
    #btn-prev,
    #btn-next {
        display: none !important;
    }
    
    /* Display thin progress indicator line at the very top of the mobile player */
    .audio-player-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 3px;
        background: var(--color-primary);
        width: var(--progress-pct, 0%);
        transition: width 0.1s linear;
        z-index: 10;
        pointer-events: none;
    }
    
    .player-extra {
        flex-shrink: 0;
    }
    .download-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

html {
    scroll-behavior: smooth;
}

/* New Landing page sections */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-actions .submit-btn,
.hero-actions .order-btn {
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.info-section {
    margin: 4.5rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

.info-card-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.info-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.info-card p {
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.6;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    margin-bottom: 2.8rem;
    letter-spacing: -0.02em;
}

.practice-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.step-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    position: relative;
    box-shadow: var(--shadow);
}

.step-num {
    position: absolute;
    top: -1.2rem;
    left: 2rem;
    background: var(--color-primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.step-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
}

.step-card p {
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.faq-item p {
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    .hero-actions a {
        width: 100%;
        text-align: center;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .info-section {
        margin: 3rem 0;
    }
}

/* Auth Wall & Tabs Styling */
.auth-modal-content {
    animation: authSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes authSlideIn {
    from { transform: scale(0.9) translateY(40px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.auth-tab-btn {
    transition: var(--transition);
}

.auth-tab-btn:hover {
    color: var(--color-primary) !important;
}

.user-status-bar {
    animation: fadeIn 0.3s ease;
}

}

/* Floating AI Assistant Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
    font-family: inherit;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.chat-toggle-btn:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatWindowOpen 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes chatWindowOpen {
    from { transform: scale(0.85) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.chat-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.chat-header-info span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.chat-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: #f8fafc;
}

.chat-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.chat-msg.system {
    align-self: flex-start;
    background: white;
    border: 1px solid #e2e8f0;
    color: #334155;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--color-primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-msg.typing {
    font-style: italic;
    color: #64748b;
    border: none;
    background: transparent;
    padding: 0;
}

.chat-msg.limit-warning {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

.chat-input-area {
    padding: 0.8rem 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 99px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.chat-send-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Mobile responsive modifications for Chat */
@media (max-width: 576px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    .chat-window {
        width: 310px;
        height: 400px;
        bottom: 70px;
    }
}

/* Chat welcome callout bubble */
.chat-callout {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 260px;
    background: white;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    font-size: 0.85rem;
    line-height: 1.4;
    color: #334155;
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    cursor: pointer;
    text-align: left;
}

.chat-callout p {
    margin: 0;
    padding-right: 10px;
}

.chat-callout-close {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.chat-callout-close:hover {
    color: #475569;
}

@keyframes bounceIn {
    0% { transform: scale(0.3) translateY(40px); opacity: 0; }
    50% { transform: scale(1.05) translateY(-5px); opacity: 1; }
    70% { transform: scale(0.9) translateY(2px); }
    100% { transform: scale(1) translateY(0); }
}

@media (max-width: 576px) {
    .chat-callout {
        width: 230px;
        bottom: 70px;
}

/* Gender Selector Toggle Buttons */
.gender-selector {
    display: flex;
    gap: 0.4rem;
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: 99px;
    border: 1px solid #e2e8f0;
}

.gender-btn {
    padding: 0.45rem 1rem;
    border: none;
    background: transparent;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gender-btn:hover {
    color: var(--color-primary);
}

.gender-btn.active {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}



