/* ===== "VELOURA" LUXURY THEME ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --v-purple-dark: #6B46C1;
    --v-purple-mid: #8B5CF6;
    --v-purple-light: #C084FC;
    
    --v-bg-top: #C9A8F5;
    --v-bg-bottom: #B794F0;
    
    --v-text-dark: #1A1A1A;
    --v-text-gray: #6B7280;
    --v-input-bg: #F5F4F8;
    
    --v-card-bg: #FFFFFF;
    
    /* Typography */
    --v-font-serif: 'Playfair Display', serif;
    --v-font-sans: 'Poppins', sans-serif;
    
    /* Shapes & Shadows */
    --v-pill-radius: 50px;
    --v-card-radius: 30px;
    
    --v-shadow-soft: 0 10px 30px rgba(107, 70, 193, 0.08);
    --v-shadow-btn: 0 8px 25px rgba(139, 92, 246, 0.35);
}

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

body {
    font-family: var(--v-font-sans);
    background: linear-gradient(180deg, var(--v-bg-top) 0%, var(--v-bg-bottom) 100%);
    min-height: 100vh;
    color: var(--v-text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Base App Wrapper */
.phone-frame {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding: 20px;
    padding-bottom: 100px;
}

/* ===== TYPOGRAPHY ===== */
.v-title {
    font-family: var(--v-font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--v-text-dark);
    text-align: center;
    margin-bottom: 10px;
}
.v-title span { color: var(--v-purple-mid); }

.v-subtitle {
    font-family: var(--v-font-sans);
    font-size: 14px;
    color: var(--v-text-gray);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
}

/* ===== CARDS & CONTAINERS ===== */
.v-card {
    background: var(--v-card-bg);
    border-radius: var(--v-card-radius);
    padding: 24px;
    box-shadow: var(--v-shadow-soft);
    margin-bottom: 24px;
}

.v-card-floating {
    background: var(--v-card-bg);
    border-radius: var(--v-card-radius);
    padding: 30px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    margin-top: 20px;
}

/* ===== BUTTONS (Veloura Style) ===== */
.v-btn-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, var(--v-purple-dark) 0%, var(--v-purple-light) 100%);
    border-radius: var(--v-pill-radius);
    padding: 6px 20px 6px 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--v-shadow-btn);
    transition: transform 0.2s;
    margin-bottom: 16px;
}
.v-btn-primary:active { transform: scale(0.98); }

.v-btn-icon-left {
    width: 44px; height: 44px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--v-purple-mid);
    font-size: 18px;
    flex-shrink: 0;
}

.v-btn-text {
    flex: 1;
    text-align: center;
    color: #FFFFFF;
    font-family: var(--v-font-sans);
    font-weight: 500;
    font-size: 15px;
}

.v-btn-chevron {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    letter-spacing: -2px;
}

/* White Pill Menu Item */
.v-menu-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--v-card-bg);
    border-radius: var(--v-pill-radius);
    padding: 6px 20px 6px 6px;
    text-decoration: none;
    box-shadow: var(--v-shadow-soft);
    margin-bottom: 16px;
    transition: transform 0.2s;
}
.v-menu-pill:active { transform: scale(0.98); }

.v-menu-icon-left {
    width: 44px; height: 44px;
    background: var(--v-purple-mid);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    flex-shrink: 0;
}

.v-menu-text {
    flex: 1;
    text-align: left;
    padding-left: 16px;
    color: var(--v-text-dark);
    font-family: var(--v-font-serif);
    font-weight: 600;
    font-size: 17px;
}

.v-menu-chevron {
    color: var(--v-text-gray);
    font-size: 14px;
    opacity: 0.5;
}

/* ===== INPUTS ===== */
.v-input-group {
    background: var(--v-input-bg);
    border-radius: var(--v-pill-radius);
    display: flex;
    align-items: center;
    padding: 6px 20px;
    margin-bottom: 16px;
}

.v-input-icon {
    color: var(--v-text-gray);
    font-size: 16px;
    margin-right: 12px;
    opacity: 0.7;
}

.v-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-family: var(--v-font-sans);
    font-size: 14px;
    color: var(--v-text-dark);
    outline: none;
}
.v-input::placeholder { color: #A0AABF; }

/* ===== LOGO & BRANDING ===== */
.v-logo {
    text-align: center;
    margin-bottom: 20px;
}
.v-logo img {
    width: 50px;
    margin-bottom: 10px;
}
.v-logo-text {
    font-family: var(--v-font-serif);
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--v-purple-dark);
}

/* Helpers */
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 440px;
    z-index: 1000;
}
.nav-pill {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 15px 35px rgba(107, 70, 193, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
}
.nav-link {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    text-decoration: none; color: #A0AABF; font-family: var(--v-font-sans);
    font-size: 11px; font-weight: 500; transition: color 0.2s;
    width: 50px;
}
.nav-link i { font-size: 20px; margin-bottom: 2px; }
.nav-link.active { color: var(--v-purple-dark); }
.nav-link.active i { color: var(--v-purple-dark); }

.nav-spacer { width: 60px; }

.nav-center {
    position: absolute; left: 50%; transform: translateX(-50%); top: -20px;
}
.nav-fab {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--v-purple-dark), var(--v-purple-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px;
    box-shadow: var(--v-shadow-btn);
    border: 4px solid var(--v-bg-bottom); /* To blend with background */
    text-decoration: none;
    transition: transform 0.2s;
}
.nav-fab:active { transform: scale(0.95); }

/* ===== ANIMATIONS ===== */
@keyframes v-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes v-slide-down {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: v-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up { animation: v-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.animate-slide-down { animation: v-slide-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Micro-interactions */
.v-card, .qa-pill, .history-item {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.v-card:active, .qa-pill:active, .history-item:active {
    transform: scale(0.97);
}
