:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --dark-bg: #121212;
    --light-bg: #1e1e1e;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --accent: #00eeff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark-bg), #1a1a2e);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(106, 17, 203, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(38, 51, 100, 0.3) 0%, rgba(10, 10, 20, 0.8) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--accent), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-gray);
}

.products-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
}

.container {
    flex: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(106, 17, 203, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 238, 255, 0.2);
    border-color: rgba(0, 238, 255, 0.3);
}

.product-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background: #ffffff;
    display: block;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.product-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.footer {
    background: rgba(10, 10, 20, 0.95);
    padding: 1.5rem 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(106, 17, 203, 0.3);
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.footer-copyright {
    color: #b0b0b0;
    font-size: 0.95rem;
    text-align: center;
}

.footer-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.footer-btn {
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-btn:hover {
    color: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--secondary-color));
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.developed-with {
    text-align: center;
    padding: 0;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.heart {
    color: #ff0000;
    font-size: 1.3rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.categories-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.category-card {
    background: var(--light-bg);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 2px solid rgba(106, 17, 203, 0.3);
    color: var(--text-light);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 238, 255, 0.2);
}

.category-card.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-color: var(--accent);
    color: white;
}

.product-detail {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-detail-image {
    width: 100%;
    border-radius: 15px;
    background: #ffffff;
    height: 500px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.product-image-container:hover .product-detail-image {
    transform: scale(1.1);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.product-detail-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.subscription-options {
    margin: 2rem 0;
}

.subscription-options h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.option-card {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(106, 17, 203, 0.2);
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.option-card.selected {
    border-color: var(--accent);
    background: rgba(0, 238, 255, 0.1);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.option-duration {
    color: var(--accent);
    font-weight: 500;
}

.option-select-btn {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-select-btn:hover, .option-select-btn.selected {
    background: var(--accent);
    color: var(--dark-bg);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}