:root {
    --primary-color: #4338CA; 
    --primary-hover: #3730A3;
    --bg-color: #F8FAFC; 
    --surface-color: #FFFFFF;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.navbar {
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo a {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--text-dark);
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: 0.3s;
}

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


.header-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 12px 20px 12px 40px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    background-color: #F1F5F9;
    outline: none;
    font-size: 14px;
    transition: all 0.3s;
}

.header-search input:focus {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}


.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-text {
    font-weight: 600;
    color: var(--text-dark);
}


.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}


.hero {
    position: relative;
    background-image: url("https://images.unsplash.com/photo-1551721434-8b94ddff0e6d?q=80&w=1920&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 700px;
}

.badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: #CBD5E1;
}


.content-section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-light);
    margin-top: 10px;
}


.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {

    display: flex;
    flex-direction: column;
    background: #fff;

    border-radius: 20px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.02);  
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.card-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;   
}

.category-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 12px;
    width: max-content;
}

.battery { background: #FEF3C7; color: #D97706; }
.heat { background: #FEE2E2; color: #DC2626; }
.features { background: #E0E7FF; color: #4338CA; }

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-btn {
  
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #0b60b6;
    color: white !important;
    padding: 12px;
    text-decoration: none;
    margin-top: auto; 
    border: 1px solid #1f80ff;

    border-radius: 12px;         
    transition: all 0.3s ease;   
}

.card-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(11, 96, 182, 0.3); 
}

.card-btn:active {
    transform: translateY(-1px); 
}


.main-footer {
    background-color: #0F172A;
    color: #F8FAFC;
    padding: 60px 5% 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1E293B;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #94A3B8;
    font-size: 14px;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.simple-social-bar {
    display: flex;
    gap: 15px;
    margin-left: 95px;
}

.s-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1E293B;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s;
}

.s-icon:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: #64748B;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column; 
        padding: 10px 15px;
        gap: 12px;
    }


    .logo-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo a {
        font-size: 18px;
    }

  
    .nav-links {
        display: block; top: 25px; 
       
    }

  
    .header-icons {
        gap: 8px;
    }

    .btn-text {
        font-size: 12px;
        white-space: nowrap;
    }

    .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .header-search {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .header-search input {
        padding: 10px 15px 10px 35px;
        font-size: 13px;
    }
}