@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    /* Fintech Blue Palette (Trust & Modernity) */
    --primary-color: #2563EB;
    /* Royal Blue */
    --primary-hover: #1D4ED8;
    /* Deep Blue */
    --primary-light: #EFF6FF;
    /* Baby Blue Surface */

    /* Neutral Scales */
    --bg-color: #FFFFFF;
    /* Pure White Body */
    --bg-surface: #F8FAFC;
    /* Slate 50 for cards/sections */
    --text-main: #0F172A;
    /* Slate 900 - Sharp Black */
    --text-body: #475569;
    /* Slate 600 - Readable Gray */
    --text-muted: #94A3B8;
    /* Slate 400 */

    /* Borders & Depth */
    --border-color: #E2E8F0;
    /* Light Slate Border */
    --input-focus-ring: rgba(37, 99, 235, 0.2);

    /* Modern Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-family: 'Inter', sans-serif;
    /* Body Font */

    /* Radians */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll gaps */
}

body.fixed-header-offset {
    /* Prevent extra padding if not needed, or adjust */
    padding-top: 0;
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 1200px;
    height: 800px;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    margin: 20px;
}

/* Left Side - Form */
.login-card {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 550px;
    background: #fff;
    z-index: 2;
}

.brand-section {
    margin-bottom: 40px;
}

.brand-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.brand-section p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.input-group input {
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-family);
    transition: var(--transition);
    color: var(--text-main);
    background: #fdfdfd;
}

.input-group input::placeholder {
    color: #cbd5e1;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--input-focus-ring);
    background: #fff;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    accent-color: var(--primary-color);
}

.remember-me label {
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.login-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.signup-link {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Visual Side - Right */
.visual-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removing padding to let video touch edges if needed */
    overflow: hidden;
    background: transparent;
    /* Remove blue background */
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    /* Full Opacity */
    filter: none;
    /* No Filters */
}

/* Remove Dark Gradient Overlay - Show Original Video */
.visual-side::before {
    display: none;
    content: none;
}

.visual-content {
    color: white;
    max-width: 600px;
    position: relative;
    z-index: 10;
    text-align: center;
    /* Ensure centering */
}

.visual-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.visual-content p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
        height: auto;
        max-height: none;
    }

    .visual-side {
        display: none;
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 40px 30px;
    }
}

/* --- RESUME PAGE STYLES --- */

/* Sub-Navigation (Missing Fix) */
.sub-nav {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
    overflow-x: auto;
    /* Allow horizontal scroll on mobile */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.sub-nav::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar Chrome/Safari */

.sub-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    padding: 0 20px;
    margin: 0 auto;
    width: max-content;
    min-width: 100%;
}

.sub-nav a {
    display: block;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    padding: 20px 0;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Search & Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.search-wrapper {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    font-family: var(--font-family);
}

.search-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--input-focus-ring);
}

.view-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-btn {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary-color);
    color: white;
}

/* List View Overrides removed */

/* Tags & Buttons */
.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.tag.fresher {
    background: #dbf4ff;
    color: #0077b6;
}

.tag.experienced {
    background: #f3e8ff;
    color: #7e22ce;
}

.tag.career_change {
    background: #ffedd5;
    color: #c2410c;
}

.tag.book {
    background: #dbeafe;
    color: #2563eb;
}

.tag.mid_level {
    background: #f1f5f9;
    color: #475569;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--primary-hover);
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #eff6ff;
    text-decoration: none;
}

/* Compact Card Buttons */
.product-card .buttons {
    display: flex;
    gap: 8px;
    /* Tighter gap */
}

.product-card .buttons button,
.product-card .buttons a {
    padding: 8px 12px !important;
    /* Smaller padding */
    font-size: 13px !important;
    /* Smaller font */
    height: 36px;
    /* Fixed compact height */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex: 1;
    text-decoration: none !important;
}

.product-card .buttons .btn-secondary i {
    font-size: 14px;
    margin-right: 6px;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card.list-view {
        flex-direction: column;
        max-height: none;
    }

    .product-card.list-view .p-img {
        width: 100%;
        height: 160px;
    }
}

/* --- DASHBOARD STYLES --- */

.dashboard-body {
    background-color: #f1f5f9;
    height: auto;
    min-height: 100vh;
    display: block;
    overflow-y: auto;
    color: #1e293b;
}

/* Navbar */
/* Navbar - Premium Glass Style */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 72px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Mobile Toggle Hidden by Default */
.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    color: #1e293b;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

@media (max-width: 1100px) {
    .navbar {
        padding: 0 15px;
        /* Keep padding */
        justify-content: center;
        /* Center the Logo */
        position: sticky;
        /* Ensure context */
    }

    .nav-links,
    .DesktopOnly {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        left: 15px;
        /* Align to left as requested */
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        z-index: 10;
        padding: 5px;
    }

    .nav-brand {
        flex: 0 1 auto;
        /* Don't expand, just fit content */
        margin: 0 auto;
        /* Ensure centering */
        justify-content: center;
    }

    .nav-brand span {
        font-size: 16px !important;
        /* Smaller logo text on mobile */
    }

    .nav-profile {
        position: absolute;
        right: 15px;
        /* Keep profile on right */
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 480px) {
    .nav-profile {
        gap: 5px;
    }

    .nav-cart-link i {
        font-size: 16px;
    }
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    /* Extra Bold */
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 2px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 24px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Mobile Drawer Menu */
/* Mobile Drawer Menu - Premium Redesign */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    /* Ensure it's above everything */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    /* Wider drawer like native apps */
    max-width: 320px;
    height: 100dvh;
    background: #ffffff !important;
    z-index: 100000;
    /* Ensure it's above overlay and everything else */
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer.active {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
}

/* Quick Access Grid */
.menu-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.mobile-grid-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.mobile-grid-icons .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.mobile-grid-icons .icon-box {
    width: 42px;
    height: 42px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    transition: 0.2s;
}

.grid-item:active .icon-box {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: scale(0.95);
}

.menu-divider {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 10px 0 25px 0;
    width: 100%;
}

/* Vertical Links List */
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    /* Tighter gap */
}

.mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
    text-align: left;
}

.mobile-menu-links a i {
    width: 20px;
    color: #64748b;
    font-size: 16px;
    text-align: center;
}

.mobile-menu-links a:active,
.mobile-menu-links a:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.mobile-menu-links a:active i {
    color: var(--primary-color);
}

/* Socials */
.mobile-socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.social-icon:active {
    transform: scale(0.9);
}

/* Sticky Footer (Profile) */
.mobile-menu-footer {
    padding: 16px 20px;
    background: #fffbeb;
    /* Light yellow warm bg */
    border-top: 1px solid #fef3c7;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.mobile-menu-footer .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mobile-menu-footer .avatar-circle {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.mobile-menu-footer .avatar-circle.guest {
    background: #cbd5e1;
    color: #fff;
}

.mobile-menu-footer .user-text {
    display: flex;
    flex-direction: column;
}

.mobile-menu-footer .welcome {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.mobile-menu-footer .action-link {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.mobile-menu-footer .full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.nav-profile {
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.user-initials-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #eab308, #e879f9);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-right: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    letter-spacing: 1px;
}

/* Premium Page Header (Integrated with Navbar) */
.premium-page-header {
    background: #EEF4FF;
    border-bottom: 1px solid #D6E0FF;
    padding: 32px 0 28px 0;
    transition: all 0.3s ease;
}

.premium-page-header .header-container {
    max-width: 1600px;
    /* Increased from 1300px */
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 1100px) {
    .premium-page-header .header-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .premium-page-header .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .premium-page-header h1 {
        font-size: 22px;
    }
}

.premium-page-header .header-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.premium-page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.03em;
}

.premium-page-header .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 10px 16px;
    background: white;
    border: 1px solid #D6E0FF;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.premium-page-header .btn-back:hover {
    color: var(--primary-color);
    background: #F8FAFF;
    border-color: #B2C5FF;
    transform: translateY(-1px);
}

.premium-page-header .header-tag {
    background: #D6E0FF;
    color: #2563EB;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Favorites Heart Icon */
.p-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: 0.3s;
    border: none;
    color: #64748b;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn.favorited {
    color: #ef4444;
}

/* Global Toast Notifications */
.bmq-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b !important;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 100000;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.bmq-toast.show {
    bottom: 40px;
    opacity: 1;
}

.logout-btn {
    padding: 8px 16px;
    color: #ef4444;
    border: 1px solid #fee2e2;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #fef2f2;
}

/* Hero Section */
/* Modern Hero Section (Static, No Slider) */
.hero-section-new {
    background: #ffffff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    line-height: 1.15;
    color: var(--text-main);
    letter-spacing: -1.5px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-text p {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 32px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Rize Style Buttons */
.btn-primary-rize {
    background: var(--primary-color);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-primary-rize:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.25);
}

.btn-outline-rize {
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-rize:hover {
    border-color: var(--text-main);
    background: var(--bg-surface);
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.cat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

/* Inline Edit Row Refinements */

/* Interview Help Tabs and Cards */
.int-tab {
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 12px;
    position: relative;
    transition: 0.3s;
}

.int-tab:hover {
    color: #1e293b;
}

.int-tab.active {
    color: #9333ea;
    font-weight: 600;
}

.int-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9333ea;
}

/* Document Card Design */
.doc-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.doc-header {
    height: 200px;
    /* Increased height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.doc-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.doc-title {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-sub {
    font-size: 11px;
    color: #475569;
    line-height: 1.4;
    max-width: 90%;
}

.doc-body {
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doc-name {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.doc-info {
    margin-bottom: 15px;
    /* Space for ratings */
    display: flex;
    gap: 10px;
    align-items: center;
}

.doc-price-row {
    margin-bottom: 15px;
    font-size: 15px;
}

.doc-price-old {
    text-decoration: line-through;
    color: #94a3b8;
    margin-right: 8px;
}

.doc-price-new {
    font-weight: 700;
    color: #1e293b;
}

.btn-doc-outline {
    width: 100%;
    padding: 10px;
    border: 1px solid #ec4899;
    color: #ec4899;
    background: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: auto;
    text-transform: capitalize;
}

.btn-doc-outline:hover {
    background: #fdf2f8;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 20px;
}

/* Icon Colors */
.icon-box.blue {
    background: #dbeafe;
    color: #2563eb;
}

.icon-box.green {
    background: #dcfce7;
    color: #16a34a;
}

.icon-box.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.icon-box.orange {
    background: #ffedd5;
    color: #ea580c;
}

.icon-box.red {
    background: #fee2e2;
    color: #dc2626;
}

.icon-box.teal {
    background: #ccfbf1;
    color: #0d9488;
}

.icon-box.gray {
    background: #e2e8f0;
    color: #475569;
}

.cat-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cat-card p {
    font-size: 13px;
    color: #64748b;
}

/* Products Row (Grid) */
.products-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Grid View Card - Image Height Fix */
.product-card:not(.list-view) .p-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card:not(.list-view) .p-img i {
    opacity: 0.6;
    color: #1e293b;
}

/* List View Image */
.product-card.list-view .p-img {
    width: 200px;
    height: 100%;
    border-right: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.p-img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.p-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
    min-height: 40px;
    /* specific height for title alignment */
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-info p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 72px;
    /* Fixed height ~4 lines */
}

.p-info .price-box {
    margin-top: auto;
    /* Push to bottom */
}

.p-info .price {
    font-size: 18px;
    font-weight: 700;
    color: #2563EB;
}

/* Ensure card stretches in grid */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fill grid cell */
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .search-bar {
        width: 100%;
    }

    .products-row {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns like FarmDidi */
        gap: 12px;
        /* Smaller gap */
    }

    .product-card .p-info {
        padding: 12px;
    }

    .product-card .p-info h4 {
        font-size: 14px;
        /* Smaller title */
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .product-card .p-info p {
        display: none;
        /* Hide Description on Mobile */
    }

    .product-card .rating-row {
        margin-bottom: 5px !important;
        font-size: 11px;
    }

    .product-card .rating-row .stars {
        font-size: 11px !important;
    }

    .product-card .buttons .btn-secondary {
        padding: 6px 10px;
        font-size: 12px;
    }

    .product-card .buttons .btn-primary {
        padding: 6px 10px;
        font-size: 12px;
    }

    .product-card .buttons i {
        display: none;
        /* Hide icons in buttons to save space */
    }

    .product-card .p-img {
        height: 140px !important;
        /* Shorter image */
    }
}

/* Sub-Page Header (Back Arrow) */
.sub-page-header {
    background: white;
    padding: 0 40px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
}

.back-btn:hover {
    color: var(--primary-color);
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

/* Compensate for Fixed Header */
.apply-container,
.job-detail-container {
    padding-top: 80px;
}

/* .fixed-header-offset removed to prevent double spacing with sticky navbar */

/* Profile Dropdown Styles */
.profile-dropdown-container {
    position: relative;
    margin-left: 15px;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.profile-trigger:hover {
    background: #f1f5f9;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    object-fit: cover;
}

.profile-dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown-container.active .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.user-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.user-info p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
}

.dropdown-section {
    padding: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 8px 12px 4px;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

.dropdown-item i {
    font-size: 14px;
    width: 20px;
    text-align: center;
    color: #64748b;
}

.dropdown-item:hover i {
    color: #2563eb;
}

.create-team-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.create-team-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.dropdown-footer {
    padding: 8px;
    background: #f8fafc;
}

.dropdown-footer .dropdown-item {
    color: #334155;
    font-weight: 500;
}

.dropdown-footer .logout-item {
    color: #dc2626;
}

.dropdown-footer .logout-item:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-footer .logout-item i {
    color: #ef4444;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Account Settings Page Styles - Premium Refinement */
.settings-container {
    background: white;
    border-radius: 16px;
    /* Softer corners */
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.08);
    /* More diffuse shadow */
    padding: 48px;
    /* More whitespace */
}

.settings-section {
    display: flex;
    padding: 32px 0;
    /* More breathing room */
    align-items: center;
    /* Better vertical alignment */
}

.section-label {
    width: 240px;
    /* More defined label column */
    font-weight: 600;
    color: #0f172a;
    /* Darker, crisper text */
    font-size: 15px;
}

.settings-content {
    flex: 1;
}

/* Profile Photo Area - Tighten and Align */
.profile-photo-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.profile-avatar-large {
    width: 96px;
    /* Slightly larger */
    height: 96px;
    border-radius: 50%;
    background: #e2e8f0;
    /* Softer placeholder bg */
    color: #475569;
    font-size: 32px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle inner ring */
}

.photo-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Button Refinements */
.btn-outline-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    /* Larger hit area */
    border-radius: 50px;
    /* Pill shape */
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -1px rgba(37, 99, 235, 0.3);
}

.btn-text {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-text.text-danger {
    color: #ef4444;
}

.btn-text.text-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Inline Edit Row Refinements */
.inline-edit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
}

/* Edit State Toggles */
.inline-edit-row.editing .display-value,
.inline-edit-row.editing .edit-actions {
    display: none !important;
}

.inline-edit-row.editing .edit-form {
    display: flex !important;
    /* Override inline style */
}

/* Ensure edit form items align */
.edit-form {
    display: none;
    /* Default state matching HTML inline style just in case */
    gap: 12px;
    align-items: center;
    width: 100%;
}

.display-value {
    color: #334155;
    font-size: 16px;
    font-weight: 400;
}

.btn-text.edit-btn {
    color: #2563eb;
    font-weight: 600;
}

.btn-text.edit-btn:hover {
    background: #eff6ff;
    text-decoration: none;
}

/* Form Elements */
.inline-input {
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    width: 320px;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.inline-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.settings-select {
    padding: 12px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    background: white;
    cursor: pointer;
    font-family: inherit;
    min-width: 240px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.settings-select:hover {
    border-color: #94a3b8;
}

.settings-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-buttons {
    display: flex;
    gap: 12px;
}

.btn-primary.save-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 50px;
    background: #2563eb;
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary.save-btn:hover {
    background: #1d4ed8;
}

.btn-text.cancel-btn {
    color: #64748b;
}

.btn-text.cancel-btn:hover {
    color: #475569;
    background: #f1f5f9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .settings-section {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .section-label {
        width: 100%;
        padding-top: 0;
        margin-bottom: 5px;
    }

    .inline-input {
        width: 100%;
    }

    .inline-edit-row.editing .edit-form {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Premium Account Settings Styles --- */

.premium-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-section-header {
    background: #f8fafc;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.card-section-header h3 {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.setting-row {
    display: flex;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
    min-height: 80px;
}

.setting-row:last-child {
    border-bottom: none;
}

.setting-row:hover {
    background-color: #fdfdfd;
}

.row-info {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row-info label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.row-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.row-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    /* Push edit button to far right logic if needed */
}

/* Specific styling for the Photo Row */
.profile-photo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.photo-btn-group {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 20px;
}

.btn-secondary-sm {
    background: white;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary-sm:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

.btn-text-danger-sm {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
}

.btn-text-danger-sm:hover {
    background: #fef2f2;
    border-radius: 6px;
}

.display-value {
    font-size: 15px;
    color: #0f172a;
    font-weight: 500;
}

.edit-icon-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 0.8;
}

.setting-row:hover .edit-icon-btn {
    opacity: 1;
    border-color: #cbd5e1;
}

.edit-icon-btn:hover {
    color: #2563eb;
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Small Form Buttons */
.btn-primary-sm {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.btn-primary-sm:hover {
    background: #1d4ed8;
}

.btn-text-sm {
    background: none;
    border: none;
    color: #64748b;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.btn-text-sm:hover {
    background: #f1f5f9;
    border-radius: 6px;
    color: #334155;
}

/* Edit Mode Overrides for New Structure */
.inline-edit-row.editing .edit-icon-btn {
    display: none;
}

.clean-select {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #0f172a;
    background: white;
    min-width: 200px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.clean-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .setting-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .row-info {
        width: 100%;
        margin-bottom: 8px;
    }

    .row-content {
        width: 100%;
        justify-content: space-between;
    }

    .photo-btn-group {
        margin-left: 0;
    }

    .edit-icon-btn {
        position: absolute;
        right: 20px;
        top: 20px;
        /* Adjust positioning */
    }

    .premium-card {
        border-radius: 8px;
        /* Slightly less round on mobile */
    }
}

/* =========================================
   PREMIUM DARK MODE (Slate Theme)
   ========================================= */
[data-theme="dark"] {
    --bg-color: #0f172a;
    /* Slate 900 */
    --card-bg: #1e293b;
    /* Slate 800 */
    --text-main: #f1f5f9;
    /* Slate 100 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --border-color: #334155;
    /* Slate 700 */
    --input-bg: #1e293b;
    --hover-bg: #334155;
}

[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* Navbar & Header */
[data-theme="dark"] .navbar {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    box-shadow: none;
}

[data-theme="dark"] .nav-brand {
    color: #60a5fa;
    /* Lighter Blue */
}

/* Premium Card Overrides */
[data-theme="dark"] .premium-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .card-section-header {
    background: #0f172a;
    border-bottom-color: #334155;
}

[data-theme="dark"] .card-section-header h3 {
    color: #94a3b8;
}

[data-theme="dark"] .setting-row {
    border-bottom-color: #334155;
}

[data-theme="dark"] .setting-row:hover {
    background-color: #1e293b;
    /* Keep same or slightly lighter */
}

[data-theme="dark"] .row-info label {
    color: #f1f5f9;
}

[data-theme="dark"] .display-value {
    color: #f8fafc;
}

/* Inputs & Selects */
[data-theme="dark"] .clean-select,
[data-theme="dark"] .inline-input,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .clean-select:focus,
[data-theme="dark"] .inline-input:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2) !important;
}

/* Buttons */
[data-theme="dark"] .btn-secondary-sm,
[data-theme="dark"] .edit-icon-btn {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .btn-secondary-sm:hover,
[data-theme="dark"] .edit-icon-btn:hover {
    background: #334155;
    color: white;
    border-color: #475569;
}

/* Modals */
[data-theme="dark"] .modal-content {
    background: #1e293b !important;
    border: 1px solid #334155;
    color: #f1f5f9;
}

[data-theme="dark"] .modal-content h2 {
    color: white;
}

[data-theme="dark"] #closeModal {
    color: #94a3b8;
}

[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .profile-dropdown-menu {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dropdown-header {
    border-bottom-color: #334155;
}

[data-theme="dark"] .dropdown-section {
    border-bottom-color: #334155;
}

[data-theme="dark"] .dropdown-item {
    color: #cbd5e1;
}

[data-theme="dark"] .dropdown-item:hover {
    background: #334155;
    color: white;
}

[data-theme="dark"] .dropdown-footer {
    background: #0f172a;
    border-top: 1px solid #334155;
}

[data-theme="dark"] .user-info h4 {
    color: white;
}

[data-theme="dark"] .user-info p {
    color: #94a3b8;
}

/* Help Page Specifics */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom-color: #334155;
}

[data-theme="dark"] .hero h1 {
    color: white;
}

[data-theme="dark"] .hero p {
    color: #cbd5e1;
}

[data-theme="dark"] .cat-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .cat-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .cat-card:hover {
    border-color: #60a5fa;
    background: #1e293b;
}

[data-theme="dark"] .accordion-item {
    border-bottom-color: #334155;
}

[data-theme="dark"] .accordion-header {
    color: #cbd5e1;
}

[data-theme="dark"] .accordion-item.active .accordion-header {
    color: #60a5fa;
}

[data-theme="dark"] .search-input {
    background: #1e293b;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .dashboard-body {
    background-color: #0f172a;
    color: #f8fafc;
}

[data-theme="dark"] .main-container h1,
[data-theme="dark"] .main-container p,
[data-theme="dark"] .section-header h2 {
    color: #f8fafc !important;
}

/* Global scrollbar for dark mode */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #0f172a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #334155;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* --- NEW: Wishlist & Cart Enhancements --- */

/* Navbar Icons & Badges */
.nav-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #E0EAFF;
    border-radius: 50%;
    color: #334155 !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-cart-link:hover {
    transform: translateY(-2px);
    background: #D6E0FF;
    color: #1e293b !important;
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
    opacity: 0;
    transform: scale(0);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Show badge if active */
.badge-count[style*='display: flex'] {
    opacity: 1;
    transform: scale(1);
}

/* Wishlist Heart Button States */
.favorite-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.favorite-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    transform: scale(1.1);
}

.favorite-btn.favorited {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

/* Animations */
@keyframes bounceHeart {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4);
    }

    80% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-anim {
    animation: bounceHeart 0.5s ease forwards;
}

@keyframes shakeCart {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-5deg);
    }
}

.shake-anim {
    animation: shakeCart 0.5s ease;
    color: #2563eb !important;
}

/* Add to Cart Morphing */
.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.success-btn {
    background-color: #10b981 !important;
    /* Green */
    color: white !important;
    border-color: #10b981 !important;
    pointer-events: none;
}

/* Global Toast */
.global-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #1e293b;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    font-weight: 600;
    font-size: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0;
    border-left: 4px solid #10b981;
}

.global-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.global-toast.info {
    border-left-color: #3b82f6;
}

.global-toast i {
    font-size: 18px;
}

.global-toast.info i {
    color: #3b82f6;
}

.global-toast.success i {
    color: #10b981;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 8px;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 25px;
}

/* =========================================
   Techflux Slider Systems
   ========================================= */

/* --- Hero Slider (Auto-Sliding) --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 0 !important;
}

/* Wait, replace_file_content requires contiguous block. I will replace the two blocks separately or use multi_replace.
No, I can use multi_replace interaction.
Actually, I'll use multi_replace_file_content since the blocks are far apart (lines 2112 vs 2312).
Wait, the tool calling instructions say:
"To edit multiple, non-adjacent lines [...] use the multi_replace_file_content tool".

So I will use multi_replace_file_content.
*/

.hero-slider-wrapper {
    display: flex;
    width: 300%;
    /* 3 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.slider-nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dot.active {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    width: 30px;
    border-radius: 12px;
}

/* --- Card Sliders (Manual Horizontal Scroll) --- */
.section-slider-wrapper {
    padding: 10px 0 40px 0;
}

.card-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.card-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.card-slide-item {
    min-width: 300px;
    max-width: 300px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Update Tech Card for Slider context */
.tech-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* No darkening of image */
}

/* MANDATORY IMAGE RULES */
.tech-card-img {
    width: 100%;
    height: 320px;
    /* Fixed height as requested */
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    filter: none !important;
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}

/* INFO SECTION RULES */
.tech-card-info {
    flex: 1;
    /* Take remaining space */
    padding: 20px;
    background: rgba(15, 23, 42, 0.85);
    /* Semi-transparent dark */
    backdrop-filter: blur(12px);
    /* Glass effect ONLY here */
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tech-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.tech-card p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #94a3b8;
    /* text-muted */
    line-height: 1.5;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-tag {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
    /* Using cyan/blue as requested for premium SaaS feel */
}

.view-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    /* Sky blue */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn:hover {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}

/* --- VALUE INTRO SECTION --- */
.value-intro-section {
    width: 100%;
    margin-top: 0 !important;
    /* Immediately below hero slider */
    background: linear-gradient(180deg, #0f172a 0%, #1e40af 100%);
    /* Dark to Blue Gradient */
    padding: 0 20px 100px 20px !important;
    /* Top padding 0 as requested */
    color: white;
    position: relative;
    overflow: hidden;
}

.value-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* TOP CONTENT */
.value-intro-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.value-content-card {
    flex: 1;
    /* Glassmorphism Styles */
    background: rgba(255, 255, 255, 0.05);
    /* Very transparent white */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    /* Smooth large rounding */
    padding: 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Add a subtle gradient overlay to the card */
.value-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(255, 255, 255, 0.0) 100%);
    z-index: -1;
    border-radius: 32px;
}

.site-url {
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: 24px;
    font-family: var(--font-family);
    letter-spacing: 1.5px;
    font-weight: 500;
    text-transform: lowercase;
}

.value-content-card h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    /* Ensure text is sharp white */
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.value-content-card p.uppercase-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    max-width: 90%;
}

.btn-primary-glow {
    background: white;
    color: #0f172a;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border: none;
    display: inline-block;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    background: #f8fafc;
}

.value-illustration {
    flex: 1.2;
    /* Give illustration slightly more space */
    display: flex;
    justify-content: flex-end;
    /* Align to right */
    align-items: center;
    position: relative;
}

.value-illustration img {
    width: 120%;
    /* Make it BIG */
    max-width: 700px;
    height: auto;
    display: block;
    opacity: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    /* Soft shadow for depth */
    transform: scale(1.1);
    /* Slight zoom for impact */
    margin-right: -40px;
    /* Pull slightly to edge */
}

/* CENTER STATEMENT */
.value-center-statement {
    text-align: center;
    margin: 40px 0;
}

.value-center-statement h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    letter-spacing: -0.5px;
}

.emphasis-line {
    font-size: 32px;
    font-weight: 700;
    color: #38bdf8;
    /* Cyan/Light Blue emphasis */
    position: relative;
    display: inline-block;
}

.emphasis-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #38bdf8;
    border-radius: 2px;
}

/* PROBLEM CARDS GRID */
.problem-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    /* Glassmorphism Effect - Refined */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Subtle inner glow for the cards */
.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.problem-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.4);
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f1f5f9;
    line-height: 1.4;
}

.problem-card p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .value-intro-top {
        flex-direction: column-reverse;
        /* Stack content */
        flex-direction: column;
        text-align: center;
    }

    .value-content-card {
        align-items: center;
    }

    .problem-cards-grid {
        grid-template-columns: 1fr;
    }

    .value-content-card h1 {
        font-size: 36px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

/* --- PACKAGES SECTION --- */
.packages-section-wrapper {
    margin-top: 0;
    /* Removed extra margin, relying on parent flex gap */
    width: 100%;
    position: relative;
    z-index: 2;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.4);
    backdrop-filter: blur(20px);
}

.pkg-header {
    margin-bottom: 25px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.pkg-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-features li {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.pkg-features li i {
    color: #38bdf8;
    margin-top: 4px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .packages-section-wrapper {
        margin-top: 60px;
    }
}

/* --- NEW PREMIUM CARD STYLES (Step 89) --- */

/* Slider Container */
.card-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 30px;
    /* Space for shadow */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    padding-left: 5px;
    /* Alignment fix */
}

.card-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome */
}

/* Card Item wrapper for snap */
.card-slide-item {
    scroll-snap-align: start;
    flex: 0 0 320px;
    /* Fixed width for consistency */
    display: flex;
}

/* Premium Tech Card */
.tech-card {
    background: rgba(30, 41, 59, 0.7);
    /* Dark semi-transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For isolation */
    z-index: 10;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* Stronger shadow */
    border-color: rgba(255, 255, 255, 0.25);
}

/* Image Handling - STRICT ISOLATION */
.tech-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    /* Removed inline-block gaps */
}

/* Card Content */
.tech-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* Typography */
.tech-card h3 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.02em;
}

.tech-card p {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Badges */
.badge-pill {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-trending {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-hot {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-new {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Rating */
.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.stars {
    color: #facc15;
}

/* Footer Actions */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-display {
    display: flex;
    flex-direction: column;
}

.price-tag {
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.price-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

/* CTA Buttons */
.btn-primary-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-gradient:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Section Header - Premium Pill Style */
.section-header-pill {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(15, 23, 42, 0.6);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.section-title-wrapper h2 {
    margin: 0;
    font-size: 20px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
}

.view-all-link:hover {
    color: white;
    transform: translateX(5px);
}


/* Slider Navigation Controls */
.slider-nav-controls {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 12px;
}

.nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Update header alignment */
.section-header-pill {
    /* Ensure flex alignment */
    padding-right: 10px;
    /* Space for view all */
}


/* --- PREMIUM FOOTER STYLE (Step 139) --- */
.premium-footer {
    background: linear-gradient(180deg, #1e3a8a 0%, #0f172a 100%);
    /* Smooth transition from section above */
    margin-top: 0 !important;
    /* Force no gap */
    padding: 80px 0 40px;
    color: #cbd5e1;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Glassmorphic Column Styling (Optional, but clean) */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Brand Column */
.footer-brand h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.copyright {
    font-size: 12px;
    opacity: 0.5;
    margin-top: auto;
}

/* Headers */
.footer-col h3 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(4px);
}

/* Finder Us Online (Socials) */
.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Trust Badges */
.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.trust-badge span {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    font-size: 20px;
    justify-content: center;
    color: white;
    margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}