/*
 * Xperiaworks Global Limited - Premium Glassmorphic Design System
 * Rich modern web aesthetics: vibrant colors, deep navy dark mode, neon accents, micro-animations
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #060E1A;
    --bg-secondary: #0A192F;
    --bg-card: rgba(17, 34, 64, 0.75);
    --bg-card-hover: rgba(23, 46, 84, 0.85);
    --primary: #0052FF;
    --primary-hover: #1A68FF;
    --primary-glow: rgba(0, 82, 255, 0.45);
    --cyan: #00F0FF;
    --cyan-glow: rgba(0, 240, 255, 0.35);
    --text-white: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dark: #0F172A;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-cyan: rgba(0, 240, 255, 0.25);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

/* --- GLASSMORPHIC NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 14, 26, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: #fff;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.brand-sub {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    margin-top: -3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-white);
    position: relative;
    padding: 4px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--cyan);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

/* Highlighted Shop Now Button in Nav */
.nav-shop-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #0077FF 100%);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.nav-shop-btn::after { display: none; }

.nav-shop-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 30px var(--cyan-glow);
    background: linear-gradient(135deg, var(--cyan) 0%, var(--primary) 100%);
    color: var(--bg-main) !important;
}

.nav-cart-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 9px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.nav-cart-trigger:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
}

.cart-count-badge {
    background: var(--cyan);
    color: var(--bg-main);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 180px 24px 120px 24px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.12) 0%, transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(0, 82, 255, 0.18) 0%, transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--border-cyan);
    color: var(--cyan);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--cyan) 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 620px;
    line-height: 1.7;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0066FF 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--cyan-glow);
    background: linear-gradient(135deg, var(--cyan) 0%, var(--primary) 100%);
    color: var(--bg-main);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan);
    color: var(--cyan);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.laptop-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-cyan);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 50px rgba(0, 82, 255, 0.2);
    position: relative;
    width: 100%;
    backdrop-filter: blur(12px);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.laptop-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/10;
}

.laptop-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.laptop-showcase-card:hover .laptop-img-wrapper img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(6, 14, 26, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* --- VISION & MISSION SECTION --- */
.vision-mission-sec {
    padding: 80px 24px;
    background: var(--bg-secondary);
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--cyan));
}

.vm-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-cyan);
    box-shadow: var(--card-shadow);
}

.vm-card h3 {
    font-size: 24px;
    color: var(--cyan);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.vm-card p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* --- ABOUT XPERIAWORKS BANNER --- */
.about-banner {
    background: linear-gradient(135deg, #0A192F 0%, #0F2A52 100%);
    border-top: 1px solid var(--border-cyan);
    border-bottom: 1px solid var(--border-cyan);
    padding: 80px 24px;
    position: relative;
}

.about-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-banner h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.about-banner p {
    font-size: 19px;
    color: #CBD5E1;
    line-height: 1.8;
}

/* --- CORE SERVICES GRID --- */
.services-sec {
    padding: 100px 24px;
    position: relative;
}

.sec-header {
    text-align: center;
    margin-bottom: 60px;
}

.sec-header .sub-label {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.sec-header h2 {
    font-size: 42px;
    font-weight: 800;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.12);
    background: var(--bg-card-hover);
}

.srv-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 82, 255, 0.15);
    border: 1px solid rgba(0, 82, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 26px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .srv-icon {
    background: var(--cyan);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card:hover .service-link {
    gap: 10px;
}

/* --- SHOP SECTION --- */
.shop-sec {
    padding: 120px 24px 80px 24px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
}

.shop-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-label:hover {
    color: #fff;
}

.filter-checkbox {
    accent-color: var(--cyan);
    width: 16px;
    height: 16px;
}

.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 16px 24px;
    border-radius: 16px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(6, 14, 26, 0.8);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 8px 16px;
    width: 320px;
}

.search-box input {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
    outline: none;
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-thumb {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: #0B1729;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-thumb img {
    transform: scale(1.08);
}

.condition-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 82, 255, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(6, 14, 26, 0.85);
    backdrop-filter: blur(8px);
    color: var(--cyan);
    border: 1px solid var(--border-cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.product-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
}

.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.spec-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--cyan);
}

.price .old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 6px;
}

.btn-sm {
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-sm:hover {
    background: var(--cyan);
    color: var(--bg-main);
}

/* --- FOOTER SECTION --- */
.site-footer {
    background: #040911;
    border-top: 1px solid var(--border-light);
    padding: 80px 24px 30px 24px;
    position: relative;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 16px;
    max-width: 340px;
    line-height: 1.7;
}

.footer-slogan {
    font-size: 24px;
    font-weight: 800;
    color: var(--cyan);
    margin-top: 24px;
}

.footer-col h4 {
    font-size: 17px;
    margin-bottom: 22px;
    color: #fff;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cyan);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 6px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 14px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- CART / QUOTE DRAWER --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0; right: -450px; width: 440px; height: 100%;
    background: #0D1D3A;
    border-left: 1px solid var(--border-cyan);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
    transition: var(--transition);
}

.cart-drawer-overlay.active .cart-drawer {
    right: 0;
}

.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title { font-size: 20px; font-weight: 700; color: #fff; }

.close-drawer {
    background: none; border: none; color: var(--text-muted); font-size: 26px; cursor: pointer;
}

.drawer-body {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
    background: #09152B;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin: 0 auto 30px auto; }
    .hero-actions { justify-content: center; }
    .vm-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; margin-bottom: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero h1 { font-size: 38px; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cart-drawer { width: 100%; right: -100%; }
}
