/* ========================
   Product Detail Page Styles
   ======================== */

:root {
    --primary-blue: #0066CC;
    --light-blue: #3399FF;
    --accent-orange: #FFA500;
    --highlight-red: #E63946;
    --success-green: #25D366;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-color: #E5E7EB;
    --gold: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
}

.section-lead {
    font-size: 20px;
    color: var(--text-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Header - Same as other pages */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu > ul > li {
    position: relative;
}

.nav-menu > ul > li > a {
    display: block;
    font-size: 19px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
    padding: 10px 22px;
    white-space: nowrap;
}

.nav-menu > ul > li > a:hover,
.nav-menu a[aria-current="page"] {
    color: var(--primary-blue);
}

.nav-menu a[href="javascript:void(0)"] {
    cursor: pointer;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    padding: 8px 0;
    border-radius: 6px;
    margin-top: 0;
    z-index: 100;
}

.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    padding: 0;
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 18px;
    color: var(--text-medium);
}

.breadcrumb a {
    color: var(--primary-blue);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--light-blue);
}

.breadcrumb span {
    margin: 0 8px;
}

/* Product Hero */
.product-hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-orange);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-hero-text h1 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.product-subtitle {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 40px;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.highlight-item i {
    font-size: 28px;
    color: var(--primary-blue);
}

.highlight-item span {
    font-size: 18px;
    color: var(--text-dark);
}

.product-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-hero-image {
    position: relative;
}

.product-hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gold);
    border-radius: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.image-badge i {
    font-size: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--highlight-red);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #d32f3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 57, 70, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.btn-outline-small {
    padding: 10px 24px;
    font-size: 18px;
}

.btn-success {
    background: var(--success-green);
    color: var(--bg-white);
}

.btn-success:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

/* Product Overview */
.product-overview {
    padding: 80px 0;
    background: var(--bg-white);
}

.product-overview h2 {
    text-align: center;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.overview-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.overview-card i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.overview-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.overview-card p {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Specifications */
.specifications {
    padding: 80px 0;
    background: var(--bg-light);
}

.specifications h2 {
    text-align: center;
    margin-bottom: 60px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.specs-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.specs-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--primary-blue);
}

.specs-card h3 i {
    font-size: 24px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
    font-size: 18px;
}

.specs-table td:first-child {
    color: var(--text-medium);
    width: 45%;
}

.specs-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Applications */
.applications-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.applications-section h2 {
    text-align: center;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.application-item {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.application-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.application-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border-radius: 50%;
}

.application-icon i {
    font-size: 36px;
    color: var(--bg-white);
}

.application-item h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.application-item p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
}

.application-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-orange);
    color: var(--bg-white);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
}

/* Project Cases */
.project-cases {
    padding: 80px 0;
    background: var(--bg-light);
}

.project-cases h2 {
    text-align: center;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.case-card.featured {
    grid-column: span 3;
}

.case-card.featured .case-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.case-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.case-card.featured .case-image {
    height: 100%;
    min-height: 300px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
}

.case-badge.nuclear {
    background: var(--highlight-red);
}

.case-badge.international {
    background: var(--gold);
    color: var(--text-dark);
}

.case-content {
    padding: 28px;
}

.case-card.featured .case-content {
    padding: 32px;
}

.case-content h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.case-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-meta i {
    color: var(--primary-blue);
}

.case-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.case-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--text-dark);
}

.case-specs i {
    color: var(--success-green);
    font-size: 18px;
}

.case-card.featured .case-specs i {
    color: var(--gold);
}

/* Advantages */
.advantages-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.advantages-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-card {
    padding: 32px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.advantage-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.advantage-card p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: var(--bg-light);
}

.related-products h2 {
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.related-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h3 {
    margin: 20px 0 8px;
    color: var(--text-dark);
}

.related-card p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.related-card .btn {
    margin-bottom: 24px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    text-align: center;
    color: var(--bg-white);
}

.cta-section h2 {
    margin-bottom: 16px;
    color: var(--bg-white);
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 700;
}

.footer-col p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    font-size: 18px;
}

.contact-info i {
    color: var(--primary-blue);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 102, 204, 0.2);
}

.footer-bottom p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 1025px) {
    .nav-wrapper {
        gap: 16px;
    }

    .nav-menu > ul {
        gap: 2px;
    }

    .nav-menu > ul > li > a {
        padding: 10px 12px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .nav-wrapper {
        padding: 16px 0;
        gap: 0;
    }

    .logo {
        margin-right: 0;
    }

    .logo img {
        height: 40px;
    }

    .nav-menu > ul {
        gap: 0;
    }

    .nav-menu > ul > li > a {
        padding: 10px 8px;
        font-size: 19px;
        white-space: nowrap;
    }

    .dropdown {
        min-width: 200px;
    }

    .dropdown a {
        padding: 10px 16px;
        font-size: 16px;
    }

    .product-hero-content {
        grid-template-columns: 1fr;
    }
    
    .overview-grid,
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-card.featured {
        grid-column: span 1;
    }
    
    .case-card.featured .case-content {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px), (max-width: 1024px) and (orientation: portrait) {
    .nav-menu {
        display: block;
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: var(--bg-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu > ul > li > a {
        padding: 18px 24px;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .dropdown a {
        padding: 14px 24px 14px 44px;
    }
    
    .has-dropdown:hover .dropdown {
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .product-highlights {
        grid-template-columns: 1fr;
    }
    
    .specs-grid,
    .overview-grid,
    .applications-grid,
    .advantages-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}
