/**
 * VerifyHub - Apple-Inspired Premium Styles
 * Custom CSS overrides for Bootstrap 5
 * Glassmorphism, soft shadows, smooth animations
 */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    --color-bg-primary: #F5F5F7;
    --color-bg-secondary: #FFFFFF;
    --color-bg-glass: rgba(255, 255, 255, 0.72);
    --color-text-primary: #1D1D1F;
    --color-text-secondary: #86868B;
    --color-accent: #0071E3;
    --color-accent-hover: #0077ED;
    --color-success: #34C759;
    --color-warning: #FF9500;
    --color-danger: #FF3B30;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-shadow: rgba(0, 0, 0, 0.1);
    
    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 48px;
    --space-2xl: 80px;
    --space-3xl: 120px;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-elevated: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    --shadow-button: 0 4px 12px rgba(0, 113, 227, 0.3);
    --shadow-navbar: 0 1px 0 rgba(0, 0, 0, 0.05);
    
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.47;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-primary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-default);
}

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

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

/* ============================================
   GLASSMORPHISM COMPONENTS
   ============================================ */
.glass {
    background: var(--color-bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-solid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-verifyhub {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 52px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-default);
}

.navbar-verifyhub .navbar-brand {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.navbar-verifyhub .nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    padding: 8px 16px;
    transition: var(--transition-default);
}

.navbar-verifyhub .nav-link:hover {
    color: var(--color-text-primary);
}

.navbar-verifyhub .btn-register {
    background: var(--color-accent);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition-default);
}

.navbar-verifyhub .btn-register:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
    color: white;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%);
    padding: 120px 24px 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.6s ease-out forwards;
}

.hero-subtitle {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.6s ease-out 0.15s forwards;
}

.hero-cta {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    font-size: 17px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: var(--transition-default);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.6s ease-out 0.3s forwards;
}

.hero-cta:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
    color: white;
}

.hero-cta:active {
    transform: scale(0.98);
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-2xl) 24px;
}

.section-white {
    background: var(--color-bg-secondary);
}

.section-gray {
    background: var(--color-bg-primary);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-default);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: var(--transition-default);
}

.product-card:hover .product-card-image {
    transform: scale(1.02);
}

.product-card-content {
    padding: 24px;
}

.product-card-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.product-card-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-accent);
}

.btn-buy {
    background: var(--color-accent);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-buy:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
    color: white;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: start;
}

.product-detail-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.product-detail-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: var(--transition-default);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: var(--transition-default);
    color: var(--color-text-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 12px;
}

/* Purchase Card */
.purchase-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevated);
    padding: 32px;
    position: sticky;
    top: 80px;
}

.purchase-price {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.purchase-features {
    list-style: none;
    margin-bottom: 24px;
}

.purchase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-text-secondary);
}

.purchase-features li i {
    color: var(--color-success);
    font-size: 18px;
}

.btn-purchase {
    width: 100%;
    background: var(--color-accent);
    color: white;
    font-size: 17px;
    font-weight: 500;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    box-shadow: var(--shadow-button);
}

.btn-purchase:hover {
    background: var(--color-accent-hover);
    transform: scale(1.01);
}

.purchase-guarantee {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

/* ============================================
   AUTH PAGES (Login/Register)
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--color-bg-primary);
}

.auth-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 48px;
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

/* Floating Label Inputs */
.form-floating-custom {
    position: relative;
    margin-bottom: 20px;
}

.form-floating-custom input {
    width: 100%;
    padding: 16px 0 8px;
    font-size: 17px;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    outline: none;
    transition: var(--transition-default);
    color: var(--color-text-primary);
}

.form-floating-custom input:focus {
    border-bottom-color: var(--color-accent);
}

.form-floating-custom label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 17px;
    color: var(--color-text-secondary);
    pointer-events: none;
    transition: var(--transition-default);
}

.form-floating-custom input:focus + label,
.form-floating-custom input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: var(--color-accent);
}

.form-floating-custom input:focus + label {
    color: var(--color-accent);
}

.btn-auth {
    width: 100%;
    background: var(--color-accent);
    color: white;
    font-size: 17px;
    font-weight: 500;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    margin-top: 8px;
}

.btn-auth:hover {
    background: var(--color-accent-hover);
    transform: scale(1.01);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.auth-switch a {
    color: var(--color-accent);
    font-weight: 500;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.dashboard-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 32px;
}

/* Stats Row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Order Cards */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    transition: var(--transition-default);
}

.order-card:hover {
    box-shadow: var(--shadow-elevated);
}

.order-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-info p {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-family: 'SF Mono', monospace;
}

/* Status Badges */
.badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.badge-waiting {
    background: #FFF3E0;
    color: var(--color-warning);
    animation: pulse 2s infinite;
}

.badge-completed {
    background: #E8F5E9;
    color: var(--color-success);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Get Code Button & SMS Display */
.btn-get-code {
    background: var(--color-accent);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-get-code:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
}

.btn-get-code:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.sms-code-display {
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: inline-block;
    animation: codeReveal 0.8s ease-out;
}

@keyframes codeReveal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-cancel {
    background: transparent;
    color: var(--color-danger);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-danger);
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-cancel:hover {
    background: var(--color-danger);
    color: white;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--color-text-secondary);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-panel {
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.admin-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--color-bg-secondary);
    padding: 4px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.admin-tab {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-default);
}

.admin-tab:hover {
    color: var(--color-text-primary);
}

.admin-tab.active {
    background: var(--color-accent);
    color: white;
}

/* Admin Table */
.admin-table-container {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.admin-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--color-border);
}

.admin-table tr:hover td {
    background: rgba(0, 113, 227, 0.02);
}

/* Admin Buttons */
.btn-admin {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-edit {
    background: rgba(0, 113, 227, 0.1);
    color: var(--color-accent);
}

.btn-edit:hover {
    background: var(--color-accent);
    color: white;
}

.btn-delete {
    background: rgba(255, 59, 48, 0.1);
    color: var(--color-danger);
}

.btn-delete:hover {
    background: var(--color-danger);
    color: white;
}

.btn-add {
    background: var(--color-accent);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    margin-bottom: 16px;
}

.btn-add:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
}

/* Admin Form */
.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition-default);
    margin-bottom: 16px;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.admin-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 70px;
    right: 24px;
    z-index: 1100;
}

.toast {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    padding: 16px 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: toastSlideIn 0.3s ease-out;
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease-in forwards;
}

.toast-success {
    border-left: 4px solid var(--color-success);
}

.toast-error {
    border-left: 4px solid var(--color-danger);
}

.toast-warning {
    border-left: 4px solid var(--color-warning);
}

.toast-icon {
    font-size: 20px;
}

.toast-success .toast-icon { color: var(--color-success); }
.toast-error .toast-icon { color: var(--color-danger); }
.toast-warning .toast-icon { color: var(--color-warning); }

.toast-message {
    font-size: 14px;
    color: var(--color-text-primary);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
    padding: 40px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: var(--transition-default);
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

.footer-copyright {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-elevated);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.modal-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-body {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-modal-secondary {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-modal-secondary:hover {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
}

.btn-modal-primary {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: var(--color-accent);
    color: white;
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-modal-primary:hover {
    background: var(--color-accent-hover);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-card {
        position: static;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 20px 60px;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .order-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .auth-card {
        padding: 32px 24px;
    }
    
    .navbar-verifyhub .nav-links {
        display: none;
    }
    
    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .admin-table-container {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-detail-title {
        font-size: 28px;
    }
    
    .dashboard-title {
        font-size: 28px;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
