:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --background-color: #1a1a1a;
    --card-bg: #2a2a2a;
    --text-color: #ffffff;
    --dark-bg: #1a1a1a;
    --darker-bg: #2a2a2a;
    --border-color: #3a3a3a;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

.calculator-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #3a3a3a;
}

.product-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

.popup-content {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    border: 1px solid #3a3a3a;
}

.close-popup {
    display: none;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.article-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border: 1px solid #3a3a3a;
}

.recommendation-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
    border: 1px solid #3a3a3a;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.recommendation-card .card-header {
    background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
    color: var(--text-color);
    border-bottom: 1px solid #444;
}

.recommendation-card .btn-success {
    background: linear-gradient(45deg, #28a745, #218838);
    border: none;
    padding: 12px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.recommendation-card .btn-success:hover {
    transform: scale(1.02);
}

.recommendation-box {
    margin-top: 1rem;
}

/* Product Recommendation Styles */
.recommendation-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.1);
}

.recommendation-card .card-header {
    background: rgba(0, 255, 0, 0.05);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding: 15px;
}

.recommendation-card .rating {
    color: #00ff00;
    font-size: 16px;
}

.recommendation-card .card-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #fff;
}

.spec-item i {
    display: block;
    margin-bottom: 5px;
    color: #00ff00;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-badge {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.recommendation-card .btn-success {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    border: none;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.recommendation-card .btn-success:hover {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

/* Star Rating */
.rating {
    letter-spacing: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 2rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

.form-control {
    background-color: #333;
    border: 1px solid #444;
    color: var(--text-color);
}

.form-control:focus {
    background-color: #404040;
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.performance-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.metric-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.metric-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.metric-trend {
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.metric-trend.up {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
}

.metric-trend.down {
    color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
}

.chart-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.comparison-chart-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border: 1px solid #3a3a3a;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #2a2a2a !important;
    border-bottom: 1px solid #3a3a3a;
}

body {
    padding-top: 56px; /* Height of navbar */
}

.result-box {
    background: #333;
    border: 1px solid #444;
    color: var(--text-color);
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.2);
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

label {
    color: #888;
    margin-top: 1rem;
}

.card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.card-body {
    color: rgba(255, 255, 255, 0.9);
}

.btn-success {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    border: none;
    color: #000;
    font-weight: bold;
    text-shadow: none;
}

.btn-success:hover {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #000;
}

/* Results and Recommendations Layout */
#ddr4-result,
#ddr5-result {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
}

#ddr4-recommendation,
#ddr5-recommendation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#ddr4-recommendation.show,
#ddr5-recommendation.show {
    opacity: 1;
    transform: translateY(0);
}

/* Recommendation Cards */
.recommendation-card {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.recommendation-card .card-header {
    background: rgba(0, 255, 0, 0.05);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding: 15px 20px;
}

.recommendation-card .card-body {
    padding: 20px;
}

/* Calculator Sections */
.calculator-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

/* Clear separation between components */
.chart-container {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.metrics-container {
    margin: 30px 0;
}

/* Ensure results are prominent */
.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #fff;
    margin-top: 30px;
}

/* Recommendation Animation */
#ddr4-recommendation,
#ddr5-recommendation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    display: none;
}

#ddr4-recommendation.show,
#ddr5-recommendation.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Add space between results and recommendations */
#ddr4-result,
#ddr5-result {
    margin-bottom: 30px;
}

/* FAQ Section Styles */
.faq-section {
    background: linear-gradient(145deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 4rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section .section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
}

.faq-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.accordion-item {
    background: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.accordion-button {
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    background: rgba(42, 42, 42, 0.4);
    color: var(--text-color);
    padding: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.accordion-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 2px;
}

.accordion-body a:hover {
    color: #ffffff;
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Add animation for accordion items */
.accordion-collapse {
    transition: all 0.3s ease-in-out;
}

.accordion-collapse.collapsing {
    opacity: 0;
    transform: translateY(-10px);
}

.accordion-collapse.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 0;
    }
    
    .faq-section .section-title {
        font-size: 2rem;
    }
    
    .accordion-body {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .seo-content {
        padding: 2rem 0;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .content-card h2 {
        font-size: 1.4rem;
    }
}

/* SEO Content Section Styles */
.seo-section {
    padding: 2rem 0;
    background: rgba(26, 26, 26, 0.7);
    border-radius: 15px;
    margin-top: -20px;
}

.info-box {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.info-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.info-box p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    color: var(--text-color);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '▶';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .seo-section {
        padding: 1rem 0;
    }

    .info-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-box p, 
    .feature-list li {
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .content-card {
        margin-bottom: 2rem;
    }
    
    .content-card h2 {
        font-size: 1.6rem;
    }
    
    .content-card p {
        font-size: 1rem;
    }
}

/* SEO Content Styling */
.seo-content {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.seo-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.seo-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.seo-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.seo-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.seo-content ul li {
    color: var(--text-color);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.seo-content ul li:before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 1.5rem;
    }

    .seo-content h2 {
        font-size: 1.6rem;
    }

    .seo-content h3 {
        font-size: 1.3rem;
    }

    .seo-content p,
    .seo-content ul li {
        font-size: 1rem;
    }
}

/* Articles Section Styling */
.articles-section {
    padding: 4rem 0;
    background: var(--bg-gradient);
}

.articles-section {
    padding: 4rem 0;
    background: var(--bg-gradient);
}

.article-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.article-card .card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.article-card .card-text {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.article-card .btn-primary {
    width: 100%;
    background: var(--primary-gradient);
    border: none;
    padding: 0.75rem;
    transition: opacity 0.3s ease;
}

.article-card .btn-primary:hover {
    opacity: 0.9;
}

/* Article Page Styles */
.article-content {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.article-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-meta {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-meta span {
    margin-right: 1.5rem;
}

.article-section {
    margin: 2.5rem 0;
}

.article-section h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.article-section p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-section ul,
.article-section ol {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-section li {
    margin-bottom: 0.8rem;
}

.article-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem;
    }

    .article-content h1 {
        font-size: 2rem;
    }

    .article-section h2 {
        font-size: 1.5rem;
    }

    .article-section p,
    .article-section ul,
    .article-section ol {
        font-size: 1rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 56px;
}

/* Product Recommendations Styling */
.product-recommendations .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease-in-out;
}

.product-recommendations .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.specs-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.specs-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.specs-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.product-recommendations .btn-primary {
    width: 100%;
    border-radius: 5px;
}

.product-recommendations h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comparison-table {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
}

.table-dark {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.table-dark th {
    background-color: var(--darker-bg);
    border-bottom: 2px solid var(--border-color);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-color: rgba(23, 162, 184, 0.2);
    color: var(--text-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-text:hover {
    color: #00BCD4;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Exit Popup Styles */
.exit-popup {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
    display: none !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #3a3a3a;
    color: #fff;
    text-align: center;
}

.close-popup {
    display: none !important;
    position: absolute;
    top: 15px;
    right: 15px;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #fff;
}

.exit-popup-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00ff9d 0%, #00b8ff 100%);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.exit-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.exit-popup-btn.secondary {
    background: transparent;
    border: 2px solid #00ff9d;
    color: #00ff9d;
}

.exit-popup-btn.secondary:hover {
    background: rgba(0, 255, 157, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.exit-popup-form {
    margin-top: 20px;
}

.exit-popup-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #3a3a3a;
    background: #2d2d2d;
    color: #fff;
    border-radius: 5px;
}

.exit-popup-form input:focus {
    outline: none;
    border-color: #00ff9d;
}

/* Affiliate Products Section */
.affiliate-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 20px 0;
    border-radius: 15px;
}

.affiliate-header {
    text-align: center;
    margin-bottom: 30px;
}

.affiliate-header h2 {
    color: #00ff9d;
    margin-bottom: 15px;
}

.affiliate-disclaimer {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 0.9em;
    color: #999;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #3a3a3a;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.1);
}

.product-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.product-title {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 10px;
    min-height: 2.4em;
}

.product-price {
    color: #00ff9d;
    font-size: 1.4em;
    font-weight: bold;
    margin: 10px 0;
}

.countdown-container {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.countdown-timer {
    color: #00ff9d;
    font-size: 1.2em;
    font-weight: bold;
}

.deal-badge {
    background: #ff3e3e;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 10px;
}

.buy-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #00ff9d 0%, #00b8ff 100%);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.savings {
    color: #ff3e3e;
    font-size: 0.9em;
    margin-top: 5px;
}
