/* CSS FILE: This file controls how our website looks */
/* Everything about colors, layout, fonts goes here */

/* 1. BASIC RESET - Removes default browser spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. BODY STYLES - Main background and font for entire website */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 3. CONTAINER - Centers content and adds spacing on sides */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 4. HEADER - Top section with site title */
header {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.site-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 5. INTRODUCTION SECTION */
.intro {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.intro h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* 6. PRODUCT CARD - Main product display */
.product-card {
    margin: 40px 0;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px;
    position: relative;
}

.best-seller {
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 600;
}

.subject-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

/* 7. CARD CONTENT */
.card-content {
    padding: 30px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.features li:last-child {
    border-bottom: none;
}

/* 8. PRICE SECTION */
.price-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
}

.old-price {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.current-price {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.discount {
    color: #27ae60;
    font-weight: 600;
    margin-top: 5px;
}

/* 9. BUY BUTTON - Most important button on page */
.buy-button {
    background: linear-gradient(135deg, #27ae60, #219653);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin: 20px 0;
}

/* HOVER EFFECT: When mouse moves over button */
.buy-button:hover {
    background: linear-gradient(135deg, #219653, #1e8449);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
}

.button-icon {
    font-size: 1.5rem;
}

.guarantee {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-top: 15px;
}

/* 10. BENEFITS SECTION */
.benefits {
    margin: 50px 0;
}

.benefits h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.benefit-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item h4 {
    color: #3498db;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

/* 11. FOOTER - Bottom section */
footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-contact {
    font-size: 1rem;
    margin: 15px 0;
    color: #3498db;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 15px;
    color: #ecf0f1;
}

/* 12. MOBILE RESPONSIVE DESIGN */
/* This makes website look good on phones and tablets */
@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    
    .subject-name {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .card-header, .card-content {
        padding: 20px;
    }
}
