@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --accent: #0ea5e9;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --section-tint: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 30px -5px rgba(59, 130, 246, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-container img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: transform 0.3s, color 0.3s;
}

.nav-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-logo {
    height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero i {
    color: var(--accent);
    font-style: normal;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.5);
}

/* --- Sections --- */
.section-white {
    padding: 6rem 0;
    background: white;
}

.section-tint {
    padding: 6rem 0;
    background: var(--section-tint);
}

.centered-title {
    text-align: center;
    margin-bottom: 4rem;
}

.centered-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.underline {
    height: 4px;
    width: 60px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Shop Page Layout --- */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    padding-top: 100px;
    /* Reduced from 120px */
    padding-bottom: 6rem;
}

.sidebar {
    background: transparent;
    padding: 0;
    box-shadow: none;
    height: fit-content;
    position: sticky;
    top: 110px;
}

.sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 700;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-item {
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.category-item:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.category-item.active {
    background: #eff6ff;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    font-weight: 700;
}

/* Product Content */
.shop-content {
    display: flex;
    flex-direction: column;
}

.page-title-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    /* 16:10 Aspect Ratio */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}

/* --- Team --- */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-member {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    width: 280px;
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary);
}

.member-role {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Software icons --- */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.software-item {
    text-align: center;
}

.software-icon {
    height: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s;
    background-clip: text;
}

.software-item:hover .software-icon {
    transform: scale(1.1);
}

/* --- Footer --- */
.site-footer {
    padding: 6rem 0 3rem;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-column h4 {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .navbar {
        padding: 0 2rem;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}