
:root {
    --primary: #E6F7FF;
    --secondary: #F5F5F5;
    --accent: #4DA6FF;
    --text: #333333;
    --light-text: #666666;
    --border: #E0E0E0;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background-color: var(--secondary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.auth-links {
    display: flex;
    gap: 15px;
    align-items: center;
}


.login-btn {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.login-btn:hover {
    color: var(--accent);
}

.register-btn {
    background-color: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.register-btn:hover {
    background-color: #3a8de6;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(58, 141, 230, 0.3);
}
.cta-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(77, 166, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 166, 255, 0.4);
}

.page-header {
    padding: 150px 0 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--light-text);
    max-width: 700px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 20px;
    background-color: white;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.region-tab {
    padding: 6px 15px;
    border-radius: 15px;
    background-color: white;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.region-tab:hover, .region-tab.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.product-card .product-badge {
    font-size: 12px;
    background-color: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    margin-left: 10px;
}

.product-card .specs {
    margin: 20px 0;
}

.product-card .spec-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-card .spec-item span:first-child {
    width: 80px;
    color: var(--light-text);
}

.product-card .spec-item span:last-child {
    font-weight: 500;
}

.product-card .price {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0;
    color: var(--accent);
    text-align: center;
}

.product-card .buy-button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

footer {
    background-color: var(--text);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}
