/**
 * AVIVAMENTO PESSOAL - Estilos Globais
 * Desenvolvido por B20 Conteúdo Digital
 * https://www.b20.com.br
 */

/* ========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ======================================== */
:root {
    /* Cores Primárias - Fire & Ember (Luxury) */
    --primary-color: #FF5A00;
    --primary-hover: #E04800;
    --primary-light: #FF5A0033;
    --primary-dark: #992B00;
    
    /* Cores Secundárias - Ouro/Chama */
    --secondary-color: #FF8A00;
    --secondary-hover: #D67200;
    --secondary-light: #FF8A0022;
    
    /* Cor de Destaque */
    --accent-color: #FFB347;
    --accent-hover: #E3952B;
    --accent-light: #FFB34722;
    
    /* Cores de Superfície (Dark Mode Premium by Default) */
    --bg-color: #0A0A0C;
    --surface-color: #121215;
    --surface-elevated: #16161A;
    --border-color: #27272A;
    
    /* Cores de Texto */
    --text-color: #FAFAFA;
    --text-secondary: #D4D4D8;
    --text-muted: #A1A1AA;
    --text-inverse: #0A0A0C;
    
    /* Estados */
    --success-color: #10B981;
    --success-light: #10B98122;
    --warning-color: #F59E0B;
    --warning-light: #F59E0B22;
    --danger-color: #EF4444;
    --danger-light: #EF444422;
    --info-color: #3B82F6;
    --info-light: #3B82F622;
    
    /* Gradientes */
    --gradient-fire: linear-gradient(135deg, #FF5A00 0%, #FF8A00 100%);
    --gradient-warm: linear-gradient(135deg, #FFB347 0%, #FF8A00 100%);
    --gradient-dark: linear-gradient(135deg, #121215 0%, #0A0A0C 100%);
    
    /* Sombras (Glow effects) */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.6);
    --shadow-fire: 0 4px 20px rgba(255, 90, 0, 0.35);
    
    /* Tipografia (Editorial) */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Tamanhos de Fonte */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.75rem;
    
    /* Espaçamento */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transições */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 500;
    --z-modal-backdrop: 900;
    --z-modal: 1000;
    --z-toast: 1100;
    
    /* Layout */
    --header-height: 72px;
    --bottom-nav-height: 72px;
    --container-max: 1000px;
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* ========================================
   MODOS DE TEMA (LIGHT OPICIONAL)
   ======================================== */
:root[data-theme="light"] {
    --bg-color: #FCFDFD;
    --surface-color: #FFFFFF;
    --surface-elevated: #F3F4F6;
    --border-color: #E5E7EB;
    
    --text-color: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-inverse: #FAFAFA;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-fire: 0 4px 14px rgba(255, 90, 0, 0.2);
}

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: clamp(14px, 2.5vw, 16px);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-area-bottom));
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: var(--text-color);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}
input::placeholder, textarea::placeholder {
    color: var(--text-muted);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: var(--spacing-xl);
    }
}

/* Sections */
.section {
    display: none;
    animation: fadeIn var(--transition-slow);
}

.section.active {
    display: block;
}

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

/* ========================================
   HEADER
   ======================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    box-shadow: var(--shadow-md);
    z-index: var(--z-fixed);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: var(--text-2xl);
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.header-logo h1 {
    font-size: var(--text-lg);
    font-weight: 800;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: var(--spacing-sm);
    }
    
    .desktop-nav .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        color: var(--text-secondary);
        font-weight: 500;
        transition: all var(--transition-fast);
    }
    
    .desktop-nav .nav-link:hover {
        background: var(--primary-light);
        color: var(--primary-color);
    }
    
    .desktop-nav .nav-link.active {
        background: var(--gradient-fire);
        color: var(--text-inverse);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.btn-icon:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--danger-color);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ========================================
   BOTTOM NAVIGATION (Mobile)
   ======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--surface-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-fixed);
    padding-bottom: var(--safe-area-bottom);
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none !important;
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 64px;
    min-height: 48px;
}

.nav-item i {
    font-size: 20px;
    transition: transform var(--transition-fast);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active i {
    transform: scale(1.15);
}

.nav-item-fab {
    width: 56px;
    height: 56px;
    background: var(--gradient-fire);
    border-radius: var(--radius-full);
    margin-top: -28px;
    color: white !important;
    box-shadow: var(--shadow-fire);
    flex-direction: row;
}

.nav-item-fab i {
    font-size: 24px;
}

.nav-item-fab span {
    display: none;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    min-height: 44px;
    cursor: pointer;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--gradient-fire);
    color: var(--text-inverse);
    box-shadow: var(--shadow-fire);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: var(--surface-elevated);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--text-inverse);
}

.btn-danger:hover:not(:disabled) {
    background: #DC2626;
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--text-base);
    min-height: 52px;
}

.btn-block {
    width: 100%;
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: var(--spacing-xs);
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

/* Hero Card */
.hero-card {
    background: var(--gradient-fire);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    color: var(--text-inverse);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.hero-flames {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    font-size: 2rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.flame-1 { animation-delay: 0s; }
.flame-2 { animation-delay: 0.5s; }
.flame-3 { animation-delay: 1s; }

.hero-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.hero-subtitle {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: var(--text-xs);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-card .btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-card .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   PROGRESS RING
   ======================================== */
.progress-section {
    margin-bottom: var(--spacing-xl);
}

.progress-ring-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: url(#fireGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1s ease;
}

.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-percentage {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.section-header-main {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-base);
}

/* ========================================
   TODAY'S FOCUS CARD
   ======================================== */
.today-section {
    margin-bottom: var(--spacing-xl);
}

.today-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.today-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.today-day {
    font-weight: 700;
    color: var(--primary-color);
}

.today-theme {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
}

.today-verse {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--accent-light);
    border-radius: var(--radius-md);
}

.today-practices {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.today-practice-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-color);
    border-radius: var(--radius-md);
}

.today-practice-item.completed {
    opacity: 0.6;
}

.today-practice-item.completed .practice-check {
    color: var(--success-color);
}

.practice-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.practice-check.checked {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

/* ========================================
   QUICK ACTIONS
   ======================================== */
.quick-actions {
    margin-bottom: var(--spacing-xl);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .actions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.action-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.action-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.action-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

.action-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ========================================
   TESTIMONIES
   ======================================== */
.testimonies-preview {
    margin-bottom: var(--spacing-xl);
}

.testimonies-carousel {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--spacing-sm);
}

.testimonies-carousel::-webkit-scrollbar {
    height: 4px;
}

.testimonies-carousel::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

.testimonies-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.testimony-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.testimony-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.testimony-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-fire);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimony-author {
    font-weight: 600;
    font-size: var(--text-sm);
}

.testimony-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.testimony-content {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimony-category {
    display: inline-block;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
}

/* ========================================
   CHALLENGE SECTION
   ======================================== */
.challenge-status-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
}

.status-badge.not-started {
    background: var(--text-muted);
    color: white;
}

.status-badge.in-progress {
    background: var(--warning-color);
    color: white;
}

.status-badge.completed {
    background: var(--success-color);
    color: white;
}

.status-date {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.status-progress {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-fire);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    width: 0%;
}

.progress-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: center;
}

/* Days Grid */
.days-section {
    margin-bottom: var(--spacing-xl);
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-sm);
}

@media (max-width: 480px) {
    .days-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }
}

.day-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
    font-weight: 600;
}

.day-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.day-item.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.day-item.current {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
}

.day-item.completed {
    background: var(--gradient-fire);
    border-color: transparent;
    color: white;
}

.day-item.completed::after {
    content: '✓';
    font-size: var(--text-xs);
}

/* Day Details */
.day-details-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.day-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.day-details-header h3 {
    font-size: var(--text-lg);
}

.day-status {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    background: var(--warning-light);
    color: var(--warning-color);
}

.day-status.completed {
    background: var(--success-light);
    color: var(--success-color);
}

.day-verse-box {
    background: var(--accent-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.day-verse-box i {
    color: var(--accent-color);
    opacity: 0.5;
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
}

.day-verse-box p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-xl);
}

.day-verse-box span {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--accent-color);
    font-size: var(--text-sm);
}

.day-practices-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.day-practice-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.day-practice-item:hover {
    background: var(--primary-light);
}

.day-practice-item.completed {
    opacity: 0.7;
}

.day-practice-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.day-practice-item.completed .day-practice-checkbox {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.day-practice-info {
    flex: 1;
}

.day-practice-name {
    font-weight: 600;
    display: block;
}

.day-practice-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.day-reflection {
    margin-top: var(--spacing-lg);
}

.day-reflection h4 {
    margin-bottom: var(--spacing-md);
}

.day-reflection textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-color);
    color: var(--text-color);
    resize: vertical;
    margin-bottom: var(--spacing-md);
}

.day-reflection textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Milestones */
.milestones-section {
    margin-bottom: var(--spacing-xl);
}

.milestones-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.milestone-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.milestone-icon.locked {
    background: var(--border-color);
    color: var(--text-muted);
}

.milestone-icon.unlocked {
    background: var(--gradient-fire);
    color: white;
}

.milestone-info {
    flex: 1;
}

.milestone-title {
    font-weight: 600;
    display: block;
}

.milestone-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ========================================
   PRACTICES SECTION
   ======================================== */
.practice-tabs {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    -webkit-overflow-scrolling: touch;
}

.practice-tab {
    flex-shrink: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.practice-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.practice-tab.active {
    background: var(--gradient-fire);
    border-color: transparent;
    color: white;
}

.practice-content {
    display: none;
}

.practice-content.active {
    display: block;
    animation: fadeIn var(--transition-slow);
}

.practice-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.practice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.practice-header h3 {
    font-size: var(--text-xl);
}

.practice-level {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.practice-desc {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* Timer Section */
.timer-section {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
}

.timer-display {
    font-size: var(--text-4xl);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.timer-goal {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

.timer-goal select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-color);
    font-weight: 500;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Prayer Types */
.prayer-types {
    margin-bottom: var(--spacing-lg);
}

.prayer-types h4 {
    margin-bottom: var(--spacing-md);
}

.prayer-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .prayer-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.prayer-type-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.prayer-type-item input {
    display: none;
}

.prayer-type-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 100%;
    transition: all var(--transition-fast);
}

.prayer-type-item input:checked + .prayer-type-label {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Fasting Section */
.fasting-status {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
}

.fasting-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.fasting-icon {
    font-size: 3rem;
}

.fasting-text {
    font-weight: 600;
    color: var(--text-secondary);
}

.fasting-timer {
    margin-top: var(--spacing-md);
}

.fasting-elapsed {
    font-size: var(--text-3xl);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fasting-label {
    display: block;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.fasting-types {
    margin-bottom: var(--spacing-lg);
}

.fasting-types h4 {
    margin-bottom: var(--spacing-md);
}

.fasting-type-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.fasting-option {
    cursor: pointer;
}

.fasting-option input {
    display: none;
}

.fasting-option-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.fasting-option input:checked + .fasting-option-content {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.fasting-option-icon {
    font-size: 1.5rem;
}

.fasting-option-title {
    font-weight: 600;
    display: block;
}

.fasting-option-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.fasting-duration {
    margin-bottom: var(--spacing-lg);
}

.fasting-duration h4 {
    margin-bottom: var(--spacing-sm);
}

.fasting-duration select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-color);
    font-size: var(--text-base);
}

.fasting-controls {
    text-align: center;
}

/* Reading Section */
.reading-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.reading-stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-color);
    border-radius: var(--radius-lg);
}

.reading-stat-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.reading-stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.reading-form {
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.reading-form h4 {
    margin-bottom: var(--spacing-md);
}

/* Worship Experience */
.worship-experience {
    margin-bottom: var(--spacing-lg);
}

.worship-experience h4 {
    margin-bottom: var(--spacing-md);
}

.experience-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.experience-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.experience-option input {
    display: none;
}

.experience-option span {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 100%;
    transition: all var(--transition-fast);
}

.experience-option input:checked + span {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Confession Section */
.confession-areas {
    margin-bottom: var(--spacing-lg);
}

.confession-areas h4 {
    margin-bottom: var(--spacing-md);
}

.confession-area-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .confession-area-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.confession-area {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.confession-area:hover {
    border-color: var(--primary-color);
}

.confession-area.checked {
    background: var(--success-light);
    border-color: var(--success-color);
}

.area-icon {
    font-size: 1.25rem;
}

.area-name {
    flex: 1;
    font-weight: 500;
    font-size: var(--text-sm);
}

.area-check {
    color: transparent;
    transition: color var(--transition-fast);
}

.confession-area.checked .area-check {
    color: var(--success-color);
}

.confession-form {
    background: var(--bg-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.confession-form h4 {
    margin-bottom: var(--spacing-sm);
}

.confession-note {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.confession-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-color);
    resize: vertical;
    margin-bottom: var(--spacing-md);
}

.confession-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.confession-actions {
    text-align: center;
}

.confession-promise {
    margin-top: var(--spacing-lg);
}

.promise-card {
    background: var(--accent-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
}

.promise-card i {
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: var(--spacing-sm);
}

.promise-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}

.promise-card span {
    font-weight: 600;
    color: var(--accent-color);
    font-size: var(--text-sm);
}

/* Practice History */
.practice-history {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.practice-history h4 {
    margin-bottom: var(--spacing-md);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-color);
    border-radius: var(--radius-md);
}

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

.history-date {
    font-weight: 600;
    font-size: var(--text-sm);
}

.history-details {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.history-duration {
    font-weight: 600;
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: var(--spacing-xl);
}

/* ========================================
   JOURNAL SECTION
   ======================================== */
.journal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.journal-stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.journal-stat-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.journal-stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.journal-filters {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.journal-filters select {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    color: var(--text-color);
}

.journal-entries {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.journal-entry {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.entry-title {
    font-weight: 700;
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-xs);
}

.entry-meta {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.entry-type {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
}

.entry-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.entry-actions {
    display: flex;
    gap: var(--spacing-xs);
}

.entry-actions button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.entry-actions button:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

.entry-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.entry-verse {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent-light);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--accent-color);
    font-size: var(--text-sm);
}

/* Testimonies Section */
.testimonies-section {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.testimonies-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* ========================================
   PROFILE SECTION
   ======================================== */
.profile-card {
    background: var(--gradient-fire);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--text-inverse);
    margin-bottom: var(--spacing-xl);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2.5rem;
}

.profile-name {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.profile-title {
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.profile-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .profile-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.profile-stat-card {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.profile-stat-card .stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.profile-stat-card .stat-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    display: block;
}

.profile-stat-card .stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Spirit Gifts */
.spirit-gifts-section {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.section-desc {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-lg);
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-md);
}

@media (min-width: 480px) {
    .gifts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .gifts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gift-item {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
}

.gift-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.gift-name {
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.gift-status {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
}

.gift-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

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

.gift-btn.active.seeking {
    background: var(--warning-light);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.gift-btn.active.received {
    background: var(--success-light);
    border-color: var(--success-color);
    color: var(--success-color);
}

/* Settings */
.settings-section {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.setting-info {
    flex: 1;
}

.setting-label {
    font-weight: 600;
    display: block;
}

.setting-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.setting-input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-color);
    color: var(--text-color);
    width: 150px;
}

.setting-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-color);
    color: var(--text-color);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

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

/* Data Section */
.data-section {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.data-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

@media (min-width: 480px) {
    .data-actions {
        flex-direction: row;
    }
}

/* FAQ Section */
.faq-section {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-color);
    color: var(--text-color);
    font-weight: 600;
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-icon {
    transition: transform var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: var(--spacing-md);
    background: var(--surface-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer[hidden] {
    display: none;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger-color);
}

.form-error {
    color: var(--danger-color);
    font-size: var(--text-sm);
    margin-top: var(--spacing-xs);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* ========================================
   MODALS
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn var(--transition-slow);
}

.modal-sm {
    max-width: 400px;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: var(--text-lg);
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--spacing-md));
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: calc(100% - var(--spacing-xl));
    max-width: 400px;
}

@media (min-width: 768px) {
    .toast-container {
        bottom: var(--spacing-xl);
    }
}

.toast {
    background: var(--text-color);
    color: var(--bg-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: toastSlideIn var(--transition-slow);
}

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

.toast.success {
    background: var(--success-color);
    color: white;
}

.toast.error {
    background: var(--danger-color);
    color: white;
}

.toast.warning {
    background: var(--warning-color);
    color: white;
}

.toast.info {
    background: var(--info-color);
    color: white;
}

.toast-icon {
    font-size: var(--text-lg);
}

.toast-message {
    flex: 1;
}

.toast-close {
    color: inherit;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.toast-close:hover {
    opacity: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.app-footer {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--bottom-nav-height);
}

@media (min-width: 768px) {
    .app-footer {
        margin-bottom: 0;
    }
}

.app-footer p {
    margin-bottom: var(--spacing-xs);
}

.b20-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.b20-link:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

/* ========================================
   SKELETON LOADING
   ======================================== */
.skeleton {
    background: linear-gradient(90deg, 
        var(--border-color) 25%, 
        var(--bg-color) 50%, 
        var(--border-color) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin-bottom: var(--spacing-sm);
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: var(--spacing-md);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }

.w-full { width: 100%; }

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .app-header,
    .bottom-nav,
    .app-footer {
        display: none;
    }
    
    body {
        padding: 0;
    }
    
    .section {
        display: block !important;
    }
}
