/* Modern Professional Dashboard - Premium Design System */

:root {
    /* Premium Color Palette */
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;

    /* Dark Theme */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1623;
    --bg-tertiary: #1a1f35;
    --bg-card: #14192b;

    /* Borders & Dividers */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-hover: rgba(59, 130, 246, 0.3);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-error: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.5); }

/* DASHBOARD LAYOUT */
.dashboard-page { background: var(--bg-primary); }
.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

/* SIDEBAR - Premium Style */
.sidebar {
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-500);
    box-shadow: var(--shadow-md);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.nav-item.logout {
    color: var(--error);
    margin-top: auto;
}

.nav-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

/* TOP BAR - Glass Morphism Effect */
.top-bar {
    background: rgba(15, 22, 35, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    flex: 1;
    max-width: 500px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.search-bar svg {
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.icon-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-500);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--error);
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.user-menu:hover {
    background: var(--bg-card);
    border-color: var(--border-color);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--primary-500);
    box-shadow: var(--shadow-md);
}

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

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* DASHBOARD CONTENT */
.dashboard-content {
    padding: 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* STATS GRID - Premium Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.stat-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: inherit;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
}

.stat-icon.purple { background: var(--gradient-primary); }
.stat-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.stat-icon.green { background: var(--gradient-success); }
.stat-icon.orange { background: var(--gradient-warning); }

.stat-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* QUICK LINKS SECTION - Ultra Modern */
.quick-links-section {
    margin-top: 3rem;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.link-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.link-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.link-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-xl);
}

.link-card:hover::before {
    transform: scaleY(1);
}

.link-card:hover::after {
    opacity: 1;
}

/* Platform Colors */
.link-card.youtube::before { background: linear-gradient(180deg, #FF0000, #CC0000); }
.link-card.zalo::before { background: linear-gradient(180deg, #0068FF, #0052CC); }
.link-card.telegram::before { background: linear-gradient(180deg, #0088cc, #006699); }
.link-card.aio::before { background: var(--gradient-primary); }
.link-card.magic::before { background: linear-gradient(180deg, #764ba2, #667eea); }

.link-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

.link-card.youtube .link-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.link-card.zalo .link-icon {
    background: rgba(0, 104, 255, 0.1);
    color: #0068FF;
    box-shadow: 0 8px 20px rgba(0, 104, 255, 0.3);
}

.link-card.telegram .link-icon {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.link-card.aio .link-icon {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.link-card.magic .link-icon {
    background: rgba(118, 75, 162, 0.1);
    color: #764ba2;
    box-shadow: 0 8px 20px rgba(118, 75, 162, 0.3);
}

.link-icon svg {
    width: 36px;
    height: 36px;
}

.link-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.link-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    transition: color 0.3s ease;
}

.link-card:hover .link-info h3 {
    color: var(--primary-500);
}

.link-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.link-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.link-card:hover .link-arrow {
    transform: translate(6px, -6px) rotate(45deg);
    box-shadow: var(--shadow-lg);
}

.link-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.link-card.youtube:hover .link-arrow { background: rgba(255, 0, 0, 0.15); }
.link-card.youtube:hover .link-arrow svg { color: #FF0000; }

.link-card.zalo:hover .link-arrow { background: rgba(0, 104, 255, 0.15); }
.link-card.zalo:hover .link-arrow svg { color: #0068FF; }

.link-card.telegram:hover .link-arrow { background: rgba(0, 136, 204, 0.15); }
.link-card.telegram:hover .link-arrow svg { color: #0088cc; }

.link-card.aio:hover .link-arrow { background: rgba(102, 126, 234, 0.15); }
.link-card.aio:hover .link-arrow svg { color: #667eea; }

.link-card.magic:hover .link-arrow { background: rgba(118, 75, 162, 0.15); }
.link-card.magic:hover .link-arrow svg { color: #764ba2; }

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .top-bar {
        padding: 1rem 1.5rem;
    }

    .dashboard-content {
        padding: 2rem 1.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .search-bar {
        max-width: 100%;
    }

    .top-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .top-bar-actions {
        justify-content: space-between;
    }
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.stat-card, .link-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }

/* Loading State */
.badge {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 2 COLUMN LAYOUT - Stats Left, Links Right */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.stats-column {
    position: sticky;
    top: 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.links-column {
    min-height: 100%;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Responsive - Stack on mobile */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-column {
        position: static;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* LOGIN PAGE - Premium Design */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    padding: 2rem;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.login-box {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 3rem;
}

.login-header .logo {
    display: inline-block;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-container input {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-600);
}

.btn-primary {
    width: 100%;
    padding: 1.125rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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


.signup-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.signup-link a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    color: var(--primary-600);
    text-decoration: underline;
}














    color: var(--primary-600);
}

/* Messages */
#login-message {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

#login-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#login-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Illustration Side */
.login-illustration {
    background: var(--gradient-primary);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-illustration::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.illustration-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.illustration-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.illustration-content > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    color: white;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

.feature-item svg {
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-illustration {
        display: none;
    }
    
    .login-box {
        padding: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .login-page {
        padding: 1rem;
    }
    
    .login-box {
        padding: 2rem 1.5rem;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
}

/* STATS GRID FULL WIDTH */
.stats-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* MAIN GRID - 3 Sections */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* SECTION HEADERS */
.content-section {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.section-header-inline h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header-inline h2 svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: var(--primary-500);
}

.view-all {
    font-size: 0.9rem;
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: var(--primary-600);
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.price {
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* POSTS LIST */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.post-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-item:hover {
    border-color: var(--primary-500);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    flex: 1;
    min-width: 0;
}

.post-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* COMPACT LINKS GRID */
.links-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.link-card-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-weight: 600;
}

.link-card-compact:hover {
    transform: translateX(4px);
    border-color: var(--primary-500);
    box-shadow: var(--shadow-md);
}

.link-icon-compact {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-card-compact:hover .link-icon-compact {
    transform: scale(1.1);
}

.link-card-compact.youtube .link-icon-compact { 
    background: rgba(255, 0, 0, 0.1); 
    color: #FF0000; 
}
.link-card-compact.zalo .link-icon-compact { 
    background: rgba(0, 104, 255, 0.1); 
    color: #0068FF; 
}
.link-card-compact.telegram .link-icon-compact { 
    background: rgba(0, 136, 204, 0.1); 
    color: #0088cc; 
}
.link-card-compact.aio .link-icon-compact { 
    background: rgba(102, 126, 234, 0.1); 
    color: #667eea; 
}
.link-card-compact.magic .link-icon-compact { 
    background: rgba(118, 75, 162, 0.1); 
    color: #764ba2; 
}

/* NO CONTENT */
.no-content {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .main-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .content-section:last-child {
        grid-column: 1 / -1;
    }
    
    .links-grid-compact {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {
    .stats-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid-compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-grid-full {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-thumb {
        width: 100%;
        height: 200px;
    }
}

/* SEARCH FUNCTIONALITY */
#dashboard-search {
    width: 100%;
}

/* CART BADGE FIX */
.icon-btn {
    position: relative;
}

.icon-btn .badge {
    position: absolute;
    top: -6px;
    right: -6px;
}

/* SINGLE POST LAYOUT */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* ARTICLE STYLES */
.article-single {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumbs .separator {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text-muted);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: var(--primary-500);
}

.article-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ARTICLE CONTENT */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 3rem 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.article-content h2 {
    font-size: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.article-content a {
    color: var(--primary-500);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-500);
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-500);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content code {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-500);
}

.article-content pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

/* TAGS */
.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.article-tags svg {
    flex-shrink: 0;
    color: var(--primary-500);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

/* SHARE BUTTONS */
.article-share {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.article-share h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* AUTHOR BIO */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin: 3rem 0;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-500);
}

.author-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.author-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* RELATED POSTS */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-posts h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.related-post-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumb img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-500);
    font-weight: 600;
}

/* SIDEBAR */
.sidebar-single {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.dashboard-widget {
    background: var(--gradient-primary);
    border: none;
}

.back-to-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-dashboard:hover {
    transform: translateY(-2px);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--primary-500);
    color: white;
    transform: translateX(4px);
}

.category-list .count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    margin-bottom: 1.25rem;
}

.recent-posts-list a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-posts-list a:hover {
    transform: translateX(4px);
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-item {
    padding: 0.5rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud-item:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar-single {
        position: static;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-container {
        padding: 1rem;
    }

    .article-single {
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }
}

/* SINGLE POST LAYOUT */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

/* ARTICLE STYLES */
.article-single {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumbs .separator {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text-muted);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: var(--primary-500);
}

.article-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ARTICLE CONTENT */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 3rem 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.article-content h2 {
    font-size: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.article-content a {
    color: var(--primary-500);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-500);
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary-500);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content code {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-500);
}

.article-content pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

/* TAGS */
.article-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.article-tags svg {
    flex-shrink: 0;
    color: var(--primary-500);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

/* SHARE BUTTONS */
.article-share {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.article-share h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* AUTHOR BIO */
.author-bio {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin: 3rem 0;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-500);
}

.author-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.author-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* RELATED POSTS */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-posts h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.related-post-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-thumb img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-500);
    font-weight: 600;
}

/* SIDEBAR */
.sidebar-single {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.dashboard-widget {
    background: var(--gradient-primary);
    border: none;
}

.back-to-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-dashboard:hover {
    transform: translateY(-2px);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--primary-500);
    color: white;
    transform: translateX(4px);
}

.category-list .count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.recent-posts-list {
    list-style: none;
}

.recent-posts-list li {
    margin-bottom: 1.25rem;
}

.recent-posts-list a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-posts-list a:hover {
    transform: translateX(4px);
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-item {
    padding: 0.5rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud-item:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar-single {
        position: static;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-container {
        padding: 1rem;
    }

    .article-single {
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }
}

/* WOOCOMMERCE CART & CHECKOUT STYLES */

.woo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.woo-header {
    margin-bottom: 3rem;
}

.woo-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* CART WRAPPER */
.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

/* CART ITEMS */
.cart-items-section {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-md);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-name a:hover {
    color: var(--primary-500);
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-item-price-mobile {
    display: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-500);
    margin-top: 0.5rem;
}

.cart-item-quantity {
    width: 120px;
}

.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity input[type="number"] {
    width: 60px;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
}

.cart-item-subtotal {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-500);
    min-width: 100px;
    text-align: right;
}

.cart-item-remove .remove-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    color: var(--error);
    transition: all 0.3s ease;
}

.cart-item-remove .remove-item:hover {
    background: var(--error);
    color: white;
    transform: scale(1.1);
}

/* CART ACTIONS */
.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* CART TOTALS */
.cart-totals-section {
    position: sticky;
    top: 2rem;
}

.cart-totals {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.cart-totals h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.totals-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.total-row span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.total-row.total-final {
    padding: 1.5rem 0;
    border-top: 2px solid var(--border-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.total-amount {
    font-size: 1.75rem;
    color: var(--primary-500);
}

.total-row.coupon {
    color: var(--success);
}

.remove-coupon {
    margin-left: 0.5rem;
    color: var(--error);
    text-decoration: none;
    font-weight: bold;
}

/* COUPON FORM */
.coupon-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.btn-coupon {
    padding: 0.875rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-coupon:hover {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

/* BUTTONS */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

.btn-secondary-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary-full:hover {
    border-color: var(--primary-500);
    color: var(--text-primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* CART EMPTY */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty svg {
    margin: 0 auto 2rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.cart-empty h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cart-empty p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* WOOCOMMERCE NOTICES */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.woocommerce-message {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.woocommerce-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-500);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-totals-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 1 / -1;
        width: 100%;
        text-align: left;
    }

    .cart-item-price-mobile {
        display: block;
    }

    .cart-item-remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .cart-item {
        position: relative;
        padding-right: 3rem;
    }

    .cart-actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .woo-container {
        padding: 1rem;
    }

    .woo-header h1 {
        font-size: 2rem;
    }

    .cart-items-section,
    .cart-totals {
        padding: 1.5rem;
    }
}

/* CHECKOUT PAGE STYLES */

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 2rem;
    align-items: start;
}

.checkout-details-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-section {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.checkout-section h2,
.checkout-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.checkout-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.checkout-fields {
    display: grid;
    gap: 1.25rem;
}

.checkout-fields .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-fields label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.checkout-fields label .required {
    color: var(--error);
    margin-left: 0.25rem;
}

.checkout-fields input[type="text"],
.checkout-fields input[type="email"],
.checkout-fields input[type="tel"],
.checkout-fields input[type="number"],
.checkout-fields textarea,
.checkout-fields select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.checkout-fields input:focus,
.checkout-fields textarea:focus,
.checkout-fields select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.checkout-fields textarea {
    min-height: 120px;
    resize: vertical;
}

.shipping-toggle {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.shipping-fields {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* CHECKOUT SUMMARY */
.checkout-summary-section {
    position: sticky;
    top: 2rem;
}

.checkout-summary {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.checkout-summary h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.order-review {
    margin-bottom: 2rem;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.order-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    min-width: 0;
}

.order-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.order-item-name .quantity {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.order-item-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-item-total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-500);
}

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* PAYMENT SECTION */
.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.payment-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-method:has(input:checked) {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    cursor: pointer;
}

.payment-method-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-method-name {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-icon img {
    height: 24px;
    width: auto;
}

.payment-method-description {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: none;
}

.payment-method:has(input:checked) .payment-method-description {
    display: block;
}

.terms-conditions {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.terms-conditions a {
    color: var(--primary-500);
    text-decoration: underline;
    font-weight: 600;
}

.terms-conditions a:hover {
    color: var(--primary-400);
}

.btn-place-order {
    margin-top: 1.5rem;
}

/* SHIPPING ROW */
.shipping-row .woocommerce-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shipping-row .woocommerce-shipping-methods li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shipping-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-summary-section {
        position: static;
    }
}

@media (max-width: 640px) {
    .checkout-section,
    .checkout-summary {
        padding: 1.5rem;
    }

    .order-item {
        grid-template-columns: 50px 1fr;
        gap: 0.75rem;
    }

    .order-item-image {
        width: 50px;
        height: 50px;
    }

    .order-item-total {
        grid-column: 1 / -1;
        text-align: left;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }
}

/* QUICK LINKS PRIORITY SECTION */
.quick-links-priority {
    margin: 2rem 0 3rem;
}

.section-header-priority {
    margin-bottom: 2rem;
}

.section-header-priority h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-header-priority h2 svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    color: var(--primary-500);
}

.section-header-priority p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 2.5rem;
}

.links-grid-priority {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.link-card-priority {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card-priority::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.link-card-priority:hover::before {
    opacity: 1;
}

.link-card-priority:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.link-icon-priority {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.link-content-priority {
    flex: 1;
    position: relative;
    z-index: 1;
}

.link-content-priority h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.link-content-priority p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* YouTube Styling */
.link-card-priority.youtube {
    border-color: rgba(255, 0, 0, 0.2);
}

.link-card-priority.youtube::before {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, transparent 100%);
}

.link-card-priority.youtube:hover {
    border-color: #FF0000;
}

.link-card-priority.youtube .link-icon-priority {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.link-card-priority.youtube:hover .link-icon-priority {
    background: #FF0000;
    color: white;
    transform: scale(1.1);
}

/* Zalo Styling */
.link-card-priority.zalo {
    border-color: rgba(0, 138, 230, 0.2);
}

.link-card-priority.zalo::before {
    background: linear-gradient(135deg, rgba(0, 138, 230, 0.1) 0%, transparent 100%);
}

.link-card-priority.zalo:hover {
    border-color: #008AE6;
}

.link-card-priority.zalo .link-icon-priority {
    background: rgba(0, 138, 230, 0.1);
    color: #008AE6;
}

.link-card-priority.zalo:hover .link-icon-priority {
    background: #008AE6;
    color: white;
    transform: scale(1.1);
}

/* Telegram Styling */
.link-card-priority.telegram {
    border-color: rgba(0, 136, 204, 0.2);
}

.link-card-priority.telegram::before {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, transparent 100%);
}

.link-card-priority.telegram:hover {
    border-color: #0088CC;
}

.link-card-priority.telegram .link-icon-priority {
    background: rgba(0, 136, 204, 0.1);
    color: #0088CC;
}

.link-card-priority.telegram:hover .link-icon-priority {
    background: #0088CC;
    color: white;
    transform: scale(1.1);
}

/* AIO Tools Styling */
.link-card-priority.aio {
    border-color: rgba(139, 92, 246, 0.2);
}

.link-card-priority.aio::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
}

.link-card-priority.aio:hover {
    border-color: #8B5CF6;
}

.link-card-priority.aio .link-icon-priority {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.link-card-priority.aio:hover .link-icon-priority {
    background: #8B5CF6;
    color: white;
    transform: scale(1.1);
}

/* Magic Tools Styling */
.link-card-priority.magic {
    border-color: rgba(236, 72, 153, 0.2);
}

.link-card-priority.magic::before {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, transparent 100%);
}

.link-card-priority.magic:hover {
    border-color: #EC4899;
}

.link-card-priority.magic .link-icon-priority {
    background: rgba(236, 72, 153, 0.1);
    color: #EC4899;
}

.link-card-priority.magic:hover .link-icon-priority {
    background: #EC4899;
    color: white;
    transform: scale(1.1);
}

/* Update main-grid to 2 columns */
.main-grid {
    grid-template-columns: 2fr 1fr !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .links-grid-priority {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .links-grid-priority {
        grid-template-columns: 1fr;
    }

    .link-card-priority {
        padding: 1.25rem;
    }

    .link-icon-priority {
        width: 52px;
        height: 52px;
    }

    .link-icon-priority svg {
        width: 28px;
        height: 28px;
    }

    .section-header-priority h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   UNIFIED LINK STYLES - Cart & Blog Pages
   ============================================ */

/* Global Link Styles - Applies to both WooCommerce and Blog */
.woocommerce a,
.woocommerce-page a,
.blog a,
.single-post a,
.archive a,
.page a {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.woocommerce a:hover,
.woocommerce-page a:hover,
.blog a:hover,
.single-post a:hover,
.archive a:hover,
.page a:hover {
    color: var(--primary-400, #60a5fa);
}

/* Link Underline Effect - Unified */
.woocommerce .entry-content a:not(.button),
.blog .entry-content a:not(.button),
.single-post .entry-content a:not(.button),
.woocommerce table.shop_table a,
.post-content a,
.article-content a {
    position: relative;
    padding-bottom: 2px;
}

.woocommerce .entry-content a:not(.button)::after,
.blog .entry-content a:not(.button)::after,
.single-post .entry-content a:not(.button)::after,
.woocommerce table.shop_table a::after,
.post-content a::after,
.article-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-500, #3b82f6);
    transition: width 0.3s ease;
}

.woocommerce .entry-content a:not(.button):hover::after,
.blog .entry-content a:not(.button):hover::after,
.single-post .entry-content a:not(.button):hover::after,
.woocommerce table.shop_table a:hover::after,
.post-content a:hover::after,
.article-content a:hover::after {
    width: 100%;
}

/* Button Styles - Unified across all pages */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.blog .button,
.single-post .button,
.wp-block-button__link,
a.btn,
button.btn,
.post-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-500, #3b82f6);
    color: white !important;
    border: none;
    border-radius: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.woocommerce a.button::after,
.woocommerce button.button::after,
.blog .button::after,
.wp-block-button__link::after {
    display: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.blog .button:hover,
.single-post .button:hover,
.wp-block-button__link:hover,
a.btn:hover,
button.btn:hover,
.post-navigation a:hover {
    background: var(--primary-600, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
    color: white !important;
}

.woocommerce a.button:active,
.woocommerce button.button:active,
.blog .button:active,
.wp-block-button__link:active {
    transform: translateY(0);
}

/* Alternative Button Styles */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.button.alt,
.btn-alt {
    background: var(--success, #10b981);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.button.alt:hover,
.btn-alt:hover {
    background: #059669;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
}

/* Secondary Button */
.button.secondary,
.btn-secondary {
    background: var(--slate-800, #1e293b);
    box-shadow: 0 4px 6px -1px rgba(30, 41, 59, 0.3);
}

.button.secondary:hover,
.btn-secondary:hover {
    background: var(--slate-700, #334155);
}

/* Breadcrumb Links - Unified */
.woocommerce .woocommerce-breadcrumb a,
.blog .breadcrumbs a,
.single-post .breadcrumbs a,
.breadcrumb a {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.blog .breadcrumbs a:hover,
.single-post .breadcrumbs a:hover,
.breadcrumb a:hover {
    color: var(--primary-400, #60a5fa);
}

/* Product & Post Title Links */
.woocommerce ul.products li.product a,
.woocommerce ul.products li.product h2,
.post-item a,
.product-card a {
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
.post-item:hover h3,
.product-card:hover h3 {
    color: var(--primary-500, #3b82f6);
}

/* Navigation Links - Unified */
.woocommerce nav.woocommerce-pagination a,
.blog .pagination a,
.single-post .pagination a,
nav.pagination a {
    background: var(--slate-900, #0f172a);
    border: 1px solid var(--slate-800, #1e293b);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.woocommerce nav.woocommerce-pagination a:hover,
.blog .pagination a:hover,
.single-post .pagination a:hover,
nav.pagination a:hover {
    background: var(--primary-500, #3b82f6);
    border-color: var(--primary-500, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.woocommerce nav.woocommerce-pagination span.current,
.blog .pagination span.current,
nav.pagination span.current {
    background: var(--primary-500, #3b82f6);
    border-color: var(--primary-500, #3b82f6);
    color: white;
}

/* Widget Links - Unified */
.woocommerce .widget a,
.blog .widget a,
.sidebar .widget a,
.widget_categories a,
.widget_recent_entries a,
.widget_archive a {
    color: var(--gray-400, #9ca3af);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.woocommerce .widget a:hover,
.blog .widget a:hover,
.sidebar .widget a:hover,
.widget_categories a:hover,
.widget_recent_entries a:hover,
.widget_archive a:hover {
    color: var(--primary-500, #3b82f6);
    padding-left: 0.5rem;
}

/* Menu/Navigation Links */
.woocommerce-sidebar .nav-item,
.sidebar-nav .nav-item,
.main-navigation a,
.menu a {
    color: var(--gray-400, #9ca3af);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-sidebar .nav-item:hover,
.sidebar-nav .nav-item:hover,
.main-navigation a:hover,
.menu a:hover {
    color: white;
}

.woocommerce-sidebar .nav-item.active,
.sidebar-nav .nav-item.active,
.main-navigation .current-menu-item a {
    color: white;
}

/* Table Links - Unified */
.woocommerce table.shop_table a {
    font-weight: 600;
}

/* Remove Link Icon/Arrow on Hover - Clean Style */
.woocommerce a:not(.button):not(.nav-item)::before,
.blog a:not(.button)::before {
    display: none;
}

/* Focus States for Accessibility */
.woocommerce a:focus,
.blog a:focus,
.single-post a:focus,
button:focus,
.button:focus {
    outline: 2px solid var(--primary-500, #3b82f6);
    outline-offset: 2px;
}

/* Remove default button outline */
.woocommerce button.button:focus,
.woocommerce a.button:focus {
    outline: 2px solid var(--primary-400, #60a5fa);
    outline-offset: 2px;
}

/* Post Meta Links (Author, Category, Tags) */
.post-meta a,
.entry-meta a,
.cat-links a,
.tags-links a {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-meta a:hover,
.entry-meta a:hover,
.cat-links a:hover,
.tags-links a:hover {
    color: var(--primary-400, #60a5fa);
}

/* Related Posts/Products Links */
.related.products a,
.related-posts a {
    text-decoration: none;
}

.related.products a:hover,
.related-posts a:hover {
    color: var(--primary-500, #3b82f6);
}

/* Comment Links */
.comment-author a,
.comment-reply-link {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-author a:hover,
.comment-reply-link:hover {
    color: var(--primary-400, #60a5fa);
}

/* Back to Top / Scroll Links */
.back-to-top,
.scroll-to-top {
    background: var(--primary-500, #3b82f6);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-to-top:hover,
.scroll-to-top:hover {
    background: var(--primary-600, #2563eb);
    transform: translateY(-4px);
}

/* Ensure consistent styling on both pages */
body.woocommerce a,
body.woocommerce-page a,
body.blog a,
body.single-post a,
body.archive a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Override any theme defaults that might conflict */
.woocommerce a:not(.button):not(.nav-item):not(.link-card),
.blog a:not(.button):not(.nav-item):not(.link-card),
.single-post a:not(.button):not(.nav-item):not(.link-card) {
    color: var(--primary-500, #3b82f6) !important;
}

.woocommerce a:not(.button):not(.nav-item):not(.link-card):hover,
.blog a:not(.button):not(.nav-item):not(.link-card):hover,
.single-post a:not(.button):not(.nav-item):not(.link-card):hover {
    color: var(--primary-400, #60a5fa) !important;
}

/* ============================================
   END UNIFIED LINK STYLES
   ============================================ */
/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

.woo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary, #030712);
    min-height: 100vh;
}

.woo-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

.woo-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.woo-header .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
}

.woo-header .breadcrumbs a {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.woo-header .breadcrumbs a:hover {
    color: var(--primary-400, #60a5fa);
}

.woo-header .breadcrumbs .separator {
    color: var(--text-muted, #64748b);
}

.woo-header .breadcrumbs .current {
    color: var(--text-primary, #f1f5f9);
}

/* Checkout Layout */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
    align-items: start;
}

.checkout-details-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-section {
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 20px;
    padding: 2.5rem;
}

.checkout-section h2,
.checkout-section h3 {
    color: var(--text-primary, #f1f5f9);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.checkout-fields {
    display: grid;
    gap: 1.5rem;
}

.checkout-fields .form-row {
    margin: 0;
}

.checkout-fields label {
    display: block;
    color: var(--text-secondary, #94a3b8);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.checkout-fields label .required {
    color: var(--error, #ef4444);
}

.checkout-fields input[type="text"],
.checkout-fields input[type="email"],
.checkout-fields input[type="tel"],
.checkout-fields textarea,
.checkout-fields select {
    width: 100%;
    background: var(--bg-tertiary, #1a1f35);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 12px;
    color: var(--text-primary, #f1f5f9);
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.checkout-fields input:focus,
.checkout-fields textarea:focus,
.checkout-fields select:focus {
    outline: none;
    border-color: var(--primary-500, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkout-fields textarea {
    min-height: 120px;
    resize: vertical;
}

.shipping-toggle {
    margin: 2rem 0 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary, #94a3b8);
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: var(--text-primary, #f1f5f9);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-500, #3b82f6);
}

.shipping-fields {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

/* Checkout Summary */
.checkout-summary-section {
    position: sticky;
    top: 2rem;
}

.checkout-summary {
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 20px;
    padding: 2.5rem;
}

.checkout-summary h2 {
    color: var(--text-primary, #f1f5f9);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.order-review {
    margin-bottom: 2rem;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

.order-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.order-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-tertiary, #1a1f35);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-item-name .quantity {
    color: var(--text-muted, #64748b);
    font-size: 0.85rem;
}

.order-item-meta {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.85rem;
}

.order-item-total {
    color: var(--primary-500, #3b82f6);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Order Totals */
.order-totals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary, #94a3b8);
    font-size: 0.95rem;
}

.total-row.total-final {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--border-color, rgba(148, 163, 184, 0.1));
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
}

.total-amount {
    color: var(--primary-500, #3b82f6);
    font-size: 1.5rem;
}

/* Payment Section */
.payment-section {
    margin: 2rem 0;
}

.payment-section h3 {
    color: var(--text-primary, #f1f5f9);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    background: var(--bg-tertiary, #1a1f35);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.payment-method:has(input:checked) {
    border-color: var(--primary-500, #3b82f6);
    background: rgba(59, 130, 246, 0.05);
}

.payment-method-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.payment-method-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-500, #3b82f6);
}

.payment-method-name {
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-method-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    color: var(--text-secondary, #94a3b8);
    font-size: 0.9rem;
    display: none;
}

.terms-conditions {
    background: var(--bg-tertiary, #1a1f35);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.terms-conditions a {
    color: var(--primary-500, #3b82f6);
    text-decoration: underline;
}

/* Checkout Buttons */
.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: white;
    border: none;
    border-radius: 14px;
    padding: 1.125rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.4);
    margin-bottom: 1rem;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(102, 126, 234, 0.5);
}

.btn-checkout:active {
    transform: translateY(0);
}

.btn-secondary-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--bg-tertiary, #1a1f35);
    color: var(--text-secondary, #94a3b8);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 14px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-full:hover {
    background: var(--bg-secondary, #0f1623);
    border-color: var(--border-hover, rgba(59, 130, 246, 0.3));
    color: var(--text-primary, #f1f5f9);
}

/* Cart Empty State */
.cart-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 20px;
}

.cart-empty svg {
    color: var(--text-muted, #64748b);
    margin-bottom: 2rem;
}

.cart-empty h3 {
    color: var(--text-primary, #f1f5f9);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cart-empty p {
    color: var(--text-secondary, #94a3b8);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-500, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-600, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-summary-section {
        position: static;
    }
}

@media (max-width: 640px) {
    .woo-container {
        padding: 1rem;
    }

    .checkout-section,
    .checkout-summary {
        padding: 1.5rem;
    }

    .woo-header h1 {
        font-size: 2rem;
    }
/* ============================================
   CLEAN BLOG LAYOUT - Simple & Professional
   ============================================ */

.blog-clean-wrapper {
    background: var(--bg-primary, #030712);
    min-height: 100vh;
    padding: 2rem 0;
}

.blog-clean-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Simple Header */
.blog-clean-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.blog-clean-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Clean Grid Layout - 3 Columns */
.blog-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Blog Card */
.blog-clean-card {
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-clean-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-500, #3b82f6);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* Thumbnail */
.blog-clean-thumb {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-tertiary, #1a1f35);
}

.blog-clean-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-clean-card:hover .blog-clean-thumb img {
    transform: scale(1.05);
}

/* Card Body */
.blog-clean-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta */
.blog-clean-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-clean-cat {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-500, #3b82f6);
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-clean-date {
    color: var(--text-muted, #64748b);
}

/* Post Title */
.blog-clean-post-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.blog-clean-post-title a {
    color: var(--text-primary, #f1f5f9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-clean-post-title a:hover {
    color: var(--primary-500, #3b82f6);
}

/* Excerpt */
.blog-clean-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Footer */
.blog-clean-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

.blog-clean-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary, #94a3b8);
    font-size: 0.9rem;
}

.blog-clean-author img {
    border-radius: 50%;
}

.blog-clean-link {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-clean-link:hover {
    color: var(--primary-400, #60a5fa);
    transform: translateX(4px);
}

/* Pagination */
.blog-clean-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
}

.blog-clean-pagination a,
.blog-clean-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 10px;
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-clean-pagination a:hover {
    background: var(--primary-500, #3b82f6);
    border-color: var(--primary-500, #3b82f6);
    color: white;
}

.blog-clean-pagination span.current {
    background: var(--primary-500, #3b82f6);
    border-color: var(--primary-500, #3b82f6);
    color: white;
}

/* Empty State */
.blog-clean-empty {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 16px;
}

.blog-clean-empty h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 1rem;
}

.blog-clean-empty p {
    font-size: 1.1rem;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 2rem;
}

.blog-clean-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-500, #3b82f6);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-clean-btn:hover {
    background: var(--primary-600, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-clean-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-clean-container {
        padding: 0 1.5rem;
    }

    .blog-clean-title {
        font-size: 2.5rem;
    }

    .blog-clean-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-clean-body {
        padding: 1.5rem;
    }

    .blog-clean-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-clean-title {
        font-size: 2rem;
    }

    .blog-clean-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
}

/* ============================================
   END CLEAN BLOG LAYOUT
   ============================================ */

/* Blog Subtitle */
.blog-clean-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 0.75rem;
}

/* Default Thumbnail */
.blog-clean-thumb-default {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary, #1a1f35);
    color: var(--text-muted, #64748b);
}

/* Blog Post Meta in Grid */
.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-500, #3b82f6);
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-date {
    color: var(--text-muted, #64748b);
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 1rem;
}

.blog-author-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary, #94a3b8);
    font-size: 0.85rem;
}

/* Sidebar Sub Items */
.nav-item-sub {
    font-size: 0.9rem;
    padding-left: 2.5rem;
}

.badge-small {
    margin-left: auto;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-500, #3b82f6);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Blog Pagination */
.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 8px;
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: var(--primary-500, #3b82f6);
    border-color: var(--primary-500, #3b82f6);
    color: white;
}

.blog-pagination span.current {
    background: var(--primary-500, #3b82f6);
    border-color: var(--primary-500, #3b82f6);
    color: white;
}

/* Single Post Styles */
.single-post-article {
    background: var(--bg-card, #14192b);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.post-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
}

.post-breadcrumbs a {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-breadcrumbs a:hover {
    color: var(--primary-400, #60a5fa);
}

.post-breadcrumbs .separator {
    color: var(--text-muted, #64748b);
}

.post-breadcrumbs .current {
    color: var(--text-muted, #64748b);
}

.single-post-header {
    margin-bottom: 3rem;
}

.post-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-500, #3b82f6);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 2rem;
}

.post-meta-bar {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-author-info img {
    border-radius: 50%;
    border: 2px solid var(--primary-500, #3b82f6);
}

.author-details {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary, #f1f5f9);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.author-name:hover {
    color: var(--primary-500, #3b82f6);
}

.post-meta-items {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
}

.meta-sep {
    color: var(--text-muted, #64748b);
}

.post-featured-image {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 3rem;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: var(--text-primary, #f1f5f9);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content h2 {
    font-size: 2rem;
}

.single-post-content h3 {
    font-size: 1.5rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-post-content li {
    margin-bottom: 0.75rem;
}

.single-post-content a {
    color: var(--primary-500, #3b82f6);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.single-post-content a:hover {
    color: var(--primary-400, #60a5fa);
    border-bottom-color: var(--primary-400, #60a5fa);
}

.single-post-content code {
    background: var(--bg-tertiary, #1a1f35);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-400, #60a5fa);
}

.single-post-content pre {
    background: var(--bg-tertiary, #1a1f35);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
}

.single-post-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary, #f1f5f9);
}

.post-tags-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-bottom: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    margin-bottom: 2rem;
}

.post-tags-section svg {
    color: var(--text-muted, #64748b);
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.post-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary, #1a1f35);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 999px;
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-tag:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-500, #3b82f6);
    color: var(--primary-500, #3b82f6);
}

.post-navigation-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary, #1a1f35);
    border: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-item:hover {
    border-color: var(--primary-500, #3b82f6);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.post-nav-item .nav-label {
    font-size: 0.85rem;
    color: var(--text-muted, #64748b);
    font-weight: 600;
}

.post-nav-item .nav-title {
    font-size: 1.05rem;
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
}

.post-nav-next {
    text-align: right;
}

.related-posts-section {
    margin-top: 4rem;
}

.related-posts-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 2rem;
}

.post-comments-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color, rgba(148, 163, 184, 0.1));
}

/* Responsive */
@media (max-width: 768px) {
    .single-post-article {
        padding: 2rem 1.5rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-navigation-section {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: left;
    }
}
/* Make stats cards smaller */
.stat-card {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: inherit;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
}

.stat-icon.purple { background: var(--gradient-primary); }
.stat-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.stat-icon.green { background: var(--gradient-success); }
.stat-icon.orange { background: var(--gradient-warning); }

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
/* ============================================
   LANDING PAGES STYLES
   ============================================ */

/* Landing Page Layout */
.landing-content {
    max-width: 100%;
    padding: 0;
}

/* Hero Section */
.landing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 3rem;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    border-radius: 24px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.landing-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.15));
}

/* Section Headers */
.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    margin-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.purple { background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%); color: white; }
.feature-icon.blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: white; }
.feature-icon.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; }
.feature-icon.orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); color: white; }
.feature-icon.red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; }
.feature-icon.cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); color: white; }
.feature-icon.gold { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); color: white; }
.feature-icon.amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.feature-icon.yellow { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); color: white; }

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Use Cases Section */
.usecases-section {
    margin-bottom: 5rem;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.usecase-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: #eab308;
    transform: translateY(-4px);
}

.usecase-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.usecase-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.usecase-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price .period {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-features li svg {
    color: #10b981;
    flex-shrink: 0;
    stroke-width: 3;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border-radius: 24px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Magic AI Specific Styles */
.magic-hero {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, rgba(249, 158, 11, 0.05) 100%);
}

.magic-hero::before {
    background: radial-gradient(circle at 30% 50%, rgba(234, 179, 8, 0.1) 0%, transparent 50%);
}

.magic-badge, .hero-badge.magic-badge {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(249, 158, 11, 0.15) 100%);
    border-color: rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.magic-hero h1 {
    background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary.magic-btn {
    background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
}

.btn-primary.magic-btn:hover {
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.4);
}

.magic-feature:hover {
    border-color: #eab308;
}

.pricing-card.magic-featured {
    border-color: #eab308;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, rgba(249, 158, 11, 0.05) 100%);
}

.pricing-badge.magic-badge-price {
    background: linear-gradient(135deg, #eab308 0%, #f59e0b 100%);
}

.cta-section.magic-cta {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1) 0%, rgba(249, 158, 11, 0.1) 100%);
    border-color: rgba(234, 179, 8, 0.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-hero {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .landing-hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* ============================================
   SOCIAL LOGIN STYLES
   ============================================ */

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--gray-400, #9ca3af);
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-700, #374151);
}

.login-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.social-login-buttons {
    margin-bottom: 1.5rem;
}

/* Style Nextend Social Login buttons */
.social-login-buttons .nsl-container {
    margin: 0 !important;
}

.social-login-buttons .nsl-container-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
}

.social-login-buttons .nsl-button {
    flex: 1 !important;
    max-width: none !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.social-login-buttons .nsl-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Google button styling */
.social-login-buttons .nsl-button-google {
    background: white !important;
    color: #333 !important;
    border: 1px solid var(--gray-300, #d1d5db) !important;
}

.social-login-buttons .nsl-button-google:hover {
    background: var(--gray-50, #f9fafb) !important;
    border-color: var(--gray-400, #9ca3af) !important;
}

/* Facebook button styling */
.social-login-buttons .nsl-button-facebook {
    background: #1877f2 !important;
    color: white !important;
}

.social-login-buttons .nsl-button-facebook:hover {
    background: #166fe5 !important;
}

/* Twitter/X button styling */
.social-login-buttons .nsl-button-twitter {
    background: #000000 !important;
    color: white !important;
}

.social-login-buttons .nsl-button-twitter:hover {
    background: #1a1a1a !important;
}

/* Icon styling */
.social-login-buttons .nsl-button-svg-container {
    margin-right: 0.5rem !important;
}

.social-login-buttons .nsl-button-label-container {
    font-size: 0.875rem !important;
}
/* Tool Showcase Cards */
.tool-showcase {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tool-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tool-card-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.tool-card-body {
    padding: 1.5rem;
}

.tool-card-body h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.tool-card-body p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-features li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.tool-features li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .tool-showcase {
        gap: 1rem;
    }
    
    .tool-card-header {
        padding: 1.5rem;
        min-height: 100px;
    }
}
