/* Reset and Base Styles */
* {
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    color-scheme: only light;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    margin-top: 6%;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #ffffff;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
}

.product-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

.badge-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.efficiency-badge {
    background-color: #313e6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.floating-feature {
    position: absolute;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 12px -2px rgba(31, 41, 55, 0.1);
}

.floating-feature-1 {
    top: 5rem;
    right: -1rem;
}

.floating-feature-2 {
    bottom: 5rem;
    left: -1rem;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #313e6b;
}

.award-icon {
    color: #cf7016;
}

.feature-content span {
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-badge {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    width: fit-content;
}

.product-title {
    font-size: 3rem;
    font-weight: bold;
    color: #73849b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.product-title .mg-title {
    font-size: 3rem;
    font-weight: bold;
    color: #cf7016;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.product-model {
    display: block;
    color: #313e6b;
}

.product-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.key-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-small {
    width: 1rem;
    height: 1rem;
    color: #313e6b;
}

.product-info {
    margin-top: 1rem;
}

.info-text {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: #313e6b;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px -2px rgba(31, 41, 55, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    box-shadow: 0 8px 25px -5px rgba(31, 41, 55, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.feature-card:hover .card-icon-wrapper {
    background-color: rgba(59, 130, 246, 0.2);
}

.card-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #313e6b;
}

.card-title-section {
    flex: 1;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #313e6b;
    margin-bottom: 0.25rem;
}

.card-badge {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-content p {
    color: #6b7280;
}

/* Benefits Section */
.benefits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #313e6b;
    margin-bottom: 1.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #cf7016;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Technical Highlight */
.technical-highlight {
    padding: 2rem;
    background: linear-gradient(135deg, #313e6b, #1d4ed8);
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
}

.highlight-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon-svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.highlight-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.highlight-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.highlight-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .key-features {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .floating-feature-1,
    .floating-feature-2 {
        display: none;
    }
}

.cross-ref-card {
    position: fixed;
    top: 50%;
    right: -250px;
    /* hidden by default */
    transform: translateY(-50%);
    width: 250px;
    background: #313e6b;
    color: #fff;
    padding: 1.5rem;
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.3);
    transition: right 0.4s ease;
    z-index: 1000;
}

.cross-ref-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #cf7016;
}

.cross-ref-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cross-ref-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
}

.cross-ref-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #cf7016;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 1001;
    box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.3);
}

.cross-ref-open {
    right: 0 !important;
}

/* Hide the <br> by default */
.mobile-br {
    display: none;
}

/* Show it only on mobile (adjust max-width as per your design breakpoint) */
@media (max-width: 768px) {
    .mobile-br {
        display: inline;
    }

    .product-model {
        margin-top: 20px;
    }
}

/* Initial hidden state */
.reveal {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateX(0);
}

/* Alternate from left */
.reveal-left {
    transform: translateX(-100px);
}