/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1A1A1A;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #1A1A1A;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00FFFF;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6B7280;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

/* Latest Reviews */
.latest-reviews {
    padding: 4rem 0;
    text-align: center;
}

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

.review-card {
    background-color: #2A2A2A;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #3A3A3A;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: #00FFFF;
}

.review-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.review-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.review-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.review-content p {
    color: #6B7280;
    margin-bottom: 1rem;
}

.review-score {
    background-color: #00FFFF;
    color: #1A1A1A;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}

/* GPU Rankings */
.gpu-rankings {
    padding: 4rem 0;
    background-color: #2A2A2A;
    text-align: center;
}

.ranking-table {
    background-color: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3A3A3A;
}

.ranking-header {
    display: grid;
    grid-template-columns: 80px 1fr 200px 180px;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background-color: #3A3A3A;
    font-weight: 600;
    color: #00FFFF;
}

.ranking-row {
    display: grid;
    grid-template-columns: 80px 1fr 200px 180px;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #3A3A3A;
    align-items: center;
}

.ranking-row:last-child {
    border-bottom: none;
}

.rank {
    font-weight: 700;
    color: #00FFFF;
    font-size: 1.2rem;
}

.gpu-name {
    font-weight: 600;
    color: #FFFFFF;
}

.performance-bar {
    position: relative;
    height: 24px;
    background-color: #3A3A3A;
    border-radius: 12px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, #00FFFF 0%, #00B8CC 100%);
    border-radius: 12px;
}

.performance-bar span {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #1A1A1A;
}

.price {
    color: #6B7280;
    font-weight: 500;
}

/* Build Guides */
.build-guides {
    padding: 4rem 0;
    text-align: center;
}

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

.guide-card {
    background-color: #2A2A2A;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #3A3A3A;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.guide-card.featured {
    border-color: #00FFFF;
    transform: scale(1.05);
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: #00FFFF;
}

.guide-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.guide-budget {
    background-color: #00FFFF;
    color: #1A1A1A;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.guide-card h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.components-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.components-list li {
    padding: 0.5rem 0;
    color: #6B7280;
    border-bottom: 1px solid #3A3A3A;
}

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

.guide-performance {
    background-color: #3A3A3A;
    color: #00FFFF;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

/* Compatibility Tool */
.compatibility-tool {
    padding: 4rem 0;
    background-color: #2A2A2A;
    text-align: center;
}

.tool-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tool-description h3 {
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.tool-description p {
    color: #6B7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.tool-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tool-features li {
    padding: 0.5rem 0;
    color: #6B7280;
    position: relative;
    padding-left: 1.5rem;
}

.tool-features li:before {
    content: "✓";
    color: #00FFFF;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background-color: #1A1A1A;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #3A3A3A;
}

.component-slot {
    background-color: #3A3A3A;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    color: #6B7280;
    font-weight: 600;
    border: 2px solid #00FFFF;
}

.compatibility-status {
    grid-column: 1 / -1;
    background-color: #00FFFF;
    color: #1A1A1A;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

/* Price Tracking */
.price-tracking {
    padding: 4rem 0;
    text-align: center;
}

.price-chart-placeholder {
    background-color: #2A2A2A;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #3A3A3A;
}

.price-chart-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.chart-bg-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.3;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.chart-header h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
}

.price-range {
    color: #00FFFF;
    font-weight: 700;
    font-size: 1.2rem;
}

.chart-visual {
    margin-bottom: 2rem;
    background-color: #1A1A1A;
    border-radius: 8px;
    padding: 1rem;
}

.price-chart {
    width: 100%;
    height: 200px;
}

.retailers-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.retailer-price {
    background-color: #3A3A3A;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 600;
}

/* Featured Products */
.featured-products {
    padding: 4rem 0;
    background-color: #2A2A2A;
    text-align: center;
}

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

.product-card {
    background-color: #1A1A1A;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #3A3A3A;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #00FFFF;
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-svg {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #6B7280;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec {
    background-color: #3A3A3A;
    color: #6B7280;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.product-price {
    color: #00FFFF;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.product-button {
    width: 100%;
    background-color: #00FFFF;
    color: #1A1A1A;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #00B8CC;
}

/* Small Form Factor */
.sff-section {
    padding: 4rem 0;
    text-align: center;
}

.sff-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sff-description h3 {
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.sff-description p {
    color: #6B7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.sff-image {
    margin: 2rem 0;
    text-align: center;
}

.sff-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #3A3A3A;
}

.sff-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #6B7280;
}

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

.case-comparison {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    height: 200px;
}

.case-size {
    background-color: #3A3A3A;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
}

.case-size.large {
    width: 80px;
    height: 120px;
}

.case-size.medium {
    width: 60px;
    height: 90px;
}

.case-size.small {
    width: 40px;
    height: 60px;
    background-color: #00FFFF;
    color: #1A1A1A;
}

/* Contact */
.contact {
    padding: 4rem 0;
    background-color: #2A2A2A;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-image {
    margin-bottom: 2rem;
}

.contact-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #3A3A3A;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #00FFFF;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6B7280;
    font-size: 1.1rem;
}

.contact-form {
    background-color: #1A1A1A;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #3A3A3A;
}

.contact-form h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #6B7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #3A3A3A;
    border: 1px solid #6B7280;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FFFF;
}

.submit-button {
    background-color: #00FFFF;
    color: #1A1A1A;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #00B8CC;
}

.cta-button {
    background-color: #00FFFF;
    color: #1A1A1A;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #00B8CC;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    padding: 3rem 0 1rem;
    border-top: 1px solid #3A3A3A;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-description {
    color: #6B7280;
    line-height: 1.6;
}

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00FFFF;
}

.footer-section p {
    color: #6B7280;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #3A3A3A;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #6B7280;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #2A2A2A;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #3A3A3A;
    position: relative;
}

.close {
    color: #6B7280;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #00FFFF;
}

.modal-content h2 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #6B7280;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tool-preview,
    .sff-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ranking-header,
    .ranking-row {
        grid-template-columns: 60px 1fr 120px 100px;
        gap: 1rem;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .ranking-header,
    .ranking-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .retailers-list {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand-section {
        grid-column: 1;
    }
    
    .review-card,
    .product-card {
        padding: 1.5rem;
    }
    
    .guide-card {
        padding: 1.5rem;
    }
}