:root {
    --primary: #0a192f;
    /* Dark Blue */
    --accent: #004aad;
    /* Tech Blue */
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gray-text: #64748b;
    --dark-text: #0f172a;
    --border-color: #e2e8f0;
    --error: #ef4444;
    --success: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.py-5 {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 15px;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #003d8f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--white);
}

/* Navbar */
.navbar {
    height: 80px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo {
        font-size: 1.25rem;
    }
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--error);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Hero */
.hero {
    background: #f1f5f9;
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 32px;
    max-width: 550px;
}

.hero-img {
    flex: 1;
}

.hero-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #e0e7ff;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.card-desc {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 20px;
    height: 3em;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Sections */
.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-subtitle {
    color: var(--gray-text);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 24px;
}

.footer ul li {
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 14px;
}

.footer p {
    line-height: 1.8;
    color: #94a3b8;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* Contact Form */
.form-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.checkbox-wrap {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-text);
    align-items: flex-start;
}

@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 34px;
    }
}