/* Models Page Specific Styles */
.atvan-body {
    padding-top: 70px;
}

/* Models Hero */
.models-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--color-light-grey) 0%, #e8e9ea 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.models-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.models-hero-content {
    z-index: 2;
}

.models-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-black);
}

.models-hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.models-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-light-grey);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-emerald);
    color: var(--color-white);
    border-color: var(--color-emerald);
    transform: translateY(-2px);
}

.models-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.models-wheel {
    width: 300px;
    height: 300px;
    position: relative;
}

.wheel-animation {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 20s linear infinite;
    box-shadow: var(--shadow-lg);
    will-change: transform;
}

.wheel-animation i {
    font-size: 5rem;
    color: var(--color-white);
    animation: rotateReverse 20s linear infinite;
    will-change: transform;
}

@keyframes rotate {
    from {
        transform: rotate(0deg) translateZ(0);
    }
    to {
        transform: rotate(360deg) translateZ(0);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotate(0deg) translateZ(0);
    }
    to {
        transform: rotate(-360deg) translateZ(0);
    }
}

.models-hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.models-hero-curve svg {
    width: calc(100% + 1.3px);
    height: 120px;
    display: block;
}

/* Models Grid Section */
.models-grid-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.model-detail-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.model-detail-card:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.model-header {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-emerald-dark));
    color: white;
    padding: 40px 40px 20px;
    position: relative;
}

.model-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.model-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
}

.model-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.model-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 40px;
}

.model-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.model-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.model-image img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.model-image img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-image img[loading="lazy"].loaded {
    opacity: 1;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--color-light-grey), #e8e9ea);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-emerald);
    box-shadow: var(--shadow-md);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.image-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    max-width: 80%;
}

.model-specs-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.specs-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.spec-item {
    background-color: var(--color-light-grey);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.spec-item:hover {
    background-color: rgba(11, 170, 102, 0.1);
    transform: translateY(-3px);
}

.spec-item i {
    font-size: 1.8rem;
    color: var(--color-emerald);
    margin-bottom: 10px;
}

.spec-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 5px;
}

.spec-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.specs-full h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-black);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light-grey);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    font-weight: 600;
    color: var(--color-text);
}

.spec-desc {
    color: var(--color-text-light);
}

.model-features h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-black);
}

.model-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--color-light-grey);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature:hover {
    background-color: rgba(11, 170, 102, 0.1);
}

.feature i {
    color: var(--color-emerald);
}

.model-cta {
    padding: 0 40px 40px;
    text-align: center;
}

/* Comparison Section */
.comparison-section {
    padding: 100px 0;
    background-color: var(--color-light-grey);
}

.comparison-table {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-emerald-dark));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:first-child {
    border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius-lg) 0 0;
    border-right: none;
}

.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-light-grey);
    border-right: 1px solid var(--color-light-grey);
}

.comparison-table td:first-child {
    font-weight: 600;
    text-align: left;
    background-color: rgba(11, 170, 102, 0.05);
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table tr:hover td {
    background-color: rgba(11, 170, 102, 0.05);
}

/* Models CTA */
.models-cta {
    padding: 100px 0;
    background-color: var(--color-white);
}

.cta-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-black);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 4rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design for Models Page */
@media (max-width: 1200px) {
    .model-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .specs-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .models-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .models-hero-title {
        font-size: 2.5rem;
    }
    
    .model-header h2 {
        font-size: 2.5rem;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .models-hero-title {
        font-size: 2rem;
    }
    
    .models-hero-subtitle {
        font-size: 1rem;
    }
    
    .model-header {
        padding: 30px 20px 15px;
    }
    
    .model-content {
        padding: 30px 20px;
    }
    
    .model-badge {
        position: static;
        display: inline-flex;
        margin-bottom: 15px;
    }
    
    .specs-overview {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .models-hero-title {
        font-size: 1.8rem;
    }
    
    .models-filter {
        justify-content: center;
    }
    
    .model-header h2 {
        font-size: 2rem;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}