/* ============================================
   ZW3D Page Theme - Industrial Dark Blue
   ============================================ */

/* Dark Theme Overrides for ZW3D Page */
.zw3d-page {
    --primary-color: #0163fe;
    --primary-dark: #0148ba;
    --primary-light: #4894fe;
    --accent-color: #FF6B00;
    --accent-secondary: #06B6D4;
}

/* Navbar Dark Variant */
.navbar--dark {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px);
}

.navbar--dark .navbar__link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar--dark .navbar__link:hover {
    color: #fff;
}

.navbar--dark .navbar__logo-img {
    filter: brightness(0) invert(1);
}

.btn--outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ZW3D Hero Section */
.hero--zw3d {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__3d-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero__badge--3d {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60A5FA;
}

.hero__title--gradient {
    background: linear-gradient(135deg, #fff 0%, #60A5FA 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title-accent {
    color: #FF6B00;
    -webkit-text-fill-color: #FF6B00;
}

/* Hero Subtitle - White text for dark background */
.hero--zw3d .hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.7;
}

.hero--zw3d .hero__subtitle strong {
    color: #fff;
    font-weight: 600;
}

.hero__metrics {
    display: flex;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.hero__metric {
    text-align: center;
    flex: 1;
}

.hero__metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #93C5FD;
    line-height: 1;
}

.hero__metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.25rem;
}

.hero__metric-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero CTA Buttons */
.btn--glow {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.btn--glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 3D Visual Showcase */
.hero__visual--3d {
    position: relative;
}

.hero__3d-showcase {
    position: relative;
}

.hero__3d-model {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 0 60px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__3d-model svg {
    width: 100%;
    height: auto;
}

.hero__3d-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero__3d-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.hero__3d-label-dot {
    width: 8px;
    height: 8px;
    background: #60A5FA;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero__3d-label--1 {
    top: 15%;
    left: -10%;
}

.hero__3d-label--2 {
    top: 50%;
    right: -15%;
}

.hero__3d-label--3 {
    bottom: 20%;
    left: 5%;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Dark Section */
.section--dark {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    color: #fff;
}

.section-header--light h2 {
    color: #fff;
}

.section-header--light p {
    color: rgba(255, 255, 255, 0.7);
}

.section-header__badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    color: #60A5FA;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #60A5FA 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Grid */
.feature-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {
    .feature-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-grid--3col {
        grid-template-columns: 1fr;
    }
}

/* Feature Card Dark */
.feature-card--dark {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.feature-card--dark:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-card__icon--blue {
    background: rgba(37, 99, 235, 0.2);
    color: #60A5FA;
}

.feature-card__icon--cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #22D3EE;
}

.feature-card__icon--orange {
    background: rgba(255, 107, 0, 0.2);
    color: #FF6B00;
}

.feature-card__icon--green {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.feature-card__icon--purple {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
}

.feature-card__icon--red {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.feature-card__highlight {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 0, 0.15);
    border-radius: 12px;
    color: #FF6B00;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.feature-card__title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Industry Showcase */
.industry-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-lg);
}

.industry-card--large {
    grid-column: span 2;
    grid-row: span 2;
}

.industry-card {
    position: relative;
    background: var(--gray-50);
    border-radius: 16px;
    padding: var(--spacing-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.industry-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.industry-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

/* Specific overrides for Large Card (Dark) - Placed AFTER generics */
.industry-card--large {
    color: #fff;
}

.industry-card--large .industry-card__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.industry-card.industry-card--large h3 {
    color: #fff;
}

.industry-card.industry-card--large p {
    color: rgba(255, 255, 255, 0.9);
}

.industry-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.industry-card__content {
    position: relative;
    z-index: 1;
}

.industry-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.1);
    /* Light blue for standard cards */
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.industry-card__features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0 0;
}

.industry-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: #fff;
}

@media (max-width: 992px) {
    .industry-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .industry-card--large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .industry-showcase {
        grid-template-columns: 1fr;
    }

    .industry-card--large {
        grid-column: span 1;
    }
}

/* CAM Showcase Section */
.section--gradient-blue {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #1E3A8A 100%);
    color: #fff;
}

.cam-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.cam-showcase__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--spacing-md);
}

.cam-showcase__desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.cam-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.cam-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.cam-feature__number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF6B00;
    min-width: 40px;
}

.cam-feature__text strong {
    display: block;
    font-weight: 600;
    color: #fff;
}

.cam-feature__text span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.cam-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cam-highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
}

.cam-highlight span {
    color: #fff;
}

.cam-highlight svg {
    color: #22C55E;
    flex-shrink: 0;
}

/* CAM Visual */
.cam-visual {
    position: relative;
}

.cam-visual__machine {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.cam-visual__machine svg {
    width: 100%;
    height: auto;
}

.cam-visual__badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    color: #1E40AF;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .cam-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .cam-showcase__title {
        font-size: 2rem;
    }
}

/* Specifications Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.specs-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: var(--spacing-xl);
}

.specs-card__title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #60A5FA;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.specs-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-card__list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.specs-card__list li:last-child {
    border-bottom: none;
}

.specs-card__list li strong {
    color: #fff;
}

.specs-card__formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.format-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: #60A5FA;
    font-size: 0.8rem;
    font-weight: 500;
}

.format-tag--native {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.3);
    color: #FF6B00;
}

@media (max-width: 992px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* Awards Section */
.awards-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
}

.awards-section__content h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.awards-section__content p {
    color: var(--gray-600);
    max-width: 500px;
}

.awards-section__badges {
    display: flex;
    gap: var(--spacing-lg);
}

.awards-section__badges img {
    height: 100px;
    width: auto;
}

@media (max-width: 992px) {
    .awards-section {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .awards-section__content p {
        max-width: 100%;
    }
}

/* ZW3D Footer CTA */
.footer-cta--zw3d {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #1E3A8A 100%);
}

/* Responsive Hero Metrics */
@media (max-width: 768px) {
    .hero__metrics {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero__metric-value {
        font-size: 2rem;
    }

    .hero__3d-label--1,
    .hero__3d-label--2,
    .hero__3d-label--3 {
        display: none;
    }
}

/* Section Header Badge Light */
.section-header__badge--light {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}