/*
Theme Name: Elevanta Elite Pro
Theme URI: https://elevantadigital.net
Author: Elevanta Digital
Description: High-end premium marketplace for software and social media services.
Version: 2.1.0
Text Domain: elevanta
*/

/* =========================================
   ELITE PREMIUM DESIGN SYSTEM
   ========================================= */
:root {
    /* Colors */
    --brand-dark: #0f172a;
    --brand-blue: #3b82f6;
    --brand-blue-soft: rgba(59, 130, 246, 0.1);
    --brand-blue-glow: rgba(59, 130, 246, 0.15);
    --brand-gray: #64748b;
    --brand-light: #f8fafc;
    --brand-white: #ffffff;
    
    /* Semantic Colors */
    --color-primary: var(--brand-blue);
    --color-primary-glow: var(--brand-blue-glow);
    --color-text: var(--brand-dark);
    --color-text-muted: var(--brand-gray);
    --color-text-secondary: #475569;
    --color-bg-secondary: #f1f5f9;
    --color-border: rgba(15, 23, 42, 0.08);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.08);
    
    /* Layout */
    --header-height: 80px;
    --container-max: 1280px;
    
    /* Transitions & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    --shadow-float: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-blue), #2563eb);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--brand-dark); 
    background: #f1f5f9; 
    margin: 0; 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { 
    max-width: var(--container-max); 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* =========================================
   COMMON COMPONENTS
   ========================================= */
.section { padding: 80px 0; }

.page-hero {
    padding: calc(var(--header-height) + 80px) 0 80px;
    background: var(--brand-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative; z-index: 2;
}

.page-hero p {
    font-size: 1.25rem; color: #94a3b8;
    max-width: 700px; margin: 0 auto;
    position: relative; z-index: 2;
}

.breadcrumb {
    display: flex; gap: 8px; justify-content: center;
    font-size: 0.85rem; color: #64748b; margin-bottom: 30px;
    position: relative; z-index: 2;
}

.breadcrumb a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.breadcrumb a:hover { color: var(--brand-blue); }

.section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-blue-soft); color: var(--brand-blue);
    padding: 6px 16px; border-radius: 100px;
    font-size: 0.85rem; font-weight: 700; margin-bottom: 20px;
}

/* =========================================
   MODERN GLASS HEADER
   ========================================= */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    height: var(--header-height);
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; display: flex; align-items: center;
}

.header-inner-v3 {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
}

.logo-v3 {
    display: flex; align-items: center; gap: 12px; text-decoration: none;
}

.logo-icon-v3 {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-blue));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800;
}

.logo-text-v3 {
    font-size: 1.5rem; font-weight: 800; color: var(--brand-dark);
}
.logo-text-v3 span { color: var(--brand-blue); }

.nav-v3 { display: flex; gap: 32px; }
.nav-v3 a { 
    text-decoration: none; color: var(--brand-gray); 
    font-weight: 600; font-size: 0.95rem; transition: 0.3s;
}
.nav-v3 a:hover { color: var(--brand-blue); }

.actions-v3 { display: flex; align-items: center; gap: 16px; }

.cart-btn-v3 {
    width: 48px; height: 48px;
    background: var(--brand-white); border: 1px solid var(--glass-border);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--brand-dark);
    position: relative; transition: 0.3s; cursor: pointer;
}
.cart-btn-v3:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.cart-count {
    position: absolute; top: -5px; right: -5px;
    background: var(--brand-blue); color: white;
    padding: 2px 6px; border-radius: 10px;
    font-size: 0.7rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; min-width: 20px;
}

.header-cta-v3 {
    background: var(--brand-dark); color: white !important;
    padding: 12px 24px; border-radius: 14px;
    font-weight: 700; text-decoration: none; transition: 0.3s;
    display: inline-block;
}
.header-cta-v3:hover { background: var(--brand-blue); transform: scale(1.05); }

@media (max-width: 850px) {
    .nav-v3, .header-cta-v3 { display: none; }
    .site-header { height: 70px; }
    --header-height: 70px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-v3 {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, #e0f2fe, transparent),
                radial-gradient(circle at bottom left, #f1f5f9, transparent);
    text-align: center;
}

.hero-v3 h1 {
    font-size: 4rem; font-weight: 900; margin-bottom: 24px;
    letter-spacing: -2px; line-height: 1.1;
}
.hero-v3 h1 span { color: var(--brand-blue); }
.hero-v3 p { font-size: 1.25rem; color: var(--brand-gray); max-width: 700px; margin: 0 auto 40px; }

@media (max-width: 768px) {
    .hero-v3 h1 { font-size: 2.5rem; }
}

/* =========================================
   PREMIUM PRODUCT GRID
   ========================================= */
.services-section-v3 { padding: 80px 0; }

.section-head-v3 { text-align: center; margin-bottom: 50px; }
.section-head-v3 h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }

.grid-v3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.card-v3 {
    background: var(--brand-white); border-radius: var(--radius-md);
    padding: 24px; border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}

.card-v3:hover { transform: translateY(-10px); box-shadow: var(--shadow-float); }

.product-img-wrap {
    width: 100%; border-radius: 12px;
    overflow: hidden; margin-bottom: 20px;
    background: #f1f5f9; aspect-ratio: 4/3;
    position: relative; display: block;
}

.product-img-wrap img { 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-v3:hover .product-img-wrap img { transform: scale(1.1); }

.card-v3 h3 { 
    font-size: 1.25rem; font-weight: 800; margin: 0 0 10px; 
    color: var(--brand-dark); letter-spacing: -0.5px;
}

.card-v3 p { 
    color: var(--brand-gray); font-size: 0.95rem; line-height: 1.7;
    margin-bottom: 24px; flex-grow: 1; 
}

.card-footer-v3 {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: 16px; border-top: 1px solid #f1f5f9;
}

.card-price-v3 { font-size: 1.3rem; font-weight: 800; color: var(--brand-dark); }

.btn-card {
    background: var(--brand-blue); color: white !important;
    padding: 12px 24px; border-radius: 14px; font-weight: 700;
    font-size: 0.9rem; text-decoration: none; transition: 0.3s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-card:hover { 
    background: var(--brand-dark); transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

@media (max-width: 1024px) { .grid-v3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-v3 { grid-template-columns: 1fr; } }
