/* RTX 4090 48GB Info Page Styles */

.rtx-hero {
    text-align: center;
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
    position: relative;
}

.hero-badge-container {
    margin-bottom: var(--space-md);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0047AB 0%, #0066cc 100%);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rtx-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.rtx-subtitle {
    font-size: 20px;
    color: var(--medium-grey);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

/* Specs Bar */
.specs-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, #1C1C1E 0%, #333333 100%);
    max-width: 800px;
    margin: 0 auto;
}

.spec-item {
    text-align: center;
    color: white;
}

.spec-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.spec-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* What is it Section */
.what-is-it-section {
    margin: var(--space-xl) 0;
}

.what-is-it-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--soft-black);
    margin-bottom: var(--space-md);
}

.what-is-it-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.what-is-it-images .image-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px dashed var(--border-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.what-is-it-images .image-placeholder:hover {
    border-color: var(--cobalt-blue);
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
}

.what-is-it-images .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.what-is-it-images .image-placeholder:first-child img {
    object-position: right center;
}

.what-is-it-images .placeholder-content {
    position: relative;
    z-index: 1;
    text-align: center;
    opacity: 0;
}

/* Clickable images */
.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Validation Section */
.validation-section {
    margin: var(--space-xl) 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-grey);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

/* Validation Grid */
.validation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.validation-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    border: 1px solid var(--border-grey);
}

.validation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-image {
    width: 200px;
    height: 200px;
    background: white;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img,
.card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Reset the media back to normal size for all special cards */
.thermal-card .card-image img,
.thermal-card .card-image video,
.bandwidth-card .card-image img,
.bandwidth-card .card-image video,
.acoustic-card .card-image img,
.acoustic-card .card-image video,
.burn-in-card .card-image img,
.burn-in-card .card-image video,
.nvidia-smi-card .card-image img,
.nvidia-smi-card .card-image video {
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Special handling for performance card - fit to frame */
.performance-card .card-image img,
.performance-card .card-image video {
    object-fit: contain;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Special handling for nvidia-smi card - fit to frame to show full image */
.nvidia-smi-card .card-image img {
    object-fit: contain;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.image-placeholder {
    display: none;
}

/* Special thermal card layout */
.thermal-card .card-image {
    width: 300px;
    flex-shrink: 0;
}

.thermal-card .card-content {
    flex: 1;
    min-width: 0;
}

/* Special bandwidth card layout */
.bandwidth-card .card-image {
    width: 300px;
    flex-shrink: 0;
}

.bandwidth-card .card-content {
    flex: 1;
    min-width: 0;
}

/* Special acoustic card layout */
.acoustic-card .card-image {
    width: 300px;
    flex-shrink: 0;
}

.acoustic-card .card-content {
    flex: 1;
    min-width: 0;
}

/* Special performance card layout */
.performance-card .card-image {
    width: 300px;
    flex-shrink: 0;
}

.performance-card .card-content {
    flex: 1;
    min-width: 0;
}

/* Special burn-in card layout */
.burn-in-card .card-image {
    width: 300px;
    flex-shrink: 0;
}

.burn-in-card .card-content {
    flex: 1;
    min-width: 0;
}

/* Special nvidia-smi card layout */
.nvidia-smi-card .card-image {
    width: 300px;
    flex-shrink: 0;
}

.nvidia-smi-card .card-content {
    flex: 1;
    min-width: 0;
}

/* Center the media containers in these special cards */
.thermal-card,
.bandwidth-card,
.acoustic-card,
.performance-card,
.burn-in-card,
.nvidia-smi-card {
    align-items: center;
}

.card-content {
    padding: var(--space-md);
    flex: 1;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft-black);
    margin-bottom: var(--space-md);
}

.tech-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px;
    background: var(--eggshell);
}

.detail-label {
    color: var(--medium-grey);
    font-weight: 500;
}

.detail-value {
    color: var(--cobalt-blue);
    font-weight: 600;
}

/* Performance Analysis Section */
.performance-analysis-section {
    margin: var(--space-xl) 0;
}

.graphs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

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

.graph-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border: 2px dashed var(--border-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    margin-bottom: var(--space-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.performance-chart {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
}

.graph-placeholder:hover {
    border-color: var(--cobalt-blue);
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
}

.graph-placeholder.clickable-image:hover {
    border-color: var(--cobalt-blue);
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.2);
}

.graph-placeholder .placeholder-content {
    text-align: center;
}

.graph-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
}

.graph-item p {
    font-size: 14px;
    color: var(--soft-black);
    line-height: 1.6;
}

.graphs-explanation {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-grey);
}

.graphs-explanation h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
}

.graphs-explanation p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--soft-black);
    margin-bottom: var(--space-md);
}

/* Performance Metrics Section */
.performance-metrics {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid var(--border-grey);
}

.performance-metrics h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
    text-align: center;
}

.metrics-section {
    margin-bottom: var(--space-lg);
}

.metrics-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-md);
}

.model-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.model-result {
    background: white;
    padding: var(--space-md);
    border-radius: 6px;
    border: 1px solid var(--border-grey);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.model-result h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--off-white);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding: 4px 0;
}

.metric-label {
    font-weight: 500;
    color: var(--medium-grey);
    font-size: 13px;
}

.metric-value {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 13px;
}

.metric-improvement {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-sm);
    padding: 8px;
    border-top: 1px solid var(--border-grey);
    background: rgba(40, 167, 69, 0.05);
    border-radius: 3px;
}

.improvement-label {
    font-weight: 600;
    color: var(--medium-grey);
    font-size: 13px;
}

.improvement-value {
    font-weight: 700;
    color: #28a745;
    font-size: 14px;
}

.key-findings, .advantages-summary {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-grey);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.key-findings h4, .advantages-summary h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
}

.key-findings ul, .advantages-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-findings li, .advantages-summary li {
    padding: 8px 0;
    border-bottom: 1px solid var(--off-white);
    font-size: 14px;
    line-height: 1.5;
    color: var(--primary-black);
    position: relative;
    padding-left: var(--space-sm);
}

.key-findings li:before, .advantages-summary li:before {
    content: "•";
    color: var(--cobalt-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.key-findings li:last-child, .advantages-summary li:last-child {
    border-bottom: none;
}

/* Why Choose Us Section */
.why-us-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 1px solid var(--cobalt-blue);
    margin: var(--space-lg) 0;
}

.why-us-section .island-title {
    color: var(--cobalt-blue);
    font-size: 24px;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.why-us-section .island-title::after {
    display: none;
}

.why-us-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-us-intro {
    font-size: 16px;
    color: var(--soft-black);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.advantage-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: white;
    border-radius: 4px;
    border: 1px solid rgba(0, 71, 171, 0.2);
    box-shadow: 0 1px 4px rgba(0, 71, 171, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 71, 171, 0.12);
}

.advantage-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cobalt-blue) 0%, #003580 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.usa-flag {
    font-size: 20px !important;
}

.advantage-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 6px;
}

.advantage-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--soft-black);
    margin: 0;
}

.contact-cta {
    background: white;
    padding: var(--space-md);
    border-radius: 4px;
    border: 1px solid var(--cobalt-blue);
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 71, 171, 0.08);
}

.contact-cta h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--cobalt-blue);
    margin-bottom: var(--space-sm);
}

.contact-cta p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--soft-black);
    margin-bottom: var(--space-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    display: inline-block;
    background: var(--cobalt-blue);
    color: white;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 71, 171, 0.2);
}

.contact-button:hover {
    background: #003580;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 71, 171, 0.3);
}

/* Honest Disclosure Section */
.honest-disclosure-section {
    background: linear-gradient(135deg, #fff8f0 0%, #fef7f0 100%);
    border: 1px solid #f0ad4e;
    margin: var(--space-lg) 0;
}

.honest-disclosure-section .island-title {
    color: #d17a00;
    font-size: 24px;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.honest-disclosure-section .island-title::after {
    display: none;
}

.disclosure-content {
    max-width: 900px;
    margin: 0 auto;
}

.disclosure-intro {
    font-size: 16px;
    color: var(--soft-black);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.trade-offs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.trade-off-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: white;
    border-radius: 4px;
    border: 1px solid #f0ad4e;
    box-shadow: 0 1px 4px rgba(240, 173, 78, 0.08);
}

.trade-off-icon {
    display: none;
}

.trade-off-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 6px;
}

.trade-off-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--soft-black);
    margin: 0;
}

.disclosure-summary {
    background: white;
    padding: var(--space-md);
    border-radius: 4px;
    border: 1px solid #f0ad4e;
    text-align: center;
}

.disclosure-summary h3 {
    font-size: 20px;
    font-weight: 600;
    color: #d17a00;
    margin-bottom: var(--space-sm);
}

.disclosure-summary p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--soft-black);
    margin: 0;
}

/* Technical Specifications Table */
.tech-specs-section {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.tech-specs-section h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-black);
    margin-bottom: var(--space-lg);
}

.specs-table {
    max-width: 900px;
    margin: 0 auto;
}

.spec-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-grey);
    align-items: center;
}

.spec-row:first-child {
    background: var(--primary-black);
    color: white;
    font-weight: 600;
}

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

.spec-name {
    font-weight: 500;
    color: var(--primary-black);
}

.spec-row:first-child .spec-name {
    color: white;
}

.spec-original {
    text-align: center;
    color: var(--medium-grey);
}

.spec-upgraded {
    text-align: center;
    color: var(--cobalt-blue);
    font-weight: 600;
}

.spec-row:first-child .spec-original,
.spec-row:first-child .spec-upgraded {
    color: white;
}

/* Use Cases */
.use-cases-section {
    margin: var(--space-xl) 0;
}

.use-cases-section h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--primary-black);
    margin-bottom: var(--space-xl);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.use-case {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border: 1px solid var(--border-grey);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--cobalt-blue);
}

.use-case-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.use-case-icon i {
    font-size: inherit;
    color: var(--cobalt-blue);
}

.use-case h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: var(--space-sm);
}

.use-case p {
    font-size: 14px;
    color: var(--medium-grey);
    line-height: 1.5;
}

/* CTA Section */
.info-cta {
    text-align: center;
    padding: var(--space-xl);
    background: var(--primary-black);
    margin: var(--space-xl) 0;
    color: white;
}

.info-cta h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.info-cta p {
    font-size: 18px;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background: var(--cobalt-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3);
}

.cta-primary:hover {
    background: #003580;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-black);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .validation-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rtx-title {
        font-size: 36px;
    }
    
    .specs-bar {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .spec-item {
        flex: 1 1 40%;
    }
    
    .validation-card {
        flex-direction: column;
    }
    
    .card-image {
        width: 100%;
        height: 150px;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .spec-original,
    .spec-upgraded {
        text-align: left;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .what-is-it-images {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .graphs-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .model-comparison {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .performance-metrics {
        padding: var(--space-lg);
    }

    .trade-off-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .trade-off-icon {
        align-self: center;
    }

    .honest-disclosure-section .island-title {
        font-size: 28px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
        padding: var(--space-sm);
    }

    .advantage-icon {
        align-self: center;
    }

    .why-us-section .island-title {
        font-size: 24px;
    }

    .contact-cta {
        padding: var(--space-md);
    }
}

@media (max-width: 992px) {
    .what-is-it-images {
        grid-template-columns: repeat(2, 1fr);
    }
}