/* ClickVCard Design System */

/* Industry Cards */
.industry-card {
    height: 320px;
    background: #f1f5f9;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover img {
    transform: scale(1.1);
}

.industry-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.industry-card:hover .industry-hover-overlay {
    opacity: 1;
}

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
html,
body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 40px;
    /* Balanced offset */
}

@media (max-width: 991px) {
    body {
        padding-top: 65px;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradient Background */
.bg-gradient-mesh {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-mesh::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    z-index: 0;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(99, 102, 241, 0.5);
}

/* App-like Touch Feedback */
.btn:active,
.nav-link:active,
.mobile-bottom-nav a:active,
.hover-lift:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease-out !important;
}

.shadow-premium {
    box-shadow: var(--shadow-premium) !important;
}

/* Typography */
.text-gradient {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
    /* Fallback for browsers that don't support text-gradient */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #0f172a;
}

/* Buttons */
.btn-premium {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: pulse-gradient 5s ease infinite;
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 50px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: var(--transition);
}

.btn-premium:hover::before {
    opacity: 0.6;
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid #4338ca;
    color: #4338ca;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-premium:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* Sections */
.section-padding {
    padding: 60px 0;
}

/* Navbar */
.navbar {
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    /* Increased to ensure it stays above all content */
    background: rgba(255, 255, 255, 0.95);
    /* Ensure it has a background even before scroll */
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    padding: 10px 15px !important;
    margin: 0 5px;
    transition: var(--transition);
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .navbar .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-brand span {
        font-size: 1.15rem !important;
        letter-spacing: -0.5px;
    }

    .navbar-brand {
        margin-left: 0 !important;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #6366f1 !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.nav-link.active {
    color: #6366f1 !important;
    font-weight: 600;
}

.nav-link i {
    font-size: 0.85rem;
    margin-right: 8px;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover i {
    opacity: 1;
    transform: translateY(-1px);
}

/* Navbar Toggler Custom */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    display: block;
    width: 100%;
    height: 2px;
    background: #1e293b;
    position: absolute;
    left: 0;
    transition: .25s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1e293b;
    left: 0;
    transition: .25s ease-in-out;
}

.navbar-toggler-icon {
    top: 11px;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler.active .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(135deg);
}

.navbar-toggler.active .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero-content {
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Prevent text overflow issues */
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    /* Added to prevent hero-glow from causing horizontal scroll */
}

.hero-mockup {
    max-width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }

    .hero-content {
        text-align: center;
        padding: 0 10px;
    }

    .hero-content .badge {
        margin-bottom: 20px !important;
    }

    .hero-content .lead {
        font-size: 0.95rem !important;
        padding-right: 0 !important;
        line-height: 1.5;
    }

    .btn-premium,
    .btn-outline-premium {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 100px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .hero-content {
        margin-top: 5px;
        margin-bottom: 30px;
    }

    .hero-image-wrapper {
        margin-top: 20px;
        margin-bottom: 40px;
        padding: 0 5px;
    }

    /* Trust Bar Mobile Typography */
    .display-6 {
        font-size: 1.8rem !important;
    }

    .text-uppercase {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }

    /* Trust Bar Mobile Fix */
    .border-start {
        border-left: none !important;
    }

    .col-6:nth-child(even) .p-3 {
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

/* Feature Cards */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 24px;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-action {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    cursor: pointer;
}

.btn-action i {
    line-height: 1;
}

.btn-action:hover {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.product-title a {
    color: var(--bg-dark);
    transition: var(--transition);
}

.product-title a:hover {
    color: #6366f1;
}

.price-box {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: #6366f1;
}

.old-price {
    text-decoration: line-through;
    color: #5e6c84;
    font-size: 0.9rem;
}

/* Sidebar Styling */
.shop-sidebar .glass-card {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-sidebar h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 20px !important;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.category-item:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    transform: translateX(5px);
}

.category-item.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.category-item.active .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Sidebar Inputs */
.shop-sidebar .form-control,
.shop-sidebar .form-select {
    padding: 12px 18px;
    font-size: 0.95rem;
    border-radius: 12px !important;
    border: 1px solid #f1f5f9 !important;
}

.shop-sidebar .input-group .btn {
    border-radius: 0 12px 12px 0 !important;
}

.shop-sidebar .input-group .form-control {
    border-radius: 12px 0 0 12px !important;
}

/* Hero Enhancements */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-mockup {
    border: 8px solid rgba(255, 255, 255, 0.5);
    background: white;
}

/* How It Works Enhancements */
.step-number-bg {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    line-height: 1;
}

.bg-purple {
    background: #a855f7 !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.icon-box-sm {
    width: 32px;
    height: 32px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px;
}

/* --- IMPROVED PRODUCT CARD DESIGN --- */
.product-card {
    background: #ffffff;
    border-radius: 32px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.1);
}

.product-image-container {
    background: #f8fafc;
    border-radius: 24px;
    margin: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container {
    transform: scale(0.96);
}

.product-image-container img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

.sale-badge {
    background: var(--primary-gradient);
    color: #fff;
    padding: 10px 20px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-content {
    padding: 24px 30px 30px;
}

.product-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #0f172a;
    font-size: 1.4rem !important;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 25px;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #6366f1;
    letter-spacing: -0.02em;
}

.old-price {
    font-size: 1rem;
    color: #5e6c84;
    text-decoration: line-through;
}

.rating-badge {
    background: #fff8e1;
    color: #b45309;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-premium-action {
    background: var(--primary-gradient);
    background-size: 200% auto;
    color: #fff !important;
    border: none;
    width: 100%;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s ease;
}

.btn-premium-action:hover::before {
    transform: translateX(100%);
}

.btn-premium-action:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    color: #fff !important;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        position: fixed !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
        border-radius: 25px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        z-index: 2500 !important;
    }

    .mobile-bottom-nav a {
        color: #64748b !important;
        transition: all 0.2s ease;
        opacity: 0.8;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none !important;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a:active {
        color: #6366f1 !important;
        opacity: 1;
    }

    .mobile-bottom-nav i {
        font-size: 1.4rem !important;
        margin-bottom: 2px;
    }

    body {
        padding-bottom: 100px !important;
    }
}

/* Hide the container entirely on desktop to avoid any ghost elements */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ==========================================
   PREMIUM CUSTOM TOP BAR STYLES
   ========================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.top-bar a:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.top-bar a i {
    transition: transform 0.2s ease;
}

.top-bar a:hover i {
    transform: scale(1.15);
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.15);
}

.text-gradient-light {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.top-bar-socials a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6) !important;
}

.top-bar-socials a:hover {
    color: #ffffff !important;
}

.top-bar-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    line-height: 32px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2500;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

/* Adjust main navbar to drop down below top bar */
.navbar {
    top: 40px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

@media (max-width: 991px) {
    .navbar {
        top: 32px !important;
    }
}

/* Adjust page content top offset to prevent navbar overlap */
body {
    padding-top: 40px !important;
}

@media (max-width: 991px) {
    body {
        padding-top: 32px !important;
    }
}

/* --- ACCESSIBILITY & CONTRAST AA COMPLIANCE --- */

/* Deeper text color for secondary paragraphs on light backgrounds */
.bg-light .text-secondary,
.section-padding.bg-light .text-secondary,
.glass-card.bg-light .text-secondary,
p.text-secondary {
    color: #374151 !important; /* Rich charcoal grey (700) for flawless readability and contrast */
}

/* Higher contrast for subtle primary badges */
.bg-primary-subtle {
    background-color: #e0e7ff !important; /* Light indigo-100 */
}
.bg-primary-subtle.text-primary,
.badge.bg-primary-subtle {
    color: #312e81 !important; /* Rich navy-950 for flawless 7+:1 contrast */
}

/* Footer accessibility & high-contrast metadata */
footer .text-white-50,
footer .opacity-50,
footer .text-secondary,
footer p.small {
    color: #cbd5e1 !important; /* High-contrast light slate grey */
    opacity: 1 !important;
}
footer .badge.bg-white.bg-opacity-10 {
    color: #cbd5e1 !important;
}
footer .payment-icons i {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}