﻿/* ===== Icons ===== */
.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    color: var(--accent);
    line-height: 1;
}

/* ========== Breadcrumb Styling ========== */
.breadcrumb {
    background: #f9fafb;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 40px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.breadcrumb-nav a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.breadcrumb-nav a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-nav a:first-child::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    margin-right: 6px;
    vertical-align: text-bottom;
}

.breadcrumb-nav span:not(.breadcrumb-nav span:last-child) {
    color: #9ca3af;
    user-select: none;
}

.breadcrumb-nav span:last-child {
    color: #4b5563;
    font-weight: 600;
}

/* ========== Product Detail Layout ========== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

/* ========== Image Gallery ========== */
.product-image-column {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main-image {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    background: #fff;
    aspect-ratio: 1 / 1;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-main-image:hover .zoom-btn {
    opacity: 1;
}

.zoom-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.zoom-btn .material-symbols-rounded {
    font-size: 24px;
    color: var(--accent);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumbnail-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: cover;
    background: #fff;
}

.thumbnail-item:hover {
    opacity: 1;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

/* ========== Product Info Column ========== */
.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.product-model {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--accent), #0056b3);
    color: var(--white);
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-stock {
    background: #d1fae5;
    color: #065f46;
}

.badge-warranty {
    background: #dbeafe;
    color: #1e40af;
}

.badge-item .material-symbols-rounded {
    font-size: 18px;
}

.product-info-column h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.product-summary {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item .material-symbols-rounded {
    font-size: 40px;
    color: var(--accent);
}

.stat-item div {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.stat-item span {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

/* Features List */
.product-info-column h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text);
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.features-list li:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.features-list .material-symbols-rounded {
    color: var(--accent);
    font-size: 28px;
    flex-shrink: 0;
}

/* CTA Group */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-quote-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0056b3);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: #fff;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.btn-quote-large .material-symbols-rounded {
    font-size: 22px;
}

/* ========== Tabs Section ========== */
.product-tabs-section {
    margin: 60px 0;
}

.tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn .material-symbols-rounded {
    font-size: 20px;
}

.tab-btn:hover {
    color: var(--accent);
    background: #f9fafb;
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-panel h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.tab-panel h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.tab-panel p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: #4b5563;
}

/* Feature Highlights */
.feature-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.highlight-card {
    padding: 24px;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.highlight-card .material-symbols-rounded {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 12px;
}

.highlight-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 12px 0 8px 0;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

/* Technical Advantages Grid */
.technical-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.advantage-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
    transform: translateY(-4px);
}

.advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon .material-symbols-rounded {
    font-size: 28px;
    color: var(--accent);
}

.advantage-content h5 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.advantage-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Lists */
.description-features-list,
.analysis-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description-features-list li,
.analysis-list li {
    font-size: 1.05rem;
    line-height: 1.7;
    padding-left: 32px;
    position: relative;
    color: #4b5563;
}

.description-features-list li::before,
.analysis-list li::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Pros/Cons Grid */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.pros-section,
.cons-section {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.pros-section {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.cons-section {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.pros-section h5,
.cons-section h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--primary);
}

.pros-section .material-symbols-rounded {
    color: #065f46;
}

.cons-section .material-symbols-rounded {
    color: #92400e;
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.spec-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.spec-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

/* Installation Steps */
.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 30px 0;
}

.step-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #0056b3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

.installation-note {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #eff6ff;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    margin-top: 30px;
}

.installation-note .material-symbols-rounded {
    color: var(--accent);
    font-size: 28px;
    flex-shrink: 0;
}

.installation-note p {
    margin: 0;
    color: #1e40af;
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .product-detail-layout {
        gap: 40px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }

    .technical-advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-image-column {
        position: relative;
        top: 0;
    }

    .product-info-column h1 {
        font-size: 2rem;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn-quote-large {
        width: 100%;
    }

    .tabs-header {
        gap: 4px;
    }

    .tab-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .tab-btn .material-symbols-rounded {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .product-info-column h1 {
        font-size: 1.6rem;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .installation-note {
        flex-direction: column;
    }
}

/* ===== Hero ===== */
.about-hero {
    background: var(--grad);
    color: var(--white);
    padding: 64px 20px;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 14px;
}

.about-hero .subtitle {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* ===== Who we are ===== */
.who-we-are {
    background: var(--white);
    padding: 60px 20px;
}

/* 通栏布局：标题居中，正文整行铺开 */
.who-single {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.who-single h2 {
    font-size: 1.7rem;
    border-left: 4px solid var(--accent, #E52421);
    padding-left: 12px;
    margin: 0 0 10px;
}

.who-single .who-copy {
    text-align: left;
}

.who-single .who-copy p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ===== Mission & Vision ===== */
.mission-vision {
    background: var(--bg);
    padding: 56px 20px;
}

.mv-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 22px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    border-top: 3px solid var(--accent);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.mv-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: inline-block;
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

/* ===== Core Values ===== */
.core-values {
    padding: 64px 20px;
    background: var(--white);
    text-align: center;
}

.core-values h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.value-card {
    background: var(--card-bg);
    padding: 26px 20px;
    border-radius: var(--radius);
    border-top: 3px solid var(--accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.value-icon {
    font-size: 30px;
    margin-bottom: 12px;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 6px;
}

.value-card p {
    color: var(--text);
}

/* ===== Stats band ===== */
.stats-band {
    background: var(--grad);
    color: var(--white);
    padding: 48px 24px;
    text-align: center;
    border-radius: var(--radius);
    margin: 50px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-label {
    opacity: .95;
}

/* ===== Africa Focus ===== */
.africa-focus {
    padding: 64px 20px;
    background: var(--bg);
}

.focus-content {
    background: var(--white);
    padding: 34px;
    border-radius: var(--radius);
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.focus-content h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.focus-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.focus-list {
    list-style: none;
    padding-left: 0;
    margin: 14px 0 8px;
}

.focus-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: start;
    column-gap: 10px;
    padding: 6px 0;
}

/* ===== CTA (ghost pill + breathing glow) ===== */
.cta-section {
    background: var(--grad);
    color: var(--white);
    padding: 50px 30px;
    border-radius: var(--radius);
    text-align: center;
    margin: 50px 20px;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 10px;
}

.cta-section p {
    margin-bottom: 18px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-section a {
    text-decoration: none;
}

/* Ghost pill base */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    line-height: 1;
    background: transparent;
    border: 1.8px solid rgba(255, 255, 255, .9);
    color: #fff;
    transition: background .2s ease, color .2s ease, border-color .2s ease,
        transform .15s ease, box-shadow .2s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-1px);
}

/* Breathing glow OUTSIDE (not inside) */
.btn-breathe {
    position: relative;
    isolation: isolate;
    box-shadow: none !important;
}

.btn-breathe::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
    animation: breatheGlow 4.2s ease-in-out infinite;
}

@keyframes breatheGlow {

    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(255, 255, 255, 0),
            0 10px 24px rgba(0, 0, 0, .10);
    }

    50% {
        box-shadow:
            0 0 0 8px rgba(255, 255, 255, .12),
            0 18px 38px rgba(0, 0, 0, .18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-breathe::after {
        animation: none;
        box-shadow: none;
    }
}

/* ===== Global mobile safety ===== */
html,
body {
    overflow-x: hidden;
}

/* stop sideways scroll */
img,
video {
    max-width: 100%;
    height: auto;
}

/* safer media */
/* ===== Responsive tweaks ===== */
/* HERO + WHO + MISSION/VISION collapse earlier */
@media (max-width: 900px) {
    .about-hero {
        padding: 44px 16px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .about-hero .subtitle {
        font-size: 1rem;
    }

    .who-single h2 {
        font-size: 1.6rem;
    }

    .who-single .who-copy p {
        font-size: 1rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* CORE VALUES to single column, smaller paddings on focus */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .focus-content {
        padding: 20px;
    }

    .focus-list {
        margin: 10px 0 4px;
    }

    /* Stats to 2 columns; CTA stack full-width buttons */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-secondary {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
}

/* Extra small adjustments */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .about-hero h1 {
        font-size: 1.9rem;
    }

    .focus-content h2 {
        font-size: 1.5rem;
    }
}