/* Platform Advantages Styles */
.terappin-platform-advantages {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: transparent;
}

/* Header Section */
.terappin-advantages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.terappin-advantages-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 48px;
    font-weight: 600;
    color: #333;
}

.terappin-advantages-logo-icon {
    width: 64px;
    height: 64px;
    background: url('../images/favicon-96x96-1.webp') no-repeat center center;
    background-size: contain;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Toggle Switch */
.terappin-toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terappin-toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

.terappin-toggle-label.active {
    color: #6f42c1;
}

.terappin-toggle-switch {
    position: relative;
    width: 80px;
    height: 40px;
    background: #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

.terappin-toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terappin-toggle-switch.active {
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
}

.terappin-toggle-switch.active::before {
    transform: translateX(40px);
}

/* Main Content */
.terappin-content-container {
    border-radius: 20px;
    padding: 3rem;
    overflow: hidden;
}

.terappin-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.terappin-content-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.terappin-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.terappin-content-image:hover img {
    transform: scale(1.05);
}

.terappin-content-text {
    padding: 1rem 0;
}

.terappin-content-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: 500;
}

.terappin-content-title .highlight {
    color: #6f42c1;
}

.terappin-advantages-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.terappin-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.terappin-advantage-item:hover {
    transform: translateX(5px);
}

.terappin-advantage-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.terappin-advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.terappin-advantage-content {
    flex: 1;
}

.terappin-advantage-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.terappin-advantage-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Screen Transitions */
.terappin-screen {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: none;
}

.terappin-screen.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terappin-platform-advantages {
        padding: 1rem 0.5rem;
    }

    .terappin-advantages-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .terappin-content-container {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .terappin-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .terappin-content-title {
        font-size: 36px;
        text-align: center;
    }

    .terappin-content-image {
        height: 300px;
        order: -1;
    }

    .terappin-toggle-switch {
        width: 70px;
        height: 35px;
    }

    .terappin-toggle-switch::before {
        width: 27px;
        height: 27px;
    }

    .terappin-toggle-switch.active::before {
        transform: translateX(35px);
    }
}

@media (max-width: 480px) {
    .terappin-content-container {
        padding: 1.5rem 1rem;
    }

    .terappin-content-title {
        font-size: 28px;
    }

    .terappin-advantage-item {
        padding: 0.75rem;
    }

    .terappin-advantage-title {
        font-size: 20px;
    }

    .terappin-advantage-description {
        font-size: 16px;
    }
    .terappin-advantages-logo {
        font-size: 28px;
    }
    .terappin-advantages-logo-icon {
        width: 48px;
        height: 48px;
    }
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
