/* --- Variables & Global Styles --- */
:root {
    --primary-color: #4CAF50; /* Green */
    --primary-hover: #45a049;
    --secondary-color: #121212; /* Dark Black/Grey */
    --background-color: #1e1e1e;
    --text-color: #f0f0f0;
    --text-muted: #b0b0b0;
    --card-bg: #2a2a2a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header {
    position: relative;
}

nav {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.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;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* --- Hero Section & Thumbnails --- */
.hero-section {
    margin-top: 70px; /* Offset for fixed nav */
}

.hero-section img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--secondary-color);
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.product-thumbnails img:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* --- Main Content --- */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.subscription-pitch p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.subscription-cta {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

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

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.subscription-details h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: right;
}

.detail-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.detail-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.detail-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.detail-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    background-color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #333;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: 0;
        top: 70px;
        height: calc(100vh - 70px);
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-section img {
        height: 40vh;
    }
    
    .product-thumbnails {
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .subscription-cta {
        flex-direction: column;
    }
}
