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

:root {
    --primary: #8b5cf6;
    --primary-light: #d946ef;
    --primary-dark: #5b21b6;
    --primary-bg: rgba(139, 92, 246, 0.08);
    --bg-main: #07040e;
    --bg-card: rgba(17, 11, 31, 0.75);
    --bg-card-hover: rgba(26, 17, 46, 0.9);
    --text-main: #faf5ff;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border-color: rgba(139, 92, 246, 0.15);
    --border-color-focus: rgba(217, 70, 239, 0.5);
    --danger: #f43f5e;
    --warning: #cca43b;
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --shadow-sm: 0 2px 8px rgba(139, 92, 246, 0.08);
    --shadow-md: 0 8px 24px rgba(139, 92, 246, 0.15);
    --shadow-lg: 0 16px 48px rgba(139, 92, 246, 0.3);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-main);
}

/* Mobile Viewport */
.app-viewport {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    height: 100vh;
    background-color: var(--bg-main);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Tablet: centered phone frame */
@media (min-width: 540px) and (max-width: 1023px) {
    body {
        background: radial-gradient(ellipse at center, #0f0720 0%, #07040e 100%);
        align-items: center;
        padding: 20px;
    }
    .app-viewport {
        width: 420px;
        height: 880px;
        min-height: unset;
        border-radius: 44px;
        border: 10px solid #1e1a2e;
        box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.15), inset 0 0 0 1px rgba(255,255,255,0.03);
        overflow: hidden;
    }
    /* Contain fixed nav inside phone frame on tablet */
    .app-nav {
        max-width: 400px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-radius: 0 0 34px 34px;
    }
}

/* ── Desktop: full wide layout ── */
@media (min-width: 1024px) {
    body {
        background: radial-gradient(ellipse at top left, #0f0720 0%, #07040e 60%);
        align-items: stretch;
        padding: 0;
    }
    .app-viewport {
        max-width: 100%;
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        border-radius: 0;
        border: none;
        display: grid;
        grid-template-columns: 240px 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "sidebar header"
            "sidebar content";
        overflow: hidden;
    }

    /* Header spans content area only */
    .app-header {
        grid-area: header;
        border-radius: 0;
        padding: 20px 32px;
    }

    /* Content fills main area */
    .app-content {
        grid-area: content;
        padding: 28px 32px;
        padding-bottom: 40px;
        overflow-y: auto;
        max-width: 1100px;
    }

    .app-content.no-nav {
        padding-bottom: 40px;
    }

    /* Desktop Sidebar Navigation */
    .app-nav {
        grid-area: sidebar;
        position: relative;
        bottom: unset;
        left: unset;
        right: unset;
        width: 240px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 28px 16px;
        border-top: none;
        border-right: 1px solid var(--border-color);
        background: rgba(10, 6, 20, 0.9);
        backdrop-filter: blur(20px);
        box-shadow: 4px 0 20px rgba(0,0,0,0.3);
        grid-template-columns: unset;
        gap: 6px;
        overflow-y: auto;
    }

    /* Sidebar logo area */
    .app-nav::before {
        content: 'BIKE DHAN';
        display: block;
        font-size: 1.1rem;
        font-weight: 900;
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        padding: 0 12px 24px 12px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 16px;
        letter-spacing: 1px;
    }

    /* Sidebar nav items become full-width rows */
    .app-nav-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
        padding: 13px 16px;
        border-radius: 14px;
        font-size: 0.9rem;
        font-weight: 600;
        width: 100%;
    }

    .app-nav-item svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .app-nav-item.active {
        background: var(--primary-bg);
        border: 1px solid rgba(139, 92, 246, 0.3);
    }

    .app-nav-item.active svg {
        transform: none;
        filter: none;
    }

    /* Float button repositioned */
    .float-btn {
        bottom: 30px;
        right: 30px;
    }

    /* Wider cards on desktop */
    .product-card {
        padding: 20px;
    }

    .product-img {
        width: 120px;
        height: 120px;
    }

    /* Two-column product grid on desktop */
    .products-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .products-list .product-card {
        margin-bottom: 0;
    }

    /* Wider stat grids on desktop */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Larger banner on desktop */
    .home-banner-container {
        height: 320px !important;
        border-radius: 20px;
        margin-bottom: 24px;
    }

    /* Modal fills viewport properly */
    .modal-overlay,
    .modal-center-overlay {
        position: fixed;
    }
}

/* Scrollbar styling */
.app-content::-webkit-scrollbar {
    width: 6px;
}
.app-content::-webkit-scrollbar-track {
    background: transparent;
}
.app-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Header Component */
.app-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.app-header.transparent {
    background: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.app-header .back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.app-header .back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.app-header .title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-grow: 1;
    text-align: center;
    margin-right: 38px; /* Offset for back button to center-align title */
}

.app-header .title.no-back {
    margin-right: 0;
}

/* Content Area */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    padding-bottom: 100px; /* Space for fixed navbar */
    -webkit-overflow-scrolling: touch;
}

.app-content.no-nav {
    padding-bottom: 20px;
}

/* Bottom Navigation — always fixed at bottom */
.app-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(10, 6, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px 0 10px 0;
    z-index: 999;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
    transition: var(--transition);
}

.app-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    transition: var(--transition);
}

.app-nav-item.active {
    color: var(--primary-light);
    font-weight: 700;
}

.app-nav-item.active svg {
    stroke: var(--primary-light);
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 8px rgba(217, 70, 239, 0.4));
}

/* Card Component */
.card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* Stats Row inside Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    background-color: var(--bg-main);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.stat-box.highlight {
    background: linear-gradient(135deg, var(--primary-bg), rgba(217, 70, 239, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    color: var(--primary-light);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

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

/* Button UI */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(13, 140, 79, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 140, 79, 0.35);
}

.btn-primary:active {
    transform: translateY(1px);
}

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

.btn-outline:hover {
    background-color: var(--primary-bg);
}

.btn-gray {
    background-color: #cbd5e1;
    color: #475569;
}

.btn-gray:hover {
    background-color: #cbd5e1;
    filter: brightness(0.95);
}

/* Floating Action Button (Telegram Float) */
.float-btn {
    position: absolute;
    bottom: 95px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #229ED9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.4);
    z-index: 9;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(34, 158, 217, 0.5);
}

/* User Card component on Home & Profile */
.user-card-floating {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-top: -45px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-container {
    position: relative;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 14px rgba(217, 70, 239, 0.5);
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    overflow: hidden;
}

.user-phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.user-vip-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.user-vip-badge.vip2 {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.vip-progress-container {
    margin-top: 5px;
}

.vip-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.vip-progress-bar-bg {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.vip-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

/* User Card Balances */
.user-balances {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    text-align: center;
}

.balance-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.balance-item:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.balance-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.balance-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-prefix {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    border: 1.5px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.form-input.has-prefix {
    padding-left: 50px;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: rgba(139, 92, 246, 0.02);
    box-shadow: 0 0 0 4px var(--border-color-focus);
}

.input-toggle-pwd {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    user-select: none;
    margin-bottom: 25px;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-container input:checked + .checkmark {
    border-color: var(--primary);
    background-color: var(--primary);
}

.checkmark svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    display: none;
}

.checkbox-container input:checked + .checkmark svg {
    display: block;
}

.checkbox-container a {
    color: var(--primary);
    text-decoration: none;
}

/* Modals & Overlays */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--bg-card);
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding: 25px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-center-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-center-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-center-container {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 380px;
    border-radius: 28px;
    padding: 25px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-center-overlay.active .modal-center-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: #065f46;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    text-align: center;
    white-space: nowrap;
}

.toast-container.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

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

/* Toast Success Message Pill */
.toast-success-pill {
    background-color: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: fadeInDown 0.3s ease-out;
}

/* Tabs switcher styling */
.tabs-header {
    display: flex;
    border-radius: 14px;
    background-color: rgba(0,0,0,0.05);
    padding: 4px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

/* Tab Switcher variant - Product category selection */
.tab-pills {
    display: flex;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.tab-pill {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.tab-pill.active {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

/* Grid Menu List items on My profile */
.menu-list {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1.5px solid var(--border-color);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.menu-item:hover {
    transform: translateX(4px);
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background-color: var(--primary-bg);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-icon.logout {
    background-color: rgba(244, 63, 94, 0.1);
    color: var(--danger);
}

.menu-item-arrow {
    color: var(--text-light);
}

/* Badges / Status pills */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background-color: var(--success-bg);
    color: var(--success);
}

.badge-warning {
    background-color: #ffedd5;
    color: #ea580c;
}

.badge-danger {
    background-color: #fee2e2;
    color: var(--danger);
}

/* Product Cards style */
.product-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 16px;
    background-color: #f1f5f9;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.product-price-row {
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.product-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.product-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 12px;
}

.product-stat-item {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-stat-item span {
    font-weight: 800;
    color: var(--text-main);
}

.product-stat-item span.green {
    color: var(--primary);
}

.product-btn {
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.product-btn.buy {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(13, 140, 79, 0.2);
}

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

.product-btn.disabled {
    background-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

@keyframes slideInLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeInDown {
    from { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(15, 203, 116, 0.2); }
    50% { box-shadow: 0 0 20px rgba(15, 203, 116, 0.5); }
}

.animate-fade {
    animation: fadeIn 0.3s ease-out forwards;
}

.animate-scale {
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-slide-up {
    animation: slideInUp 0.3s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pulse-glow {
    animation: pulseGlow 2s infinite ease-in-out;
}

/* Staggered Delay classes */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.2s; }
.delay-5 { animation-delay: 0.25s; }

/* ── Responsive helper: hide on mobile, show on desktop ── */
.desktop-only { display: none; }
@media (min-width: 1024px) { .desktop-only { display: block; } }

/* ── Responsive helper: hide on desktop, show on mobile ── */
.mobile-only { display: block; }
@media (min-width: 1024px) { .mobile-only { display: none; } }

/* ── Extra touch: bigger tap targets on mobile ── */
@media (max-width: 539px) {
    .btn { padding: 16px 20px; font-size: 1rem; }
    .form-input { padding: 17px 16px; font-size: 1rem; }
    .menu-item { padding: 18px 0; }
    .app-nav-item { font-size: 0.7rem; }
}
