/* ============================================
   ZWCAD Page Theme - Professional Teal/Cyan
   ============================================ */

/* Blue Theme Overrides for ZWCAD Page (Matching ZW3D Blue but Light) */
.zwcad-page {
    --primary-teal: #0163fe;
    /* Mapped to Blue */
    --primary-teal-dark: #0148ba;
    --primary-teal-light: #4894fe;
    --accent-cyan: #06B6D4;
    --accent-orange: #FF6B00;
}

/* Blue Button Variant */
.btn--teal {
    background: linear-gradient(135deg, #0163fe 0%, #005494 100%);
    /* Blue Gradient */
    border-color: #0163fe;
}

.btn--teal:hover {
    background: linear-gradient(135deg, #005494 0%, #003d6e 100%);
    box-shadow: 0 10px 30px rgba(1, 99, 254, 0.3);
}

/* Outline Button */
.btn--outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn--outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* White Button */
.btn--white {
    background: #fff;
    border-color: #fff;
    color: #0163fe;
}

.btn--white:hover {
    background: #F0F9FF;
    /* Light Blue Hover */
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ZWCAD Hero Section - Light Blue */
.hero--zwcad {
    /* Light Blue Gradient matching reference */
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F0F9FF 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero__gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(1, 99, 254, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero__badge--teal {
    background: linear-gradient(135deg, rgba(1, 99, 254, 0.15) 0%, rgba(72, 148, 254, 0.1) 100%);
    border: 1px solid rgba(1, 99, 254, 0.3);
    color: #0148ba;
}

.hero__title-gradient {
    background: linear-gradient(135deg, #0148ba 0%, #0163fe 50%, #4894fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle--zwcad {
    color: var(--gray-600);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Quick Stats Inline */
.hero__quick-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(1, 99, 254, 0.1);
}

.hero__quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__quick-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0148ba;
    line-height: 1;
}

.hero__quick-stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.hero__quick-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Trust Badges */
.hero__trust {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(1, 99, 254, 0.15);
}

.hero__trust-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-sm);
}

.hero__trust-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero__trust-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.hero__trust-divider {
    color: var(--gray-300);
}

/* Hero Mockup Window */
.hero__visual--zwcad {
    position: relative;
}

.hero__mockup-window {
    background: #1E293B;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero__mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #0F172A;
    border-bottom: 1px solid #334155;
}

.hero__mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero__mockup-dot--red {
    background: #EF4444;
}

.hero__mockup-dot--yellow {
    background: #F59E0B;
}

.hero__mockup-dot--green {
    background: #22C55E;
}

.hero__mockup-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #94A3B8;
    font-family: 'Inter', monospace;
}

.hero__mockup-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px 16px;
    background: #1E293B;
    border-bottom: 1px solid #334155;
}

.hero__mockup-tool {
    width: 24px;
    height: 24px;
    background: #334155;
    border-radius: 4px;
}

.hero__mockup-tool--active {
    background: #0163fe;
}

.hero__mockup-content {
    padding: 16px;
    background: #0F172A;
    min-height: 250px;
}

.hero__blueprint-svg {
    width: 100%;
    height: auto;
}

.hero__mockup-statusbar {
    display: flex;
    gap: 16px;
    padding: 8px 16px;
    background: #1E293B;
    border-top: 1px solid #334155;
    font-size: 0.7rem;
    color: #64748B;
    font-family: 'Inter', monospace;
}

/* Floating Cards */
.hero__float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(1, 99, 254, 0.2);
    animation: float 6s ease-in-out infinite;
}

.hero__float-card--1 {
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.hero__float-card--2 {
    bottom: 40px;
    right: -30px;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero__float-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(1, 99, 254, 0.15) 0%, rgba(72, 148, 254, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0163fe;
}

.hero__float-card-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.hero__float-card-text span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Text Gradient Teal (Now Blue) */
.text-gradient-teal {
    background: linear-gradient(135deg, #0148ba 0%, #4894fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge--teal {
    background: rgba(1, 99, 254, 0.1);
    border: 1px solid rgba(1, 99, 254, 0.2);
    color: #0163fe;
}

/* Feature Showcase - Alternating Layout */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.feature-showcase__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.feature-showcase__item--reverse {
    direction: rtl;
}

.feature-showcase__item--reverse>* {
    direction: ltr;
}

.feature-showcase__badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(1, 99, 254, 0.1);
    border-radius: 12px;
    color: #0163fe;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.feature-showcase__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.feature-showcase__desc {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.feature-showcase__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-showcase__list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.feature-showcase__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0163fe;
    font-weight: bold;
}

/* Feature Visual Box */
.feature-visual-box {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 1px solid rgba(1, 99, 254, 0.2);
}

.feature-visual-box--teal {
    border-color: rgba(1, 99, 254, 0.3);
}

.feature-visual-box--cyan {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-color: rgba(6, 182, 212, 0.3);
}

.feature-visual-box--orange {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: rgba(255, 107, 0, 0.3);
}

.feature-visual-box svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

@media (max-width: 992px) {

    .feature-showcase__item,
    .feature-showcase__item--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* Migration Section */
.section--teal-gradient {
    background: linear-gradient(135deg, #0148ba 0%, #0163fe 50%, #003d6e 100%);
    color: #fff;
}

.section--teal-gradient .section-header--light h2 {
    color: #fff;
}

.text-light {
    color: rgba(255, 255, 255, 0.9);
}

.section--teal-gradient .section-header--light p {
    color: rgba(255, 255, 255, 0.8);
}

.migration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.migration-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.migration-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.migration-card__icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: #fff;
}

.migration-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.migration-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.migration-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.migration-cta__content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-xs);
}

.migration-cta__content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 992px) {
    .migration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .migration-cta {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .migration-grid {
        grid-template-columns: 1fr;
    }
}

/* Performance Showcase */
.performance-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.performance-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.performance-bar__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.performance-bar__name {
    font-weight: 600;
    color: var(--gray-900);
}

.performance-bar__result {
    font-size: 0.875rem;
    color: #0163fe;
    font-weight: 600;
}

.performance-bar__track {
    height: 36px;
    background: var(--gray-100);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.performance-bar__fill {
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    transition: width 1s ease-out;
}

.performance-bar__fill--zwcad {
    background: linear-gradient(90deg, #0148ba 0%, #0163fe 100%);
}

.performance-bar__fill--competitor {
    background: linear-gradient(90deg, #94A3B8 0%, #64748B 100%);
}

.performance-note {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.performance-note svg {
    flex-shrink: 0;
    color: var(--gray-400);
}

/* Light Section */
.section--light {
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.industry-tile {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.industry-tile:hover {
    border-color: rgba(1, 99, 254, 0.3);
    box-shadow: 0 10px 40px rgba(1, 99, 254, 0.1);
    transform: translateY(-5px);
}

.industry-tile__icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.industry-tile h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.industry-tile p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* Awards Showcase */
.awards-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid rgba(1, 99, 254, 0.2);
    border-radius: 20px;
}

.awards-showcase__content h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.awards-showcase__content p {
    color: var(--gray-600);
    max-width: 450px;
}

.awards-showcase__badges {
    display: flex;
    gap: var(--spacing-lg);
}

.awards-showcase__badges img {
    height: 100px;
    width: auto;
}

@media (max-width: 992px) {
    .awards-showcase {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .awards-showcase__content p {
        max-width: 100%;
    }
}

/* ZWCAD Footer CTA */
.footer-cta--zwcad {
    background: linear-gradient(135deg, #0148ba 0%, #0163fe 50%, #003d6e 100%);
}

/* Responsive Hero Quick Stats */
@media (max-width: 768px) {
    .hero__quick-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__quick-stat-divider {
        display: none;
    }

    .hero__quick-stat {
        min-width: 100px;
    }

    .hero__float-card--1,
    .hero__float-card--2 {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero__quick-stat-value {
        font-size: 1.5rem;
    }
}