body {
    background: #fff !important;
    background-color: #fff !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 20px 0 !important;
}

.navbar .nav-menu li a {
    color: #333 !important;
}

.navbar .nav-menu li a:hover {
    color: #000 !important;
}

.navbar .nav-contact .phone {
    color: #333 !important;
}

.navbar .hamburger span {
    background: #333 !important;
}

.navbar .logo svg text {
    fill: #111 !important;
}

.cases-main {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: #fff;
}

.cases-header {
    text-align: center;
    margin-bottom: 60px;
}

.cases-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 24px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cases-title {
    font-size: 52px;
    font-weight: 300;
    color: #111;
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.cases-title .highlight {
    font-weight: 700;
    color: #000;
}

.cases-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-weight: 300;
}

.cases-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 24px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cases-title {
    font-size: 52px;
    font-weight: 300;
    color: #111;
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.cases-title .highlight {
    font-weight: 700;
    color: #000;
}

.cases-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-weight: 300;
}

.cases-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: #eee;
    color: #333;
}

.filter-btn.active {
    background: #111;
    color: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.case-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.case-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
}

.case-card.hidden {
    display: none;
}

.card-preview {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
}

.preview-placeholder i {
    font-size: 48px;
    color: #ccc;
}

.preview-placeholder span {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .preview-overlay {
    opacity: 1;
}

.preview-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: var(--transition);
}

.case-card:hover .preview-text {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.card-info {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0 0 10px;
}

.card-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    color: #666;
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 15px;
}

.cases-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.stat-plus {
    font-size: 24px;
    font-weight: 600;
    color: #111;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.preview-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    height: 85vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-url {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    margin-right: 20px;
}

.modal-url i {
    color: #999;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: #666;
}

.modal-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.modal-body {
    flex: 1;
    overflow: hidden;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background: #111;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1200px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .nav-menu,
    .nav-contact {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-wrapper {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 0 20px;
    }
    
    .cases-main {
        padding: 100px 0 60px;
    }
    
    .cases-title {
        font-size: 36px;
    }
    
    .cases-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .cases-main {
        padding: 90px 0 40px;
    }
    
    .cases-header {
        margin-bottom: 30px;
    }
    
    .cases-label {
        font-size: 10px;
        letter-spacing: 2px;
        padding: 6px 16px;
    }
    
    .cases-title {
        font-size: 26px;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }
    
    .cases-subtitle {
        font-size: 14px;
    }
    
    .cases-filters {
        gap: 6px;
        margin-bottom: 24px;
        padding: 0 4px;
    }
    
    .filter-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .case-card {
        border-radius: 12px;
    }
    
    .card-preview {
        height: 160px;
    }
    
    .card-info {
        padding: 16px;
    }
    
    .card-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .card-desc {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .card-tags {
        gap: 6px;
    }
    
    .tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .cases-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 30px 0;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-plus {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 12px;
        margin-top: 6px;
    }
    
    .modal-content {
        width: 96%;
        height: 92vh;
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-url {
        font-size: 11px;
        padding: 5px 10px;
        margin-right: 10px;
    }
    
    .modal-btn {
        width: 32px;
        height: 32px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cases-title {
        font-size: 22px;
    }
    
    .cases-label {
        font-size: 9px;
        padding: 5px 12px;
    }
    
    .cases-subtitle {
        font-size: 13px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .card-preview {
        height: 140px;
    }
    
    .card-info {
        padding: 14px;
    }
    
    .card-title {
        font-size: 15px;
    }
    
    .card-desc {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-plus {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .preview-text {
        font-size: 13px;
        padding: 8px 20px;
    }
}
