@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* New Tech Color Scheme */
    --primary: #2563eb;
    --secondary: #3b82f6;
    --accent: #10b981;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --text: #e2e8f0;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --card-bg: rgba(15, 23, 42, 0.9);
    --card-bg-dark: rgba(2, 6, 23, 0.95);
    --overlay: rgba(0, 0, 0, 0.7);
    --heading-font: 'Montserrat', sans-serif;
    --subheading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --section-padding: 4rem 2rem;
    --card-padding: 2rem;
    --border-radius: 8px;
}

/* Rest of your existing CSS remains the same until .course-content */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background-color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

header {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

section {
    margin-bottom: 4rem;
}

.course-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.course-image {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(45deg, var(--darker), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
                rgba(110, 72, 170, 0.3) 0%, 
                rgba(20, 20, 30, 0.8) 100%);
}

.course-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.course-content {
    flex: 2;
    padding: 3rem;
    background: var(--card-bg-dark);
}

.features {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.feature-item {
    font-size: 0.95rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Updated Button Style */
.buy-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    padding: 18px;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* New Refund Notice Style */
.refund-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.08);
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    text-align: center;
}

.refund-notice p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.refund-notice strong {
    color: var(--accent);
}

/* Utility Item Hover Effect */
.utility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}
.course-title {
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.course-description {
    font-size: 1.1rem;
    letter-spacing: 0.2px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.price {
    font-family: var(--subheading-font);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 2rem 0;
    color: var(--accent);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.utility-section {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.utility-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.utility-section h2 {
    margin-bottom: 2.5rem;
    text-align: center;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.utility-item {
    background: rgba(110, 72, 170, 0.15);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(110, 72, 170, 0.2);
}

.utility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(110, 72, 170, 0.2);
    background: rgba(110, 72, 170, 0.25);
}

.utility-item h3 {
    font-family: var(--subheading-font);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.utility-item h3::before {
    content: '•';
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.8rem;
}

.utility-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--text-muted);
    font-family: var(--subheading-font);
    letter-spacing: 0.5px;
}

footer p {
    margin-bottom: 0;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--subheading-font);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(110, 72, 170, 0.4);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 72, 170, 0.6);
    letter-spacing: 0.7px;
}

.buy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.buy-btn:hover::after {
    transform: translateX(0);
}

/* ===== Refund Policy Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg-dark);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(110, 72, 170, 0.3);
}

.modal-content h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent);
}
.refund-notice strong {
    color: var(--accent);
}

@media (max-width: 992px) {
    .course-card {
        flex-direction: column;
    }
    
    .course-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.5rem;
        --card-padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .course-title {
        font-size: 1.8rem;
    }
    
    .utility-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .course-content {
        padding: 2rem;
    }
    
    .utility-section {
        padding: 2rem 1.5rem;
    }
}

/* Keep all other existing CSS rules below */